libjava/classpath/ChangeLog.gcj:
[gcc.git] / libjava / classpath / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.95.
4 #
5 # Report bugs to <classpath@gnu.org>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
249
250 case X$lt_ECHO in
251 X*--fallback-echo)
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
254 ;;
255 esac
256
257 ECHO=${lt_ECHO-echo}
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
260 shift
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
263 :
264 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $ECHO works!
266 :
267 else
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 fi
271
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
274 shift
275 cat <<_LT_EOF
276 $*
277 _LT_EOF
278 exit 0
279 fi
280
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 # if CDPATH is set.
283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
284
285 if test -z "$lt_ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
291 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
292 then
293 break
294 fi
295 done
296 fi
297
298 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
301 :
302 else
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
306 #
307 # So, first we look for a working echo in the user's PATH.
308
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
311 IFS="$lt_save_ifs"
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
316 ECHO="$dir/echo"
317 break
318 fi
319 done
320 IFS="$lt_save_ifs"
321
322 if test "X$ECHO" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
328 ECHO='print -r'
329 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
335 export CONFIG_SHELL
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
337 else
338 # Try using printf.
339 ECHO='printf %s\n'
340 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
343 # Cool, printf works
344 :
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
350 export CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
352 export SHELL
353 ECHO="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 ECHO="$CONFIG_SHELL $0 --fallback-echo"
359 else
360 # maybe with a smaller string...
361 prev=:
362
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
365 then
366 break
367 fi
368 prev="$cmd"
369 done
370
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 else
376 # Oops. We lost completely, so just stick with echo.
377 ECHO=echo
378 fi
379 fi
380 fi
381 fi
382 fi
383 fi
384
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
387 lt_ECHO=$ECHO
388 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
390 fi
391
392
393
394
395 # Name of the host.
396 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
397 # so uname gets run too.
398 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
399
400 exec 6>&1
401
402 #
403 # Initializations.
404 #
405 ac_default_prefix=/usr/local
406 ac_config_libobj_dir=.
407 cross_compiling=no
408 subdirs=
409 MFLAGS=
410 MAKEFLAGS=
411 SHELL=${CONFIG_SHELL-/bin/sh}
412
413 # Maximum number of lines to put in a shell here document.
414 # This variable seems obsolete. It should probably be removed, and
415 # only ac_max_sed_lines should be used.
416 : ${ac_max_here_lines=38}
417
418 # Identity of this package.
419 PACKAGE_NAME='GNU Classpath'
420 PACKAGE_TARNAME='classpath'
421 PACKAGE_VERSION='0.95'
422 PACKAGE_STRING='GNU Classpath 0.95'
423 PACKAGE_BUGREPORT='classpath@gnu.org'
424
425 ac_unique_file="java/lang/System.java"
426 ac_default_prefix=/usr/local/classpath
427 # Factoring default headers for most tests.
428 ac_includes_default="\
429 #include <stdio.h>
430 #if HAVE_SYS_TYPES_H
431 # include <sys/types.h>
432 #endif
433 #if HAVE_SYS_STAT_H
434 # include <sys/stat.h>
435 #endif
436 #if STDC_HEADERS
437 # include <stdlib.h>
438 # include <stddef.h>
439 #else
440 # if HAVE_STDLIB_H
441 # include <stdlib.h>
442 # endif
443 #endif
444 #if HAVE_STRING_H
445 # if !STDC_HEADERS && HAVE_MEMORY_H
446 # include <memory.h>
447 # endif
448 # include <string.h>
449 #endif
450 #if HAVE_STRINGS_H
451 # include <strings.h>
452 #endif
453 #if HAVE_INTTYPES_H
454 # include <inttypes.h>
455 #else
456 # if HAVE_STDINT_H
457 # include <stdint.h>
458 # endif
459 #endif
460 #if HAVE_UNISTD_H
461 # include <unistd.h>
462 #endif"
463
464 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC ECJ JAVAC FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_JAVAC_TRUE FOUND_JAVAC_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
465 ac_subst_files=''
466
467 # Initialize some variables set by options.
468 ac_init_help=
469 ac_init_version=false
470 # The variables have the same names as the options, with
471 # dashes changed to underlines.
472 cache_file=/dev/null
473 exec_prefix=NONE
474 no_create=
475 no_recursion=
476 prefix=NONE
477 program_prefix=NONE
478 program_suffix=NONE
479 program_transform_name=s,x,x,
480 silent=
481 site=
482 srcdir=
483 verbose=
484 x_includes=NONE
485 x_libraries=NONE
486
487 # Installation directory options.
488 # These are left unexpanded so users can "make install exec_prefix=/foo"
489 # and all the variables that are supposed to be based on exec_prefix
490 # by default will actually change.
491 # Use braces instead of parens because sh, perl, etc. also accept them.
492 bindir='${exec_prefix}/bin'
493 sbindir='${exec_prefix}/sbin'
494 libexecdir='${exec_prefix}/libexec'
495 datadir='${prefix}/share'
496 sysconfdir='${prefix}/etc'
497 sharedstatedir='${prefix}/com'
498 localstatedir='${prefix}/var'
499 libdir='${exec_prefix}/lib'
500 includedir='${prefix}/include'
501 oldincludedir='/usr/include'
502 infodir='${prefix}/info'
503 mandir='${prefix}/man'
504
505 ac_prev=
506 for ac_option
507 do
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
511 ac_prev=
512 continue
513 fi
514
515 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
516
517 # Accept the important Cygnus configure options, so we can diagnose typos.
518
519 case $ac_option in
520
521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
522 ac_prev=bindir ;;
523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 bindir=$ac_optarg ;;
525
526 -build | --build | --buil | --bui | --bu)
527 ac_prev=build_alias ;;
528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
529 build_alias=$ac_optarg ;;
530
531 -cache-file | --cache-file | --cache-fil | --cache-fi \
532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
533 ac_prev=cache_file ;;
534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
536 cache_file=$ac_optarg ;;
537
538 --config-cache | -C)
539 cache_file=config.cache ;;
540
541 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
542 ac_prev=datadir ;;
543 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
544 | --da=*)
545 datadir=$ac_optarg ;;
546
547 -disable-* | --disable-*)
548 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
552 { (exit 1); exit 1; }; }
553 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
554 eval "enable_$ac_feature=no" ;;
555
556 -enable-* | --enable-*)
557 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
558 # Reject names that are not valid shell variable names.
559 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
560 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561 { (exit 1); exit 1; }; }
562 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
563 case $ac_option in
564 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 *) ac_optarg=yes ;;
566 esac
567 eval "enable_$ac_feature='$ac_optarg'" ;;
568
569 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
570 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
571 | --exec | --exe | --ex)
572 ac_prev=exec_prefix ;;
573 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
574 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
575 | --exec=* | --exe=* | --ex=*)
576 exec_prefix=$ac_optarg ;;
577
578 -gas | --gas | --ga | --g)
579 # Obsolete; use --with-gas.
580 with_gas=yes ;;
581
582 -help | --help | --hel | --he | -h)
583 ac_init_help=long ;;
584 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
585 ac_init_help=recursive ;;
586 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
587 ac_init_help=short ;;
588
589 -host | --host | --hos | --ho)
590 ac_prev=host_alias ;;
591 -host=* | --host=* | --hos=* | --ho=*)
592 host_alias=$ac_optarg ;;
593
594 -includedir | --includedir | --includedi | --included | --include \
595 | --includ | --inclu | --incl | --inc)
596 ac_prev=includedir ;;
597 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
598 | --includ=* | --inclu=* | --incl=* | --inc=*)
599 includedir=$ac_optarg ;;
600
601 -infodir | --infodir | --infodi | --infod | --info | --inf)
602 ac_prev=infodir ;;
603 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
604 infodir=$ac_optarg ;;
605
606 -libdir | --libdir | --libdi | --libd)
607 ac_prev=libdir ;;
608 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 libdir=$ac_optarg ;;
610
611 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
612 | --libexe | --libex | --libe)
613 ac_prev=libexecdir ;;
614 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
615 | --libexe=* | --libex=* | --libe=*)
616 libexecdir=$ac_optarg ;;
617
618 -localstatedir | --localstatedir | --localstatedi | --localstated \
619 | --localstate | --localstat | --localsta | --localst \
620 | --locals | --local | --loca | --loc | --lo)
621 ac_prev=localstatedir ;;
622 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
623 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
624 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
625 localstatedir=$ac_optarg ;;
626
627 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
628 ac_prev=mandir ;;
629 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 mandir=$ac_optarg ;;
631
632 -nfp | --nfp | --nf)
633 # Obsolete; use --without-fp.
634 with_fp=no ;;
635
636 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
637 | --no-cr | --no-c | -n)
638 no_create=yes ;;
639
640 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
641 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 no_recursion=yes ;;
643
644 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
645 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
646 | --oldin | --oldi | --old | --ol | --o)
647 ac_prev=oldincludedir ;;
648 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
649 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
650 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
651 oldincludedir=$ac_optarg ;;
652
653 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
654 ac_prev=prefix ;;
655 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 prefix=$ac_optarg ;;
657
658 -program-prefix | --program-prefix | --program-prefi | --program-pref \
659 | --program-pre | --program-pr | --program-p)
660 ac_prev=program_prefix ;;
661 -program-prefix=* | --program-prefix=* | --program-prefi=* \
662 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
663 program_prefix=$ac_optarg ;;
664
665 -program-suffix | --program-suffix | --program-suffi | --program-suff \
666 | --program-suf | --program-su | --program-s)
667 ac_prev=program_suffix ;;
668 -program-suffix=* | --program-suffix=* | --program-suffi=* \
669 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
670 program_suffix=$ac_optarg ;;
671
672 -program-transform-name | --program-transform-name \
673 | --program-transform-nam | --program-transform-na \
674 | --program-transform-n | --program-transform- \
675 | --program-transform | --program-transfor \
676 | --program-transfo | --program-transf \
677 | --program-trans | --program-tran \
678 | --progr-tra | --program-tr | --program-t)
679 ac_prev=program_transform_name ;;
680 -program-transform-name=* | --program-transform-name=* \
681 | --program-transform-nam=* | --program-transform-na=* \
682 | --program-transform-n=* | --program-transform-=* \
683 | --program-transform=* | --program-transfor=* \
684 | --program-transfo=* | --program-transf=* \
685 | --program-trans=* | --program-tran=* \
686 | --progr-tra=* | --program-tr=* | --program-t=*)
687 program_transform_name=$ac_optarg ;;
688
689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
690 | -silent | --silent | --silen | --sile | --sil)
691 silent=yes ;;
692
693 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
694 ac_prev=sbindir ;;
695 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
696 | --sbi=* | --sb=*)
697 sbindir=$ac_optarg ;;
698
699 -sharedstatedir | --sharedstatedir | --sharedstatedi \
700 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
701 | --sharedst | --shareds | --shared | --share | --shar \
702 | --sha | --sh)
703 ac_prev=sharedstatedir ;;
704 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
705 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
706 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
707 | --sha=* | --sh=*)
708 sharedstatedir=$ac_optarg ;;
709
710 -site | --site | --sit)
711 ac_prev=site ;;
712 -site=* | --site=* | --sit=*)
713 site=$ac_optarg ;;
714
715 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
716 ac_prev=srcdir ;;
717 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 srcdir=$ac_optarg ;;
719
720 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
721 | --syscon | --sysco | --sysc | --sys | --sy)
722 ac_prev=sysconfdir ;;
723 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
724 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
725 sysconfdir=$ac_optarg ;;
726
727 -target | --target | --targe | --targ | --tar | --ta | --t)
728 ac_prev=target_alias ;;
729 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
730 target_alias=$ac_optarg ;;
731
732 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 verbose=yes ;;
734
735 -version | --version | --versio | --versi | --vers | -V)
736 ac_init_version=: ;;
737
738 -with-* | --with-*)
739 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
740 # Reject names that are not valid shell variable names.
741 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
742 { echo "$as_me: error: invalid package name: $ac_package" >&2
743 { (exit 1); exit 1; }; }
744 ac_package=`echo $ac_package| sed 's/-/_/g'`
745 case $ac_option in
746 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 *) ac_optarg=yes ;;
748 esac
749 eval "with_$ac_package='$ac_optarg'" ;;
750
751 -without-* | --without-*)
752 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
753 # Reject names that are not valid shell variable names.
754 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
755 { echo "$as_me: error: invalid package name: $ac_package" >&2
756 { (exit 1); exit 1; }; }
757 ac_package=`echo $ac_package | sed 's/-/_/g'`
758 eval "with_$ac_package=no" ;;
759
760 --x)
761 # Obsolete; use --with-x.
762 with_x=yes ;;
763
764 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
765 | --x-incl | --x-inc | --x-in | --x-i)
766 ac_prev=x_includes ;;
767 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
768 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
769 x_includes=$ac_optarg ;;
770
771 -x-libraries | --x-libraries | --x-librarie | --x-librari \
772 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
773 ac_prev=x_libraries ;;
774 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
775 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
776 x_libraries=$ac_optarg ;;
777
778 -*) { echo "$as_me: error: unrecognized option: $ac_option
779 Try \`$0 --help' for more information." >&2
780 { (exit 1); exit 1; }; }
781 ;;
782
783 *=*)
784 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
788 { (exit 1); exit 1; }; }
789 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
790 eval "$ac_envvar='$ac_optarg'"
791 export $ac_envvar ;;
792
793 *)
794 # FIXME: should be removed in autoconf 3.0.
795 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
798 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 ;;
800
801 esac
802 done
803
804 if test -n "$ac_prev"; then
805 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
806 { echo "$as_me: error: missing argument to $ac_option" >&2
807 { (exit 1); exit 1; }; }
808 fi
809
810 # Be sure to have absolute paths.
811 for ac_var in exec_prefix prefix
812 do
813 eval ac_val=$`echo $ac_var`
814 case $ac_val in
815 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
816 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
817 { (exit 1); exit 1; }; };;
818 esac
819 done
820
821 # Be sure to have absolute paths.
822 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
823 localstatedir libdir includedir oldincludedir infodir mandir
824 do
825 eval ac_val=$`echo $ac_var`
826 case $ac_val in
827 [\\/$]* | ?:[\\/]* ) ;;
828 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
829 { (exit 1); exit 1; }; };;
830 esac
831 done
832
833 # There might be people who depend on the old broken behavior: `$host'
834 # used to hold the argument of --host etc.
835 # FIXME: To remove some day.
836 build=$build_alias
837 host=$host_alias
838 target=$target_alias
839
840 # FIXME: To remove some day.
841 if test "x$host_alias" != x; then
842 if test "x$build_alias" = x; then
843 cross_compiling=maybe
844 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
845 If a cross compiler is detected then cross compile mode will be used." >&2
846 elif test "x$build_alias" != "x$host_alias"; then
847 cross_compiling=yes
848 fi
849 fi
850
851 ac_tool_prefix=
852 test -n "$host_alias" && ac_tool_prefix=$host_alias-
853
854 test "$silent" = yes && exec 6>/dev/null
855
856
857 # Find the source files, if location was not specified.
858 if test -z "$srcdir"; then
859 ac_srcdir_defaulted=yes
860 # Try the directory containing this script, then its parent.
861 ac_confdir=`(dirname "$0") 2>/dev/null ||
862 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
863 X"$0" : 'X\(//\)[^/]' \| \
864 X"$0" : 'X\(//\)$' \| \
865 X"$0" : 'X\(/\)' \| \
866 . : '\(.\)' 2>/dev/null ||
867 echo X"$0" |
868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
870 /^X\(\/\/\)$/{ s//\1/; q; }
871 /^X\(\/\).*/{ s//\1/; q; }
872 s/.*/./; q'`
873 srcdir=$ac_confdir
874 if test ! -r $srcdir/$ac_unique_file; then
875 srcdir=..
876 fi
877 else
878 ac_srcdir_defaulted=no
879 fi
880 if test ! -r $srcdir/$ac_unique_file; then
881 if test "$ac_srcdir_defaulted" = yes; then
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
883 { (exit 1); exit 1; }; }
884 else
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
886 { (exit 1); exit 1; }; }
887 fi
888 fi
889 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
890 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
891 { (exit 1); exit 1; }; }
892 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
893 ac_env_build_alias_set=${build_alias+set}
894 ac_env_build_alias_value=$build_alias
895 ac_cv_env_build_alias_set=${build_alias+set}
896 ac_cv_env_build_alias_value=$build_alias
897 ac_env_host_alias_set=${host_alias+set}
898 ac_env_host_alias_value=$host_alias
899 ac_cv_env_host_alias_set=${host_alias+set}
900 ac_cv_env_host_alias_value=$host_alias
901 ac_env_target_alias_set=${target_alias+set}
902 ac_env_target_alias_value=$target_alias
903 ac_cv_env_target_alias_set=${target_alias+set}
904 ac_cv_env_target_alias_value=$target_alias
905 ac_env_CC_set=${CC+set}
906 ac_env_CC_value=$CC
907 ac_cv_env_CC_set=${CC+set}
908 ac_cv_env_CC_value=$CC
909 ac_env_CFLAGS_set=${CFLAGS+set}
910 ac_env_CFLAGS_value=$CFLAGS
911 ac_cv_env_CFLAGS_set=${CFLAGS+set}
912 ac_cv_env_CFLAGS_value=$CFLAGS
913 ac_env_LDFLAGS_set=${LDFLAGS+set}
914 ac_env_LDFLAGS_value=$LDFLAGS
915 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
916 ac_cv_env_LDFLAGS_value=$LDFLAGS
917 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
918 ac_env_CPPFLAGS_value=$CPPFLAGS
919 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
920 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
921 ac_env_CPP_set=${CPP+set}
922 ac_env_CPP_value=$CPP
923 ac_cv_env_CPP_set=${CPP+set}
924 ac_cv_env_CPP_value=$CPP
925 ac_env_CXX_set=${CXX+set}
926 ac_env_CXX_value=$CXX
927 ac_cv_env_CXX_set=${CXX+set}
928 ac_cv_env_CXX_value=$CXX
929 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
930 ac_env_CXXFLAGS_value=$CXXFLAGS
931 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
932 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
933 ac_env_CXXCPP_set=${CXXCPP+set}
934 ac_env_CXXCPP_value=$CXXCPP
935 ac_cv_env_CXXCPP_set=${CXXCPP+set}
936 ac_cv_env_CXXCPP_value=$CXXCPP
937
938 #
939 # Report the --help message.
940 #
941 if test "$ac_init_help" = "long"; then
942 # Omit some internal or obsolete options to make the list less imposing.
943 # This message is too long to be a string in the A/UX 3.1 sh.
944 cat <<_ACEOF
945 \`configure' configures GNU Classpath 0.95 to adapt to many kinds of systems.
946
947 Usage: $0 [OPTION]... [VAR=VALUE]...
948
949 To assign environment variables (e.g., CC, CFLAGS...), specify them as
950 VAR=VALUE. See below for descriptions of some of the useful variables.
951
952 Defaults for the options are specified in brackets.
953
954 Configuration:
955 -h, --help display this help and exit
956 --help=short display options specific to this package
957 --help=recursive display the short help of all the included packages
958 -V, --version display version information and exit
959 -q, --quiet, --silent do not print \`checking...' messages
960 --cache-file=FILE cache test results in FILE [disabled]
961 -C, --config-cache alias for \`--cache-file=config.cache'
962 -n, --no-create do not create output files
963 --srcdir=DIR find the sources in DIR [configure dir or \`..']
964
965 _ACEOF
966
967 cat <<_ACEOF
968 Installation directories:
969 --prefix=PREFIX install architecture-independent files in PREFIX
970 [$ac_default_prefix]
971 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
972 [PREFIX]
973
974 By default, \`make install' will install all the files in
975 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
976 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
977 for instance \`--prefix=\$HOME'.
978
979 For better control, use the options below.
980
981 Fine tuning of the installation directories:
982 --bindir=DIR user executables [EPREFIX/bin]
983 --sbindir=DIR system admin executables [EPREFIX/sbin]
984 --libexecdir=DIR program executables [EPREFIX/libexec]
985 --datadir=DIR read-only architecture-independent data [PREFIX/share]
986 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
987 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
988 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
989 --libdir=DIR object code libraries [EPREFIX/lib]
990 --includedir=DIR C header files [PREFIX/include]
991 --oldincludedir=DIR C header files for non-gcc [/usr/include]
992 --infodir=DIR info documentation [PREFIX/info]
993 --mandir=DIR man documentation [PREFIX/man]
994 _ACEOF
995
996 cat <<\_ACEOF
997
998 Program names:
999 --program-prefix=PREFIX prepend PREFIX to installed program names
1000 --program-suffix=SUFFIX append SUFFIX to installed program names
1001 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1002
1003 X features:
1004 --x-includes=DIR X include files are in DIR
1005 --x-libraries=DIR X library files are in DIR
1006
1007 System types:
1008 --build=BUILD configure for building on BUILD [guessed]
1009 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1010 --target=TARGET configure for building compilers for TARGET [HOST]
1011 _ACEOF
1012 fi
1013
1014 if test -n "$ac_init_help"; then
1015 case $ac_init_help in
1016 short | recursive ) echo "Configuration of GNU Classpath 0.95:";;
1017 esac
1018 cat <<\_ACEOF
1019
1020 Optional Features:
1021 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1022 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1023 --enable-java-maintainer-mode
1024 allow rebuilding of .class and .h files
1025 --enable-generated-files-in-srcdir
1026 put copies of generated files in source dir
1027 intended for creating source tarballs for users
1028 without texinfo, perl, bison or flex.
1029 --enable-multilib build many library versions (default)
1030 --enable-collections create collections.jar default=no
1031 --enable-jni compile JNI source default=yes
1032 --enable-core-jni compile JNI sources for core default=yes
1033 --enable-default-preferences-peer[=peer type or class name]
1034 specify one of: "gconf" [default] for a GConf based
1035 backend, "file" for a file based one, "memory" for a
1036 transient one, or a fully qualified class name
1037 implementing java.util.prefs.PreferencesFactory
1038 --disable-gconf-peer compile GConf native peers (disabled by
1039 --disable-jni) default=yes
1040
1041 --enable-Werror whether to compile C code with -Werror which turns
1042 any compiler warning into a compilation failure
1043 default=no
1044 --enable-default-toolkit
1045 fully qualified class name of default AWT toolkit
1046 --enable-xmlj compile native libxml/xslt library default=no
1047 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1048 default=yes
1049 --disable-dependency-tracking speeds up one-time build
1050 --enable-dependency-tracking do not reject slow dependency extractors
1051 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1052 default=yes
1053 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1054 default=yes
1055 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1056 default=no
1057 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1058 default=yes
1059 --enable-regen-headers automatically regenerate JNI headers default=no
1060 --enable-tool-wrappers create tool wrapper binaries default=no
1061 --enable-static[=PKGS]
1062 build static libraries [default=no]
1063 --enable-shared[=PKGS]
1064 build shared libraries [default=yes]
1065 --enable-fast-install[=PKGS]
1066 optimize for fast installation [default=yes]
1067 --disable-libtool-lock avoid locking (might break parallel builds)
1068 --disable-rpath do not hardcode runtime library paths
1069 --enable-maintainer-mode enable make rules and dependencies not useful
1070 (and sometimes confusing) to the casual installer
1071 --enable-debug enable runtime debugging code
1072 --enable-load-library enable to use JNI native methods default=yes
1073 --enable-java-lang-system-explicit-initialization
1074 will the VM explicitly invoke java.lang.System's
1075 static initialization methods default=no
1076 --enable-examples enable build of the examples default=yes
1077 --enable-portable-native-sync
1078 synchronize VM threads portably
1079 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1080
1081 Optional Packages:
1082 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1083 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1084 --with-native-libdir sets the installation directory for native libraries
1085 default='${libdir}/${PACKAGE}'
1086 --with-glibj-dir sets the installation directory for glibj.zip
1087 default='${libdir}/${PACKAGE}'
1088 --with-vm sets the VM binary name
1089 default='${prefix}/bin/jamvm'
1090 --with-pic try to use only PIC/non-PIC objects [default=use
1091 both]
1092 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1093 --with-gnu-ld assume the C compiler uses GNU ld default=no
1094 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1095 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1096 --with-x use the X Window System
1097 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1098 systems use pkg-config.
1099 --with-javah specify path or name of a javah-like program
1100 --with-gcj bytecode compilation with gcj
1101 --with-jikes bytecode compilation with jikes
1102 --with-kjc bytecode compilation with kjc
1103 --with-ecj bytecode compilation with ecj
1104 --with-javac bytecode compilation with javac
1105 --with-classpath specify path to a classes.zip like file
1106 --with-vm-classes specify path to VM override source files
1107 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1108 Compiler
1109 --with-fastjar=PATH define to use a fastjar style tool
1110 --with-glibj define what to install (zip|flat|both|none|build)
1111 [default=zip]
1112 --with-gjdoc generate documentation using gjdoc (default is NO)
1113 --with-jay Regenerate the parsers with jay must be given the
1114 path to the jay executable
1115 --with-glibj-zip=ABS.PATH
1116 use prebuilt glibj.zip class library
1117 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1118
1119 Some influential environment variables:
1120 CC C compiler command
1121 CFLAGS C compiler flags
1122 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1123 nonstandard directory <lib dir>
1124 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1125 headers in a nonstandard directory <include dir>
1126 CPP C preprocessor
1127 CXX C++ compiler command
1128 CXXFLAGS C++ compiler flags
1129 CXXCPP C++ preprocessor
1130
1131 Use these variables to override the choices made by `configure' or to help
1132 it to find libraries and programs with nonstandard names/locations.
1133
1134 Report bugs to <classpath@gnu.org>.
1135 _ACEOF
1136 fi
1137
1138 if test "$ac_init_help" = "recursive"; then
1139 # If there are subdirs, report their specific --help.
1140 ac_popdir=`pwd`
1141 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1142 test -d $ac_dir || continue
1143 ac_builddir=.
1144
1145 if test "$ac_dir" != .; then
1146 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1147 # A "../" for each directory in $ac_dir_suffix.
1148 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1149 else
1150 ac_dir_suffix= ac_top_builddir=
1151 fi
1152
1153 case $srcdir in
1154 .) # No --srcdir option. We are building in place.
1155 ac_srcdir=.
1156 if test -z "$ac_top_builddir"; then
1157 ac_top_srcdir=.
1158 else
1159 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1160 fi ;;
1161 [\\/]* | ?:[\\/]* ) # Absolute path.
1162 ac_srcdir=$srcdir$ac_dir_suffix;
1163 ac_top_srcdir=$srcdir ;;
1164 *) # Relative path.
1165 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1166 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1167 esac
1168
1169 # Do not use `cd foo && pwd` to compute absolute paths, because
1170 # the directories may not exist.
1171 case `pwd` in
1172 .) ac_abs_builddir="$ac_dir";;
1173 *)
1174 case "$ac_dir" in
1175 .) ac_abs_builddir=`pwd`;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1177 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1178 esac;;
1179 esac
1180 case $ac_abs_builddir in
1181 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1182 *)
1183 case ${ac_top_builddir}. in
1184 .) ac_abs_top_builddir=$ac_abs_builddir;;
1185 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1186 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1187 esac;;
1188 esac
1189 case $ac_abs_builddir in
1190 .) ac_abs_srcdir=$ac_srcdir;;
1191 *)
1192 case $ac_srcdir in
1193 .) ac_abs_srcdir=$ac_abs_builddir;;
1194 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1195 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1196 esac;;
1197 esac
1198 case $ac_abs_builddir in
1199 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1200 *)
1201 case $ac_top_srcdir in
1202 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1203 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1204 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1205 esac;;
1206 esac
1207
1208 cd $ac_dir
1209 # Check for guested configure; otherwise get Cygnus style configure.
1210 if test -f $ac_srcdir/configure.gnu; then
1211 echo
1212 $SHELL $ac_srcdir/configure.gnu --help=recursive
1213 elif test -f $ac_srcdir/configure; then
1214 echo
1215 $SHELL $ac_srcdir/configure --help=recursive
1216 elif test -f $ac_srcdir/configure.ac ||
1217 test -f $ac_srcdir/configure.in; then
1218 echo
1219 $ac_configure --help
1220 else
1221 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1222 fi
1223 cd $ac_popdir
1224 done
1225 fi
1226
1227 test -n "$ac_init_help" && exit 0
1228 if $ac_init_version; then
1229 cat <<\_ACEOF
1230 GNU Classpath configure 0.95
1231 generated by GNU Autoconf 2.59
1232
1233 Copyright (C) 2003 Free Software Foundation, Inc.
1234 This configure script is free software; the Free Software Foundation
1235 gives unlimited permission to copy, distribute and modify it.
1236 _ACEOF
1237 exit 0
1238 fi
1239 exec 5>config.log
1240 cat >&5 <<_ACEOF
1241 This file contains any messages produced by compilers while
1242 running configure, to aid debugging if configure makes a mistake.
1243
1244 It was created by GNU Classpath $as_me 0.95, which was
1245 generated by GNU Autoconf 2.59. Invocation command line was
1246
1247 $ $0 $@
1248
1249 _ACEOF
1250 {
1251 cat <<_ASUNAME
1252 ## --------- ##
1253 ## Platform. ##
1254 ## --------- ##
1255
1256 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1257 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1258 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1259 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1260 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1261
1262 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1263 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1264
1265 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1266 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1267 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1268 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1269 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1270 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1271 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1272
1273 _ASUNAME
1274
1275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276 for as_dir in $PATH
1277 do
1278 IFS=$as_save_IFS
1279 test -z "$as_dir" && as_dir=.
1280 echo "PATH: $as_dir"
1281 done
1282
1283 } >&5
1284
1285 cat >&5 <<_ACEOF
1286
1287
1288 ## ----------- ##
1289 ## Core tests. ##
1290 ## ----------- ##
1291
1292 _ACEOF
1293
1294
1295 # Keep a trace of the command line.
1296 # Strip out --no-create and --no-recursion so they do not pile up.
1297 # Strip out --silent because we don't want to record it for future runs.
1298 # Also quote any args containing shell meta-characters.
1299 # Make two passes to allow for proper duplicate-argument suppression.
1300 ac_configure_args=
1301 ac_configure_args0=
1302 ac_configure_args1=
1303 ac_sep=
1304 ac_must_keep_next=false
1305 for ac_pass in 1 2
1306 do
1307 for ac_arg
1308 do
1309 case $ac_arg in
1310 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1312 | -silent | --silent | --silen | --sile | --sil)
1313 continue ;;
1314 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1315 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1316 esac
1317 case $ac_pass in
1318 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1319 2)
1320 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1321 if test $ac_must_keep_next = true; then
1322 ac_must_keep_next=false # Got value, back to normal.
1323 else
1324 case $ac_arg in
1325 *=* | --config-cache | -C | -disable-* | --disable-* \
1326 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1327 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1328 | -with-* | --with-* | -without-* | --without-* | --x)
1329 case "$ac_configure_args0 " in
1330 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1331 esac
1332 ;;
1333 -* ) ac_must_keep_next=true ;;
1334 esac
1335 fi
1336 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1337 # Get rid of the leading space.
1338 ac_sep=" "
1339 ;;
1340 esac
1341 done
1342 done
1343 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1344 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1345
1346 # When interrupted or exit'd, cleanup temporary files, and complete
1347 # config.log. We remove comments because anyway the quotes in there
1348 # would cause problems or look ugly.
1349 # WARNING: Be sure not to use single quotes in there, as some shells,
1350 # such as our DU 5.0 friend, will then `close' the trap.
1351 trap 'exit_status=$?
1352 # Save into config.log some information that might help in debugging.
1353 {
1354 echo
1355
1356 cat <<\_ASBOX
1357 ## ---------------- ##
1358 ## Cache variables. ##
1359 ## ---------------- ##
1360 _ASBOX
1361 echo
1362 # The following way of writing the cache mishandles newlines in values,
1363 {
1364 (set) 2>&1 |
1365 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1366 *ac_space=\ *)
1367 sed -n \
1368 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1370 ;;
1371 *)
1372 sed -n \
1373 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1374 ;;
1375 esac;
1376 }
1377 echo
1378
1379 cat <<\_ASBOX
1380 ## ----------------- ##
1381 ## Output variables. ##
1382 ## ----------------- ##
1383 _ASBOX
1384 echo
1385 for ac_var in $ac_subst_vars
1386 do
1387 eval ac_val=$`echo $ac_var`
1388 echo "$ac_var='"'"'$ac_val'"'"'"
1389 done | sort
1390 echo
1391
1392 if test -n "$ac_subst_files"; then
1393 cat <<\_ASBOX
1394 ## ------------- ##
1395 ## Output files. ##
1396 ## ------------- ##
1397 _ASBOX
1398 echo
1399 for ac_var in $ac_subst_files
1400 do
1401 eval ac_val=$`echo $ac_var`
1402 echo "$ac_var='"'"'$ac_val'"'"'"
1403 done | sort
1404 echo
1405 fi
1406
1407 if test -s confdefs.h; then
1408 cat <<\_ASBOX
1409 ## ----------- ##
1410 ## confdefs.h. ##
1411 ## ----------- ##
1412 _ASBOX
1413 echo
1414 sed "/^$/d" confdefs.h | sort
1415 echo
1416 fi
1417 test "$ac_signal" != 0 &&
1418 echo "$as_me: caught signal $ac_signal"
1419 echo "$as_me: exit $exit_status"
1420 } >&5
1421 rm -f core *.core &&
1422 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1423 exit $exit_status
1424 ' 0
1425 for ac_signal in 1 2 13 15; do
1426 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1427 done
1428 ac_signal=0
1429
1430 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1431 rm -rf conftest* confdefs.h
1432 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1433 echo >confdefs.h
1434
1435 # Predefined preprocessor variables.
1436
1437 cat >>confdefs.h <<_ACEOF
1438 #define PACKAGE_NAME "$PACKAGE_NAME"
1439 _ACEOF
1440
1441
1442 cat >>confdefs.h <<_ACEOF
1443 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1444 _ACEOF
1445
1446
1447 cat >>confdefs.h <<_ACEOF
1448 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1449 _ACEOF
1450
1451
1452 cat >>confdefs.h <<_ACEOF
1453 #define PACKAGE_STRING "$PACKAGE_STRING"
1454 _ACEOF
1455
1456
1457 cat >>confdefs.h <<_ACEOF
1458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1459 _ACEOF
1460
1461
1462 # Let the site file select an alternate cache file if it wants to.
1463 # Prefer explicitly selected file to automatically selected ones.
1464 if test -z "$CONFIG_SITE"; then
1465 if test "x$prefix" != xNONE; then
1466 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1467 else
1468 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1469 fi
1470 fi
1471 for ac_site_file in $CONFIG_SITE; do
1472 if test -r "$ac_site_file"; then
1473 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1474 echo "$as_me: loading site script $ac_site_file" >&6;}
1475 sed 's/^/| /' "$ac_site_file" >&5
1476 . "$ac_site_file"
1477 fi
1478 done
1479
1480 if test -r "$cache_file"; then
1481 # Some versions of bash will fail to source /dev/null (special
1482 # files actually), so we avoid doing that.
1483 if test -f "$cache_file"; then
1484 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1485 echo "$as_me: loading cache $cache_file" >&6;}
1486 case $cache_file in
1487 [\\/]* | ?:[\\/]* ) . $cache_file;;
1488 *) . ./$cache_file;;
1489 esac
1490 fi
1491 else
1492 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1493 echo "$as_me: creating cache $cache_file" >&6;}
1494 >$cache_file
1495 fi
1496
1497 # Check that the precious variables saved in the cache have kept the same
1498 # value.
1499 ac_cache_corrupted=false
1500 for ac_var in `(set) 2>&1 |
1501 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1502 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1503 eval ac_new_set=\$ac_env_${ac_var}_set
1504 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1505 eval ac_new_val="\$ac_env_${ac_var}_value"
1506 case $ac_old_set,$ac_new_set in
1507 set,)
1508 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1509 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1510 ac_cache_corrupted=: ;;
1511 ,set)
1512 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1513 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1514 ac_cache_corrupted=: ;;
1515 ,);;
1516 *)
1517 if test "x$ac_old_val" != "x$ac_new_val"; then
1518 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1519 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1520 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1521 echo "$as_me: former value: $ac_old_val" >&2;}
1522 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1523 echo "$as_me: current value: $ac_new_val" >&2;}
1524 ac_cache_corrupted=:
1525 fi;;
1526 esac
1527 # Pass precious variables to config.status.
1528 if test "$ac_new_set" = set; then
1529 case $ac_new_val in
1530 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1531 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1532 *) ac_arg=$ac_var=$ac_new_val ;;
1533 esac
1534 case " $ac_configure_args " in
1535 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1536 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1537 esac
1538 fi
1539 done
1540 if $ac_cache_corrupted; then
1541 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1542 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1543 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1544 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1545 { (exit 1); exit 1; }; }
1546 fi
1547
1548 ac_ext=c
1549 ac_cpp='$CPP $CPPFLAGS'
1550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582 ac_aux_dir=
1583 for ac_dir in ../.. $srcdir/../..; do
1584 if test -f $ac_dir/install-sh; then
1585 ac_aux_dir=$ac_dir
1586 ac_install_sh="$ac_aux_dir/install-sh -c"
1587 break
1588 elif test -f $ac_dir/install.sh; then
1589 ac_aux_dir=$ac_dir
1590 ac_install_sh="$ac_aux_dir/install.sh -c"
1591 break
1592 elif test -f $ac_dir/shtool; then
1593 ac_aux_dir=$ac_dir
1594 ac_install_sh="$ac_aux_dir/shtool install -c"
1595 break
1596 fi
1597 done
1598 if test -z "$ac_aux_dir"; then
1599 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1600 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1601 { (exit 1); exit 1; }; }
1602 fi
1603 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1604 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1605 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1606
1607
1608 # Make sure we can run config.sub.
1609 $ac_config_sub sun4 >/dev/null 2>&1 ||
1610 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1611 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 echo "$as_me:$LINENO: checking build system type" >&5
1615 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1616 if test "${ac_cv_build+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 else
1619 ac_cv_build_alias=$build_alias
1620 test -z "$ac_cv_build_alias" &&
1621 ac_cv_build_alias=`$ac_config_guess`
1622 test -z "$ac_cv_build_alias" &&
1623 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1624 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1625 { (exit 1); exit 1; }; }
1626 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631 fi
1632 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1633 echo "${ECHO_T}$ac_cv_build" >&6
1634 build=$ac_cv_build
1635 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638
1639
1640 echo "$as_me:$LINENO: checking host system type" >&5
1641 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1642 if test "${ac_cv_host+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 else
1645 ac_cv_host_alias=$host_alias
1646 test -z "$ac_cv_host_alias" &&
1647 ac_cv_host_alias=$ac_cv_build_alias
1648 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1652
1653 fi
1654 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1655 echo "${ECHO_T}$ac_cv_host" >&6
1656 host=$ac_cv_host
1657 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1660
1661
1662 echo "$as_me:$LINENO: checking target system type" >&5
1663 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1664 if test "${ac_cv_target+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 else
1667 ac_cv_target_alias=$target_alias
1668 test "x$ac_cv_target_alias" = "x" &&
1669 ac_cv_target_alias=$ac_cv_host_alias
1670 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1674
1675 fi
1676 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1677 echo "${ECHO_T}$ac_cv_target" >&6
1678 target=$ac_cv_target
1679 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1682
1683
1684 # The aliases save the names the user supplied, while $host etc.
1685 # will get canonicalized.
1686 test -n "$target_alias" &&
1687 test "$program_prefix$program_suffix$program_transform_name" = \
1688 NONENONEs,x,x, &&
1689 program_prefix=${target_alias}-
1690
1691 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1692 if test "${enable_java_maintainer_mode+set}" = set; then
1693 enableval="$enable_java_maintainer_mode"
1694
1695 fi;
1696
1697
1698 if test "$enable_java_maintainer_mode" = yes; then
1699 JAVA_MAINTAINER_MODE_TRUE=
1700 JAVA_MAINTAINER_MODE_FALSE='#'
1701 else
1702 JAVA_MAINTAINER_MODE_TRUE='#'
1703 JAVA_MAINTAINER_MODE_FALSE=
1704 fi
1705
1706
1707 # We would like to our source tree to be readonly. However when releases or
1708 # pre-releases are generated, the man pages need to be included as they are
1709 # converted from the texi files via perl which we don't require end users to
1710 # have installed.
1711 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1712
1713 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1714 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1715 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1716 if test "${enable_generated_files_in_srcdir+set}" = set; then
1717 enableval="$enable_generated_files_in_srcdir"
1718 generated_files_in_srcdir=$enableval
1719 else
1720 generated_files_in_srcdir=no
1721 fi;
1722
1723 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1724 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1725
1726
1727 if test x$generated_files_in_srcdir = xyes; then
1728 GENINSRC_TRUE=
1729 GENINSRC_FALSE='#'
1730 else
1731 GENINSRC_TRUE='#'
1732 GENINSRC_FALSE=
1733 fi
1734
1735
1736 # Find the rest of the source tree framework.
1737 # Default to --enable-multilib
1738 # Check whether --enable-multilib or --disable-multilib was given.
1739 if test "${enable_multilib+set}" = set; then
1740 enableval="$enable_multilib"
1741 case "$enableval" in
1742 yes) multilib=yes ;;
1743 no) multilib=no ;;
1744 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1745 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1746 { (exit 1); exit 1; }; } ;;
1747 esac
1748 else
1749 multilib=yes
1750 fi;
1751
1752 # We may get other options which we leave undocumented:
1753 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1754 # See config-ml.in if you want the gory details.
1755
1756 if test "$srcdir" = "."; then
1757 if test "$with_target_subdir" != "."; then
1758 multi_basedir="$srcdir/$with_multisrctop../../.."
1759 else
1760 multi_basedir="$srcdir/$with_multisrctop../.."
1761 fi
1762 else
1763 multi_basedir="$srcdir/../.."
1764 fi
1765
1766
1767 # Even if the default multilib is not a cross compilation,
1768 # it may be that some of the other multilibs are.
1769 if test $cross_compiling = no && test $multilib = yes \
1770 && test "x${with_multisubdir}" != x ; then
1771 cross_compiling=maybe
1772 fi
1773
1774 ac_config_commands="$ac_config_commands default-1"
1775
1776
1777 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1778
1779 LIBVERSION="0:0:0"
1780
1781 case "$host_os" in
1782 darwin*)
1783 cp_module=""
1784 ;;
1785 *)
1786 cp_module="-module"
1787 ;;
1788 esac
1789
1790 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1791
1792
1793 CLASSPATH_CONVENIENCE="-no-undefined"
1794
1795
1796
1797 am__api_version="1.9"
1798 # Find a good install program. We prefer a C program (faster),
1799 # so one script is as good as another. But avoid the broken or
1800 # incompatible versions:
1801 # SysV /etc/install, /usr/sbin/install
1802 # SunOS /usr/etc/install
1803 # IRIX /sbin/install
1804 # AIX /bin/install
1805 # AmigaOS /C/install, which installs bootblocks on floppy discs
1806 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1807 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1808 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1809 # OS/2's system install, which has a completely different semantic
1810 # ./install, which can be erroneously created by make from ./install.sh.
1811 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1812 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1813 if test -z "$INSTALL"; then
1814 if test "${ac_cv_path_install+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 # Account for people who put trailing slashes in PATH elements.
1823 case $as_dir/ in
1824 ./ | .// | /cC/* | \
1825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1826 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1827 /usr/ucb/* ) ;;
1828 *)
1829 # OSF1 and SCO ODT 3.0 have their own names for install.
1830 # Don't use installbsd from OSF since it installs stuff as root
1831 # by default.
1832 for ac_prog in ginstall scoinst install; do
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1835 if test $ac_prog = install &&
1836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1837 # AIX install. It has an incompatible calling convention.
1838 :
1839 elif test $ac_prog = install &&
1840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1841 # program-specific install script used by HP pwplus--don't use.
1842 :
1843 else
1844 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1845 break 3
1846 fi
1847 fi
1848 done
1849 done
1850 ;;
1851 esac
1852 done
1853
1854
1855 fi
1856 if test "${ac_cv_path_install+set}" = set; then
1857 INSTALL=$ac_cv_path_install
1858 else
1859 # As a last resort, use the slow shell script. We don't cache a
1860 # path for INSTALL within a source directory, because that will
1861 # break other packages using the cache if that directory is
1862 # removed, or if the path is relative.
1863 INSTALL=$ac_install_sh
1864 fi
1865 fi
1866 echo "$as_me:$LINENO: result: $INSTALL" >&5
1867 echo "${ECHO_T}$INSTALL" >&6
1868
1869 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1870 # It thinks the first close brace ends the variable substitution.
1871 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1872
1873 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1874
1875 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1876
1877 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1878 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1879 # Just in case
1880 sleep 1
1881 echo timestamp > conftest.file
1882 # Do `set' in a subshell so we don't clobber the current shell's
1883 # arguments. Must try -L first in case configure is actually a
1884 # symlink; some systems play weird games with the mod time of symlinks
1885 # (eg FreeBSD returns the mod time of the symlink's containing
1886 # directory).
1887 if (
1888 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1889 if test "$*" = "X"; then
1890 # -L didn't work.
1891 set X `ls -t $srcdir/configure conftest.file`
1892 fi
1893 rm -f conftest.file
1894 if test "$*" != "X $srcdir/configure conftest.file" \
1895 && test "$*" != "X conftest.file $srcdir/configure"; then
1896
1897 # If neither matched, then we have a broken ls. This can happen
1898 # if, for instance, CONFIG_SHELL is bash and it inherits a
1899 # broken ls alias from the environment. This has actually
1900 # happened. Such a system could not be considered "sane".
1901 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1902 alias in your environment" >&5
1903 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" >&2;}
1905 { (exit 1); exit 1; }; }
1906 fi
1907
1908 test "$2" = conftest.file
1909 )
1910 then
1911 # Ok.
1912 :
1913 else
1914 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1915 Check your system clock" >&5
1916 echo "$as_me: error: newly created file is older than distributed files!
1917 Check your system clock" >&2;}
1918 { (exit 1); exit 1; }; }
1919 fi
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1922 test "$program_prefix" != NONE &&
1923 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1924 # Use a double $ so make ignores it.
1925 test "$program_suffix" != NONE &&
1926 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1927 # Double any \ or $. echo might interpret backslashes.
1928 # By default was `s,x,x', remove it if useless.
1929 cat <<\_ACEOF >conftest.sed
1930 s/[\\$]/&&/g;s/;s,x,x,$//
1931 _ACEOF
1932 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1933 rm conftest.sed
1934
1935 # expand $ac_aux_dir to an absolute path
1936 am_aux_dir=`cd $ac_aux_dir && pwd`
1937
1938 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1939 # Use eval to expand $SHELL
1940 if eval "$MISSING --run true"; then
1941 am_missing_run="$MISSING --run "
1942 else
1943 am_missing_run=
1944 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1945 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1946 fi
1947
1948 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1949 # We used to keeping the `.' as first argument, in order to
1950 # allow $(mkdir_p) to be used without argument. As in
1951 # $(mkdir_p) $(somedir)
1952 # where $(somedir) is conditionally defined. However this is wrong
1953 # for two reasons:
1954 # 1. if the package is installed by a user who cannot write `.'
1955 # make install will fail,
1956 # 2. the above comment should most certainly read
1957 # $(mkdir_p) $(DESTDIR)$(somedir)
1958 # so it does not work when $(somedir) is undefined and
1959 # $(DESTDIR) is not.
1960 # To support the latter case, we have to write
1961 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1962 # so the `.' trick is pointless.
1963 mkdir_p='mkdir -p --'
1964 else
1965 # On NextStep and OpenStep, the `mkdir' command does not
1966 # recognize any option. It will interpret all options as
1967 # directories to create, and then abort because `.' already
1968 # exists.
1969 for d in ./-p ./--version;
1970 do
1971 test -d $d && rmdir $d
1972 done
1973 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1974 if test -f "$ac_aux_dir/mkinstalldirs"; then
1975 mkdir_p='$(mkinstalldirs)'
1976 else
1977 mkdir_p='$(install_sh) -d'
1978 fi
1979 fi
1980
1981 for ac_prog in gawk mawk nawk awk
1982 do
1983 # Extract the first word of "$ac_prog", so it can be a program name with args.
1984 set dummy $ac_prog; ac_word=$2
1985 echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987 if test "${ac_cv_prog_AWK+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 else
1990 if test -n "$AWK"; then
1991 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1992 else
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994 for as_dir in $PATH
1995 do
1996 IFS=$as_save_IFS
1997 test -z "$as_dir" && as_dir=.
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2000 ac_cv_prog_AWK="$ac_prog"
2001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002 break 2
2003 fi
2004 done
2005 done
2006
2007 fi
2008 fi
2009 AWK=$ac_cv_prog_AWK
2010 if test -n "$AWK"; then
2011 echo "$as_me:$LINENO: result: $AWK" >&5
2012 echo "${ECHO_T}$AWK" >&6
2013 else
2014 echo "$as_me:$LINENO: result: no" >&5
2015 echo "${ECHO_T}no" >&6
2016 fi
2017
2018 test -n "$AWK" && break
2019 done
2020
2021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2023 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 else
2027 cat >conftest.make <<\_ACEOF
2028 all:
2029 @echo 'ac_maketemp="$(MAKE)"'
2030 _ACEOF
2031 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2033 if test -n "$ac_maketemp"; then
2034 eval ac_cv_prog_make_${ac_make}_set=yes
2035 else
2036 eval ac_cv_prog_make_${ac_make}_set=no
2037 fi
2038 rm -f conftest.make
2039 fi
2040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2041 echo "$as_me:$LINENO: result: yes" >&5
2042 echo "${ECHO_T}yes" >&6
2043 SET_MAKE=
2044 else
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2047 SET_MAKE="MAKE=${MAKE-make}"
2048 fi
2049
2050 rm -rf .tst 2>/dev/null
2051 mkdir .tst 2>/dev/null
2052 if test -d .tst; then
2053 am__leading_dot=.
2054 else
2055 am__leading_dot=_
2056 fi
2057 rmdir .tst 2>/dev/null
2058
2059 # test to see if srcdir already configured
2060 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2061 test -f $srcdir/config.status; then
2062 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2063 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2064 { (exit 1); exit 1; }; }
2065 fi
2066
2067 # test whether we have cygpath
2068 if test -z "$CYGPATH_W"; then
2069 if (cygpath --version) >/dev/null 2>/dev/null; then
2070 CYGPATH_W='cygpath -w'
2071 else
2072 CYGPATH_W=echo
2073 fi
2074 fi
2075
2076
2077 # Define the identity of the package.
2078 PACKAGE='classpath'
2079 VERSION='0.95'
2080
2081
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE "$PACKAGE"
2084 _ACEOF
2085
2086
2087 cat >>confdefs.h <<_ACEOF
2088 #define VERSION "$VERSION"
2089 _ACEOF
2090
2091 # Some tools Automake needs.
2092
2093 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2094
2095
2096 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2097
2098
2099 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2100
2101
2102 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2103
2104
2105 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2106
2107 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2108
2109 # Installed binaries are usually stripped using `strip' when the user
2110 # run `make install-strip'. However `strip' might not be the right
2111 # tool to use in cross-compilation environments, therefore Automake
2112 # will honor the `STRIP' environment variable to overrule this program.
2113 if test "$cross_compiling" != no; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}strip; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_STRIP+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122 if test -n "$STRIP"; then
2123 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2127 do
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 break 2
2135 fi
2136 done
2137 done
2138
2139 fi
2140 fi
2141 STRIP=$ac_cv_prog_STRIP
2142 if test -n "$STRIP"; then
2143 echo "$as_me:$LINENO: result: $STRIP" >&5
2144 echo "${ECHO_T}$STRIP" >&6
2145 else
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2148 fi
2149
2150 fi
2151 if test -z "$ac_cv_prog_STRIP"; then
2152 ac_ct_STRIP=$STRIP
2153 # Extract the first word of "strip", so it can be a program name with args.
2154 set dummy strip; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 else
2160 if test -n "$ac_ct_STRIP"; then
2161 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2162 else
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2165 do
2166 IFS=$as_save_IFS
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_STRIP="strip"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 break 2
2173 fi
2174 done
2175 done
2176
2177 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2178 fi
2179 fi
2180 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2181 if test -n "$ac_ct_STRIP"; then
2182 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2183 echo "${ECHO_T}$ac_ct_STRIP" >&6
2184 else
2185 echo "$as_me:$LINENO: result: no" >&5
2186 echo "${ECHO_T}no" >&6
2187 fi
2188
2189 STRIP=$ac_ct_STRIP
2190 else
2191 STRIP="$ac_cv_prog_STRIP"
2192 fi
2193
2194 fi
2195 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2196
2197 # We need awk for the "check" target. The system "awk" is bad on
2198 # some platforms.
2199 # Always define AMTAR for backward compatibility.
2200
2201 AMTAR=${AMTAR-"${am_missing_run}tar"}
2202
2203
2204 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2205 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2206 # Loop over all known methods to create a tar archive until one works.
2207 _am_tools='gnutar plaintar pax cpio none'
2208 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2209 # Do not fold the above two line into one, because Tru64 sh and
2210 # Solaris sh will not grok spaces in the rhs of `-'.
2211 for _am_tool in $_am_tools
2212 do
2213 case $_am_tool in
2214 gnutar)
2215 for _am_tar in tar gnutar gtar;
2216 do
2217 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2218 ($_am_tar --version) >&5 2>&5
2219 ac_status=$?
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); } && break
2222 done
2223 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2224 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2225 am__untar="$_am_tar -xf -"
2226 ;;
2227 plaintar)
2228 # Must skip GNU tar: if it does not support --format= it doesn't create
2229 # ustar tarball either.
2230 (tar --version) >/dev/null 2>&1 && continue
2231 am__tar='tar chf - "$$tardir"'
2232 am__tar_='tar chf - "$tardir"'
2233 am__untar='tar xf -'
2234 ;;
2235 pax)
2236 am__tar='pax -L -x ustar -w "$$tardir"'
2237 am__tar_='pax -L -x ustar -w "$tardir"'
2238 am__untar='pax -r'
2239 ;;
2240 cpio)
2241 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2242 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2243 am__untar='cpio -i -H ustar -d'
2244 ;;
2245 none)
2246 am__tar=false
2247 am__tar_=false
2248 am__untar=false
2249 ;;
2250 esac
2251
2252 # If the value was cached, stop now. We just wanted to have am__tar
2253 # and am__untar set.
2254 test -n "${am_cv_prog_tar_ustar}" && break
2255
2256 # tar/untar a dummy directory, and stop if the command works
2257 rm -rf conftest.dir
2258 mkdir conftest.dir
2259 echo GrepMe > conftest.dir/file
2260 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2261 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2262 ac_status=$?
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }
2265 rm -rf conftest.dir
2266 if test -s conftest.tar; then
2267 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2268 ($am__untar <conftest.tar) >&5 2>&5
2269 ac_status=$?
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2272 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2273 fi
2274 done
2275 rm -rf conftest.dir
2276
2277 if test "${am_cv_prog_tar_ustar+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 else
2280 am_cv_prog_tar_ustar=$_am_tool
2281 fi
2282
2283 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2284 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2285
2286
2287
2288
2289
2290 ac_config_headers="$ac_config_headers include/config.h"
2291
2292
2293
2294
2295
2296 # Check whether --enable-collections or --disable-collections was given.
2297 if test "${enable_collections+set}" = set; then
2298 enableval="$enable_collections"
2299 case x"${enableval}" in
2300 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2301 xno) COMPILE_COLLECTIONS=no ;;
2302 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2303 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2304 esac
2305 else
2306 COMPILE_COLLECTIONS=no
2307 fi;
2308
2309
2310 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2311 CREATE_COLLECTIONS_TRUE=
2312 CREATE_COLLECTIONS_FALSE='#'
2313 else
2314 CREATE_COLLECTIONS_TRUE='#'
2315 CREATE_COLLECTIONS_FALSE=
2316 fi
2317
2318
2319 # Check whether --enable-jni or --disable-jni was given.
2320 if test "${enable_jni+set}" = set; then
2321 enableval="$enable_jni"
2322 case "${enableval}" in
2323 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2324 no) COMPILE_JNI=no ;;
2325 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2326 esac
2327 else
2328 COMPILE_JNI=yes
2329 fi;
2330
2331
2332 if test "x${COMPILE_JNI}" = xyes; then
2333 CREATE_JNI_LIBRARIES_TRUE=
2334 CREATE_JNI_LIBRARIES_FALSE='#'
2335 else
2336 CREATE_JNI_LIBRARIES_TRUE='#'
2337 CREATE_JNI_LIBRARIES_FALSE=
2338 fi
2339
2340
2341 # Check whether --enable-core-jni or --disable-core-jni was given.
2342 if test "${enable_core_jni+set}" = set; then
2343 enableval="$enable_core_jni"
2344 case "${enableval}" in
2345 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2346 no) COMPILE_CORE_JNI=no ;;
2347 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2348 esac
2349 else
2350 COMPILE_CORE_JNI=yes
2351 fi;
2352
2353
2354 if test "x${COMPILE_CORE_JNI}" = xyes; then
2355 CREATE_CORE_JNI_LIBRARIES_TRUE=
2356 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2357 else
2358 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2359 CREATE_CORE_JNI_LIBRARIES_FALSE=
2360 fi
2361
2362
2363 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2364 if test "${enable_default_preferences_peer+set}" = set; then
2365 enableval="$enable_default_preferences_peer"
2366 case "${enableval}" in
2367 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2368 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2369 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2370 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2371 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2372 { (exit 1); exit 1; }; } ;;
2373 *) DEFAULT_PREFS_PEER=${enableval} ;;
2374 esac
2375 else
2376 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2377 fi;
2378
2379 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2380 if test "${enable_gconf_peer+set}" = set; then
2381 enableval="$enable_gconf_peer"
2382 case "${enableval}" in
2383 yes) COMPILE_GCONF_PEER=yes ;;
2384 no) COMPILE_GCONF_PEER=no ;;
2385 *) COMPILE_GCONF_PEER=yes ;;
2386 esac
2387 else
2388 COMPILE_GCONF_PEER=yes
2389 fi;
2390
2391
2392 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2393 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2394 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2395 else
2396 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2397 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2398 fi
2399
2400
2401 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2402 if test "${enable_gconf_peers+set}" = set; then
2403 enableval="$enable_gconf_peers"
2404 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2405 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2406 { (exit 1); exit 1; }; }
2407 fi;
2408
2409 # Check whether --enable-Werror or --disable-Werror was given.
2410 if test "${enable_Werror+set}" = set; then
2411 enableval="$enable_Werror"
2412 case "${enableval}" in
2413 yes) ENABLE_WERROR=yes ;;
2414 no) ENABLE_WERROR=no ;;
2415 *) ENABLE_WERROR=default ;;
2416 esac
2417 else
2418 ENABLE_WERROR=default
2419 fi;
2420
2421 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2422 if test "${enable_default_toolkit+set}" = set; then
2423 enableval="$enable_default_toolkit"
2424
2425 fi;
2426 default_toolkit=$enable_default_toolkit
2427 if test "$default_toolkit" = ""; then
2428 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2429 fi
2430
2431
2432 # Check whether --enable-xmlj or --disable-xmlj was given.
2433 if test "${enable_xmlj+set}" = set; then
2434 enableval="$enable_xmlj"
2435 case "${enableval}" in
2436 yes) COMPILE_XMLJ=yes ;;
2437 no) COMPILE_XMLJ=no ;;
2438 *) COMPILE_XMLJ=no ;;
2439 esac
2440 else
2441 COMPILE_XMLJ=no
2442 fi;
2443
2444
2445 if test "x${COMPILE_XMLJ}" = xyes; then
2446 CREATE_XMLJ_LIBRARY_TRUE=
2447 CREATE_XMLJ_LIBRARY_FALSE='#'
2448 else
2449 CREATE_XMLJ_LIBRARY_TRUE='#'
2450 CREATE_XMLJ_LIBRARY_FALSE=
2451 fi
2452
2453
2454 DEPDIR="${am__leading_dot}deps"
2455
2456 ac_config_commands="$ac_config_commands depfiles"
2457
2458
2459 am_make=${MAKE-make}
2460 cat > confinc << 'END'
2461 am__doit:
2462 @echo done
2463 .PHONY: am__doit
2464 END
2465 # If we don't find an include directive, just comment out the code.
2466 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2467 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2468 am__include="#"
2469 am__quote=
2470 _am_result=none
2471 # First try GNU make style include.
2472 echo "include confinc" > confmf
2473 # We grep out `Entering directory' and `Leaving directory'
2474 # messages which can occur if `w' ends up in MAKEFLAGS.
2475 # In particular we don't look at `^make:' because GNU make might
2476 # be invoked under some other name (usually "gmake"), in which
2477 # case it prints its new name instead of `make'.
2478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2479 am__include=include
2480 am__quote=
2481 _am_result=GNU
2482 fi
2483 # Now try BSD make style include.
2484 if test "$am__include" = "#"; then
2485 echo '.include "confinc"' > confmf
2486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2487 am__include=.include
2488 am__quote="\""
2489 _am_result=BSD
2490 fi
2491 fi
2492
2493
2494 echo "$as_me:$LINENO: result: $_am_result" >&5
2495 echo "${ECHO_T}$_am_result" >&6
2496 rm -f confinc confmf
2497
2498 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2499 if test "${enable_dependency_tracking+set}" = set; then
2500 enableval="$enable_dependency_tracking"
2501
2502 fi;
2503 if test "x$enable_dependency_tracking" != xno; then
2504 am_depcomp="$ac_aux_dir/depcomp"
2505 AMDEPBACKSLASH='\'
2506 fi
2507
2508
2509 if test "x$enable_dependency_tracking" != xno; then
2510 AMDEP_TRUE=
2511 AMDEP_FALSE='#'
2512 else
2513 AMDEP_TRUE='#'
2514 AMDEP_FALSE=
2515 fi
2516
2517
2518
2519 ac_ext=c
2520 ac_cpp='$CPP $CPPFLAGS'
2521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2527 echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2529 if test "${ac_cv_prog_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test -n "$CC"; then
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2537 do
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2545 fi
2546 done
2547 done
2548
2549 fi
2550 fi
2551 CC=$ac_cv_prog_CC
2552 if test -n "$CC"; then
2553 echo "$as_me:$LINENO: result: $CC" >&5
2554 echo "${ECHO_T}$CC" >&6
2555 else
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2558 fi
2559
2560 fi
2561 if test -z "$ac_cv_prog_CC"; then
2562 ac_ct_CC=$CC
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 else
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576 IFS=$as_save_IFS
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_CC="gcc"
2581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 break 2
2583 fi
2584 done
2585 done
2586
2587 fi
2588 fi
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2592 echo "${ECHO_T}$ac_ct_CC" >&6
2593 else
2594 echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6
2596 fi
2597
2598 CC=$ac_ct_CC
2599 else
2600 CC="$ac_cv_prog_CC"
2601 fi
2602
2603 if test -z "$CC"; then
2604 if test -n "$ac_tool_prefix"; then
2605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2606 set dummy ${ac_tool_prefix}cc; ac_word=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 else
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC="$CC" # Let the user override the test.
2614 else
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 for as_dir in $PATH
2617 do
2618 IFS=$as_save_IFS
2619 test -z "$as_dir" && as_dir=.
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_CC="${ac_tool_prefix}cc"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 break 2
2625 fi
2626 done
2627 done
2628
2629 fi
2630 fi
2631 CC=$ac_cv_prog_CC
2632 if test -n "$CC"; then
2633 echo "$as_me:$LINENO: result: $CC" >&5
2634 echo "${ECHO_T}$CC" >&6
2635 else
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2638 fi
2639
2640 fi
2641 if test -z "$ac_cv_prog_CC"; then
2642 ac_ct_CC=$CC
2643 # Extract the first word of "cc", so it can be a program name with args.
2644 set dummy cc; ac_word=$2
2645 echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 else
2650 if test -n "$ac_ct_CC"; then
2651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2652 else
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_ac_ct_CC="cc"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 break 2
2663 fi
2664 done
2665 done
2666
2667 fi
2668 fi
2669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2670 if test -n "$ac_ct_CC"; then
2671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2672 echo "${ECHO_T}$ac_ct_CC" >&6
2673 else
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2676 fi
2677
2678 CC=$ac_ct_CC
2679 else
2680 CC="$ac_cv_prog_CC"
2681 fi
2682
2683 fi
2684 if test -z "$CC"; then
2685 # Extract the first word of "cc", so it can be a program name with args.
2686 set dummy cc; ac_word=$2
2687 echo "$as_me:$LINENO: checking for $ac_word" >&5
2688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2689 if test "${ac_cv_prog_CC+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC="$CC" # Let the user override the test.
2694 else
2695 ac_prog_rejected=no
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 for as_dir in $PATH
2698 do
2699 IFS=$as_save_IFS
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2704 ac_prog_rejected=yes
2705 continue
2706 fi
2707 ac_cv_prog_CC="cc"
2708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 break 2
2710 fi
2711 done
2712 done
2713
2714 if test $ac_prog_rejected = yes; then
2715 # We found a bogon in the path, so make sure we never use it.
2716 set dummy $ac_cv_prog_CC
2717 shift
2718 if test $# != 0; then
2719 # We chose a different compiler from the bogus one.
2720 # However, it has the same basename, so the bogon will be chosen
2721 # first if we set CC to just the basename; use the full file name.
2722 shift
2723 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2724 fi
2725 fi
2726 fi
2727 fi
2728 CC=$ac_cv_prog_CC
2729 if test -n "$CC"; then
2730 echo "$as_me:$LINENO: result: $CC" >&5
2731 echo "${ECHO_T}$CC" >&6
2732 else
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2735 fi
2736
2737 fi
2738 if test -z "$CC"; then
2739 if test -n "$ac_tool_prefix"; then
2740 for ac_prog in cl
2741 do
2742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2744 echo "$as_me:$LINENO: checking for $ac_word" >&5
2745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2746 if test "${ac_cv_prog_CC+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 else
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC="$CC" # Let the user override the test.
2751 else
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755 IFS=$as_save_IFS
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 break 2
2762 fi
2763 done
2764 done
2765
2766 fi
2767 fi
2768 CC=$ac_cv_prog_CC
2769 if test -n "$CC"; then
2770 echo "$as_me:$LINENO: result: $CC" >&5
2771 echo "${ECHO_T}$CC" >&6
2772 else
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2775 fi
2776
2777 test -n "$CC" && break
2778 done
2779 fi
2780 if test -z "$CC"; then
2781 ac_ct_CC=$CC
2782 for ac_prog in cl
2783 do
2784 # Extract the first word of "$ac_prog", so it can be a program name with args.
2785 set dummy $ac_prog; ac_word=$2
2786 echo "$as_me:$LINENO: checking for $ac_word" >&5
2787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2789 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 else
2791 if test -n "$ac_ct_CC"; then
2792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2793 else
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 for as_dir in $PATH
2796 do
2797 IFS=$as_save_IFS
2798 test -z "$as_dir" && as_dir=.
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_ac_ct_CC="$ac_prog"
2802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 break 2
2804 fi
2805 done
2806 done
2807
2808 fi
2809 fi
2810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2811 if test -n "$ac_ct_CC"; then
2812 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2813 echo "${ECHO_T}$ac_ct_CC" >&6
2814 else
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2817 fi
2818
2819 test -n "$ac_ct_CC" && break
2820 done
2821
2822 CC=$ac_ct_CC
2823 fi
2824
2825 fi
2826
2827
2828 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: no acceptable C compiler found in \$PATH
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2833
2834 # Provide some information about the compiler.
2835 echo "$as_me:$LINENO:" \
2836 "checking for C compiler version" >&5
2837 ac_compiler=`set X $ac_compile; echo $2`
2838 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2839 (eval $ac_compiler --version </dev/null >&5) 2>&5
2840 ac_status=$?
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }
2843 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2844 (eval $ac_compiler -v </dev/null >&5) 2>&5
2845 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }
2848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2849 (eval $ac_compiler -V </dev/null >&5) 2>&5
2850 ac_status=$?
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }
2853
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2860
2861 int
2862 main ()
2863 {
2864
2865 ;
2866 return 0;
2867 }
2868 _ACEOF
2869 # FIXME: Cleanup?
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 gcc_no_link=no
2876 else
2877 gcc_no_link=yes
2878 fi
2879
2880 if test x$gcc_no_link = xyes; then
2881 # Setting cross_compile will disable run tests; it will
2882 # also disable AC_CHECK_FILE but that's generally
2883 # correct if we can't link.
2884 cross_compiling=yes
2885 EXEEXT=
2886 else
2887 cat >conftest.$ac_ext <<_ACEOF
2888 /* confdefs.h. */
2889 _ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2893
2894 int
2895 main ()
2896 {
2897
2898 ;
2899 return 0;
2900 }
2901 _ACEOF
2902 ac_clean_files_save=$ac_clean_files
2903 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2906 # of exeext.
2907 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2908 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2909 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2910 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2911 (eval $ac_link_default) 2>&5
2912 ac_status=$?
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; then
2915 # Find the output, starting from the most likely. This scheme is
2916 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2917 # resort.
2918
2919 # Be careful to initialize this variable, since it used to be cached.
2920 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2921 ac_cv_exeext=
2922 # b.out is created by i960 compilers.
2923 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2924 do
2925 test -f "$ac_file" || continue
2926 case $ac_file in
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2928 ;;
2929 conftest.$ac_ext )
2930 # This is the source file.
2931 ;;
2932 [ab].out )
2933 # We found the default executable, but exeext='' is most
2934 # certainly right.
2935 break;;
2936 *.* )
2937 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2938 # FIXME: I believe we export ac_cv_exeext for Libtool,
2939 # but it would be cool to find out if it's true. Does anybody
2940 # maintain Libtool? --akim.
2941 export ac_cv_exeext
2942 break;;
2943 * )
2944 break;;
2945 esac
2946 done
2947 else
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2950
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955 { (exit 77); exit 77; }; }
2956 fi
2957
2958 ac_exeext=$ac_cv_exeext
2959 echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6
2961
2962 # Check the compiler produces executables we can run. If not, either
2963 # the compiler is broken, or we cross compile.
2964 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2965 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2966 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2967 # If not cross compiling, check that we can run a simple program.
2968 if test "$cross_compiling" != yes; then
2969 if { ac_try='./$ac_file'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 (eval $ac_try) 2>&5
2972 ac_status=$?
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2975 cross_compiling=no
2976 else
2977 if test "$cross_compiling" = maybe; then
2978 cross_compiling=yes
2979 else
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986 { (exit 1); exit 1; }; }
2987 fi
2988 fi
2989 fi
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2992
2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 # Check the compiler produces executables we can run. If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3001
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005 (eval $ac_link) 2>&5
3006 ac_status=$?
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3012 # `rm'.
3013 for ac_file in conftest.exe conftest conftest.*; do
3014 test -f "$ac_file" || continue
3015 case $ac_file in
3016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3017 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 export ac_cv_exeext
3019 break;;
3020 * ) break;;
3021 esac
3022 done
3023 else
3024 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&2;}
3028 { (exit 1); exit 1; }; }
3029 fi
3030
3031 rm -f conftest$ac_cv_exeext
3032 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3033 echo "${ECHO_T}$ac_cv_exeext" >&6
3034
3035 rm -f conftest.$ac_ext
3036 EXEEXT=$ac_cv_exeext
3037 ac_exeext=$EXEEXT
3038 fi
3039 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3040 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3041 if test "${ac_cv_objext+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 else
3044 cat >conftest.$ac_ext <<_ACEOF
3045 /* confdefs.h. */
3046 _ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050
3051 int
3052 main ()
3053 {
3054
3055 ;
3056 return 0;
3057 }
3058 _ACEOF
3059 rm -f conftest.o conftest.obj
3060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 (eval $ac_compile) 2>&5
3062 ac_status=$?
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; then
3065 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3066 case $ac_file in
3067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3068 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3069 break;;
3070 esac
3071 done
3072 else
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3075
3076 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3077 See \`config.log' for more details." >&5
3078 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3079 See \`config.log' for more details." >&2;}
3080 { (exit 1); exit 1; }; }
3081 fi
3082
3083 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3084 fi
3085 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3086 echo "${ECHO_T}$ac_cv_objext" >&6
3087 OBJEXT=$ac_cv_objext
3088 ac_objext=$OBJEXT
3089 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3090 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3091 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094 cat >conftest.$ac_ext <<_ACEOF
3095 /* confdefs.h. */
3096 _ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3100
3101 int
3102 main ()
3103 {
3104 #ifndef __GNUC__
3105 choke me
3106 #endif
3107
3108 ;
3109 return 0;
3110 }
3111 _ACEOF
3112 rm -f conftest.$ac_objext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114 (eval $ac_compile) 2>conftest.er1
3115 ac_status=$?
3116 grep -v '^ *+' conftest.er1 >conftest.err
3117 rm -f conftest.er1
3118 cat conftest.err >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try='test -z "$ac_c_werror_flag"
3122 || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 (eval $ac_try) 2>&5
3125 ac_status=$?
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 (eval $ac_try) 2>&5
3131 ac_status=$?
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 ac_compiler_gnu=yes
3135 else
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3138
3139 ac_compiler_gnu=no
3140 fi
3141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3143
3144 fi
3145 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3146 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3147 GCC=`test $ac_compiler_gnu = yes && echo yes`
3148 ac_test_CFLAGS=${CFLAGS+set}
3149 ac_save_CFLAGS=$CFLAGS
3150 CFLAGS="-g"
3151 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3152 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3153 if test "${ac_cv_prog_cc_g+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 else
3156 cat >conftest.$ac_ext <<_ACEOF
3157 /* confdefs.h. */
3158 _ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3162
3163 int
3164 main ()
3165 {
3166
3167 ;
3168 return 0;
3169 }
3170 _ACEOF
3171 rm -f conftest.$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>conftest.er1
3174 ac_status=$?
3175 grep -v '^ *+' conftest.er1 >conftest.err
3176 rm -f conftest.er1
3177 cat conftest.err >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } &&
3180 { ac_try='test -z "$ac_c_werror_flag"
3181 || test ! -s conftest.err'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 (eval $ac_try) 2>&5
3184 ac_status=$?
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; } &&
3187 { ac_try='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 (eval $ac_try) 2>&5
3190 ac_status=$?
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3193 ac_cv_prog_cc_g=yes
3194 else
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3197
3198 ac_cv_prog_cc_g=no
3199 fi
3200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3201 fi
3202 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3203 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3204 if test "$ac_test_CFLAGS" = set; then
3205 CFLAGS=$ac_save_CFLAGS
3206 elif test $ac_cv_prog_cc_g = yes; then
3207 if test "$GCC" = yes; then
3208 CFLAGS="-g -O2"
3209 else
3210 CFLAGS="-g"
3211 fi
3212 else
3213 if test "$GCC" = yes; then
3214 CFLAGS="-O2"
3215 else
3216 CFLAGS=
3217 fi
3218 fi
3219 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3220 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3221 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 else
3224 ac_cv_prog_cc_stdc=no
3225 ac_save_CC=$CC
3226 cat >conftest.$ac_ext <<_ACEOF
3227 /* confdefs.h. */
3228 _ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3232 #include <stdarg.h>
3233 #include <stdio.h>
3234 #include <sys/types.h>
3235 #include <sys/stat.h>
3236 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3237 struct buf { int x; };
3238 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3239 static char *e (p, i)
3240 char **p;
3241 int i;
3242 {
3243 return p[i];
3244 }
3245 static char *f (char * (*g) (char **, int), char **p, ...)
3246 {
3247 char *s;
3248 va_list v;
3249 va_start (v,p);
3250 s = g (p, va_arg (v,int));
3251 va_end (v);
3252 return s;
3253 }
3254
3255 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3256 function prototypes and stuff, but not '\xHH' hex character constants.
3257 These don't provoke an error unfortunately, instead are silently treated
3258 as 'x'. The following induces an error, until -std1 is added to get
3259 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3260 array size at least. It's necessary to write '\x00'==0 to get something
3261 that's true only with -std1. */
3262 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3263
3264 int test (int i, double x);
3265 struct s1 {int (*f) (int a);};
3266 struct s2 {int (*f) (double a);};
3267 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3268 int argc;
3269 char **argv;
3270 int
3271 main ()
3272 {
3273 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3274 ;
3275 return 0;
3276 }
3277 _ACEOF
3278 # Don't try gcc -ansi; that turns off useful extensions and
3279 # breaks some systems' header files.
3280 # AIX -qlanglvl=ansi
3281 # Ultrix and OSF/1 -std1
3282 # HP-UX 10.20 and later -Ae
3283 # HP-UX older versions -Aa -D_HPUX_SOURCE
3284 # SVR4 -Xc -D__EXTENSIONS__
3285 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3286 do
3287 CC="$ac_save_CC $ac_arg"
3288 rm -f conftest.$ac_objext
3289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3290 (eval $ac_compile) 2>conftest.er1
3291 ac_status=$?
3292 grep -v '^ *+' conftest.er1 >conftest.err
3293 rm -f conftest.er1
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try='test -z "$ac_c_werror_flag"
3298 || test ! -s conftest.err'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 (eval $ac_try) 2>&5
3301 ac_status=$?
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; } &&
3304 { ac_try='test -s conftest.$ac_objext'
3305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 (eval $ac_try) 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cc_stdc=$ac_arg
3311 break
3312 else
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3315
3316 fi
3317 rm -f conftest.err conftest.$ac_objext
3318 done
3319 rm -f conftest.$ac_ext conftest.$ac_objext
3320 CC=$ac_save_CC
3321
3322 fi
3323
3324 case "x$ac_cv_prog_cc_stdc" in
3325 x|xno)
3326 echo "$as_me:$LINENO: result: none needed" >&5
3327 echo "${ECHO_T}none needed" >&6 ;;
3328 *)
3329 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3330 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3331 CC="$CC $ac_cv_prog_cc_stdc" ;;
3332 esac
3333
3334 # Some people use a C++ compiler to compile C. Since we use `exit',
3335 # in C++ we need to declare it. In case someone uses the same compiler
3336 # for both compiling C and C++ we need to have the C++ compiler decide
3337 # the declaration of exit, since it's the most demanding environment.
3338 cat >conftest.$ac_ext <<_ACEOF
3339 #ifndef __cplusplus
3340 choke me
3341 #endif
3342 _ACEOF
3343 rm -f conftest.$ac_objext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3345 (eval $ac_compile) 2>conftest.er1
3346 ac_status=$?
3347 grep -v '^ *+' conftest.er1 >conftest.err
3348 rm -f conftest.er1
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } &&
3352 { ac_try='test -z "$ac_c_werror_flag"
3353 || test ! -s conftest.err'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 (eval $ac_try) 2>&5
3356 ac_status=$?
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; } &&
3359 { ac_try='test -s conftest.$ac_objext'
3360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 (eval $ac_try) 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3365 for ac_declaration in \
3366 '' \
3367 'extern "C" void std::exit (int) throw (); using std::exit;' \
3368 'extern "C" void std::exit (int); using std::exit;' \
3369 'extern "C" void exit (int) throw ();' \
3370 'extern "C" void exit (int);' \
3371 'void exit (int);'
3372 do
3373 cat >conftest.$ac_ext <<_ACEOF
3374 /* confdefs.h. */
3375 _ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3379 $ac_declaration
3380 #include <stdlib.h>
3381 int
3382 main ()
3383 {
3384 exit (42);
3385 ;
3386 return 0;
3387 }
3388 _ACEOF
3389 rm -f conftest.$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3392 ac_status=$?
3393 grep -v '^ *+' conftest.er1 >conftest.err
3394 rm -f conftest.er1
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try='test -z "$ac_c_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 (eval $ac_try) 2>&5
3402 ac_status=$?
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 (eval $ac_try) 2>&5
3408 ac_status=$?
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3411 :
3412 else
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3415
3416 continue
3417 fi
3418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3419 cat >conftest.$ac_ext <<_ACEOF
3420 /* confdefs.h. */
3421 _ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3425 $ac_declaration
3426 int
3427 main ()
3428 {
3429 exit (42);
3430 ;
3431 return 0;
3432 }
3433 _ACEOF
3434 rm -f conftest.$ac_objext
3435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3436 (eval $ac_compile) 2>conftest.er1
3437 ac_status=$?
3438 grep -v '^ *+' conftest.er1 >conftest.err
3439 rm -f conftest.er1
3440 cat conftest.err >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); } &&
3443 { ac_try='test -z "$ac_c_werror_flag"
3444 || test ! -s conftest.err'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 (eval $ac_try) 2>&5
3447 ac_status=$?
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; } &&
3450 { ac_try='test -s conftest.$ac_objext'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 (eval $ac_try) 2>&5
3453 ac_status=$?
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; }; then
3456 break
3457 else
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3460
3461 fi
3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3463 done
3464 rm -f conftest*
3465 if test -n "$ac_declaration"; then
3466 echo '#ifdef __cplusplus' >>confdefs.h
3467 echo $ac_declaration >>confdefs.h
3468 echo '#endif' >>confdefs.h
3469 fi
3470
3471 else
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3474
3475 fi
3476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3477 ac_ext=c
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482
3483 depcc="$CC" am_compiler_list=
3484
3485 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3486 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3487 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 else
3490 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3491 # We make a subdir and do the tests there. Otherwise we can end up
3492 # making bogus files that we don't know about and never remove. For
3493 # instance it was reported that on HP-UX the gcc test will end up
3494 # making a dummy file named `D' -- because `-MD' means `put the output
3495 # in D'.
3496 mkdir conftest.dir
3497 # Copy depcomp to subdir because otherwise we won't find it if we're
3498 # using a relative directory.
3499 cp "$am_depcomp" conftest.dir
3500 cd conftest.dir
3501 # We will build objects and dependencies in a subdirectory because
3502 # it helps to detect inapplicable dependency modes. For instance
3503 # both Tru64's cc and ICC support -MD to output dependencies as a
3504 # side effect of compilation, but ICC will put the dependencies in
3505 # the current directory while Tru64 will put them in the object
3506 # directory.
3507 mkdir sub
3508
3509 am_cv_CC_dependencies_compiler_type=none
3510 if test "$am_compiler_list" = ""; then
3511 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3512 fi
3513 for depmode in $am_compiler_list; do
3514 # Setup a source with many dependencies, because some compilers
3515 # like to wrap large dependency lists on column 80 (with \), and
3516 # we should not choose a depcomp mode which is confused by this.
3517 #
3518 # We need to recreate these files for each test, as the compiler may
3519 # overwrite some of them when testing with obscure command lines.
3520 # This happens at least with the AIX C compiler.
3521 : > sub/conftest.c
3522 for i in 1 2 3 4 5 6; do
3523 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3525 # Solaris 8's {/usr,}/bin/sh.
3526 touch sub/conftst$i.h
3527 done
3528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3529
3530 case $depmode in
3531 nosideeffect)
3532 # after this tag, mechanisms are not by side-effect, so they'll
3533 # only be used when explicitly requested
3534 if test "x$enable_dependency_tracking" = xyes; then
3535 continue
3536 else
3537 break
3538 fi
3539 ;;
3540 none) break ;;
3541 esac
3542 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3543 # mode. It turns out that the SunPro C++ compiler does not properly
3544 # handle `-M -o', and we need to detect this.
3545 if depmode=$depmode \
3546 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3547 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3548 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3549 >/dev/null 2>conftest.err &&
3550 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3551 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3552 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3553 # icc doesn't choke on unknown options, it will just issue warnings
3554 # or remarks (even with -Werror). So we grep stderr for any message
3555 # that says an option was ignored or not supported.
3556 # When given -MP, icc 7.0 and 7.1 complain thusly:
3557 # icc: Command line warning: ignoring option '-M'; no argument required
3558 # The diagnosis changed in icc 8.0:
3559 # icc: Command line remark: option '-MP' not supported
3560 if (grep 'ignoring option' conftest.err ||
3561 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3562 am_cv_CC_dependencies_compiler_type=$depmode
3563 break
3564 fi
3565 fi
3566 done
3567
3568 cd ..
3569 rm -rf conftest.dir
3570 else
3571 am_cv_CC_dependencies_compiler_type=none
3572 fi
3573
3574 fi
3575 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3576 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3577 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3578
3579
3580
3581 if
3582 test "x$enable_dependency_tracking" != xno \
3583 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3584 am__fastdepCC_TRUE=
3585 am__fastdepCC_FALSE='#'
3586 else
3587 am__fastdepCC_TRUE='#'
3588 am__fastdepCC_FALSE=
3589 fi
3590
3591
3592
3593 ac_ext=c
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3600 # On Suns, sometimes $CPP names a directory.
3601 if test -n "$CPP" && test -d "$CPP"; then
3602 CPP=
3603 fi
3604 if test -z "$CPP"; then
3605 if test "${ac_cv_prog_CPP+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 # Double quotes because CPP needs to be expanded
3609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3610 do
3611 ac_preproc_ok=false
3612 for ac_c_preproc_warn_flag in '' yes
3613 do
3614 # Use a header file that comes with gcc, so configuring glibc
3615 # with a fresh cross-compiler works.
3616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 # <limits.h> exists even on freestanding compilers.
3618 # On the NeXT, cc -E runs the code through the compiler's parser,
3619 # not just through cpp. "Syntax error" is here to catch this case.
3620 cat >conftest.$ac_ext <<_ACEOF
3621 /* confdefs.h. */
3622 _ACEOF
3623 cat confdefs.h >>conftest.$ac_ext
3624 cat >>conftest.$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3626 #ifdef __STDC__
3627 # include <limits.h>
3628 #else
3629 # include <assert.h>
3630 #endif
3631 Syntax error
3632 _ACEOF
3633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3635 ac_status=$?
3636 grep -v '^ *+' conftest.er1 >conftest.err
3637 rm -f conftest.er1
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev/null; then
3641 if test -s conftest.err; then
3642 ac_cpp_err=$ac_c_preproc_warn_flag
3643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 else
3645 ac_cpp_err=
3646 fi
3647 else
3648 ac_cpp_err=yes
3649 fi
3650 if test -z "$ac_cpp_err"; then
3651 :
3652 else
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3655
3656 # Broken: fails on valid input.
3657 continue
3658 fi
3659 rm -f conftest.err conftest.$ac_ext
3660
3661 # OK, works on sane cases. Now check whether non-existent headers
3662 # can be detected and how.
3663 cat >conftest.$ac_ext <<_ACEOF
3664 /* confdefs.h. */
3665 _ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3670 _ACEOF
3671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3673 ac_status=$?
3674 grep -v '^ *+' conftest.er1 >conftest.err
3675 rm -f conftest.er1
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } >/dev/null; then
3679 if test -s conftest.err; then
3680 ac_cpp_err=$ac_c_preproc_warn_flag
3681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3682 else
3683 ac_cpp_err=
3684 fi
3685 else
3686 ac_cpp_err=yes
3687 fi
3688 if test -z "$ac_cpp_err"; then
3689 # Broken: success on invalid input.
3690 continue
3691 else
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3694
3695 # Passes both tests.
3696 ac_preproc_ok=:
3697 break
3698 fi
3699 rm -f conftest.err conftest.$ac_ext
3700
3701 done
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3705 break
3706 fi
3707
3708 done
3709 ac_cv_prog_CPP=$CPP
3710
3711 fi
3712 CPP=$ac_cv_prog_CPP
3713 else
3714 ac_cv_prog_CPP=$CPP
3715 fi
3716 echo "$as_me:$LINENO: result: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6
3718 ac_preproc_ok=false
3719 for ac_c_preproc_warn_flag in '' yes
3720 do
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat >conftest.$ac_ext <<_ACEOF
3728 /* confdefs.h. */
3729 _ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3733 #ifdef __STDC__
3734 # include <limits.h>
3735 #else
3736 # include <assert.h>
3737 #endif
3738 Syntax error
3739 _ACEOF
3740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3742 ac_status=$?
3743 grep -v '^ *+' conftest.er1 >conftest.err
3744 rm -f conftest.er1
3745 cat conftest.err >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } >/dev/null; then
3748 if test -s conftest.err; then
3749 ac_cpp_err=$ac_c_preproc_warn_flag
3750 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3751 else
3752 ac_cpp_err=
3753 fi
3754 else
3755 ac_cpp_err=yes
3756 fi
3757 if test -z "$ac_cpp_err"; then
3758 :
3759 else
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3762
3763 # Broken: fails on valid input.
3764 continue
3765 fi
3766 rm -f conftest.err conftest.$ac_ext
3767
3768 # OK, works on sane cases. Now check whether non-existent headers
3769 # can be detected and how.
3770 cat >conftest.$ac_ext <<_ACEOF
3771 /* confdefs.h. */
3772 _ACEOF
3773 cat confdefs.h >>conftest.$ac_ext
3774 cat >>conftest.$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3776 #include <ac_nonexistent.h>
3777 _ACEOF
3778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3780 ac_status=$?
3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev/null; then
3786 if test -s conftest.err; then
3787 ac_cpp_err=$ac_c_preproc_warn_flag
3788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3789 else
3790 ac_cpp_err=
3791 fi
3792 else
3793 ac_cpp_err=yes
3794 fi
3795 if test -z "$ac_cpp_err"; then
3796 # Broken: success on invalid input.
3797 continue
3798 else
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3801
3802 # Passes both tests.
3803 ac_preproc_ok=:
3804 break
3805 fi
3806 rm -f conftest.err conftest.$ac_ext
3807
3808 done
3809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3810 rm -f conftest.err conftest.$ac_ext
3811 if $ac_preproc_ok; then
3812 :
3813 else
3814 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3815 See \`config.log' for more details." >&5
3816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3817 See \`config.log' for more details." >&2;}
3818 { (exit 1); exit 1; }; }
3819 fi
3820
3821 ac_ext=c
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3826
3827
3828 echo "$as_me:$LINENO: checking for egrep" >&5
3829 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3830 if test "${ac_cv_prog_egrep+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 else
3833 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3834 then ac_cv_prog_egrep='grep -E'
3835 else ac_cv_prog_egrep='egrep'
3836 fi
3837 fi
3838 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3839 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3840 EGREP=$ac_cv_prog_egrep
3841
3842
3843 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3844 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3845 if test "${ac_cv_header_stdc+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 else
3848 cat >conftest.$ac_ext <<_ACEOF
3849 /* confdefs.h. */
3850 _ACEOF
3851 cat confdefs.h >>conftest.$ac_ext
3852 cat >>conftest.$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #include <stdlib.h>
3855 #include <stdarg.h>
3856 #include <string.h>
3857 #include <float.h>
3858
3859 int
3860 main ()
3861 {
3862
3863 ;
3864 return 0;
3865 }
3866 _ACEOF
3867 rm -f conftest.$ac_objext
3868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3869 (eval $ac_compile) 2>conftest.er1
3870 ac_status=$?
3871 grep -v '^ *+' conftest.er1 >conftest.err
3872 rm -f conftest.er1
3873 cat conftest.err >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } &&
3876 { ac_try='test -z "$ac_c_werror_flag"
3877 || test ! -s conftest.err'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; } &&
3883 { ac_try='test -s conftest.$ac_objext'
3884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 (eval $ac_try) 2>&5
3886 ac_status=$?
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; }; then
3889 ac_cv_header_stdc=yes
3890 else
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3893
3894 ac_cv_header_stdc=no
3895 fi
3896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3897
3898 if test $ac_cv_header_stdc = yes; then
3899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3900 cat >conftest.$ac_ext <<_ACEOF
3901 /* confdefs.h. */
3902 _ACEOF
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3906 #include <string.h>
3907
3908 _ACEOF
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3910 $EGREP "memchr" >/dev/null 2>&1; then
3911 :
3912 else
3913 ac_cv_header_stdc=no
3914 fi
3915 rm -f conftest*
3916
3917 fi
3918
3919 if test $ac_cv_header_stdc = yes; then
3920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3921 cat >conftest.$ac_ext <<_ACEOF
3922 /* confdefs.h. */
3923 _ACEOF
3924 cat confdefs.h >>conftest.$ac_ext
3925 cat >>conftest.$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3927 #include <stdlib.h>
3928
3929 _ACEOF
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3931 $EGREP "free" >/dev/null 2>&1; then
3932 :
3933 else
3934 ac_cv_header_stdc=no
3935 fi
3936 rm -f conftest*
3937
3938 fi
3939
3940 if test $ac_cv_header_stdc = yes; then
3941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3942 if test "$cross_compiling" = yes; then
3943 :
3944 else
3945 cat >conftest.$ac_ext <<_ACEOF
3946 /* confdefs.h. */
3947 _ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 #include <ctype.h>
3952 #if ((' ' & 0x0FF) == 0x020)
3953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3955 #else
3956 # define ISLOWER(c) \
3957 (('a' <= (c) && (c) <= 'i') \
3958 || ('j' <= (c) && (c) <= 'r') \
3959 || ('s' <= (c) && (c) <= 'z'))
3960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3961 #endif
3962
3963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3964 int
3965 main ()
3966 {
3967 int i;
3968 for (i = 0; i < 256; i++)
3969 if (XOR (islower (i), ISLOWER (i))
3970 || toupper (i) != TOUPPER (i))
3971 exit(2);
3972 exit (0);
3973 }
3974 _ACEOF
3975 rm -f conftest$ac_exeext
3976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3977 (eval $ac_link) 2>&5
3978 ac_status=$?
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 (eval $ac_try) 2>&5
3983 ac_status=$?
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3986 :
3987 else
3988 echo "$as_me: program exited with status $ac_status" >&5
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 ( exit $ac_status )
3993 ac_cv_header_stdc=no
3994 fi
3995 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3996 fi
3997 fi
3998 fi
3999 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4000 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4001 if test $ac_cv_header_stdc = yes; then
4002
4003 cat >>confdefs.h <<\_ACEOF
4004 #define STDC_HEADERS 1
4005 _ACEOF
4006
4007 fi
4008
4009 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4020 inttypes.h stdint.h unistd.h
4021 do
4022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4023 echo "$as_me:$LINENO: checking for $ac_header" >&5
4024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028 cat >conftest.$ac_ext <<_ACEOF
4029 /* confdefs.h. */
4030 _ACEOF
4031 cat confdefs.h >>conftest.$ac_ext
4032 cat >>conftest.$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4035
4036 #include <$ac_header>
4037 _ACEOF
4038 rm -f conftest.$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4041 ac_status=$?
4042 grep -v '^ *+' conftest.er1 >conftest.err
4043 rm -f conftest.er1
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try='test -z "$ac_c_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 (eval $ac_try) 2>&5
4051 ac_status=$?
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try='test -s conftest.$ac_objext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 (eval $ac_try) 2>&5
4057 ac_status=$?
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4060 eval "$as_ac_Header=yes"
4061 else
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4064
4065 eval "$as_ac_Header=no"
4066 fi
4067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4068 fi
4069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4072 cat >>confdefs.h <<_ACEOF
4073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4074 _ACEOF
4075
4076 fi
4077
4078 done
4079
4080
4081 # Check whether --enable-alsa or --disable-alsa was given.
4082 if test "${enable_alsa+set}" = set; then
4083 enableval="$enable_alsa"
4084 case "${enableval}" in
4085 yes) COMPILE_ALSA=yes ;;
4086 no) COMPILE_ALSA=no ;;
4087 *) COMPILE_ALSA=yes ;;
4088 esac
4089 else
4090
4091 for ac_header in alsa/asoundlib.h
4092 do
4093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4095 echo "$as_me:$LINENO: checking for $ac_header" >&5
4096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 fi
4100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4102 else
4103 # Is the header compilable?
4104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4106 cat >conftest.$ac_ext <<_ACEOF
4107 /* confdefs.h. */
4108 _ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 $ac_includes_default
4113 #include <$ac_header>
4114 _ACEOF
4115 rm -f conftest.$ac_objext
4116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4117 (eval $ac_compile) 2>conftest.er1
4118 ac_status=$?
4119 grep -v '^ *+' conftest.er1 >conftest.err
4120 rm -f conftest.er1
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } &&
4124 { ac_try='test -z "$ac_c_werror_flag"
4125 || test ! -s conftest.err'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 (eval $ac_try) 2>&5
4128 ac_status=$?
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; } &&
4131 { ac_try='test -s conftest.$ac_objext'
4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 (eval $ac_try) 2>&5
4134 ac_status=$?
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; }; then
4137 ac_header_compiler=yes
4138 else
4139 echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4141
4142 ac_header_compiler=no
4143 fi
4144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4146 echo "${ECHO_T}$ac_header_compiler" >&6
4147
4148 # Is the header present?
4149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4151 cat >conftest.$ac_ext <<_ACEOF
4152 /* confdefs.h. */
4153 _ACEOF
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 #include <$ac_header>
4158 _ACEOF
4159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4161 ac_status=$?
4162 grep -v '^ *+' conftest.er1 >conftest.err
4163 rm -f conftest.er1
4164 cat conftest.err >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } >/dev/null; then
4167 if test -s conftest.err; then
4168 ac_cpp_err=$ac_c_preproc_warn_flag
4169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4170 else
4171 ac_cpp_err=
4172 fi
4173 else
4174 ac_cpp_err=yes
4175 fi
4176 if test -z "$ac_cpp_err"; then
4177 ac_header_preproc=yes
4178 else
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.$ac_ext >&5
4181
4182 ac_header_preproc=no
4183 fi
4184 rm -f conftest.err conftest.$ac_ext
4185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4186 echo "${ECHO_T}$ac_header_preproc" >&6
4187
4188 # So? What about this header?
4189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4190 yes:no: )
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4195 ac_header_preproc=yes
4196 ;;
4197 no:yes:* )
4198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4210 (
4211 cat <<\_ASBOX
4212 ## -------------------------------- ##
4213 ## Report this to classpath@gnu.org ##
4214 ## -------------------------------- ##
4215 _ASBOX
4216 ) |
4217 sed "s/^/$as_me: WARNING: /" >&2
4218 ;;
4219 esac
4220 echo "$as_me:$LINENO: checking for $ac_header" >&5
4221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 else
4225 eval "$as_ac_Header=\$ac_header_preproc"
4226 fi
4227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4229
4230 fi
4231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4232 cat >>confdefs.h <<_ACEOF
4233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4234 _ACEOF
4235 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4236 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4237 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 else
4240 ac_check_lib_save_LIBS=$LIBS
4241 LIBS="-lasound $LIBS"
4242 if test x$gcc_no_link = xyes; then
4243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4245 { (exit 1); exit 1; }; }
4246 fi
4247 cat >conftest.$ac_ext <<_ACEOF
4248 /* confdefs.h. */
4249 _ACEOF
4250 cat confdefs.h >>conftest.$ac_ext
4251 cat >>conftest.$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253
4254 /* Override any gcc2 internal prototype to avoid an error. */
4255 #ifdef __cplusplus
4256 extern "C"
4257 #endif
4258 /* We use char because int might match the return type of a gcc2
4259 builtin and then its argument prototype would still apply. */
4260 char snd_seq_open ();
4261 int
4262 main ()
4263 {
4264 snd_seq_open ();
4265 ;
4266 return 0;
4267 }
4268 _ACEOF
4269 rm -f conftest.$ac_objext conftest$ac_exeext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4271 (eval $ac_link) 2>conftest.er1
4272 ac_status=$?
4273 grep -v '^ *+' conftest.er1 >conftest.err
4274 rm -f conftest.er1
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } &&
4278 { ac_try='test -z "$ac_c_werror_flag"
4279 || test ! -s conftest.err'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 (eval $ac_try) 2>&5
4282 ac_status=$?
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; } &&
4285 { ac_try='test -s conftest$ac_exeext'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 (eval $ac_try) 2>&5
4288 ac_status=$?
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then
4291 ac_cv_lib_asound_snd_seq_open=yes
4292 else
4293 echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.$ac_ext >&5
4295
4296 ac_cv_lib_asound_snd_seq_open=no
4297 fi
4298 rm -f conftest.err conftest.$ac_objext \
4299 conftest$ac_exeext conftest.$ac_ext
4300 LIBS=$ac_check_lib_save_LIBS
4301 fi
4302 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4303 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4304 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4305 COMPILE_ALSA=yes
4306 else
4307 COMPILE_ALSA=no
4308 fi
4309
4310 else
4311 COMPILE_ALSA=no
4312 fi
4313
4314 done
4315
4316 fi;
4317
4318
4319 if test "x${COMPILE_ALSA}" = xyes; then
4320 CREATE_ALSA_LIBRARIES_TRUE=
4321 CREATE_ALSA_LIBRARIES_FALSE='#'
4322 else
4323 CREATE_ALSA_LIBRARIES_TRUE='#'
4324 CREATE_ALSA_LIBRARIES_FALSE=
4325 fi
4326
4327
4328 # Check whether --enable-dssi or --disable-dssi was given.
4329 if test "${enable_dssi+set}" = set; then
4330 enableval="$enable_dssi"
4331 case "${enableval}" in
4332 yes) COMPILE_DSSI=yes ;;
4333 no) COMPILE_DSSI=no ;;
4334 *) COMPILE_DSSI=yes ;;
4335 esac
4336 else
4337 COMPILE_DSSI=no
4338
4339 for ac_header in dssi.h
4340 do
4341 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4343 echo "$as_me:$LINENO: checking for $ac_header" >&5
4344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 fi
4348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4350 else
4351 # Is the header compilable?
4352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4354 cat >conftest.$ac_ext <<_ACEOF
4355 /* confdefs.h. */
4356 _ACEOF
4357 cat confdefs.h >>conftest.$ac_ext
4358 cat >>conftest.$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4360 $ac_includes_default
4361 #include <$ac_header>
4362 _ACEOF
4363 rm -f conftest.$ac_objext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4365 (eval $ac_compile) 2>conftest.er1
4366 ac_status=$?
4367 grep -v '^ *+' conftest.er1 >conftest.err
4368 rm -f conftest.er1
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 (eval $ac_try) 2>&5
4376 ac_status=$?
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try='test -s conftest.$ac_objext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 (eval $ac_try) 2>&5
4382 ac_status=$?
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 ac_header_compiler=yes
4386 else
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4389
4390 ac_header_compiler=no
4391 fi
4392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4393 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4394 echo "${ECHO_T}$ac_header_compiler" >&6
4395
4396 # Is the header present?
4397 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4398 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4399 cat >conftest.$ac_ext <<_ACEOF
4400 /* confdefs.h. */
4401 _ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4405 #include <$ac_header>
4406 _ACEOF
4407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4409 ac_status=$?
4410 grep -v '^ *+' conftest.er1 >conftest.err
4411 rm -f conftest.er1
4412 cat conftest.err >&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } >/dev/null; then
4415 if test -s conftest.err; then
4416 ac_cpp_err=$ac_c_preproc_warn_flag
4417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4418 else
4419 ac_cpp_err=
4420 fi
4421 else
4422 ac_cpp_err=yes
4423 fi
4424 if test -z "$ac_cpp_err"; then
4425 ac_header_preproc=yes
4426 else
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4429
4430 ac_header_preproc=no
4431 fi
4432 rm -f conftest.err conftest.$ac_ext
4433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4434 echo "${ECHO_T}$ac_header_preproc" >&6
4435
4436 # So? What about this header?
4437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4438 yes:no: )
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4440 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4442 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4443 ac_header_preproc=yes
4444 ;;
4445 no:yes:* )
4446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4450 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4451 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4452 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4453 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4456 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4457 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4458 (
4459 cat <<\_ASBOX
4460 ## -------------------------------- ##
4461 ## Report this to classpath@gnu.org ##
4462 ## -------------------------------- ##
4463 _ASBOX
4464 ) |
4465 sed "s/^/$as_me: WARNING: /" >&2
4466 ;;
4467 esac
4468 echo "$as_me:$LINENO: checking for $ac_header" >&5
4469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 else
4473 eval "$as_ac_Header=\$ac_header_preproc"
4474 fi
4475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4477
4478 fi
4479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4480 cat >>confdefs.h <<_ACEOF
4481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4482 _ACEOF
4483
4484
4485 for ac_header in jack/jack.h
4486 do
4487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4489 echo "$as_me:$LINENO: checking for $ac_header" >&5
4490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 fi
4494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4496 else
4497 # Is the header compilable?
4498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4500 cat >conftest.$ac_ext <<_ACEOF
4501 /* confdefs.h. */
4502 _ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 $ac_includes_default
4507 #include <$ac_header>
4508 _ACEOF
4509 rm -f conftest.$ac_objext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4511 (eval $ac_compile) 2>conftest.er1
4512 ac_status=$?
4513 grep -v '^ *+' conftest.er1 >conftest.err
4514 rm -f conftest.er1
4515 cat conftest.err >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } &&
4518 { ac_try='test -z "$ac_c_werror_flag"
4519 || test ! -s conftest.err'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 (eval $ac_try) 2>&5
4522 ac_status=$?
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; } &&
4525 { ac_try='test -s conftest.$ac_objext'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 (eval $ac_try) 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4531 ac_header_compiler=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4535
4536 ac_header_compiler=no
4537 fi
4538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4540 echo "${ECHO_T}$ac_header_compiler" >&6
4541
4542 # Is the header present?
4543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4545 cat >conftest.$ac_ext <<_ACEOF
4546 /* confdefs.h. */
4547 _ACEOF
4548 cat confdefs.h >>conftest.$ac_ext
4549 cat >>conftest.$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4551 #include <$ac_header>
4552 _ACEOF
4553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4555 ac_status=$?
4556 grep -v '^ *+' conftest.er1 >conftest.err
4557 rm -f conftest.er1
4558 cat conftest.err >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } >/dev/null; then
4561 if test -s conftest.err; then
4562 ac_cpp_err=$ac_c_preproc_warn_flag
4563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4564 else
4565 ac_cpp_err=
4566 fi
4567 else
4568 ac_cpp_err=yes
4569 fi
4570 if test -z "$ac_cpp_err"; then
4571 ac_header_preproc=yes
4572 else
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_header_preproc=no
4577 fi
4578 rm -f conftest.err conftest.$ac_ext
4579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4580 echo "${ECHO_T}$ac_header_preproc" >&6
4581
4582 # So? What about this header?
4583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4584 yes:no: )
4585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4589 ac_header_preproc=yes
4590 ;;
4591 no:yes:* )
4592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4604 (
4605 cat <<\_ASBOX
4606 ## -------------------------------- ##
4607 ## Report this to classpath@gnu.org ##
4608 ## -------------------------------- ##
4609 _ASBOX
4610 ) |
4611 sed "s/^/$as_me: WARNING: /" >&2
4612 ;;
4613 esac
4614 echo "$as_me:$LINENO: checking for $ac_header" >&5
4615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 eval "$as_ac_Header=\$ac_header_preproc"
4620 fi
4621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4623
4624 fi
4625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4626 cat >>confdefs.h <<_ACEOF
4627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4628 _ACEOF
4629 COMPILE_DSSI=yes
4630 fi
4631
4632 done
4633
4634 fi
4635
4636 done
4637
4638 fi;
4639
4640
4641 if test "x${COMPILE_DSSI}" = xyes; then
4642 CREATE_DSSI_LIBRARIES_TRUE=
4643 CREATE_DSSI_LIBRARIES_FALSE='#'
4644 else
4645 CREATE_DSSI_LIBRARIES_TRUE='#'
4646 CREATE_DSSI_LIBRARIES_FALSE=
4647 fi
4648
4649
4650 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4651 if test "${enable_gtk_peer+set}" = set; then
4652 enableval="$enable_gtk_peer"
4653 case "${enableval}" in
4654 yes) COMPILE_GTK_PEER=yes ;;
4655 no) COMPILE_GTK_PEER=no ;;
4656 *) COMPILE_GTK_PEER=yes ;;
4657 esac
4658 else
4659 COMPILE_GTK_PEER=yes
4660 fi;
4661
4662
4663 if test "x${COMPILE_GTK_PEER}" = xyes; then
4664 CREATE_GTK_PEER_LIBRARIES_TRUE=
4665 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4666 else
4667 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4668 CREATE_GTK_PEER_LIBRARIES_FALSE=
4669 fi
4670
4671
4672 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4673 if test "${enable_gtk_peers+set}" = set; then
4674 enableval="$enable_gtk_peers"
4675 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4676 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4677 { (exit 1); exit 1; }; }
4678 fi;
4679
4680 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4681 if test "${enable_qt_peer+set}" = set; then
4682 enableval="$enable_qt_peer"
4683 case "${enableval}" in
4684 yes) COMPILE_QT_PEER=yes ;;
4685 no) COMPILE_QT_PEER=no ;;
4686 *) COMPILE_QT_PEER=yes ;;
4687 esac
4688 else
4689 COMPILE_QT_PEER=no
4690 fi;
4691
4692
4693 if test "x${COMPILE_QT_PEER}" = xyes; then
4694 CREATE_QT_PEER_LIBRARIES_TRUE=
4695 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4696 else
4697 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4698 CREATE_QT_PEER_LIBRARIES_FALSE=
4699 fi
4700
4701
4702 # Check whether --enable-plugin or --disable-plugin was given.
4703 if test "${enable_plugin+set}" = set; then
4704 enableval="$enable_plugin"
4705 case "${enableval}" in
4706 yes) COMPILE_PLUGIN=yes ;;
4707 no) COMPILE_PLUGIN=no ;;
4708 *) COMPILE_PLUGIN=yes ;;
4709 esac
4710 else
4711 COMPILE_PLUGIN=yes
4712 fi;
4713
4714
4715 if test "x${COMPILE_PLUGIN}" = xyes; then
4716 CREATE_PLUGIN_TRUE=
4717 CREATE_PLUGIN_FALSE='#'
4718 else
4719 CREATE_PLUGIN_TRUE='#'
4720 CREATE_PLUGIN_FALSE=
4721 fi
4722
4723
4724
4725 multi_os_directory=`$CC -print-multi-os-directory`
4726 case $multi_os_directory in
4727 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4728 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4729 esac
4730
4731
4732
4733
4734 # Check whether --with-native-libdir or --without-native-libdir was given.
4735 if test "${with_native_libdir+set}" = set; then
4736 withval="$with_native_libdir"
4737
4738 nativeexeclibdir=${withval}
4739
4740 else
4741
4742 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`
4743
4744 fi;
4745
4746
4747
4748
4749 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4750 if test "${with_glibj_dir+set}" = set; then
4751 withval="$with_glibj_dir"
4752
4753 glibjdir=${withval}
4754
4755 else
4756
4757 glibjdir='${datadir}/${PACKAGE}'
4758
4759 fi;
4760
4761
4762
4763
4764 # Check whether --with-vm or --without-vm was given.
4765 if test "${with_vm+set}" = set; then
4766 withval="$with_vm"
4767
4768 VM_BINARY=${withval}
4769
4770 else
4771
4772 VM_BINARY='${prefix}/bin/jamvm'
4773
4774 fi;
4775
4776
4777
4778
4779 if test "x`basename $VM_BINARY`" = xcacao; then
4780 FOUND_CACAO_TRUE=
4781 FOUND_CACAO_FALSE='#'
4782 else
4783 FOUND_CACAO_TRUE='#'
4784 FOUND_CACAO_FALSE=
4785 fi
4786
4787
4788 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4789 if test "${enable_regen_headers+set}" = set; then
4790 enableval="$enable_regen_headers"
4791 case "${enableval}" in
4792 yes) REGENERATE_JNI_HEADERS=yes ;;
4793 no) REGENERATE_JNI_HEADERS=no ;;
4794 *) REGENERATE_JNI_HEADERS=no ;;
4795 esac
4796 else
4797 REGENERATE_JNI_HEADERS=no
4798 fi;
4799
4800
4801 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4802 CREATE_JNI_HEADERS_TRUE=
4803 CREATE_JNI_HEADERS_FALSE='#'
4804 else
4805 CREATE_JNI_HEADERS_TRUE='#'
4806 CREATE_JNI_HEADERS_FALSE=
4807 fi
4808
4809
4810 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4811 if test "${enable_tool_wrappers+set}" = set; then
4812 enableval="$enable_tool_wrappers"
4813 case x"${enableval}" in
4814 xyes)
4815 COMPILE_WRAPPERS=yes;
4816
4817 for ac_header in ltdl.h
4818 do
4819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4821 echo "$as_me:$LINENO: checking for $ac_header" >&5
4822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4824 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 fi
4826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4828 else
4829 # Is the header compilable?
4830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4832 cat >conftest.$ac_ext <<_ACEOF
4833 /* confdefs.h. */
4834 _ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 $ac_includes_default
4839 #include <$ac_header>
4840 _ACEOF
4841 rm -f conftest.$ac_objext
4842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843 (eval $ac_compile) 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try='test -z "$ac_c_werror_flag"
4851 || test ! -s conftest.err'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 (eval $ac_try) 2>&5
4854 ac_status=$?
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; } &&
4857 { ac_try='test -s conftest.$ac_objext'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 (eval $ac_try) 2>&5
4860 ac_status=$?
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_header_compiler=yes
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4867
4868 ac_header_compiler=no
4869 fi
4870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4872 echo "${ECHO_T}$ac_header_compiler" >&6
4873
4874 # Is the header present?
4875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 #include <$ac_header>
4884 _ACEOF
4885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4887 ac_status=$?
4888 grep -v '^ *+' conftest.er1 >conftest.err
4889 rm -f conftest.er1
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } >/dev/null; then
4893 if test -s conftest.err; then
4894 ac_cpp_err=$ac_c_preproc_warn_flag
4895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4896 else
4897 ac_cpp_err=
4898 fi
4899 else
4900 ac_cpp_err=yes
4901 fi
4902 if test -z "$ac_cpp_err"; then
4903 ac_header_preproc=yes
4904 else
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.$ac_ext >&5
4907
4908 ac_header_preproc=no
4909 fi
4910 rm -f conftest.err conftest.$ac_ext
4911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4912 echo "${ECHO_T}$ac_header_preproc" >&6
4913
4914 # So? What about this header?
4915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4916 yes:no: )
4917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4921 ac_header_preproc=yes
4922 ;;
4923 no:yes:* )
4924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4936 (
4937 cat <<\_ASBOX
4938 ## -------------------------------- ##
4939 ## Report this to classpath@gnu.org ##
4940 ## -------------------------------- ##
4941 _ASBOX
4942 ) |
4943 sed "s/^/$as_me: WARNING: /" >&2
4944 ;;
4945 esac
4946 echo "$as_me:$LINENO: checking for $ac_header" >&5
4947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 else
4951 eval "$as_ac_Header=\$ac_header_preproc"
4952 fi
4953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4955
4956 fi
4957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4958 cat >>confdefs.h <<_ACEOF
4959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4960 _ACEOF
4961
4962 else
4963 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
4964 echo "$as_me: error: cannot find ltdl.h" >&2;}
4965 { (exit 1); exit 1; }; }
4966 fi
4967
4968 done
4969
4970
4971 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
4972 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
4973 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 else
4976 ac_check_lib_save_LIBS=$LIBS
4977 LIBS="-lltdl $LIBS"
4978 if test x$gcc_no_link = xyes; then
4979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4981 { (exit 1); exit 1; }; }
4982 fi
4983 cat >conftest.$ac_ext <<_ACEOF
4984 /* confdefs.h. */
4985 _ACEOF
4986 cat confdefs.h >>conftest.$ac_ext
4987 cat >>conftest.$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989
4990 /* Override any gcc2 internal prototype to avoid an error. */
4991 #ifdef __cplusplus
4992 extern "C"
4993 #endif
4994 /* We use char because int might match the return type of a gcc2
4995 builtin and then its argument prototype would still apply. */
4996 char lt_dlopen ();
4997 int
4998 main ()
4999 {
5000 lt_dlopen ();
5001 ;
5002 return 0;
5003 }
5004 _ACEOF
5005 rm -f conftest.$ac_objext conftest$ac_exeext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007 (eval $ac_link) 2>conftest.er1
5008 ac_status=$?
5009 grep -v '^ *+' conftest.er1 >conftest.err
5010 rm -f conftest.er1
5011 cat conftest.err >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try='test -z "$ac_c_werror_flag"
5015 || test ! -s conftest.err'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 (eval $ac_try) 2>&5
5018 ac_status=$?
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; } &&
5021 { ac_try='test -s conftest$ac_exeext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 (eval $ac_try) 2>&5
5024 ac_status=$?
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 ac_cv_lib_ltdl_lt_dlopen=yes
5028 else
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.$ac_ext >&5
5031
5032 ac_cv_lib_ltdl_lt_dlopen=no
5033 fi
5034 rm -f conftest.err conftest.$ac_objext \
5035 conftest$ac_exeext conftest.$ac_ext
5036 LIBS=$ac_check_lib_save_LIBS
5037 fi
5038 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5039 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5040 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5041 cat >>confdefs.h <<_ACEOF
5042 #define HAVE_LIBLTDL 1
5043 _ACEOF
5044
5045 LIBS="-lltdl $LIBS"
5046
5047 else
5048 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5049 echo "$as_me: error: cannot find libltdl" >&2;}
5050 { (exit 1); exit 1; }; }
5051 fi
5052
5053 ;;
5054 xno) COMPILE_WRAPPERS=no ;;
5055 x) COMPILE_WRAPPERS=yes ;;
5056 *) COMPILE_WRAPPERS=yes ;;
5057 esac
5058 else
5059 COMPILE_WRAPPERS=no
5060 fi;
5061
5062
5063 if test "x${COMPILE_WRAPPERS}" = xyes; then
5064 CREATE_WRAPPERS_TRUE=
5065 CREATE_WRAPPERS_FALSE='#'
5066 else
5067 CREATE_WRAPPERS_TRUE='#'
5068 CREATE_WRAPPERS_FALSE=
5069 fi
5070
5071
5072 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5073 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5074 LN_S=$as_ln_s
5075 if test "$LN_S" = "ln -s"; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5078 else
5079 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5080 echo "${ECHO_T}no, using $LN_S" >&6
5081 fi
5082
5083 # Find a good install program. We prefer a C program (faster),
5084 # so one script is as good as another. But avoid the broken or
5085 # incompatible versions:
5086 # SysV /etc/install, /usr/sbin/install
5087 # SunOS /usr/etc/install
5088 # IRIX /sbin/install
5089 # AIX /bin/install
5090 # AmigaOS /C/install, which installs bootblocks on floppy discs
5091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5094 # OS/2's system install, which has a completely different semantic
5095 # ./install, which can be erroneously created by make from ./install.sh.
5096 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5097 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5098 if test -z "$INSTALL"; then
5099 if test "${ac_cv_path_install+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5104 do
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 # Account for people who put trailing slashes in PATH elements.
5108 case $as_dir/ in
5109 ./ | .// | /cC/* | \
5110 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5111 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5112 /usr/ucb/* ) ;;
5113 *)
5114 # OSF1 and SCO ODT 3.0 have their own names for install.
5115 # Don't use installbsd from OSF since it installs stuff as root
5116 # by default.
5117 for ac_prog in ginstall scoinst install; do
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5120 if test $ac_prog = install &&
5121 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5122 # AIX install. It has an incompatible calling convention.
5123 :
5124 elif test $ac_prog = install &&
5125 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5126 # program-specific install script used by HP pwplus--don't use.
5127 :
5128 else
5129 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5130 break 3
5131 fi
5132 fi
5133 done
5134 done
5135 ;;
5136 esac
5137 done
5138
5139
5140 fi
5141 if test "${ac_cv_path_install+set}" = set; then
5142 INSTALL=$ac_cv_path_install
5143 else
5144 # As a last resort, use the slow shell script. We don't cache a
5145 # path for INSTALL within a source directory, because that will
5146 # break other packages using the cache if that directory is
5147 # removed, or if the path is relative.
5148 INSTALL=$ac_install_sh
5149 fi
5150 fi
5151 echo "$as_me:$LINENO: result: $INSTALL" >&5
5152 echo "${ECHO_T}$INSTALL" >&6
5153
5154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5155 # It thinks the first close brace ends the variable substitution.
5156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5157
5158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5159
5160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5161
5162
5163
5164 # Check whether --enable-static or --disable-static was given.
5165 if test "${enable_static+set}" = set; then
5166 enableval="$enable_static"
5167 p=${PACKAGE-default}
5168 case $enableval in
5169 yes) enable_static=yes ;;
5170 no) enable_static=no ;;
5171 *)
5172 enable_static=no
5173 # Look at the argument we got. We use all the common list separators.
5174 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5175 for pkg in $enableval; do
5176 IFS="$lt_save_ifs"
5177 if test "X$pkg" = "X$p"; then
5178 enable_static=yes
5179 fi
5180 done
5181 IFS="$lt_save_ifs"
5182 ;;
5183 esac
5184 else
5185 enable_static=no
5186 fi;
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197 macro_version='2.1a'
5198 macro_revision='1.2435'
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211 ltmain="$ac_aux_dir/ltmain.sh"
5212
5213 # Set options
5214
5215 enable_dlopen=no
5216
5217
5218 enable_win32_dll=no
5219
5220
5221 # Check whether --enable-shared or --disable-shared was given.
5222 if test "${enable_shared+set}" = set; then
5223 enableval="$enable_shared"
5224 p=${PACKAGE-default}
5225 case $enableval in
5226 yes) enable_shared=yes ;;
5227 no) enable_shared=no ;;
5228 *)
5229 enable_shared=no
5230 # Look at the argument we got. We use all the common list separators.
5231 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5232 for pkg in $enableval; do
5233 IFS="$lt_save_ifs"
5234 if test "X$pkg" = "X$p"; then
5235 enable_shared=yes
5236 fi
5237 done
5238 IFS="$lt_save_ifs"
5239 ;;
5240 esac
5241 else
5242 enable_shared=yes
5243 fi;
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254 # Check whether --with-pic or --without-pic was given.
5255 if test "${with_pic+set}" = set; then
5256 withval="$with_pic"
5257 pic_mode="$withval"
5258 else
5259 pic_mode=default
5260 fi;
5261
5262 test -z "$pic_mode" && pic_mode=default
5263
5264
5265
5266
5267
5268
5269
5270 # Check whether --enable-fast-install or --disable-fast-install was given.
5271 if test "${enable_fast_install+set}" = set; then
5272 enableval="$enable_fast_install"
5273 p=${PACKAGE-default}
5274 case $enableval in
5275 yes) enable_fast_install=yes ;;
5276 no) enable_fast_install=no ;;
5277 *)
5278 enable_fast_install=no
5279 # Look at the argument we got. We use all the common list separators.
5280 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5281 for pkg in $enableval; do
5282 IFS="$lt_save_ifs"
5283 if test "X$pkg" = "X$p"; then
5284 enable_fast_install=yes
5285 fi
5286 done
5287 IFS="$lt_save_ifs"
5288 ;;
5289 esac
5290 else
5291 enable_fast_install=yes
5292 fi;
5293
5294
5295
5296
5297
5298
5299
5300
5301 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5302 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5303 if test "${lt_cv_path_SED+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 else
5306 # Loop through the user's path and test for sed and gsed.
5307 # Then use that list of sed's as ones to test for truncation.
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5310 do
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for lt_ac_prog in sed gsed; do
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5316 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5317 fi
5318 done
5319 done
5320 done
5321 IFS=$as_save_IFS
5322 lt_ac_max=0
5323 lt_ac_count=0
5324 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5325 # along with /bin/sed that truncates output.
5326 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5327 test ! -f $lt_ac_sed && continue
5328 cat /dev/null > conftest.in
5329 lt_ac_count=0
5330 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5331 # Check for GNU sed and select it if it is found.
5332 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5333 lt_cv_path_SED=$lt_ac_sed
5334 break
5335 fi
5336 while true; do
5337 cat conftest.in conftest.in >conftest.tmp
5338 mv conftest.tmp conftest.in
5339 cp conftest.in conftest.nl
5340 echo >>conftest.nl
5341 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5342 cmp -s conftest.out conftest.nl || break
5343 # 10000 chars as input seems more than enough
5344 test $lt_ac_count -gt 10 && break
5345 lt_ac_count=`expr $lt_ac_count + 1`
5346 if test $lt_ac_count -gt $lt_ac_max; then
5347 lt_ac_max=$lt_ac_count
5348 lt_cv_path_SED=$lt_ac_sed
5349 fi
5350 done
5351 done
5352
5353 fi
5354
5355 SED=$lt_cv_path_SED
5356
5357 echo "$as_me:$LINENO: result: $SED" >&5
5358 echo "${ECHO_T}$SED" >&6
5359
5360 test -z "$SED" && SED=sed
5361 Xsed="$SED -e 1s/^X//"
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373 echo "$as_me:$LINENO: checking for fgrep" >&5
5374 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5375 if test "${ac_cv_prog_fgrep+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 else
5378 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5379 then ac_cv_prog_fgrep='grep -F'
5380 else ac_cv_prog_fgrep='fgrep'
5381 fi
5382 fi
5383 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5384 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5385 FGREP=$ac_cv_prog_fgrep
5386
5387
5388 test -z "$GREP" && GREP=grep
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5409 if test "${with_gnu_ld+set}" = set; then
5410 withval="$with_gnu_ld"
5411 test "$withval" = no || with_gnu_ld=yes
5412 else
5413 with_gnu_ld=no
5414 fi;
5415 ac_prog=ld
5416 if test "$GCC" = yes; then
5417 # Check if gcc -print-prog-name=ld gives a path.
5418 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5419 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5420 case $host in
5421 *-*-mingw*)
5422 # gcc leaves a trailing carriage return which upsets mingw
5423 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5424 *)
5425 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5426 esac
5427 case $ac_prog in
5428 # Accept absolute paths.
5429 [\\/]* | ?:[\\/]*)
5430 re_direlt='/[^/][^/]*/\.\./'
5431 # Canonicalize the pathname of ld
5432 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5433 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5434 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5435 done
5436 test -z "$LD" && LD="$ac_prog"
5437 ;;
5438 "")
5439 # If it fails, then pretend we aren't using GCC.
5440 ac_prog=ld
5441 ;;
5442 *)
5443 # If it is relative, then search for the first ld in PATH.
5444 with_gnu_ld=unknown
5445 ;;
5446 esac
5447 elif test "$with_gnu_ld" = yes; then
5448 echo "$as_me:$LINENO: checking for GNU ld" >&5
5449 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5450 else
5451 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5452 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5453 fi
5454 if test "${lt_cv_path_LD+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 else
5457 if test -z "$LD"; then
5458 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5459 for ac_dir in $PATH; do
5460 IFS="$lt_save_ifs"
5461 test -z "$ac_dir" && ac_dir=.
5462 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5463 lt_cv_path_LD="$ac_dir/$ac_prog"
5464 # Check to see if the program is GNU ld. I'd rather use --version,
5465 # but apparently some variants of GNU ld only accept -v.
5466 # Break only if it was the GNU/non-GNU ld that we prefer.
5467 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5468 *GNU* | *'with BFD'*)
5469 test "$with_gnu_ld" != no && break
5470 ;;
5471 *)
5472 test "$with_gnu_ld" != yes && break
5473 ;;
5474 esac
5475 fi
5476 done
5477 IFS="$lt_save_ifs"
5478 else
5479 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5480 fi
5481 fi
5482
5483 LD="$lt_cv_path_LD"
5484 if test -n "$LD"; then
5485 echo "$as_me:$LINENO: result: $LD" >&5
5486 echo "${ECHO_T}$LD" >&6
5487 else
5488 echo "$as_me:$LINENO: result: no" >&5
5489 echo "${ECHO_T}no" >&6
5490 fi
5491 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5492 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5493 { (exit 1); exit 1; }; }
5494 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5495 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5496 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 else
5499 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5500 case `$LD -v 2>&1 </dev/null` in
5501 *GNU* | *'with BFD'*)
5502 lt_cv_prog_gnu_ld=yes
5503 ;;
5504 *)
5505 lt_cv_prog_gnu_ld=no
5506 ;;
5507 esac
5508 fi
5509 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5510 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5511 with_gnu_ld=$lt_cv_prog_gnu_ld
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5523 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5524 if test "${lt_cv_path_NM+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 else
5527 if test -n "$NM"; then
5528 # Let the user override the test.
5529 lt_cv_path_NM="$NM"
5530 else
5531 lt_nm_to_check="${ac_tool_prefix}nm"
5532 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5533 lt_nm_to_check="$lt_nm_to_check nm"
5534 fi
5535 for lt_tmp_nm in $lt_nm_to_check; do
5536 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5537 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5538 IFS="$lt_save_ifs"
5539 test -z "$ac_dir" && ac_dir=.
5540 tmp_nm="$ac_dir/$lt_tmp_nm"
5541 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5542 # Check to see if the nm accepts a BSD-compat flag.
5543 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5544 # nm: unknown option "B" ignored
5545 # Tru64's nm complains that /dev/null is an invalid object file
5546 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5547 */dev/null* | *'Invalid file or object type'*)
5548 lt_cv_path_NM="$tmp_nm -B"
5549 break
5550 ;;
5551 *)
5552 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5553 */dev/null*)
5554 lt_cv_path_NM="$tmp_nm -p"
5555 break
5556 ;;
5557 *)
5558 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5559 continue # so that we can try to find one that supports BSD flags
5560 ;;
5561 esac
5562 ;;
5563 esac
5564 fi
5565 done
5566 IFS="$lt_save_ifs"
5567 done
5568 : ${lt_cv_path_NM=no}
5569 fi
5570 fi
5571 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5572 echo "${ECHO_T}$lt_cv_path_NM" >&6
5573 if test "$lt_cv_path_NM" != "no"; then
5574 NM="$lt_cv_path_NM"
5575 else
5576 # Didn't find any BSD compatible name lister, look for dumpbin.
5577 if test -n "$ac_tool_prefix"; then
5578 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5579 do
5580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5581 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5582 echo "$as_me:$LINENO: checking for $ac_word" >&5
5583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5584 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5586 else
5587 if test -n "$DUMPBIN"; then
5588 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5592 do
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5600 fi
5601 done
5602 done
5603
5604 fi
5605 fi
5606 DUMPBIN=$ac_cv_prog_DUMPBIN
5607 if test -n "$DUMPBIN"; then
5608 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5609 echo "${ECHO_T}$DUMPBIN" >&6
5610 else
5611 echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5613 fi
5614
5615 test -n "$DUMPBIN" && break
5616 done
5617 fi
5618 if test -z "$DUMPBIN"; then
5619 ac_ct_DUMPBIN=$DUMPBIN
5620 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5621 do
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy $ac_prog; ac_word=$2
5624 echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5626 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 else
5629 if test -n "$ac_ct_DUMPBIN"; then
5630 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5642 fi
5643 done
5644 done
5645
5646 fi
5647 fi
5648 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5649 if test -n "$ac_ct_DUMPBIN"; then
5650 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5651 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5652 else
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5655 fi
5656
5657 test -n "$ac_ct_DUMPBIN" && break
5658 done
5659 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5660
5661 DUMPBIN=$ac_ct_DUMPBIN
5662 fi
5663
5664
5665 if test "$DUMPBIN" != ":"; then
5666 NM="$DUMPBIN"
5667 fi
5668 fi
5669 test -z "$NM" && NM=nm
5670
5671
5672
5673
5674
5675
5676 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5677 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5678 if test "${lt_cv_nm_interface+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 lt_cv_nm_interface="BSD nm"
5682 echo "int some_variable = 0;" > conftest.$ac_ext
5683 (eval echo "\"\$as_me:5683: $ac_compile\"" >&5)
5684 (eval "$ac_compile" 2>conftest.err)
5685 cat conftest.err >&5
5686 (eval echo "\"\$as_me:5686: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5687 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5688 cat conftest.err >&5
5689 (eval echo "\"\$as_me:5689: output\"" >&5)
5690 cat conftest.out >&5
5691 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5692 lt_cv_nm_interface="MS dumpbin"
5693 fi
5694 rm -f conftest*
5695 fi
5696 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5697 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5698
5699 # find the maximum length of command line arguments
5700 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5701 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5702 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else
5705 i=0
5706 teststring="ABCD"
5707
5708 case $build_os in
5709 msdosdjgpp*)
5710 # On DJGPP, this test can blow up pretty badly due to problems in libc
5711 # (any single argument exceeding 2000 bytes causes a buffer overrun
5712 # during glob expansion). Even if it were fixed, the result of this
5713 # check would be larger than it should be.
5714 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5715 ;;
5716
5717 gnu*)
5718 # Under GNU Hurd, this test is not required because there is
5719 # no limit to the length of command line arguments.
5720 # Libtool will interpret -1 as no limit whatsoever
5721 lt_cv_sys_max_cmd_len=-1;
5722 ;;
5723
5724 cygwin* | mingw*)
5725 # On Win9x/ME, this test blows up -- it succeeds, but takes
5726 # about 5 minutes as the teststring grows exponentially.
5727 # Worse, since 9x/ME are not pre-emptively multitasking,
5728 # you end up with a "frozen" computer, even though with patience
5729 # the test eventually succeeds (with a max line length of 256k).
5730 # Instead, let's just punt: use the minimum linelength reported by
5731 # all of the supported platforms: 8192 (on NT/2K/XP).
5732 lt_cv_sys_max_cmd_len=8192;
5733 ;;
5734
5735 amigaos*)
5736 # On AmigaOS with pdksh, this test takes hours, literally.
5737 # So we just punt and use a minimum line length of 8192.
5738 lt_cv_sys_max_cmd_len=8192;
5739 ;;
5740
5741 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5742 # This has been around since 386BSD, at least. Likely further.
5743 if test -x /sbin/sysctl; then
5744 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5745 elif test -x /usr/sbin/sysctl; then
5746 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5747 else
5748 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5749 fi
5750 # And add a safety zone
5751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5753 ;;
5754
5755 interix*)
5756 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5757 lt_cv_sys_max_cmd_len=196608
5758 ;;
5759
5760 osf*)
5761 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5762 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5763 # nice to cause kernel panics so lets avoid the loop below.
5764 # First set a reasonable default.
5765 lt_cv_sys_max_cmd_len=16384
5766 #
5767 if test -x /sbin/sysconfig; then
5768 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5769 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5770 esac
5771 fi
5772 ;;
5773 sco3.2v5*)
5774 lt_cv_sys_max_cmd_len=102400
5775 ;;
5776 sysv5* | sco5v6* | sysv4.2uw2*)
5777 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5778 if test -n "$kargmax"; then
5779 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5780 else
5781 lt_cv_sys_max_cmd_len=32768
5782 fi
5783 ;;
5784 *)
5785 # Make teststring a little bigger before we do anything with it.
5786 # a 1K string should be a reasonable start.
5787 for i in 1 2 3 4 5 6 7 8 ; do
5788 teststring=$teststring$teststring
5789 done
5790 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5791 # If test is not a shell built-in, we'll probably end up computing a
5792 # maximum length that is only half of the actual maximum length, but
5793 # we can't tell.
5794 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5795 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5796 test $i != 17 # 1/2 MB should be enough
5797 do
5798 i=`expr $i + 1`
5799 teststring=$teststring$teststring
5800 done
5801 # Only check the string length outside the loop.
5802 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5803 teststring=
5804 # Add a significant safety factor because C++ compilers can tack on massive
5805 # amounts of additional arguments before passing them to the linker.
5806 # It appears as though 1/2 is a usable value.
5807 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5808 ;;
5809 esac
5810
5811 fi
5812
5813 if test -n $lt_cv_sys_max_cmd_len ; then
5814 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5815 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5816 else
5817 echo "$as_me:$LINENO: result: none" >&5
5818 echo "${ECHO_T}none" >&6
5819 fi
5820 max_cmd_len=$lt_cv_sys_max_cmd_len
5821
5822
5823
5824
5825
5826
5827
5828 : ${CP="cp -f"}
5829 : ${MV="mv -f"}
5830 : ${RM="rm -f"}
5831
5832 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5833 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5834 # Try some XSI features
5835 xsi_shell=no
5836 ( _lt_dummy="a/b/c"
5837 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5838 = c,a/b,, ) >/dev/null 2>&1 \
5839 && xsi_shell=yes
5840 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5841 echo "${ECHO_T}$xsi_shell" >&6
5842
5843
5844 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5845 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5846 lt_shell_append=no
5847 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5848 >/dev/null 2>&1 \
5849 && lt_shell_append=yes
5850 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5851 echo "${ECHO_T}$lt_shell_append" >&6
5852
5853
5854 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5855 lt_unset=unset
5856 else
5857 lt_unset=false
5858 fi
5859
5860
5861
5862
5863
5864 # test EBCDIC or ASCII
5865 case `echo X|tr X '\101'` in
5866 A) # ASCII based system
5867 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5868 lt_SP2NL='tr \040 \012'
5869 lt_NL2SP='tr \015\012 \040\040'
5870 ;;
5871 *) # EBCDIC based system
5872 lt_SP2NL='tr \100 \n'
5873 lt_NL2SP='tr \r\n \100\100'
5874 ;;
5875 esac
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5886 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5887 if test "${lt_cv_ld_reload_flag+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 else
5890 lt_cv_ld_reload_flag='-r'
5891 fi
5892 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5893 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5894 reload_flag=$lt_cv_ld_reload_flag
5895 case $reload_flag in
5896 "" | " "*) ;;
5897 *) reload_flag=" $reload_flag" ;;
5898 esac
5899 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5900 case $host_os in
5901 darwin*)
5902 if test "$GCC" = yes; then
5903 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5904 else
5905 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5906 fi
5907 ;;
5908 esac
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5920 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5921 if test "${lt_cv_deplibs_check_method+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 else
5924 lt_cv_file_magic_cmd='$MAGIC_CMD'
5925 lt_cv_file_magic_test_file=
5926 lt_cv_deplibs_check_method='unknown'
5927 # Need to set the preceding variable on all platforms that support
5928 # interlibrary dependencies.
5929 # 'none' -- dependencies not supported.
5930 # `unknown' -- same as none, but documents that we really don't know.
5931 # 'pass_all' -- all dependencies passed with no checks.
5932 # 'test_compile' -- check by making test program.
5933 # 'file_magic [[regex]]' -- check by looking for files in library path
5934 # which responds to the $file_magic_cmd with a given extended regex.
5935 # If you have `file' or equivalent on your system and you're not sure
5936 # whether `pass_all' will *always* work, you probably want this one.
5937
5938 case $host_os in
5939 aix4* | aix5*)
5940 lt_cv_deplibs_check_method=pass_all
5941 ;;
5942
5943 beos*)
5944 lt_cv_deplibs_check_method=pass_all
5945 ;;
5946
5947 bsdi[45]*)
5948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5949 lt_cv_file_magic_cmd='/usr/bin/file -L'
5950 lt_cv_file_magic_test_file=/shlib/libc.so
5951 ;;
5952
5953 cygwin*)
5954 # func_win32_libid is a shell function defined in ltmain.sh
5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5956 lt_cv_file_magic_cmd='func_win32_libid'
5957 ;;
5958
5959 mingw* | pw32*)
5960 # Base MSYS/MinGW do not provide the 'file' command needed by
5961 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5962 # unless we find 'file', for example because we are cross-compiling.
5963 if ( file / ) >/dev/null 2>&1; then
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965 lt_cv_file_magic_cmd='func_win32_libid'
5966 else
5967 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5968 lt_cv_file_magic_cmd='$OBJDUMP -f'
5969 fi
5970 ;;
5971
5972 darwin* | rhapsody*)
5973 lt_cv_deplibs_check_method=pass_all
5974 ;;
5975
5976 freebsd* | dragonfly*)
5977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5978 case $host_cpu in
5979 i*86 )
5980 # Not sure whether the presence of OpenBSD here was a mistake.
5981 # Let's accept both of them until this is cleared up.
5982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5983 lt_cv_file_magic_cmd=/usr/bin/file
5984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5985 ;;
5986 esac
5987 else
5988 lt_cv_deplibs_check_method=pass_all
5989 fi
5990 ;;
5991
5992 gnu*)
5993 lt_cv_deplibs_check_method=pass_all
5994 ;;
5995
5996 hpux10.20* | hpux11*)
5997 lt_cv_file_magic_cmd=/usr/bin/file
5998 case $host_cpu in
5999 ia64*)
6000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6002 ;;
6003 hppa*64*)
6004 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6006 ;;
6007 *)
6008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6010 ;;
6011 esac
6012 ;;
6013
6014 interix[3-9]*)
6015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6017 ;;
6018
6019 irix5* | irix6* | nonstopux*)
6020 case $LD in
6021 *-32|*"-32 ") libmagic=32-bit;;
6022 *-n32|*"-n32 ") libmagic=N32;;
6023 *-64|*"-64 ") libmagic=64-bit;;
6024 *) libmagic=never-match;;
6025 esac
6026 lt_cv_deplibs_check_method=pass_all
6027 ;;
6028
6029 # This must be Linux ELF.
6030 linux* | k*bsd*-gnu)
6031 lt_cv_deplibs_check_method=pass_all
6032 ;;
6033
6034 netbsd*)
6035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6037 else
6038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6039 fi
6040 ;;
6041
6042 newos6*)
6043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6044 lt_cv_file_magic_cmd=/usr/bin/file
6045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6046 ;;
6047
6048 *nto* | *qnx*)
6049 lt_cv_deplibs_check_method=pass_all
6050 ;;
6051
6052 openbsd*)
6053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6055 else
6056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6057 fi
6058 ;;
6059
6060 osf3* | osf4* | osf5*)
6061 lt_cv_deplibs_check_method=pass_all
6062 ;;
6063
6064 rdos*)
6065 lt_cv_deplibs_check_method=pass_all
6066 ;;
6067
6068 solaris*)
6069 lt_cv_deplibs_check_method=pass_all
6070 ;;
6071
6072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6073 lt_cv_deplibs_check_method=pass_all
6074 ;;
6075
6076 sysv4 | sysv4.3*)
6077 case $host_vendor in
6078 motorola)
6079 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]'
6080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6081 ;;
6082 ncr)
6083 lt_cv_deplibs_check_method=pass_all
6084 ;;
6085 sequent)
6086 lt_cv_file_magic_cmd='/bin/file'
6087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6088 ;;
6089 sni)
6090 lt_cv_file_magic_cmd='/bin/file'
6091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6092 lt_cv_file_magic_test_file=/lib/libc.so
6093 ;;
6094 siemens)
6095 lt_cv_deplibs_check_method=pass_all
6096 ;;
6097 pc)
6098 lt_cv_deplibs_check_method=pass_all
6099 ;;
6100 esac
6101 ;;
6102
6103 tpf*)
6104 lt_cv_deplibs_check_method=pass_all
6105 ;;
6106 esac
6107
6108 fi
6109 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6111 file_magic_cmd=$lt_cv_file_magic_cmd
6112 deplibs_check_method=$lt_cv_deplibs_check_method
6113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126 if test -n "$ac_tool_prefix"; then
6127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6128 set dummy ${ac_tool_prefix}ar; ac_word=$2
6129 echo "$as_me:$LINENO: checking for $ac_word" >&5
6130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6131 if test "${ac_cv_prog_AR+set}" = set; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 if test -n "$AR"; then
6135 ac_cv_prog_AR="$AR" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6139 do
6140 IFS=$as_save_IFS
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_AR="${ac_tool_prefix}ar"
6145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 break 2
6147 fi
6148 done
6149 done
6150
6151 fi
6152 fi
6153 AR=$ac_cv_prog_AR
6154 if test -n "$AR"; then
6155 echo "$as_me:$LINENO: result: $AR" >&5
6156 echo "${ECHO_T}$AR" >&6
6157 else
6158 echo "$as_me:$LINENO: result: no" >&5
6159 echo "${ECHO_T}no" >&6
6160 fi
6161
6162 fi
6163 if test -z "$ac_cv_prog_AR"; then
6164 ac_ct_AR=$AR
6165 # Extract the first word of "ar", so it can be a program name with args.
6166 set dummy ar; ac_word=$2
6167 echo "$as_me:$LINENO: checking for $ac_word" >&5
6168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 else
6172 if test -n "$ac_ct_AR"; then
6173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_AR="ar"
6183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6185 fi
6186 done
6187 done
6188
6189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6190 fi
6191 fi
6192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6193 if test -n "$ac_ct_AR"; then
6194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6195 echo "${ECHO_T}$ac_ct_AR" >&6
6196 else
6197 echo "$as_me:$LINENO: result: no" >&5
6198 echo "${ECHO_T}no" >&6
6199 fi
6200
6201 AR=$ac_ct_AR
6202 else
6203 AR="$ac_cv_prog_AR"
6204 fi
6205
6206 test -z "$AR" && AR=ar
6207 test -z "$AR_FLAGS" && AR_FLAGS=cru
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219 if test -n "$ac_tool_prefix"; then
6220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6221 set dummy ${ac_tool_prefix}strip; ac_word=$2
6222 echo "$as_me:$LINENO: checking for $ac_word" >&5
6223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6224 if test "${ac_cv_prog_STRIP+set}" = set; then
6225 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 else
6227 if test -n "$STRIP"; then
6228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243
6244 fi
6245 fi
6246 STRIP=$ac_cv_prog_STRIP
6247 if test -n "$STRIP"; then
6248 echo "$as_me:$LINENO: result: $STRIP" >&5
6249 echo "${ECHO_T}$STRIP" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6253 fi
6254
6255 fi
6256 if test -z "$ac_cv_prog_STRIP"; then
6257 ac_ct_STRIP=$STRIP
6258 # Extract the first word of "strip", so it can be a program name with args.
6259 set dummy strip; ac_word=$2
6260 echo "$as_me:$LINENO: checking for $ac_word" >&5
6261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 else
6265 if test -n "$ac_ct_STRIP"; then
6266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6270 do
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275 ac_cv_prog_ac_ct_STRIP="strip"
6276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6278 fi
6279 done
6280 done
6281
6282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6283 fi
6284 fi
6285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6286 if test -n "$ac_ct_STRIP"; then
6287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6288 echo "${ECHO_T}$ac_ct_STRIP" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294 STRIP=$ac_ct_STRIP
6295 else
6296 STRIP="$ac_cv_prog_STRIP"
6297 fi
6298
6299 test -z "$STRIP" && STRIP=:
6300
6301
6302
6303
6304
6305
6306 if test -n "$ac_tool_prefix"; then
6307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6309 echo "$as_me:$LINENO: checking for $ac_word" >&5
6310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6311 if test "${ac_cv_prog_RANLIB+set}" = set; then
6312 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 else
6314 if test -n "$RANLIB"; then
6315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6316 else
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH
6319 do
6320 IFS=$as_save_IFS
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 break 2
6327 fi
6328 done
6329 done
6330
6331 fi
6332 fi
6333 RANLIB=$ac_cv_prog_RANLIB
6334 if test -n "$RANLIB"; then
6335 echo "$as_me:$LINENO: result: $RANLIB" >&5
6336 echo "${ECHO_T}$RANLIB" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6340 fi
6341
6342 fi
6343 if test -z "$ac_cv_prog_RANLIB"; then
6344 ac_ct_RANLIB=$RANLIB
6345 # Extract the first word of "ranlib", so it can be a program name with args.
6346 set dummy ranlib; ac_word=$2
6347 echo "$as_me:$LINENO: checking for $ac_word" >&5
6348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 else
6352 if test -n "$ac_ct_RANLIB"; then
6353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6354 else
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 for as_dir in $PATH
6357 do
6358 IFS=$as_save_IFS
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_ac_ct_RANLIB="ranlib"
6363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 break 2
6365 fi
6366 done
6367 done
6368
6369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6370 fi
6371 fi
6372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6373 if test -n "$ac_ct_RANLIB"; then
6374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6376 else
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6379 fi
6380
6381 RANLIB=$ac_ct_RANLIB
6382 else
6383 RANLIB="$ac_cv_prog_RANLIB"
6384 fi
6385
6386 test -z "$RANLIB" && RANLIB=:
6387
6388
6389
6390
6391
6392
6393 # Determine commands to create old-style static archives.
6394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6395 old_postinstall_cmds='chmod 644 $oldlib'
6396 old_postuninstall_cmds=
6397
6398 if test -n "$RANLIB"; then
6399 case $host_os in
6400 openbsd*)
6401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6402 ;;
6403 *)
6404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6405 ;;
6406 esac
6407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6408 fi
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443 # If no C compiler was specified, use CC.
6444 LTCC=${LTCC-"$CC"}
6445
6446 # If no C compiler flags were specified, use CFLAGS.
6447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6448
6449 # Allow CC to be a program name with arguments.
6450 compiler=$CC
6451
6452
6453 # Check for command to grab the raw symbol name followed by C symbol from nm.
6454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else
6459
6460 # These are sane defaults that work on at least a few old systems.
6461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6462
6463 # Character class describing NM global symbol codes.
6464 symcode='[BCDEGRST]'
6465
6466 # Regexp to match symbols that can be accessed directly from C.
6467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6468
6469 # Define system-specific variables.
6470 case $host_os in
6471 aix*)
6472 symcode='[BCDT]'
6473 ;;
6474 cygwin* | mingw* | pw32*)
6475 symcode='[ABCDGISTW]'
6476 ;;
6477 hpux*)
6478 if test "$host_cpu" = ia64; then
6479 symcode='[ABCDEGRST]'
6480 fi
6481 ;;
6482 irix* | nonstopux*)
6483 symcode='[BCDEGRST]'
6484 ;;
6485 osf*)
6486 symcode='[BCDEGQRST]'
6487 ;;
6488 solaris*)
6489 symcode='[BDRT]'
6490 ;;
6491 sco3.2v5*)
6492 symcode='[DT]'
6493 ;;
6494 sysv4.2uw2*)
6495 symcode='[DT]'
6496 ;;
6497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6498 symcode='[ABDT]'
6499 ;;
6500 sysv4)
6501 symcode='[DFNSTU]'
6502 ;;
6503 esac
6504
6505 # If we're using GNU nm, then use its standard symbol codes.
6506 case `$NM -V 2>&1` in
6507 *GNU* | *'with BFD'*)
6508 symcode='[ABCDGIRSTW]' ;;
6509 esac
6510
6511 # Transform an extracted symbol line into a proper C declaration.
6512 # Some systems (esp. on ia64) link data and code symbols differently,
6513 # so use this general approach.
6514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6515
6516 # Transform an extracted symbol line into symbol name and symbol address
6517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6518
6519 # Handle CRLF in mingw tool chain
6520 opt_cr=
6521 case $build_os in
6522 mingw*)
6523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6524 ;;
6525 esac
6526
6527 # Try without a prefix underscore, then with it.
6528 for ac_symprfx in "" "_"; do
6529
6530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6531 symxfrm="\\1 $ac_symprfx\\2 \\2"
6532
6533 # Write the raw and C identifiers.
6534 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6535 # Fake it for dumpbin and say T for any non-static function
6536 # and D for any global variable.
6537 # Also find C++ and __fastcall symbols from MSVC++,
6538 # which start with @ or ?.
6539 lt_cv_sys_global_symbol_pipe="$AWK '"\
6540 " {last_section=section; section=\$ 3};"\
6541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6542 " \$ 0!~/External *\|/{next};"\
6543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6544 " {if(hide[section]) next};"\
6545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6549 " ' prfx=^$ac_symprfx"
6550 else
6551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6552 fi
6553
6554 # Check to see that the pipe works correctly.
6555 pipe_works=no
6556
6557 rm -f conftest*
6558 cat > conftest.$ac_ext <<_LT_EOF
6559 #ifdef __cplusplus
6560 extern "C" {
6561 #endif
6562 char nm_test_var;
6563 void nm_test_func(void);
6564 void nm_test_func(void){}
6565 #ifdef __cplusplus
6566 }
6567 #endif
6568 int main(){nm_test_var='a';nm_test_func();return(0);}
6569 _LT_EOF
6570
6571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6572 (eval $ac_compile) 2>&5
6573 ac_status=$?
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; then
6576 # Now try to grab the symbols.
6577 nlist=conftest.nm
6578 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6579 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6580 ac_status=$?
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } && test -s "$nlist"; then
6583 # Try sorting and uniquifying the output.
6584 if sort "$nlist" | uniq > "$nlist"T; then
6585 mv -f "$nlist"T "$nlist"
6586 else
6587 rm -f "$nlist"T
6588 fi
6589
6590 # Make sure that we snagged all the symbols we need.
6591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6593 cat <<_LT_EOF > conftest.$ac_ext
6594 #ifdef __cplusplus
6595 extern "C" {
6596 #endif
6597
6598 _LT_EOF
6599 # Now generate the symbol file.
6600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6601
6602 cat <<_LT_EOF >> conftest.$ac_ext
6603
6604 /* The mapping between symbol names and symbols. */
6605 const struct {
6606 const char *name;
6607 void *address;
6608 }
6609 lt__PROGRAM__LTX_preloaded_symbols[] =
6610 {
6611 { "@PROGRAM@", (void *) 0 },
6612 _LT_EOF
6613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6614 cat <<\_LT_EOF >> conftest.$ac_ext
6615 {0, (void *) 0}
6616 };
6617
6618 /* This works around a problem in FreeBSD linker */
6619 #ifdef FREEBSD_WORKAROUND
6620 static const void *lt_preloaded_setup() {
6621 return lt__PROGRAM__LTX_preloaded_symbols;
6622 }
6623 #endif
6624
6625 #ifdef __cplusplus
6626 }
6627 #endif
6628 _LT_EOF
6629 # Now try linking the two files.
6630 mv conftest.$ac_objext conftstm.$ac_objext
6631 lt_save_LIBS="$LIBS"
6632 lt_save_CFLAGS="$CFLAGS"
6633 LIBS="conftstm.$ac_objext"
6634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6636 (eval $ac_link) 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6640 pipe_works=yes
6641 fi
6642 LIBS="$lt_save_LIBS"
6643 CFLAGS="$lt_save_CFLAGS"
6644 else
6645 echo "cannot find nm_test_func in $nlist" >&5
6646 fi
6647 else
6648 echo "cannot find nm_test_var in $nlist" >&5
6649 fi
6650 else
6651 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6652 fi
6653 else
6654 echo "$progname: failed program was:" >&5
6655 cat conftest.$ac_ext >&5
6656 fi
6657 rm -f conftest* conftst*
6658
6659 # Do not use the global_symbol_pipe unless it works.
6660 if test "$pipe_works" = yes; then
6661 break
6662 else
6663 lt_cv_sys_global_symbol_pipe=
6664 fi
6665 done
6666
6667 fi
6668
6669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6670 lt_cv_sys_global_symbol_to_cdecl=
6671 fi
6672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6673 echo "$as_me:$LINENO: result: failed" >&5
6674 echo "${ECHO_T}failed" >&6
6675 else
6676 echo "$as_me:$LINENO: result: ok" >&5
6677 echo "${ECHO_T}ok" >&6
6678 fi
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6697 if test "${enable_libtool_lock+set}" = set; then
6698 enableval="$enable_libtool_lock"
6699
6700 fi;
6701 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6702
6703 # Some flags need to be propagated to the compiler or linker for good
6704 # libtool support.
6705 case $host in
6706 ia64-*-hpux*)
6707 # Find out which ABI we are using.
6708 echo 'int i;' > conftest.$ac_ext
6709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6710 (eval $ac_compile) 2>&5
6711 ac_status=$?
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; then
6714 case `/usr/bin/file conftest.$ac_objext` in
6715 *ELF-32*)
6716 HPUX_IA64_MODE="32"
6717 ;;
6718 *ELF-64*)
6719 HPUX_IA64_MODE="64"
6720 ;;
6721 esac
6722 fi
6723 rm -rf conftest*
6724 ;;
6725 *-*-irix6*)
6726 # Find out which ABI we are using.
6727 echo '#line 6727 "configure"' > conftest.$ac_ext
6728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6729 (eval $ac_compile) 2>&5
6730 ac_status=$?
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; then
6733 if test "$lt_cv_prog_gnu_ld" = yes; then
6734 case `/usr/bin/file conftest.$ac_objext` in
6735 *32-bit*)
6736 LD="${LD-ld} -melf32bsmip"
6737 ;;
6738 *N32*)
6739 LD="${LD-ld} -melf32bmipn32"
6740 ;;
6741 *64-bit*)
6742 LD="${LD-ld} -melf64bmip"
6743 ;;
6744 esac
6745 else
6746 case `/usr/bin/file conftest.$ac_objext` in
6747 *32-bit*)
6748 LD="${LD-ld} -32"
6749 ;;
6750 *N32*)
6751 LD="${LD-ld} -n32"
6752 ;;
6753 *64-bit*)
6754 LD="${LD-ld} -64"
6755 ;;
6756 esac
6757 fi
6758 fi
6759 rm -rf conftest*
6760 ;;
6761
6762 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6763 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6764 # Find out which ABI we are using.
6765 echo 'int i;' > conftest.$ac_ext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>&5
6768 ac_status=$?
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; then
6771 case `/usr/bin/file conftest.o` in
6772 *32-bit*)
6773 case $host in
6774 x86_64-*kfreebsd*-gnu)
6775 LD="${LD-ld} -m elf_i386_fbsd"
6776 ;;
6777 x86_64-*linux*)
6778 LD="${LD-ld} -m elf_i386"
6779 ;;
6780 ppc64-*linux*|powerpc64-*linux*)
6781 LD="${LD-ld} -m elf32ppclinux"
6782 ;;
6783 s390x-*linux*)
6784 LD="${LD-ld} -m elf_s390"
6785 ;;
6786 sparc64-*linux*)
6787 LD="${LD-ld} -m elf32_sparc"
6788 ;;
6789 esac
6790 ;;
6791 *64-bit*)
6792 case $host in
6793 x86_64-*kfreebsd*-gnu)
6794 LD="${LD-ld} -m elf_x86_64_fbsd"
6795 ;;
6796 x86_64-*linux*)
6797 LD="${LD-ld} -m elf_x86_64"
6798 ;;
6799 ppc*-*linux*|powerpc*-*linux*)
6800 LD="${LD-ld} -m elf64ppc"
6801 ;;
6802 s390*-*linux*|s390*-*tpf*)
6803 LD="${LD-ld} -m elf64_s390"
6804 ;;
6805 sparc*-*linux*)
6806 LD="${LD-ld} -m elf64_sparc"
6807 ;;
6808 esac
6809 ;;
6810 esac
6811 fi
6812 rm -rf conftest*
6813 ;;
6814
6815 *-*-sco3.2v5*)
6816 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6817 SAVE_CFLAGS="$CFLAGS"
6818 CFLAGS="$CFLAGS -belf"
6819 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6820 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6821 if test "${lt_cv_cc_needs_belf+set}" = set; then
6822 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 else
6824 ac_ext=c
6825 ac_cpp='$CPP $CPPFLAGS'
6826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6829
6830 if test x$gcc_no_link = xyes; then
6831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6833 { (exit 1); exit 1; }; }
6834 fi
6835 cat >conftest.$ac_ext <<_ACEOF
6836 /* confdefs.h. */
6837 _ACEOF
6838 cat confdefs.h >>conftest.$ac_ext
6839 cat >>conftest.$ac_ext <<_ACEOF
6840 /* end confdefs.h. */
6841
6842 int
6843 main ()
6844 {
6845
6846 ;
6847 return 0;
6848 }
6849 _ACEOF
6850 rm -f conftest.$ac_objext conftest$ac_exeext
6851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6852 (eval $ac_link) 2>conftest.er1
6853 ac_status=$?
6854 grep -v '^ *+' conftest.er1 >conftest.err
6855 rm -f conftest.er1
6856 cat conftest.err >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } &&
6859 { ac_try='test -z "$ac_c_werror_flag"
6860 || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 (eval $ac_try) 2>&5
6863 ac_status=$?
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try='test -s conftest$ac_exeext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 (eval $ac_try) 2>&5
6869 ac_status=$?
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6872 lt_cv_cc_needs_belf=yes
6873 else
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6876
6877 lt_cv_cc_needs_belf=no
6878 fi
6879 rm -f conftest.err conftest.$ac_objext \
6880 conftest$ac_exeext conftest.$ac_ext
6881 ac_ext=c
6882 ac_cpp='$CPP $CPPFLAGS'
6883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886
6887 fi
6888 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6889 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6890 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6891 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6892 CFLAGS="$SAVE_CFLAGS"
6893 fi
6894 ;;
6895 sparc*-*solaris*)
6896 # Find out which ABI we are using.
6897 echo 'int i;' > conftest.$ac_ext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>&5
6900 ac_status=$?
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; then
6903 case `/usr/bin/file conftest.o` in
6904 *64-bit*)
6905 case $lt_cv_prog_gnu_ld in
6906 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6907 *) LD="${LD-ld} -64" ;;
6908 esac
6909 ;;
6910 esac
6911 fi
6912 rm -rf conftest*
6913 ;;
6914 esac
6915
6916 need_locks="$enable_libtool_lock"
6917
6918
6919 for ac_header in dlfcn.h
6920 do
6921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 echo "$as_me:$LINENO: checking for $ac_header" >&5
6923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 else
6927 cat >conftest.$ac_ext <<_ACEOF
6928 /* confdefs.h. */
6929 _ACEOF
6930 cat confdefs.h >>conftest.$ac_ext
6931 cat >>conftest.$ac_ext <<_ACEOF
6932 /* end confdefs.h. */
6933 $ac_includes_default
6934
6935 #include <$ac_header>
6936 _ACEOF
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6940 ac_status=$?
6941 grep -v '^ *+' conftest.er1 >conftest.err
6942 rm -f conftest.er1
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_c_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6959 eval "$as_ac_Header=yes"
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6963
6964 eval "$as_ac_Header=no"
6965 fi
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6967 fi
6968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6971 cat >>confdefs.h <<_ACEOF
6972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6973 _ACEOF
6974
6975 fi
6976
6977 done
6978
6979
6980
6981 # This can be used to rebuild libtool when needed
6982 LIBTOOL_DEPS="$ltmain"
6983
6984 # Always use our own libtool.
6985 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011 test -z "$LN_S" && LN_S="ln -s"
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026 if test -n "${ZSH_VERSION+set}" ; then
7027 setopt NO_GLOB_SUBST
7028 fi
7029
7030 echo "$as_me:$LINENO: checking for objdir" >&5
7031 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7032 if test "${lt_cv_objdir+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else
7035 rm -f .libs 2>/dev/null
7036 mkdir .libs 2>/dev/null
7037 if test -d .libs; then
7038 lt_cv_objdir=.libs
7039 else
7040 # MS-DOS does not allow filenames that begin with a dot.
7041 lt_cv_objdir=_libs
7042 fi
7043 rmdir .libs 2>/dev/null
7044 fi
7045 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7046 echo "${ECHO_T}$lt_cv_objdir" >&6
7047 objdir=$lt_cv_objdir
7048
7049
7050
7051
7052
7053 cat >>confdefs.h <<_ACEOF
7054 #define LT_OBJDIR "$lt_cv_objdir/"
7055 _ACEOF
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073 case $host_os in
7074 aix3*)
7075 # AIX sometimes has problems with the GCC collect2 program. For some
7076 # reason, if we set the COLLECT_NAMES environment variable, the problems
7077 # vanish in a puff of smoke.
7078 if test "X${COLLECT_NAMES+set}" != Xset; then
7079 COLLECT_NAMES=
7080 export COLLECT_NAMES
7081 fi
7082 ;;
7083 esac
7084
7085 # Sed substitution that helps us do robust quoting. It backslashifies
7086 # metacharacters that are still active within double-quoted strings.
7087 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7088
7089 # Same as above, but do not quote variable references.
7090 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7091
7092 # Sed substitution to delay expansion of an escaped shell variable in a
7093 # double_quote_subst'ed string.
7094 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7095
7096 # Sed substitution to delay expansion of an escaped single quote.
7097 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7098
7099 # Sed substitution to avoid accidental globbing in evaled expressions
7100 no_glob_subst='s/\*/\\\*/g'
7101
7102 # Global variables:
7103 ofile=libtool
7104 can_build_shared=yes
7105
7106 # All known linkers require a `.a' archive for static linking (except MSVC,
7107 # which needs '.lib').
7108 libext=a
7109
7110 with_gnu_ld="$lt_cv_prog_gnu_ld"
7111
7112 old_CC="$CC"
7113 old_CFLAGS="$CFLAGS"
7114
7115 # Set sane defaults for various variables
7116 test -z "$CC" && CC=cc
7117 test -z "$LTCC" && LTCC=$CC
7118 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7119 test -z "$LD" && LD=ld
7120 test -z "$ac_objext" && ac_objext=o
7121
7122 for cc_temp in $compiler""; do
7123 case $cc_temp in
7124 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7125 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7126 \-*) ;;
7127 *) break;;
7128 esac
7129 done
7130 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7131
7132
7133 # Only perform the check for file, if the check method requires it
7134 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7135 case $deplibs_check_method in
7136 file_magic*)
7137 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7138 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7139 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7140 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7141 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 else
7143 case $MAGIC_CMD in
7144 [\\/*] | ?:[\\/]*)
7145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7146 ;;
7147 *)
7148 lt_save_MAGIC_CMD="$MAGIC_CMD"
7149 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7150 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7151 for ac_dir in $ac_dummy; do
7152 IFS="$lt_save_ifs"
7153 test -z "$ac_dir" && ac_dir=.
7154 if test -f $ac_dir/${ac_tool_prefix}file; then
7155 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7156 if test -n "$file_magic_test_file"; then
7157 case $deplibs_check_method in
7158 "file_magic "*)
7159 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7161 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7162 $EGREP "$file_magic_regex" > /dev/null; then
7163 :
7164 else
7165 cat <<_LT_EOF 1>&2
7166
7167 *** Warning: the command libtool uses to detect shared libraries,
7168 *** $file_magic_cmd, produces output that libtool cannot recognize.
7169 *** The result is that libtool may fail to recognize shared libraries
7170 *** as such. This will affect the creation of libtool libraries that
7171 *** depend on shared libraries, but programs linked with such libtool
7172 *** libraries will work regardless of this problem. Nevertheless, you
7173 *** may want to report the problem to your system manager and/or to
7174 *** bug-libtool@gnu.org
7175
7176 _LT_EOF
7177 fi ;;
7178 esac
7179 fi
7180 break
7181 fi
7182 done
7183 IFS="$lt_save_ifs"
7184 MAGIC_CMD="$lt_save_MAGIC_CMD"
7185 ;;
7186 esac
7187 fi
7188
7189 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7190 if test -n "$MAGIC_CMD"; then
7191 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7192 echo "${ECHO_T}$MAGIC_CMD" >&6
7193 else
7194 echo "$as_me:$LINENO: result: no" >&5
7195 echo "${ECHO_T}no" >&6
7196 fi
7197
7198
7199
7200
7201
7202 if test -z "$lt_cv_path_MAGIC_CMD"; then
7203 if test -n "$ac_tool_prefix"; then
7204 echo "$as_me:$LINENO: checking for file" >&5
7205 echo $ECHO_N "checking for file... $ECHO_C" >&6
7206 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else
7209 case $MAGIC_CMD in
7210 [\\/*] | ?:[\\/]*)
7211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7212 ;;
7213 *)
7214 lt_save_MAGIC_CMD="$MAGIC_CMD"
7215 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7216 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7217 for ac_dir in $ac_dummy; do
7218 IFS="$lt_save_ifs"
7219 test -z "$ac_dir" && ac_dir=.
7220 if test -f $ac_dir/file; then
7221 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7222 if test -n "$file_magic_test_file"; then
7223 case $deplibs_check_method in
7224 "file_magic "*)
7225 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7227 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7228 $EGREP "$file_magic_regex" > /dev/null; then
7229 :
7230 else
7231 cat <<_LT_EOF 1>&2
7232
7233 *** Warning: the command libtool uses to detect shared libraries,
7234 *** $file_magic_cmd, produces output that libtool cannot recognize.
7235 *** The result is that libtool may fail to recognize shared libraries
7236 *** as such. This will affect the creation of libtool libraries that
7237 *** depend on shared libraries, but programs linked with such libtool
7238 *** libraries will work regardless of this problem. Nevertheless, you
7239 *** may want to report the problem to your system manager and/or to
7240 *** bug-libtool@gnu.org
7241
7242 _LT_EOF
7243 fi ;;
7244 esac
7245 fi
7246 break
7247 fi
7248 done
7249 IFS="$lt_save_ifs"
7250 MAGIC_CMD="$lt_save_MAGIC_CMD"
7251 ;;
7252 esac
7253 fi
7254
7255 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7256 if test -n "$MAGIC_CMD"; then
7257 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7258 echo "${ECHO_T}$MAGIC_CMD" >&6
7259 else
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7262 fi
7263
7264
7265 else
7266 MAGIC_CMD=:
7267 fi
7268 fi
7269
7270 fi
7271 ;;
7272 esac
7273
7274 # Use C for the default configuration in the libtool script
7275
7276 lt_save_CC="$CC"
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
7283
7284 # Source file extension for C test sources.
7285 ac_ext=c
7286
7287 # Object file extension for compiled C test sources.
7288 objext=o
7289 objext=$objext
7290
7291 # Code to be used in simple compile tests
7292 lt_simple_compile_test_code="int some_variable = 0;"
7293
7294 # Code to be used in simple link tests
7295 lt_simple_link_test_code='int main(){return(0);}'
7296
7297
7298
7299
7300
7301
7302
7303 # If no C compiler was specified, use CC.
7304 LTCC=${LTCC-"$CC"}
7305
7306 # If no C compiler flags were specified, use CFLAGS.
7307 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7308
7309 # Allow CC to be a program name with arguments.
7310 compiler=$CC
7311
7312 # Save the default compiler, since it gets overwritten when the other
7313 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7314 compiler_DEFAULT=$CC
7315
7316 # save warnings/boilerplate of simple test code
7317 ac_outfile=conftest.$ac_objext
7318 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7319 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7320 _lt_compiler_boilerplate=`cat conftest.err`
7321 $RM conftest*
7322
7323 ac_outfile=conftest.$ac_objext
7324 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7325 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7326 _lt_linker_boilerplate=`cat conftest.err`
7327 $RM conftest*
7328
7329
7330 ## CAVEAT EMPTOR:
7331 ## There is no encapsulation within the following macros, do not change
7332 ## the running order or otherwise move them around unless you know exactly
7333 ## what you are doing...
7334 if test -n "$compiler"; then
7335
7336 lt_prog_compiler_no_builtin_flag=
7337
7338 if test "$GCC" = yes; then
7339 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7340
7341 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7342 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7343 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 else
7346 lt_cv_prog_compiler_rtti_exceptions=no
7347 ac_outfile=conftest.$ac_objext
7348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7349 lt_compiler_flag="-fno-rtti -fno-exceptions"
7350 # Insert the option either (1) after the last *FLAGS variable, or
7351 # (2) before a word containing "conftest.", or (3) at the end.
7352 # Note that $ac_compile itself does not contain backslashes and begins
7353 # with a dollar sign (not a hyphen), so the echo should work correctly.
7354 # The option is referenced via a variable to avoid confusing sed.
7355 lt_compile=`echo "$ac_compile" | $SED \
7356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7358 -e 's:$: $lt_compiler_flag:'`
7359 (eval echo "\"\$as_me:7359: $lt_compile\"" >&5)
7360 (eval "$lt_compile" 2>conftest.err)
7361 ac_status=$?
7362 cat conftest.err >&5
7363 echo "$as_me:7363: \$? = $ac_status" >&5
7364 if (exit $ac_status) && test -s "$ac_outfile"; then
7365 # The compiler can only warn and ignore the option if not recognized
7366 # So say no if there are warnings other than the usual output.
7367 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7368 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7369 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7370 lt_cv_prog_compiler_rtti_exceptions=yes
7371 fi
7372 fi
7373 $RM conftest*
7374
7375 fi
7376 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7377 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7378
7379 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7380 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7381 else
7382 :
7383 fi
7384
7385 fi
7386
7387
7388
7389
7390
7391
7392 lt_prog_compiler_wl=
7393 lt_prog_compiler_pic=
7394 lt_prog_compiler_static=
7395
7396 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7397 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7398
7399 if test "$GCC" = yes; then
7400 lt_prog_compiler_wl='-Wl,'
7401 lt_prog_compiler_static='-static'
7402
7403 case $host_os in
7404 aix*)
7405 # All AIX code is PIC.
7406 if test "$host_cpu" = ia64; then
7407 # AIX 5 now supports IA64 processor
7408 lt_prog_compiler_static='-Bstatic'
7409 fi
7410 ;;
7411
7412 amigaos*)
7413 if test "$host_cpu" = m68k; then
7414 # FIXME: we need at least 68020 code to build shared libraries, but
7415 # adding the `-m68020' flag to GCC prevents building anything better,
7416 # like `-m68040'.
7417 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7418 fi
7419 ;;
7420
7421 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7422 # PIC is the default for these OSes.
7423 ;;
7424
7425 mingw* | cygwin* | pw32* | os2*)
7426 # This hack is so that the source file can tell whether it is being
7427 # built for inclusion in a dll (and should export symbols for example).
7428 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7429 # (--disable-auto-import) libraries
7430 lt_prog_compiler_pic='-DDLL_EXPORT'
7431 ;;
7432
7433 darwin* | rhapsody*)
7434 # PIC is the default on this platform
7435 # Common symbols not allowed in MH_DYLIB files
7436 lt_prog_compiler_pic='-fno-common'
7437 ;;
7438
7439 hpux*)
7440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7441 # not for PA HP-UX.
7442 case $host_cpu in
7443 hppa*64*|ia64*)
7444 # +Z the default
7445 ;;
7446 *)
7447 lt_prog_compiler_pic='-fPIC'
7448 ;;
7449 esac
7450 ;;
7451
7452 interix[3-9]*)
7453 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7454 # Instead, we relocate shared libraries at runtime.
7455 ;;
7456
7457 msdosdjgpp*)
7458 # Just because we use GCC doesn't mean we suddenly get shared libraries
7459 # on systems that don't support them.
7460 lt_prog_compiler_can_build_shared=no
7461 enable_shared=no
7462 ;;
7463
7464 *nto* | *qnx*)
7465 # QNX uses GNU C++, but need to define -shared option too, otherwise
7466 # it will coredump.
7467 lt_prog_compiler_pic='-fPIC -shared'
7468 ;;
7469
7470 sysv4*MP*)
7471 if test -d /usr/nec; then
7472 lt_prog_compiler_pic=-Kconform_pic
7473 fi
7474 ;;
7475
7476 *)
7477 lt_prog_compiler_pic='-fPIC'
7478 ;;
7479 esac
7480 else
7481 # PORTME Check for flag to pass linker flags through the system compiler.
7482 case $host_os in
7483 aix*)
7484 lt_prog_compiler_wl='-Wl,'
7485 if test "$host_cpu" = ia64; then
7486 # AIX 5 now supports IA64 processor
7487 lt_prog_compiler_static='-Bstatic'
7488 else
7489 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7490 fi
7491 ;;
7492 darwin*)
7493 # PIC is the default on this platform
7494 # Common symbols not allowed in MH_DYLIB files
7495 case $cc_basename in
7496 xlc*)
7497 lt_prog_compiler_pic='-qnocommon'
7498 lt_prog_compiler_wl='-Wl,'
7499 ;;
7500 esac
7501 ;;
7502
7503 mingw* | cygwin* | pw32* | os2*)
7504 # This hack is so that the source file can tell whether it is being
7505 # built for inclusion in a dll (and should export symbols for example).
7506 lt_prog_compiler_pic='-DDLL_EXPORT'
7507 ;;
7508
7509 hpux9* | hpux10* | hpux11*)
7510 lt_prog_compiler_wl='-Wl,'
7511 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7512 # not for PA HP-UX.
7513 case $host_cpu in
7514 hppa*64*|ia64*)
7515 # +Z the default
7516 ;;
7517 *)
7518 lt_prog_compiler_pic='+Z'
7519 ;;
7520 esac
7521 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7522 lt_prog_compiler_static='${wl}-a ${wl}archive'
7523 ;;
7524
7525 irix5* | irix6* | nonstopux*)
7526 lt_prog_compiler_wl='-Wl,'
7527 # PIC (with -KPIC) is the default.
7528 lt_prog_compiler_static='-non_shared'
7529 ;;
7530
7531 linux* | k*bsd*-gnu)
7532 case $cc_basename in
7533 icc* | ecc*)
7534 lt_prog_compiler_wl='-Wl,'
7535 lt_prog_compiler_pic='-KPIC'
7536 lt_prog_compiler_static='-static'
7537 ;;
7538 pgcc* | pgf77* | pgf90* | pgf95*)
7539 # Portland Group compilers (*not* the Pentium gcc compiler,
7540 # which looks to be a dead project)
7541 lt_prog_compiler_wl='-Wl,'
7542 lt_prog_compiler_pic='-fpic'
7543 lt_prog_compiler_static='-Bstatic'
7544 ;;
7545 ccc*)
7546 lt_prog_compiler_wl='-Wl,'
7547 # All Alpha code is PIC.
7548 lt_prog_compiler_static='-non_shared'
7549 ;;
7550 *)
7551 case `$CC -V 2>&1 | sed 5q` in
7552 *Sun\ C*)
7553 # Sun C 5.9
7554 lt_prog_compiler_pic='-KPIC'
7555 lt_prog_compiler_static='-Bstatic'
7556 lt_prog_compiler_wl='-Wl,'
7557 ;;
7558 *Sun\ F*)
7559 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7560 lt_prog_compiler_pic='-KPIC'
7561 lt_prog_compiler_static='-Bstatic'
7562 lt_prog_compiler_wl=''
7563 ;;
7564 esac
7565 ;;
7566 esac
7567 ;;
7568
7569 newsos6)
7570 lt_prog_compiler_pic='-KPIC'
7571 lt_prog_compiler_static='-Bstatic'
7572 ;;
7573
7574 *nto* | *qnx*)
7575 # QNX uses GNU C++, but need to define -shared option too, otherwise
7576 # it will coredump.
7577 lt_prog_compiler_pic='-fPIC -shared'
7578 ;;
7579
7580 osf3* | osf4* | osf5*)
7581 lt_prog_compiler_wl='-Wl,'
7582 # All OSF/1 code is PIC.
7583 lt_prog_compiler_static='-non_shared'
7584 ;;
7585
7586 rdos*)
7587 lt_prog_compiler_static='-non_shared'
7588 ;;
7589
7590 solaris*)
7591 lt_prog_compiler_pic='-KPIC'
7592 lt_prog_compiler_static='-Bstatic'
7593 case $cc_basename in
7594 f77* | f90* | f95*)
7595 lt_prog_compiler_wl='-Qoption ld ';;
7596 *)
7597 lt_prog_compiler_wl='-Wl,';;
7598 esac
7599 ;;
7600
7601 sunos4*)
7602 lt_prog_compiler_wl='-Qoption ld '
7603 lt_prog_compiler_pic='-PIC'
7604 lt_prog_compiler_static='-Bstatic'
7605 ;;
7606
7607 sysv4 | sysv4.2uw2* | sysv4.3*)
7608 lt_prog_compiler_wl='-Wl,'
7609 lt_prog_compiler_pic='-KPIC'
7610 lt_prog_compiler_static='-Bstatic'
7611 ;;
7612
7613 sysv4*MP*)
7614 if test -d /usr/nec ;then
7615 lt_prog_compiler_pic='-Kconform_pic'
7616 lt_prog_compiler_static='-Bstatic'
7617 fi
7618 ;;
7619
7620 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7621 lt_prog_compiler_wl='-Wl,'
7622 lt_prog_compiler_pic='-KPIC'
7623 lt_prog_compiler_static='-Bstatic'
7624 ;;
7625
7626 unicos*)
7627 lt_prog_compiler_wl='-Wl,'
7628 lt_prog_compiler_can_build_shared=no
7629 ;;
7630
7631 uts4*)
7632 lt_prog_compiler_pic='-pic'
7633 lt_prog_compiler_static='-Bstatic'
7634 ;;
7635
7636 *)
7637 lt_prog_compiler_can_build_shared=no
7638 ;;
7639 esac
7640 fi
7641
7642 case $host_os in
7643 # For platforms which do not support PIC, -DPIC is meaningless:
7644 *djgpp*)
7645 lt_prog_compiler_pic=
7646 ;;
7647 *)
7648 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7649 ;;
7650 esac
7651 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7652 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7653
7654
7655
7656
7657
7658
7659 #
7660 # Check to make sure the PIC flag actually works.
7661 #
7662 if test -n "$lt_prog_compiler_pic"; then
7663 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7664 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7665 if test "${lt_prog_compiler_pic_works+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 else
7668 lt_prog_compiler_pic_works=no
7669 ac_outfile=conftest.$ac_objext
7670 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7671 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7672 # Insert the option either (1) after the last *FLAGS variable, or
7673 # (2) before a word containing "conftest.", or (3) at the end.
7674 # Note that $ac_compile itself does not contain backslashes and begins
7675 # with a dollar sign (not a hyphen), so the echo should work correctly.
7676 # The option is referenced via a variable to avoid confusing sed.
7677 lt_compile=`echo "$ac_compile" | $SED \
7678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7680 -e 's:$: $lt_compiler_flag:'`
7681 (eval echo "\"\$as_me:7681: $lt_compile\"" >&5)
7682 (eval "$lt_compile" 2>conftest.err)
7683 ac_status=$?
7684 cat conftest.err >&5
7685 echo "$as_me:7685: \$? = $ac_status" >&5
7686 if (exit $ac_status) && test -s "$ac_outfile"; then
7687 # The compiler can only warn and ignore the option if not recognized
7688 # So say no if there are warnings other than the usual output.
7689 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7690 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7691 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7692 lt_prog_compiler_pic_works=yes
7693 fi
7694 fi
7695 $RM conftest*
7696
7697 fi
7698 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7699 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7700
7701 if test x"$lt_prog_compiler_pic_works" = xyes; then
7702 case $lt_prog_compiler_pic in
7703 "" | " "*) ;;
7704 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7705 esac
7706 else
7707 lt_prog_compiler_pic=
7708 lt_prog_compiler_can_build_shared=no
7709 fi
7710
7711 fi
7712
7713
7714
7715
7716
7717
7718 #
7719 # Check to make sure the static flag actually works.
7720 #
7721 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7722 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7723 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7724 if test "${lt_prog_compiler_static_works+set}" = set; then
7725 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 else
7727 lt_prog_compiler_static_works=no
7728 save_LDFLAGS="$LDFLAGS"
7729 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7730 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7731 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7732 # The linker can only warn and ignore the option if not recognized
7733 # So say no if there are warnings
7734 if test -s conftest.err; then
7735 # Append any errors to the config.log.
7736 cat conftest.err 1>&5
7737 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7738 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7739 if diff conftest.exp conftest.er2 >/dev/null; then
7740 lt_prog_compiler_static_works=yes
7741 fi
7742 else
7743 lt_prog_compiler_static_works=yes
7744 fi
7745 fi
7746 $RM conftest*
7747 LDFLAGS="$save_LDFLAGS"
7748
7749 fi
7750 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7751 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7752
7753 if test x"$lt_prog_compiler_static_works" = xyes; then
7754 :
7755 else
7756 lt_prog_compiler_static=
7757 fi
7758
7759
7760
7761
7762
7763
7764
7765 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7766 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7767 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6
7769 else
7770 lt_cv_prog_compiler_c_o=no
7771 $RM -r conftest 2>/dev/null
7772 mkdir conftest
7773 cd conftest
7774 mkdir out
7775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7776
7777 lt_compiler_flag="-o out/conftest2.$ac_objext"
7778 # Insert the option either (1) after the last *FLAGS variable, or
7779 # (2) before a word containing "conftest.", or (3) at the end.
7780 # Note that $ac_compile itself does not contain backslashes and begins
7781 # with a dollar sign (not a hyphen), so the echo should work correctly.
7782 lt_compile=`echo "$ac_compile" | $SED \
7783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7785 -e 's:$: $lt_compiler_flag:'`
7786 (eval echo "\"\$as_me:7786: $lt_compile\"" >&5)
7787 (eval "$lt_compile" 2>out/conftest.err)
7788 ac_status=$?
7789 cat out/conftest.err >&5
7790 echo "$as_me:7790: \$? = $ac_status" >&5
7791 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7792 then
7793 # The compiler can only warn and ignore the option if not recognized
7794 # So say no if there are warnings
7795 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7796 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7797 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7798 lt_cv_prog_compiler_c_o=yes
7799 fi
7800 fi
7801 chmod u+w . 2>&5
7802 $RM conftest*
7803 # SGI C++ compiler will create directory out/ii_files/ for
7804 # template instantiation
7805 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7806 $RM out/* && rmdir out
7807 cd ..
7808 $RM -r conftest
7809 $RM conftest*
7810
7811 fi
7812 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7813 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7814
7815
7816
7817
7818
7819
7820 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7821 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7822 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 else
7825 lt_cv_prog_compiler_c_o=no
7826 $RM -r conftest 2>/dev/null
7827 mkdir conftest
7828 cd conftest
7829 mkdir out
7830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7831
7832 lt_compiler_flag="-o out/conftest2.$ac_objext"
7833 # Insert the option either (1) after the last *FLAGS variable, or
7834 # (2) before a word containing "conftest.", or (3) at the end.
7835 # Note that $ac_compile itself does not contain backslashes and begins
7836 # with a dollar sign (not a hyphen), so the echo should work correctly.
7837 lt_compile=`echo "$ac_compile" | $SED \
7838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7840 -e 's:$: $lt_compiler_flag:'`
7841 (eval echo "\"\$as_me:7841: $lt_compile\"" >&5)
7842 (eval "$lt_compile" 2>out/conftest.err)
7843 ac_status=$?
7844 cat out/conftest.err >&5
7845 echo "$as_me:7845: \$? = $ac_status" >&5
7846 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7847 then
7848 # The compiler can only warn and ignore the option if not recognized
7849 # So say no if there are warnings
7850 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7851 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7852 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7853 lt_cv_prog_compiler_c_o=yes
7854 fi
7855 fi
7856 chmod u+w . 2>&5
7857 $RM conftest*
7858 # SGI C++ compiler will create directory out/ii_files/ for
7859 # template instantiation
7860 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7861 $RM out/* && rmdir out
7862 cd ..
7863 $RM -r conftest
7864 $RM conftest*
7865
7866 fi
7867 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7868 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7869
7870
7871
7872
7873 hard_links="nottested"
7874 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7875 # do not overwrite the value of need_locks provided by the user
7876 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7877 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7878 hard_links=yes
7879 $RM conftest*
7880 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7881 touch conftest.a
7882 ln conftest.a conftest.b 2>&5 || hard_links=no
7883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7884 echo "$as_me:$LINENO: result: $hard_links" >&5
7885 echo "${ECHO_T}$hard_links" >&6
7886 if test "$hard_links" = no; then
7887 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7888 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7889 need_locks=warn
7890 fi
7891 else
7892 need_locks=no
7893 fi
7894
7895
7896
7897
7898
7899
7900 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7901 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7902
7903 runpath_var=
7904 allow_undefined_flag=
7905 always_export_symbols=no
7906 archive_cmds=
7907 archive_expsym_cmds=
7908 compiler_needs_object=no
7909 enable_shared_with_static_runtimes=no
7910 export_dynamic_flag_spec=
7911 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7912 hardcode_automatic=no
7913 hardcode_direct=no
7914 hardcode_direct_absolute=no
7915 hardcode_libdir_flag_spec=
7916 hardcode_libdir_flag_spec_ld=
7917 hardcode_libdir_separator=
7918 hardcode_minus_L=no
7919 hardcode_shlibpath_var=unsupported
7920 inherit_rpath=no
7921 link_all_deplibs=unknown
7922 module_cmds=
7923 module_expsym_cmds=
7924 old_archive_from_new_cmds=
7925 old_archive_from_expsyms_cmds=
7926 thread_safe_flag_spec=
7927 whole_archive_flag_spec=
7928 # include_expsyms should be a list of space-separated symbols to be *always*
7929 # included in the symbol list
7930 include_expsyms=
7931 # exclude_expsyms can be an extended regexp of symbols to exclude
7932 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7933 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7934 # as well as any symbol that contains `d'.
7935 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7936 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7937 # platforms (ab)use it in PIC code, but their linkers get confused if
7938 # the symbol is explicitly referenced. Since portable code cannot
7939 # rely on this symbol name, it's probably fine to never include it in
7940 # preloaded symbol tables.
7941 extract_expsyms_cmds=
7942
7943 case $host_os in
7944 cygwin* | mingw* | pw32*)
7945 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7946 # When not using gcc, we currently assume that we are using
7947 # Microsoft Visual C++.
7948 if test "$GCC" != yes; then
7949 with_gnu_ld=no
7950 fi
7951 ;;
7952 interix*)
7953 # we just hope/assume this is gcc and not c89 (= MSVC++)
7954 with_gnu_ld=yes
7955 ;;
7956 openbsd*)
7957 with_gnu_ld=no
7958 ;;
7959 esac
7960
7961 ld_shlibs=yes
7962 if test "$with_gnu_ld" = yes; then
7963 # If archive_cmds runs LD, not CC, wlarc should be empty
7964 wlarc='${wl}'
7965
7966 # Set some defaults for GNU ld with shared library support. These
7967 # are reset later if shared libraries are not supported. Putting them
7968 # here allows them to be overridden if necessary.
7969 runpath_var=LD_RUN_PATH
7970 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7971 export_dynamic_flag_spec='${wl}--export-dynamic'
7972 # ancient GNU ld didn't support --whole-archive et. al.
7973 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7974 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7975 else
7976 whole_archive_flag_spec=
7977 fi
7978 supports_anon_versioning=no
7979 case `$LD -v 2>&1` in
7980 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7981 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7982 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7983 *\ 2.11.*) ;; # other 2.11 versions
7984 *) supports_anon_versioning=yes ;;
7985 esac
7986
7987 # See if GNU ld supports shared libraries.
7988 case $host_os in
7989 aix3* | aix4* | aix5*)
7990 # On AIX/PPC, the GNU linker is very broken
7991 if test "$host_cpu" != ia64; then
7992 ld_shlibs=no
7993 cat <<_LT_EOF 1>&2
7994
7995 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7996 *** to be unable to reliably create shared libraries on AIX.
7997 *** Therefore, libtool is disabling shared libraries support. If you
7998 *** really care for shared libraries, you may want to modify your PATH
7999 *** so that a non-GNU linker is found, and then restart.
8000
8001 _LT_EOF
8002 fi
8003 ;;
8004
8005 amigaos*)
8006 if test "$host_cpu" = m68k; then
8007 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)'
8008 hardcode_libdir_flag_spec='-L$libdir'
8009 hardcode_minus_L=yes
8010 fi
8011
8012 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8013 # that the semantics of dynamic libraries on AmigaOS, at least up
8014 # to version 4, is to share data among multiple programs linked
8015 # with the same dynamic library. Since this doesn't match the
8016 # behavior of shared libraries on other platforms, we can't use
8017 # them.
8018 ld_shlibs=no
8019 ;;
8020
8021 beos*)
8022 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8023 allow_undefined_flag=unsupported
8024 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8025 # support --undefined. This deserves some investigation. FIXME
8026 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8027 else
8028 ld_shlibs=no
8029 fi
8030 ;;
8031
8032 cygwin* | mingw* | pw32*)
8033 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8034 # as there is no search path for DLLs.
8035 hardcode_libdir_flag_spec='-L$libdir'
8036 allow_undefined_flag=unsupported
8037 always_export_symbols=no
8038 enable_shared_with_static_runtimes=yes
8039 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8040
8041 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8043 # If the export-symbols file already is a .def file (1st line
8044 # is EXPORTS), use it as is; otherwise, prepend...
8045 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8046 cp $export_symbols $output_objdir/$soname.def;
8047 else
8048 echo EXPORTS > $output_objdir/$soname.def;
8049 cat $export_symbols >> $output_objdir/$soname.def;
8050 fi~
8051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8052 else
8053 ld_shlibs=no
8054 fi
8055 ;;
8056
8057 interix[3-9]*)
8058 hardcode_direct=no
8059 hardcode_shlibpath_var=no
8060 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8061 export_dynamic_flag_spec='${wl}-E'
8062 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8063 # Instead, shared libraries are loaded at an image base (0x10000000 by
8064 # default) and relocated if they conflict, which is a slow very memory
8065 # consuming and fragmenting process. To avoid this, we pick a random,
8066 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8067 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8068 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8069 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'
8070 ;;
8071
8072 gnu* | linux* | tpf* | k*bsd*-gnu)
8073 tmp_diet=no
8074 if test "$host_os" = linux-dietlibc; then
8075 case $cc_basename in
8076 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8077 esac
8078 fi
8079 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8080 && test "$tmp_diet" = no
8081 then
8082 tmp_addflag=
8083 case $cc_basename,$host_cpu in
8084 pgcc*) # Portland Group C compiler
8085 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8086 tmp_addflag=' $pic_flag'
8087 ;;
8088 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8089 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8090 tmp_addflag=' $pic_flag -Mnomain' ;;
8091 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8092 tmp_addflag=' -i_dynamic' ;;
8093 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8094 tmp_addflag=' -i_dynamic -nofor_main' ;;
8095 ifc* | ifort*) # Intel Fortran compiler
8096 tmp_addflag=' -nofor_main' ;;
8097 esac
8098 case `$CC -V 2>&1 | sed 5q` in
8099 *Sun\ C*) # Sun C 5.9
8100 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8101 compiler_needs_object=yes
8102 tmp_sharedflag='-G' ;;
8103 *Sun\ F*) # Sun Fortran 8.3
8104 tmp_sharedflag='-G' ;;
8105 *)
8106 tmp_sharedflag='-shared' ;;
8107 esac
8108 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8109
8110 if test "x$supports_anon_versioning" = xyes; then
8111 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8112 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8113 echo "local: *; };" >> $output_objdir/$libname.ver~
8114 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8115 fi
8116 else
8117 ld_shlibs=no
8118 fi
8119 ;;
8120
8121 netbsd*)
8122 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8123 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8124 wlarc=
8125 else
8126 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8127 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8128 fi
8129 ;;
8130
8131 solaris*)
8132 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8133 ld_shlibs=no
8134 cat <<_LT_EOF 1>&2
8135
8136 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8137 *** create shared libraries on Solaris systems. Therefore, libtool
8138 *** is disabling shared libraries support. We urge you to upgrade GNU
8139 *** binutils to release 2.9.1 or newer. Another option is to modify
8140 *** your PATH or compiler configuration so that the native linker is
8141 *** used, and then restart.
8142
8143 _LT_EOF
8144 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8145 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8147 else
8148 ld_shlibs=no
8149 fi
8150 ;;
8151
8152 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8153 case `$LD -v 2>&1` in
8154 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8155 ld_shlibs=no
8156 cat <<_LT_EOF 1>&2
8157
8158 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8159 *** reliably create shared libraries on SCO systems. Therefore, libtool
8160 *** is disabling shared libraries support. We urge you to upgrade GNU
8161 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8162 *** your PATH or compiler configuration so that the native linker is
8163 *** used, and then restart.
8164
8165 _LT_EOF
8166 ;;
8167 *)
8168 # For security reasons, it is highly recommended that you always
8169 # use absolute paths for naming shared libraries, and exclude the
8170 # DT_RUNPATH tag from executables and libraries. But doing so
8171 # requires that you compile everything twice, which is a pain.
8172 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8174 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8175 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8176 else
8177 ld_shlibs=no
8178 fi
8179 ;;
8180 esac
8181 ;;
8182
8183 sunos4*)
8184 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8185 wlarc=
8186 hardcode_direct=yes
8187 hardcode_shlibpath_var=no
8188 ;;
8189
8190 *)
8191 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8192 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8193 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8194 else
8195 ld_shlibs=no
8196 fi
8197 ;;
8198 esac
8199
8200 if test "$ld_shlibs" = no; then
8201 runpath_var=
8202 hardcode_libdir_flag_spec=
8203 export_dynamic_flag_spec=
8204 whole_archive_flag_spec=
8205 fi
8206 else
8207 # PORTME fill in a description of your system's linker (not GNU ld)
8208 case $host_os in
8209 aix3*)
8210 allow_undefined_flag=unsupported
8211 always_export_symbols=yes
8212 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'
8213 # Note: this linker hardcodes the directories in LIBPATH if there
8214 # are no directories specified by -L.
8215 hardcode_minus_L=yes
8216 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8217 # Neither direct hardcoding nor static linking is supported with a
8218 # broken collect2.
8219 hardcode_direct=unsupported
8220 fi
8221 ;;
8222
8223 aix4* | aix5*)
8224 if test "$host_cpu" = ia64; then
8225 # On IA64, the linker does run time linking by default, so we don't
8226 # have to do anything special.
8227 aix_use_runtimelinking=no
8228 exp_sym_flag='-Bexport'
8229 no_entry_flag=""
8230 else
8231 # If we're using GNU nm, then we don't want the "-C" option.
8232 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8233 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8234 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8235 else
8236 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'
8237 fi
8238 aix_use_runtimelinking=no
8239
8240 # Test if we are trying to use run time linking or normal
8241 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8242 # need to do runtime linking.
8243 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8244 for ld_flag in $LDFLAGS; do
8245 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8246 aix_use_runtimelinking=yes
8247 break
8248 fi
8249 done
8250 ;;
8251 esac
8252
8253 exp_sym_flag='-bexport'
8254 no_entry_flag='-bnoentry'
8255 fi
8256
8257 # When large executables or shared objects are built, AIX ld can
8258 # have problems creating the table of contents. If linking a library
8259 # or program results in "error TOC overflow" add -mminimal-toc to
8260 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8261 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8262
8263 archive_cmds=''
8264 hardcode_direct=yes
8265 hardcode_direct_absolute=yes
8266 hardcode_libdir_separator=':'
8267 link_all_deplibs=yes
8268 file_list_spec='${wl}-f,'
8269
8270 if test "$GCC" = yes; then
8271 case $host_os in aix4.[012]|aix4.[012].*)
8272 # We only want to do this on AIX 4.2 and lower, the check
8273 # below for broken collect2 doesn't work under 4.3+
8274 collect2name=`${CC} -print-prog-name=collect2`
8275 if test -f "$collect2name" &&
8276 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8277 then
8278 # We have reworked collect2
8279 :
8280 else
8281 # We have old collect2
8282 hardcode_direct=unsupported
8283 # It fails to find uninstalled libraries when the uninstalled
8284 # path is not listed in the libpath. Setting hardcode_minus_L
8285 # to unsupported forces relinking
8286 hardcode_minus_L=yes
8287 hardcode_libdir_flag_spec='-L$libdir'
8288 hardcode_libdir_separator=
8289 fi
8290 ;;
8291 esac
8292 shared_flag='-shared'
8293 if test "$aix_use_runtimelinking" = yes; then
8294 shared_flag="$shared_flag "'${wl}-G'
8295 fi
8296 else
8297 # not using gcc
8298 if test "$host_cpu" = ia64; then
8299 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8300 # chokes on -Wl,-G. The following line is correct:
8301 shared_flag='-G'
8302 else
8303 if test "$aix_use_runtimelinking" = yes; then
8304 shared_flag='${wl}-G'
8305 else
8306 shared_flag='${wl}-bM:SRE'
8307 fi
8308 fi
8309 fi
8310
8311 # It seems that -bexpall does not export symbols beginning with
8312 # underscore (_), so it is better to generate a list of symbols to export.
8313 always_export_symbols=yes
8314 if test "$aix_use_runtimelinking" = yes; then
8315 # Warning - without using the other runtime loading flags (-brtl),
8316 # -berok will link without error, but may produce a broken library.
8317 allow_undefined_flag='-berok'
8318 # Determine the default libpath from the value encoded in an
8319 # empty executable.
8320 if test x$gcc_no_link = xyes; then
8321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8323 { (exit 1); exit 1; }; }
8324 fi
8325 cat >conftest.$ac_ext <<_ACEOF
8326 /* confdefs.h. */
8327 _ACEOF
8328 cat confdefs.h >>conftest.$ac_ext
8329 cat >>conftest.$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8331
8332 int
8333 main ()
8334 {
8335
8336 ;
8337 return 0;
8338 }
8339 _ACEOF
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8342 (eval $ac_link) 2>conftest.er1
8343 ac_status=$?
8344 grep -v '^ *+' conftest.er1 >conftest.err
8345 rm -f conftest.er1
8346 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try='test -z "$ac_c_werror_flag"
8350 || test ! -s conftest.err'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352 (eval $ac_try) 2>&5
8353 ac_status=$?
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; } &&
8356 { ac_try='test -s conftest$ac_exeext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358 (eval $ac_try) 2>&5
8359 ac_status=$?
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362
8363 lt_aix_libpath_sed='
8364 /Import File Strings/,/^$/ {
8365 /^0/ {
8366 s/^0 *\(.*\)$/\1/
8367 p
8368 }
8369 }'
8370 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8371 # Check for a 64-bit object if we didn't find anything.
8372 if test -z "$aix_libpath"; then
8373 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8374 fi
8375 else
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8378
8379 fi
8380 rm -f conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8383
8384 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8385 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8386 else
8387 if test "$host_cpu" = ia64; then
8388 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8389 allow_undefined_flag="-z nodefs"
8390 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"
8391 else
8392 # Determine the default libpath from the value encoded in an
8393 # empty executable.
8394 if test x$gcc_no_link = xyes; then
8395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8397 { (exit 1); exit 1; }; }
8398 fi
8399 cat >conftest.$ac_ext <<_ACEOF
8400 /* confdefs.h. */
8401 _ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405
8406 int
8407 main ()
8408 {
8409
8410 ;
8411 return 0;
8412 }
8413 _ACEOF
8414 rm -f conftest.$ac_objext conftest$ac_exeext
8415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8416 (eval $ac_link) 2>conftest.er1
8417 ac_status=$?
8418 grep -v '^ *+' conftest.er1 >conftest.err
8419 rm -f conftest.er1
8420 cat conftest.err >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } &&
8423 { ac_try='test -z "$ac_c_werror_flag"
8424 || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try='test -s conftest$ac_exeext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 (eval $ac_try) 2>&5
8433 ac_status=$?
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436
8437 lt_aix_libpath_sed='
8438 /Import File Strings/,/^$/ {
8439 /^0/ {
8440 s/^0 *\(.*\)$/\1/
8441 p
8442 }
8443 }'
8444 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8445 # Check for a 64-bit object if we didn't find anything.
8446 if test -z "$aix_libpath"; then
8447 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8448 fi
8449 else
8450 echo "$as_me: failed program was:" >&5
8451 sed 's/^/| /' conftest.$ac_ext >&5
8452
8453 fi
8454 rm -f conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8457
8458 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8459 # Warning - without using the other run time loading flags,
8460 # -berok will link without error, but may produce a broken library.
8461 no_undefined_flag=' ${wl}-bernotok'
8462 allow_undefined_flag=' ${wl}-berok'
8463 # Exported symbols can be pulled into shared objects from archives
8464 whole_archive_flag_spec='$convenience'
8465 archive_cmds_need_lc=yes
8466 # This is similar to how AIX traditionally builds its shared libraries.
8467 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'
8468 fi
8469 fi
8470 ;;
8471
8472 amigaos*)
8473 if test "$host_cpu" = m68k; then
8474 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)'
8475 hardcode_libdir_flag_spec='-L$libdir'
8476 hardcode_minus_L=yes
8477 fi
8478 # see comment about different semantics on the GNU ld section
8479 ld_shlibs=no
8480 ;;
8481
8482 bsdi[45]*)
8483 export_dynamic_flag_spec=-rdynamic
8484 ;;
8485
8486 cygwin* | mingw* | pw32*)
8487 # When not using gcc, we currently assume that we are using
8488 # Microsoft Visual C++.
8489 # hardcode_libdir_flag_spec is actually meaningless, as there is
8490 # no search path for DLLs.
8491 hardcode_libdir_flag_spec=' '
8492 allow_undefined_flag=unsupported
8493 # Tell ltmain to make .lib files, not .a files.
8494 libext=lib
8495 # Tell ltmain to make .dll files, not .so files.
8496 shrext_cmds=".dll"
8497 # FIXME: Setting linknames here is a bad hack.
8498 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8499 # The linker will automatically build a .lib file if we build a DLL.
8500 old_archive_from_new_cmds='true'
8501 # FIXME: Should let the user specify the lib program.
8502 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8503 fix_srcfile_path='`cygpath -w "$srcfile"`'
8504 enable_shared_with_static_runtimes=yes
8505 ;;
8506
8507 darwin* | rhapsody*)
8508 case $host_os in
8509 rhapsody* | darwin1.[012])
8510 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8511 ;;
8512 *) # Darwin 1.3 on
8513 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8514 10.[012])
8515 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8516 ;;
8517 10.*)
8518 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8519 ;;
8520 esac
8521 ;;
8522 esac
8523 archive_cmds_need_lc=no
8524 hardcode_direct=no
8525 hardcode_automatic=yes
8526 hardcode_shlibpath_var=unsupported
8527 whole_archive_flag_spec=''
8528 link_all_deplibs=yes
8529 if test "$GCC" = yes ; then
8530 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 else
8533 lt_cv_apple_cc_single_mod=no
8534 if test -z "${LT_MULTI_MODULE}"; then
8535 # By default we will add the -single_module flag. You can override
8536 # by either setting the environment variable LT_MULTI_MODULE
8537 # non-empty at configure time, or by adding -multi-module to the
8538 # link flags.
8539 echo "int foo(void){return 1;}" > conftest.c
8540 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8541 -dynamiclib ${wl}-single_module conftest.c
8542 if test -f libconftest.dylib; then
8543 lt_cv_apple_cc_single_mod=yes
8544 rm libconftest.dylib
8545 fi
8546 rm conftest.$ac_ext
8547 fi
8548 fi
8549
8550 output_verbose_link_cmd=echo
8551 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8552 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8553 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8554 else
8555 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8556 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8557 fi
8558 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8559 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8560 else
8561 case $cc_basename in
8562 xlc*)
8563 output_verbose_link_cmd=echo
8564 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8565 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8566 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8567 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8568 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8569 ;;
8570 *)
8571 ld_shlibs=no
8572 ;;
8573 esac
8574 fi
8575 ;;
8576
8577 dgux*)
8578 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8579 hardcode_libdir_flag_spec='-L$libdir'
8580 hardcode_shlibpath_var=no
8581 ;;
8582
8583 freebsd1*)
8584 ld_shlibs=no
8585 ;;
8586
8587 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8588 # support. Future versions do this automatically, but an explicit c++rt0.o
8589 # does not break anything, and helps significantly (at the cost of a little
8590 # extra space).
8591 freebsd2.2*)
8592 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8593 hardcode_libdir_flag_spec='-R$libdir'
8594 hardcode_direct=yes
8595 hardcode_shlibpath_var=no
8596 ;;
8597
8598 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8599 freebsd2*)
8600 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8601 hardcode_direct=yes
8602 hardcode_minus_L=yes
8603 hardcode_shlibpath_var=no
8604 ;;
8605
8606 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8607 freebsd* | dragonfly*)
8608 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8609 hardcode_libdir_flag_spec='-R$libdir'
8610 hardcode_direct=yes
8611 hardcode_shlibpath_var=no
8612 ;;
8613
8614 hpux9*)
8615 if test "$GCC" = yes; then
8616 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'
8617 else
8618 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'
8619 fi
8620 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8621 hardcode_libdir_separator=:
8622 hardcode_direct=yes
8623
8624 # hardcode_minus_L: Not really in the search PATH,
8625 # but as the default location of the library.
8626 hardcode_minus_L=yes
8627 export_dynamic_flag_spec='${wl}-E'
8628 ;;
8629
8630 hpux10*)
8631 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8632 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8633 else
8634 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8635 fi
8636 if test "$with_gnu_ld" = no; then
8637 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8638 hardcode_libdir_flag_spec_ld='+b $libdir'
8639 hardcode_libdir_separator=:
8640 hardcode_direct=yes
8641 hardcode_direct_absolute=yes
8642 export_dynamic_flag_spec='${wl}-E'
8643 # hardcode_minus_L: Not really in the search PATH,
8644 # but as the default location of the library.
8645 hardcode_minus_L=yes
8646 fi
8647 ;;
8648
8649 hpux11*)
8650 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8651 case $host_cpu in
8652 hppa*64*)
8653 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8654 ;;
8655 ia64*)
8656 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8657 ;;
8658 *)
8659 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8660 ;;
8661 esac
8662 else
8663 case $host_cpu in
8664 hppa*64*)
8665 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8666 ;;
8667 ia64*)
8668 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8669 ;;
8670 *)
8671 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8672 ;;
8673 esac
8674 fi
8675 if test "$with_gnu_ld" = no; then
8676 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8677 hardcode_libdir_separator=:
8678
8679 case $host_cpu in
8680 hppa*64*|ia64*)
8681 hardcode_direct=no
8682 hardcode_shlibpath_var=no
8683 ;;
8684 *)
8685 hardcode_direct=yes
8686 hardcode_direct_absolute=yes
8687 export_dynamic_flag_spec='${wl}-E'
8688
8689 # hardcode_minus_L: Not really in the search PATH,
8690 # but as the default location of the library.
8691 hardcode_minus_L=yes
8692 ;;
8693 esac
8694 fi
8695 ;;
8696
8697 irix5* | irix6* | nonstopux*)
8698 if test "$GCC" = yes; then
8699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8700 # Try to use the -exported_symbol ld option, if it does not
8701 # work, assume that -exports_file does not work either and
8702 # implicitly export all symbols.
8703 save_LDFLAGS="$LDFLAGS"
8704 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8705 if test x$gcc_no_link = xyes; then
8706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8708 { (exit 1); exit 1; }; }
8709 fi
8710 cat >conftest.$ac_ext <<_ACEOF
8711 int foo(void) {}
8712 _ACEOF
8713 rm -f conftest.$ac_objext conftest$ac_exeext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8715 (eval $ac_link) 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try='test -z "$ac_c_werror_flag"
8723 || test ! -s conftest.err'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 (eval $ac_try) 2>&5
8726 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try='test -s conftest$ac_exeext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 (eval $ac_try) 2>&5
8732 ac_status=$?
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8736
8737 else
8738 echo "$as_me: failed program was:" >&5
8739 sed 's/^/| /' conftest.$ac_ext >&5
8740
8741 fi
8742 rm -f conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 LDFLAGS="$save_LDFLAGS"
8745 else
8746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8747 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8748 fi
8749 archive_cmds_need_lc='no'
8750 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8751 hardcode_libdir_separator=:
8752 inherit_rpath=yes
8753 link_all_deplibs=yes
8754 ;;
8755
8756 netbsd*)
8757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8758 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8759 else
8760 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8761 fi
8762 hardcode_libdir_flag_spec='-R$libdir'
8763 hardcode_direct=yes
8764 hardcode_shlibpath_var=no
8765 ;;
8766
8767 newsos6)
8768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8769 hardcode_direct=yes
8770 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8771 hardcode_libdir_separator=:
8772 hardcode_shlibpath_var=no
8773 ;;
8774
8775 *nto* | *qnx*)
8776 ;;
8777
8778 openbsd*)
8779 hardcode_direct=yes
8780 hardcode_shlibpath_var=no
8781 hardcode_direct_absolute=yes
8782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8786 export_dynamic_flag_spec='${wl}-E'
8787 else
8788 case $host_os in
8789 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_libdir_flag_spec='-R$libdir'
8792 ;;
8793 *)
8794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8795 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8796 ;;
8797 esac
8798 fi
8799 ;;
8800
8801 os2*)
8802 hardcode_libdir_flag_spec='-L$libdir'
8803 hardcode_minus_L=yes
8804 allow_undefined_flag=unsupported
8805 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'
8806 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8807 ;;
8808
8809 osf3*)
8810 if test "$GCC" = yes; then
8811 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8812 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8813 else
8814 allow_undefined_flag=' -expect_unresolved \*'
8815 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8816 fi
8817 archive_cmds_need_lc='no'
8818 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8819 hardcode_libdir_separator=:
8820 ;;
8821
8822 osf4* | osf5*) # as osf3* with the addition of -msym flag
8823 if test "$GCC" = yes; then
8824 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8825 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8826 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8827 else
8828 allow_undefined_flag=' -expect_unresolved \*'
8829 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8830 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~
8831 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8832
8833 # Both c and cxx compiler support -rpath directly
8834 hardcode_libdir_flag_spec='-rpath $libdir'
8835 fi
8836 archive_cmds_need_lc='no'
8837 hardcode_libdir_separator=:
8838 ;;
8839
8840 solaris*)
8841 no_undefined_flag=' -z defs'
8842 if test "$GCC" = yes; then
8843 wlarc='${wl}'
8844 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8845 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8846 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8847 else
8848 case `$CC -V 2>&1` in
8849 *"Compilers 5.0"*)
8850 wlarc=''
8851 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8852 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8853 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8854 ;;
8855 *)
8856 wlarc='${wl}'
8857 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8859 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8860 ;;
8861 esac
8862 fi
8863 hardcode_libdir_flag_spec='-R$libdir'
8864 hardcode_shlibpath_var=no
8865 case $host_os in
8866 solaris2.[0-5] | solaris2.[0-5].*) ;;
8867 *)
8868 # The compiler driver will combine and reorder linker options,
8869 # but understands `-z linker_flag'. GCC discards it without `$wl',
8870 # but is careful enough not to reorder.
8871 # Supported since Solaris 2.6 (maybe 2.5.1?)
8872 if test "$GCC" = yes; then
8873 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8874 else
8875 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8876 fi
8877 ;;
8878 esac
8879 link_all_deplibs=yes
8880 ;;
8881
8882 sunos4*)
8883 if test "x$host_vendor" = xsequent; then
8884 # Use $CC to link under sequent, because it throws in some extra .o
8885 # files that make .init and .fini sections work.
8886 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8887 else
8888 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8889 fi
8890 hardcode_libdir_flag_spec='-L$libdir'
8891 hardcode_direct=yes
8892 hardcode_minus_L=yes
8893 hardcode_shlibpath_var=no
8894 ;;
8895
8896 sysv4)
8897 case $host_vendor in
8898 sni)
8899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8900 hardcode_direct=yes # is this really true???
8901 ;;
8902 siemens)
8903 ## LD is ld it makes a PLAMLIB
8904 ## CC just makes a GrossModule.
8905 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8906 reload_cmds='$CC -r -o $output$reload_objs'
8907 hardcode_direct=no
8908 ;;
8909 motorola)
8910 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8911 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8912 ;;
8913 esac
8914 runpath_var='LD_RUN_PATH'
8915 hardcode_shlibpath_var=no
8916 ;;
8917
8918 sysv4.3*)
8919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920 hardcode_shlibpath_var=no
8921 export_dynamic_flag_spec='-Bexport'
8922 ;;
8923
8924 sysv4*MP*)
8925 if test -d /usr/nec; then
8926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_shlibpath_var=no
8928 runpath_var=LD_RUN_PATH
8929 hardcode_runpath_var=yes
8930 ld_shlibs=yes
8931 fi
8932 ;;
8933
8934 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8935 no_undefined_flag='${wl}-z,text'
8936 archive_cmds_need_lc=no
8937 hardcode_shlibpath_var=no
8938 runpath_var='LD_RUN_PATH'
8939
8940 if test "$GCC" = yes; then
8941 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8942 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8943 else
8944 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8946 fi
8947 ;;
8948
8949 sysv5* | sco3.2v5* | sco5v6*)
8950 # Note: We can NOT use -z defs as we might desire, because we do not
8951 # link with -lc, and that would cause any symbols used from libc to
8952 # always be unresolved, which means just about no library would
8953 # ever link correctly. If we're not using GNU ld we use -z text
8954 # though, which does catch some bad symbols but isn't as heavy-handed
8955 # as -z defs.
8956 no_undefined_flag='${wl}-z,text'
8957 allow_undefined_flag='${wl}-z,nodefs'
8958 archive_cmds_need_lc=no
8959 hardcode_shlibpath_var=no
8960 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8961 hardcode_libdir_separator=':'
8962 link_all_deplibs=yes
8963 export_dynamic_flag_spec='${wl}-Bexport'
8964 runpath_var='LD_RUN_PATH'
8965
8966 if test "$GCC" = yes; then
8967 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8968 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8969 else
8970 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8972 fi
8973 ;;
8974
8975 uts4*)
8976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8977 hardcode_libdir_flag_spec='-L$libdir'
8978 hardcode_shlibpath_var=no
8979 ;;
8980
8981 *)
8982 ld_shlibs=no
8983 ;;
8984 esac
8985
8986 if test x$host_vendor = xsni; then
8987 case $host in
8988 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8989 export_dynamic_flag_spec='${wl}-Blargedynsym'
8990 ;;
8991 esac
8992 fi
8993 fi
8994
8995 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8996 echo "${ECHO_T}$ld_shlibs" >&6
8997 test "$ld_shlibs" = no && can_build_shared=no
8998
8999 with_gnu_ld=$with_gnu_ld
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015 #
9016 # Do we need to explicitly link libc?
9017 #
9018 case "x$archive_cmds_need_lc" in
9019 x|xyes)
9020 # Assume -lc should be added
9021 archive_cmds_need_lc=yes
9022
9023 if test "$enable_shared" = yes && test "$GCC" = yes; then
9024 case $archive_cmds in
9025 *'~'*)
9026 # FIXME: we may have to deal with multi-command sequences.
9027 ;;
9028 '$CC '*)
9029 # Test whether the compiler implicitly links with -lc since on some
9030 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9031 # to ld, don't add -lc before -lgcc.
9032 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9033 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9034 $RM conftest*
9035 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9036
9037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9038 (eval $ac_compile) 2>&5
9039 ac_status=$?
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); } 2>conftest.err; then
9042 soname=conftest
9043 lib=conftest
9044 libobjs=conftest.$ac_objext
9045 deplibs=
9046 wl=$lt_prog_compiler_wl
9047 pic_flag=$lt_prog_compiler_pic
9048 compiler_flags=-v
9049 linker_flags=-v
9050 verstring=
9051 output_objdir=.
9052 libname=conftest
9053 lt_save_allow_undefined_flag=$allow_undefined_flag
9054 allow_undefined_flag=
9055 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9056 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9057 ac_status=$?
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }
9060 then
9061 archive_cmds_need_lc=no
9062 else
9063 archive_cmds_need_lc=yes
9064 fi
9065 allow_undefined_flag=$lt_save_allow_undefined_flag
9066 else
9067 cat conftest.err 1>&5
9068 fi
9069 $RM conftest*
9070 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9071 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9072 ;;
9073 esac
9074 fi
9075 ;;
9076 esac
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9235 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9236 withGCC=$GCC
9237 if test "$withGCC" = yes; then
9238 case $host_os in
9239 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9240 *) lt_awk_arg="/^libraries:/" ;;
9241 esac
9242 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9243 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9244 # if the path contains ";" then we assume it to be the separator
9245 # otherwise default to the standard path separator (i.e. ":") - it is
9246 # assumed that no part of a normal pathname contains ";" but that should
9247 # okay in the real world where ";" in dirpaths is itself problematic.
9248 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9249 else
9250 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9251 fi
9252 # Ok, now we have the path, separated by spaces, we can step through it
9253 # and add multilib dir if necessary.
9254 lt_tmp_lt_search_path_spec=
9255 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9256 for lt_sys_path in $lt_search_path_spec; do
9257 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9258 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9259 else
9260 test -d "$lt_sys_path" && \
9261 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9262 fi
9263 done
9264 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9265 BEGIN {RS=" "; FS="/|\n";} {
9266 lt_foo="";
9267 lt_count=0;
9268 for (lt_i = NF; lt_i > 0; lt_i--) {
9269 if ($lt_i != "" && $lt_i != ".") {
9270 if ($lt_i == "..") {
9271 lt_count++;
9272 } else {
9273 if (lt_count == 0) {
9274 lt_foo="/" $lt_i lt_foo;
9275 } else {
9276 lt_count--;
9277 }
9278 }
9279 }
9280 }
9281 if (lt_foo != "") { lt_freq[lt_foo]++; }
9282 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9283 }'`
9284 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9285 else
9286 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9287 fi
9288 library_names_spec=
9289 libname_spec='lib$name'
9290 soname_spec=
9291 shrext_cmds=".so"
9292 postinstall_cmds=
9293 postuninstall_cmds=
9294 finish_cmds=
9295 finish_eval=
9296 shlibpath_var=
9297 shlibpath_overrides_runpath=unknown
9298 version_type=none
9299 dynamic_linker="$host_os ld.so"
9300 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9301 need_lib_prefix=unknown
9302 hardcode_into_libs=no
9303
9304 # when you set need_version to no, make sure it does not cause -set_version
9305 # flags to be left without arguments
9306 need_version=unknown
9307
9308 case $host_os in
9309 aix3*)
9310 version_type=linux
9311 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9312 shlibpath_var=LIBPATH
9313
9314 # AIX 3 has no versioning support, so we append a major version to the name.
9315 soname_spec='${libname}${release}${shared_ext}$major'
9316 ;;
9317
9318 aix4* | aix5*)
9319 version_type=linux
9320 need_lib_prefix=no
9321 need_version=no
9322 hardcode_into_libs=yes
9323 if test "$host_cpu" = ia64; then
9324 # AIX 5 supports IA64
9325 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9326 shlibpath_var=LD_LIBRARY_PATH
9327 else
9328 # With GCC up to 2.95.x, collect2 would create an import file
9329 # for dependence libraries. The import file would start with
9330 # the line `#! .'. This would cause the generated library to
9331 # depend on `.', always an invalid library. This was fixed in
9332 # development snapshots of GCC prior to 3.0.
9333 case $host_os in
9334 aix4 | aix4.[01] | aix4.[01].*)
9335 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9336 echo ' yes '
9337 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9338 :
9339 else
9340 can_build_shared=no
9341 fi
9342 ;;
9343 esac
9344 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9345 # soname into executable. Probably we can add versioning support to
9346 # collect2, so additional links can be useful in future.
9347 if test "$aix_use_runtimelinking" = yes; then
9348 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9349 # instead of lib<name>.a to let people know that these are not
9350 # typical AIX shared libraries.
9351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9352 else
9353 # We preserve .a as extension for shared libraries through AIX4.2
9354 # and later when we are not doing run time linking.
9355 library_names_spec='${libname}${release}.a $libname.a'
9356 soname_spec='${libname}${release}${shared_ext}$major'
9357 fi
9358 shlibpath_var=LIBPATH
9359 fi
9360 ;;
9361
9362 amigaos*)
9363 if test "$host_cpu" = m68k; then
9364 library_names_spec='$libname.ixlibrary $libname.a'
9365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9366 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9367 else
9368 dynamic_linker=no
9369 fi
9370 ;;
9371
9372 beos*)
9373 library_names_spec='${libname}${shared_ext}'
9374 dynamic_linker="$host_os ld.so"
9375 shlibpath_var=LIBRARY_PATH
9376 ;;
9377
9378 bsdi[45]*)
9379 version_type=linux
9380 need_version=no
9381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382 soname_spec='${libname}${release}${shared_ext}$major'
9383 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9384 shlibpath_var=LD_LIBRARY_PATH
9385 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9386 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9387 # the default ld.so.conf also contains /usr/contrib/lib and
9388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9389 # libtool to hard-code these into programs
9390 ;;
9391
9392 cygwin* | mingw* | pw32*)
9393 version_type=windows
9394 shrext_cmds=".dll"
9395 need_version=no
9396 need_lib_prefix=no
9397
9398 case $withGCC,$host_os in
9399 yes,cygwin* | yes,mingw* | yes,pw32*)
9400 library_names_spec='$libname.dll.a'
9401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9402 postinstall_cmds='base_file=`basename \${file}`~
9403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9404 dldir=$destdir/`dirname \$dlpath`~
9405 test -d \$dldir || mkdir -p \$dldir~
9406 $install_prog $dir/$dlname \$dldir/$dlname~
9407 chmod a+x \$dldir/$dlname~
9408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9410 fi'
9411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9412 dlpath=$dir/\$dldll~
9413 $RM \$dlpath'
9414 shlibpath_overrides_runpath=yes
9415
9416 case $host_os in
9417 cygwin*)
9418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9420 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9421 ;;
9422 mingw*)
9423 # MinGW DLLs use traditional 'lib' prefix
9424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9425 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9426 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9427 # It is most probably a Windows format PATH printed by
9428 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9429 # path with ; separators, and with drive letters. We can handle the
9430 # drive letters (cygwin fileutils understands them), so leave them,
9431 # especially as we might pass files found there to a mingw objdump,
9432 # which wouldn't understand a cygwinified path. Ahh.
9433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9434 else
9435 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9436 fi
9437 ;;
9438 pw32*)
9439 # pw32 DLLs use 'pw' prefix rather than 'lib'
9440 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9441 ;;
9442 esac
9443 ;;
9444
9445 *)
9446 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9447 ;;
9448 esac
9449 dynamic_linker='Win32 ld.exe'
9450 # FIXME: first we should search . and the directory the executable is in
9451 shlibpath_var=PATH
9452 ;;
9453
9454 darwin* | rhapsody*)
9455 dynamic_linker="$host_os dyld"
9456 version_type=darwin
9457 need_lib_prefix=no
9458 need_version=no
9459 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9460 soname_spec='${libname}${release}${major}$shared_ext'
9461 shlibpath_overrides_runpath=yes
9462 shlibpath_var=DYLD_LIBRARY_PATH
9463 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9464
9465 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9466 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9467 ;;
9468
9469 dgux*)
9470 version_type=linux
9471 need_lib_prefix=no
9472 need_version=no
9473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9474 soname_spec='${libname}${release}${shared_ext}$major'
9475 shlibpath_var=LD_LIBRARY_PATH
9476 ;;
9477
9478 freebsd1*)
9479 dynamic_linker=no
9480 ;;
9481
9482 freebsd* | dragonfly*)
9483 # DragonFly does not have aout. When/if they implement a new
9484 # versioning mechanism, adjust this.
9485 if test -x /usr/bin/objformat; then
9486 objformat=`/usr/bin/objformat`
9487 else
9488 case $host_os in
9489 freebsd[123]*) objformat=aout ;;
9490 *) objformat=elf ;;
9491 esac
9492 fi
9493 version_type=freebsd-$objformat
9494 case $version_type in
9495 freebsd-elf*)
9496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9497 need_version=no
9498 need_lib_prefix=no
9499 ;;
9500 freebsd-*)
9501 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9502 need_version=yes
9503 ;;
9504 esac
9505 shlibpath_var=LD_LIBRARY_PATH
9506 case $host_os in
9507 freebsd2*)
9508 shlibpath_overrides_runpath=yes
9509 ;;
9510 freebsd3.[01]* | freebsdelf3.[01]*)
9511 shlibpath_overrides_runpath=yes
9512 hardcode_into_libs=yes
9513 ;;
9514 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9515 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9516 shlibpath_overrides_runpath=no
9517 hardcode_into_libs=yes
9518 ;;
9519 *) # from 4.6 on, and DragonFly
9520 shlibpath_overrides_runpath=yes
9521 hardcode_into_libs=yes
9522 ;;
9523 esac
9524 ;;
9525
9526 gnu*)
9527 version_type=linux
9528 need_lib_prefix=no
9529 need_version=no
9530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9531 soname_spec='${libname}${release}${shared_ext}$major'
9532 shlibpath_var=LD_LIBRARY_PATH
9533 hardcode_into_libs=yes
9534 ;;
9535
9536 hpux9* | hpux10* | hpux11*)
9537 # Give a soname corresponding to the major version so that dld.sl refuses to
9538 # link against other versions.
9539 version_type=sunos
9540 need_lib_prefix=no
9541 need_version=no
9542 case $host_cpu in
9543 ia64*)
9544 shrext_cmds='.so'
9545 hardcode_into_libs=yes
9546 dynamic_linker="$host_os dld.so"
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 if test "X$HPUX_IA64_MODE" = X32; then
9552 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9553 else
9554 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9555 fi
9556 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9557 ;;
9558 hppa*64*)
9559 shrext_cmds='.sl'
9560 hardcode_into_libs=yes
9561 dynamic_linker="$host_os dld.sl"
9562 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9563 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9565 soname_spec='${libname}${release}${shared_ext}$major'
9566 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9567 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9568 ;;
9569 *)
9570 shrext_cmds='.sl'
9571 dynamic_linker="$host_os dld.sl"
9572 shlibpath_var=SHLIB_PATH
9573 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9575 soname_spec='${libname}${release}${shared_ext}$major'
9576 ;;
9577 esac
9578 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9579 postinstall_cmds='chmod 555 $lib'
9580 ;;
9581
9582 interix[3-9]*)
9583 version_type=linux
9584 need_lib_prefix=no
9585 need_version=no
9586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9587 soname_spec='${libname}${release}${shared_ext}$major'
9588 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9589 shlibpath_var=LD_LIBRARY_PATH
9590 shlibpath_overrides_runpath=no
9591 hardcode_into_libs=yes
9592 ;;
9593
9594 irix5* | irix6* | nonstopux*)
9595 case $host_os in
9596 nonstopux*) version_type=nonstopux ;;
9597 *)
9598 if test "$lt_cv_prog_gnu_ld" = yes; then
9599 version_type=linux
9600 else
9601 version_type=irix
9602 fi ;;
9603 esac
9604 need_lib_prefix=no
9605 need_version=no
9606 soname_spec='${libname}${release}${shared_ext}$major'
9607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9608 case $host_os in
9609 irix5* | nonstopux*)
9610 libsuff= shlibsuff=
9611 ;;
9612 *)
9613 case $LD in # libtool.m4 will add one of these switches to LD
9614 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9615 libsuff= shlibsuff= libmagic=32-bit;;
9616 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9617 libsuff=32 shlibsuff=N32 libmagic=N32;;
9618 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9619 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9620 *) libsuff= shlibsuff= libmagic=never-match;;
9621 esac
9622 ;;
9623 esac
9624 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9625 shlibpath_overrides_runpath=no
9626 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9627 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9628 hardcode_into_libs=yes
9629 ;;
9630
9631 # No shared lib support for Linux oldld, aout, or coff.
9632 linux*oldld* | linux*aout* | linux*coff*)
9633 dynamic_linker=no
9634 ;;
9635
9636 # This must be Linux ELF.
9637 linux* | k*bsd*-gnu)
9638 version_type=linux
9639 need_lib_prefix=no
9640 need_version=no
9641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9642 soname_spec='${libname}${release}${shared_ext}$major'
9643 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath=no
9646 # Some binutils ld are patched to set DT_RUNPATH
9647 save_LDFLAGS=$LDFLAGS
9648 save_libdir=$libdir
9649 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9650 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9651 if test x$gcc_no_link = xyes; then
9652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9654 { (exit 1); exit 1; }; }
9655 fi
9656 cat >conftest.$ac_ext <<_ACEOF
9657 /* confdefs.h. */
9658 _ACEOF
9659 cat confdefs.h >>conftest.$ac_ext
9660 cat >>conftest.$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9662
9663 int
9664 main ()
9665 {
9666
9667 ;
9668 return 0;
9669 }
9670 _ACEOF
9671 rm -f conftest.$ac_objext conftest$ac_exeext
9672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9673 (eval $ac_link) 2>conftest.er1
9674 ac_status=$?
9675 grep -v '^ *+' conftest.er1 >conftest.err
9676 rm -f conftest.er1
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } &&
9680 { ac_try='test -z "$ac_c_werror_flag"
9681 || test ! -s conftest.err'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 (eval $ac_try) 2>&5
9684 ac_status=$?
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; } &&
9687 { ac_try='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 (eval $ac_try) 2>&5
9690 ac_status=$?
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9694 shlibpath_overrides_runpath=yes
9695 fi
9696
9697 else
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9700
9701 fi
9702 rm -f conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LDFLAGS=$save_LDFLAGS
9705 libdir=$save_libdir
9706
9707 # This implies no fast_install, which is unacceptable.
9708 # Some rework will be needed to allow for fast_install
9709 # before this can be enabled.
9710 hardcode_into_libs=yes
9711
9712 # Append ld.so.conf contents to the search path
9713 if test -f /etc/ld.so.conf; then
9714 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9715 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9716 fi
9717
9718 # We used to test for /lib/ld.so.1 and disable shared libraries on
9719 # powerpc, because MkLinux only supported shared libraries with the
9720 # GNU dynamic linker. Since this was broken with cross compilers,
9721 # most powerpc-linux boxes support dynamic linking these days and
9722 # people can always --disable-shared, the test was removed, and we
9723 # assume the GNU/Linux dynamic linker is in use.
9724 dynamic_linker='GNU/Linux ld.so'
9725 ;;
9726
9727 netbsd*)
9728 version_type=sunos
9729 need_lib_prefix=no
9730 need_version=no
9731 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9733 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9734 dynamic_linker='NetBSD (a.out) ld.so'
9735 else
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9737 soname_spec='${libname}${release}${shared_ext}$major'
9738 dynamic_linker='NetBSD ld.elf_so'
9739 fi
9740 shlibpath_var=LD_LIBRARY_PATH
9741 shlibpath_overrides_runpath=yes
9742 hardcode_into_libs=yes
9743 ;;
9744
9745 newsos6)
9746 version_type=linux
9747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9748 shlibpath_var=LD_LIBRARY_PATH
9749 shlibpath_overrides_runpath=yes
9750 ;;
9751
9752 *nto* | *qnx*)
9753 version_type=qnx
9754 need_lib_prefix=no
9755 need_version=no
9756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9757 soname_spec='${libname}${release}${shared_ext}$major'
9758 shlibpath_var=LD_LIBRARY_PATH
9759 shlibpath_overrides_runpath=no
9760 hardcode_into_libs=yes
9761 dynamic_linker='ldqnx.so'
9762 ;;
9763
9764 openbsd*)
9765 version_type=sunos
9766 sys_lib_dlsearch_path_spec="/usr/lib"
9767 need_lib_prefix=no
9768 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9769 case $host_os in
9770 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9771 *) need_version=no ;;
9772 esac
9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9774 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9775 shlibpath_var=LD_LIBRARY_PATH
9776 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9777 case $host_os in
9778 openbsd2.[89] | openbsd2.[89].*)
9779 shlibpath_overrides_runpath=no
9780 ;;
9781 *)
9782 shlibpath_overrides_runpath=yes
9783 ;;
9784 esac
9785 else
9786 shlibpath_overrides_runpath=yes
9787 fi
9788 ;;
9789
9790 os2*)
9791 libname_spec='$name'
9792 shrext_cmds=".dll"
9793 need_lib_prefix=no
9794 library_names_spec='$libname${shared_ext} $libname.a'
9795 dynamic_linker='OS/2 ld.exe'
9796 shlibpath_var=LIBPATH
9797 ;;
9798
9799 osf3* | osf4* | osf5*)
9800 version_type=osf
9801 need_lib_prefix=no
9802 need_version=no
9803 soname_spec='${libname}${release}${shared_ext}$major'
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9805 shlibpath_var=LD_LIBRARY_PATH
9806 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9807 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9808 ;;
9809
9810 rdos*)
9811 dynamic_linker=no
9812 ;;
9813
9814 solaris*)
9815 version_type=linux
9816 need_lib_prefix=no
9817 need_version=no
9818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9819 soname_spec='${libname}${release}${shared_ext}$major'
9820 shlibpath_var=LD_LIBRARY_PATH
9821 shlibpath_overrides_runpath=yes
9822 hardcode_into_libs=yes
9823 # ldd complains unless libraries are executable
9824 postinstall_cmds='chmod +x $lib'
9825 ;;
9826
9827 sunos4*)
9828 version_type=sunos
9829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9830 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9831 shlibpath_var=LD_LIBRARY_PATH
9832 shlibpath_overrides_runpath=yes
9833 if test "$with_gnu_ld" = yes; then
9834 need_lib_prefix=no
9835 fi
9836 need_version=yes
9837 ;;
9838
9839 sysv4 | sysv4.3*)
9840 version_type=linux
9841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 soname_spec='${libname}${release}${shared_ext}$major'
9843 shlibpath_var=LD_LIBRARY_PATH
9844 case $host_vendor in
9845 sni)
9846 shlibpath_overrides_runpath=no
9847 need_lib_prefix=no
9848 runpath_var=LD_RUN_PATH
9849 ;;
9850 siemens)
9851 need_lib_prefix=no
9852 ;;
9853 motorola)
9854 need_lib_prefix=no
9855 need_version=no
9856 shlibpath_overrides_runpath=no
9857 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9858 ;;
9859 esac
9860 ;;
9861
9862 sysv4*MP*)
9863 if test -d /usr/nec ;then
9864 version_type=linux
9865 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9866 soname_spec='$libname${shared_ext}.$major'
9867 shlibpath_var=LD_LIBRARY_PATH
9868 fi
9869 ;;
9870
9871 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9872 version_type=freebsd-elf
9873 need_lib_prefix=no
9874 need_version=no
9875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9876 soname_spec='${libname}${release}${shared_ext}$major'
9877 shlibpath_var=LD_LIBRARY_PATH
9878 shlibpath_overrides_runpath=yes
9879 hardcode_into_libs=yes
9880 if test "$with_gnu_ld" = yes; then
9881 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9882 else
9883 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9884 case $host_os in
9885 sco3.2v5*)
9886 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9887 ;;
9888 esac
9889 fi
9890 sys_lib_dlsearch_path_spec='/usr/lib'
9891 ;;
9892
9893 tpf*)
9894 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9895 version_type=linux
9896 need_lib_prefix=no
9897 need_version=no
9898 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899 shlibpath_var=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath=no
9901 hardcode_into_libs=yes
9902 ;;
9903
9904 uts4*)
9905 version_type=linux
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907 soname_spec='${libname}${release}${shared_ext}$major'
9908 shlibpath_var=LD_LIBRARY_PATH
9909 ;;
9910
9911 *)
9912 dynamic_linker=no
9913 ;;
9914 esac
9915 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9916 echo "${ECHO_T}$dynamic_linker" >&6
9917 test "$dynamic_linker" = no && can_build_shared=no
9918
9919 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9920 if test "$GCC" = yes; then
9921 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9922 fi
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10011 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10012 hardcode_action=
10013 if test -n "$hardcode_libdir_flag_spec" ||
10014 test -n "$runpath_var" ||
10015 test "X$hardcode_automatic" = "Xyes" ; then
10016
10017 # We can hardcode non-existent directories.
10018 if test "$hardcode_direct" != no &&
10019 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10020 # have to relink, otherwise we might link with an installed library
10021 # when we should be linking with a yet-to-be-installed one
10022 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10023 test "$hardcode_minus_L" != no; then
10024 # Linking always hardcodes the temporary library directory.
10025 hardcode_action=relink
10026 else
10027 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10028 hardcode_action=immediate
10029 fi
10030 else
10031 # We cannot hardcode anything, or else we can only hardcode existing
10032 # directories.
10033 hardcode_action=unsupported
10034 fi
10035 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10036 echo "${ECHO_T}$hardcode_action" >&6
10037
10038 if test "$hardcode_action" = relink ||
10039 test "$inherit_rpath" = yes; then
10040 # Fast installation is not supported
10041 enable_fast_install=no
10042 elif test "$shlibpath_overrides_runpath" = yes ||
10043 test "$enable_shared" = no; then
10044 # Fast installation is not necessary
10045 enable_fast_install=needless
10046 fi
10047
10048
10049
10050
10051
10052
10053 if test "x$enable_dlopen" != xyes; then
10054 enable_dlopen=unknown
10055 enable_dlopen_self=unknown
10056 enable_dlopen_self_static=unknown
10057 else
10058 lt_cv_dlopen=no
10059 lt_cv_dlopen_libs=
10060
10061 case $host_os in
10062 beos*)
10063 lt_cv_dlopen="load_add_on"
10064 lt_cv_dlopen_libs=
10065 lt_cv_dlopen_self=yes
10066 ;;
10067
10068 mingw* | pw32*)
10069 lt_cv_dlopen="LoadLibrary"
10070 lt_cv_dlopen_libs=
10071 ;;
10072
10073 cygwin*)
10074 lt_cv_dlopen="dlopen"
10075 lt_cv_dlopen_libs=
10076 ;;
10077
10078 darwin*)
10079 # if libdl is installed we need to link against it
10080 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10081 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10082 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 else
10085 ac_check_lib_save_LIBS=$LIBS
10086 LIBS="-ldl $LIBS"
10087 if test x$gcc_no_link = xyes; then
10088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10090 { (exit 1); exit 1; }; }
10091 fi
10092 cat >conftest.$ac_ext <<_ACEOF
10093 /* confdefs.h. */
10094 _ACEOF
10095 cat confdefs.h >>conftest.$ac_ext
10096 cat >>conftest.$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098
10099 /* Override any gcc2 internal prototype to avoid an error. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10105 char dlopen ();
10106 int
10107 main ()
10108 {
10109 dlopen ();
10110 ;
10111 return 0;
10112 }
10113 _ACEOF
10114 rm -f conftest.$ac_objext conftest$ac_exeext
10115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10116 (eval $ac_link) 2>conftest.er1
10117 ac_status=$?
10118 grep -v '^ *+' conftest.er1 >conftest.err
10119 rm -f conftest.er1
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } &&
10123 { ac_try='test -z "$ac_c_werror_flag"
10124 || test ! -s conftest.err'
10125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126 (eval $ac_try) 2>&5
10127 ac_status=$?
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); }; } &&
10130 { ac_try='test -s conftest$ac_exeext'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10133 ac_status=$?
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; }; then
10136 ac_cv_lib_dl_dlopen=yes
10137 else
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.$ac_ext >&5
10140
10141 ac_cv_lib_dl_dlopen=no
10142 fi
10143 rm -f conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 LIBS=$ac_check_lib_save_LIBS
10146 fi
10147 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10148 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10149 if test $ac_cv_lib_dl_dlopen = yes; then
10150 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10151 else
10152
10153 lt_cv_dlopen="dyld"
10154 lt_cv_dlopen_libs=
10155 lt_cv_dlopen_self=yes
10156
10157 fi
10158
10159 ;;
10160
10161 *)
10162 echo "$as_me:$LINENO: checking for shl_load" >&5
10163 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10164 if test "${ac_cv_func_shl_load+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 else
10167 if test x$gcc_no_link = xyes; then
10168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10170 { (exit 1); exit 1; }; }
10171 fi
10172 cat >conftest.$ac_ext <<_ACEOF
10173 /* confdefs.h. */
10174 _ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10180 #define shl_load innocuous_shl_load
10181
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char shl_load (); below.
10184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10185 <limits.h> exists even on freestanding compilers. */
10186
10187 #ifdef __STDC__
10188 # include <limits.h>
10189 #else
10190 # include <assert.h>
10191 #endif
10192
10193 #undef shl_load
10194
10195 /* Override any gcc2 internal prototype to avoid an error. */
10196 #ifdef __cplusplus
10197 extern "C"
10198 {
10199 #endif
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10202 char shl_load ();
10203 /* The GNU C library defines this for functions which it implements
10204 to always fail with ENOSYS. Some functions are actually named
10205 something starting with __ and the normal name is an alias. */
10206 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10207 choke me
10208 #else
10209 char (*f) () = shl_load;
10210 #endif
10211 #ifdef __cplusplus
10212 }
10213 #endif
10214
10215 int
10216 main ()
10217 {
10218 return f != shl_load;
10219 ;
10220 return 0;
10221 }
10222 _ACEOF
10223 rm -f conftest.$ac_objext conftest$ac_exeext
10224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10225 (eval $ac_link) 2>conftest.er1
10226 ac_status=$?
10227 grep -v '^ *+' conftest.er1 >conftest.err
10228 rm -f conftest.er1
10229 cat conftest.err >&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); } &&
10232 { ac_try='test -z "$ac_c_werror_flag"
10233 || test ! -s conftest.err'
10234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235 (eval $ac_try) 2>&5
10236 ac_status=$?
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; } &&
10239 { ac_try='test -s conftest$ac_exeext'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10242 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; }; then
10245 ac_cv_func_shl_load=yes
10246 else
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10249
10250 ac_cv_func_shl_load=no
10251 fi
10252 rm -f conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 fi
10255 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10256 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10257 if test $ac_cv_func_shl_load = yes; then
10258 lt_cv_dlopen="shl_load"
10259 else
10260 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10261 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10262 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-ldld $LIBS"
10267 if test x$gcc_no_link = xyes; then
10268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10270 { (exit 1); exit 1; }; }
10271 fi
10272 cat >conftest.$ac_ext <<_ACEOF
10273 /* confdefs.h. */
10274 _ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10278
10279 /* Override any gcc2 internal prototype to avoid an error. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 /* We use char because int might match the return type of a gcc2
10284 builtin and then its argument prototype would still apply. */
10285 char shl_load ();
10286 int
10287 main ()
10288 {
10289 shl_load ();
10290 ;
10291 return 0;
10292 }
10293 _ACEOF
10294 rm -f conftest.$ac_objext conftest$ac_exeext
10295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10296 (eval $ac_link) 2>conftest.er1
10297 ac_status=$?
10298 grep -v '^ *+' conftest.er1 >conftest.err
10299 rm -f conftest.er1
10300 cat conftest.err >&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } &&
10303 { ac_try='test -z "$ac_c_werror_flag"
10304 || test ! -s conftest.err'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10307 ac_status=$?
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; } &&
10310 { ac_try='test -s conftest$ac_exeext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10313 ac_status=$?
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_lib_dld_shl_load=yes
10317 else
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.$ac_ext >&5
10320
10321 ac_cv_lib_dld_shl_load=no
10322 fi
10323 rm -f conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 LIBS=$ac_check_lib_save_LIBS
10326 fi
10327 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10328 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10329 if test $ac_cv_lib_dld_shl_load = yes; then
10330 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10331 else
10332 echo "$as_me:$LINENO: checking for dlopen" >&5
10333 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10334 if test "${ac_cv_func_dlopen+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 else
10337 if test x$gcc_no_link = xyes; then
10338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10340 { (exit 1); exit 1; }; }
10341 fi
10342 cat >conftest.$ac_ext <<_ACEOF
10343 /* confdefs.h. */
10344 _ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10348 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10350 #define dlopen innocuous_dlopen
10351
10352 /* System header to define __stub macros and hopefully few prototypes,
10353 which can conflict with char dlopen (); below.
10354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10355 <limits.h> exists even on freestanding compilers. */
10356
10357 #ifdef __STDC__
10358 # include <limits.h>
10359 #else
10360 # include <assert.h>
10361 #endif
10362
10363 #undef dlopen
10364
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 {
10369 #endif
10370 /* We use char because int might match the return type of a gcc2
10371 builtin and then its argument prototype would still apply. */
10372 char dlopen ();
10373 /* The GNU C library defines this for functions which it implements
10374 to always fail with ENOSYS. Some functions are actually named
10375 something starting with __ and the normal name is an alias. */
10376 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10377 choke me
10378 #else
10379 char (*f) () = dlopen;
10380 #endif
10381 #ifdef __cplusplus
10382 }
10383 #endif
10384
10385 int
10386 main ()
10387 {
10388 return f != dlopen;
10389 ;
10390 return 0;
10391 }
10392 _ACEOF
10393 rm -f conftest.$ac_objext conftest$ac_exeext
10394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10395 (eval $ac_link) 2>conftest.er1
10396 ac_status=$?
10397 grep -v '^ *+' conftest.er1 >conftest.err
10398 rm -f conftest.er1
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } &&
10402 { ac_try='test -z "$ac_c_werror_flag"
10403 || test ! -s conftest.err'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10406 ac_status=$?
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; } &&
10409 { ac_try='test -s conftest$ac_exeext'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10412 ac_status=$?
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; }; then
10415 ac_cv_func_dlopen=yes
10416 else
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.$ac_ext >&5
10419
10420 ac_cv_func_dlopen=no
10421 fi
10422 rm -f conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 fi
10425 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10426 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10427 if test $ac_cv_func_dlopen = yes; then
10428 lt_cv_dlopen="dlopen"
10429 else
10430 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10431 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10432 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 else
10435 ac_check_lib_save_LIBS=$LIBS
10436 LIBS="-ldl $LIBS"
10437 if test x$gcc_no_link = xyes; then
10438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10440 { (exit 1); exit 1; }; }
10441 fi
10442 cat >conftest.$ac_ext <<_ACEOF
10443 /* confdefs.h. */
10444 _ACEOF
10445 cat confdefs.h >>conftest.$ac_ext
10446 cat >>conftest.$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10448
10449 /* Override any gcc2 internal prototype to avoid an error. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char dlopen ();
10456 int
10457 main ()
10458 {
10459 dlopen ();
10460 ;
10461 return 0;
10462 }
10463 _ACEOF
10464 rm -f conftest.$ac_objext conftest$ac_exeext
10465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10466 (eval $ac_link) 2>conftest.er1
10467 ac_status=$?
10468 grep -v '^ *+' conftest.er1 >conftest.err
10469 rm -f conftest.er1
10470 cat conftest.err >&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } &&
10473 { ac_try='test -z "$ac_c_werror_flag"
10474 || test ! -s conftest.err'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10477 ac_status=$?
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; } &&
10480 { ac_try='test -s conftest$ac_exeext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10483 ac_status=$?
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_lib_dl_dlopen=yes
10487 else
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10490
10491 ac_cv_lib_dl_dlopen=no
10492 fi
10493 rm -f conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_lib_save_LIBS
10496 fi
10497 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10498 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10499 if test $ac_cv_lib_dl_dlopen = yes; then
10500 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10501 else
10502 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10503 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10504 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 else
10507 ac_check_lib_save_LIBS=$LIBS
10508 LIBS="-lsvld $LIBS"
10509 if test x$gcc_no_link = xyes; then
10510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10512 { (exit 1); exit 1; }; }
10513 fi
10514 cat >conftest.$ac_ext <<_ACEOF
10515 /* confdefs.h. */
10516 _ACEOF
10517 cat confdefs.h >>conftest.$ac_ext
10518 cat >>conftest.$ac_ext <<_ACEOF
10519 /* end confdefs.h. */
10520
10521 /* Override any gcc2 internal prototype to avoid an error. */
10522 #ifdef __cplusplus
10523 extern "C"
10524 #endif
10525 /* We use char because int might match the return type of a gcc2
10526 builtin and then its argument prototype would still apply. */
10527 char dlopen ();
10528 int
10529 main ()
10530 {
10531 dlopen ();
10532 ;
10533 return 0;
10534 }
10535 _ACEOF
10536 rm -f conftest.$ac_objext conftest$ac_exeext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10538 (eval $ac_link) 2>conftest.er1
10539 ac_status=$?
10540 grep -v '^ *+' conftest.er1 >conftest.err
10541 rm -f conftest.er1
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } &&
10545 { ac_try='test -z "$ac_c_werror_flag"
10546 || test ! -s conftest.err'
10547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10549 ac_status=$?
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); }; } &&
10552 { ac_try='test -s conftest$ac_exeext'
10553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554 (eval $ac_try) 2>&5
10555 ac_status=$?
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }; }; then
10558 ac_cv_lib_svld_dlopen=yes
10559 else
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.$ac_ext >&5
10562
10563 ac_cv_lib_svld_dlopen=no
10564 fi
10565 rm -f conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 LIBS=$ac_check_lib_save_LIBS
10568 fi
10569 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10570 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10571 if test $ac_cv_lib_svld_dlopen = yes; then
10572 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10573 else
10574 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10575 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10576 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 else
10579 ac_check_lib_save_LIBS=$LIBS
10580 LIBS="-ldld $LIBS"
10581 if test x$gcc_no_link = xyes; then
10582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10584 { (exit 1); exit 1; }; }
10585 fi
10586 cat >conftest.$ac_ext <<_ACEOF
10587 /* confdefs.h. */
10588 _ACEOF
10589 cat confdefs.h >>conftest.$ac_ext
10590 cat >>conftest.$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10592
10593 /* Override any gcc2 internal prototype to avoid an error. */
10594 #ifdef __cplusplus
10595 extern "C"
10596 #endif
10597 /* We use char because int might match the return type of a gcc2
10598 builtin and then its argument prototype would still apply. */
10599 char dld_link ();
10600 int
10601 main ()
10602 {
10603 dld_link ();
10604 ;
10605 return 0;
10606 }
10607 _ACEOF
10608 rm -f conftest.$ac_objext conftest$ac_exeext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610 (eval $ac_link) 2>conftest.er1
10611 ac_status=$?
10612 grep -v '^ *+' conftest.er1 >conftest.err
10613 rm -f conftest.er1
10614 cat conftest.err >&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try='test -s conftest$ac_exeext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10627 ac_status=$?
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 ac_cv_lib_dld_dld_link=yes
10631 else
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10634
10635 ac_cv_lib_dld_dld_link=no
10636 fi
10637 rm -f conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LIBS=$ac_check_lib_save_LIBS
10640 fi
10641 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10642 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10643 if test $ac_cv_lib_dld_dld_link = yes; then
10644 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10645 fi
10646
10647
10648 fi
10649
10650
10651 fi
10652
10653
10654 fi
10655
10656
10657 fi
10658
10659
10660 fi
10661
10662 ;;
10663 esac
10664
10665 if test "x$lt_cv_dlopen" != xno; then
10666 enable_dlopen=yes
10667 else
10668 enable_dlopen=no
10669 fi
10670
10671 case $lt_cv_dlopen in
10672 dlopen)
10673 save_CPPFLAGS="$CPPFLAGS"
10674 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10675
10676 save_LDFLAGS="$LDFLAGS"
10677 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10678
10679 save_LIBS="$LIBS"
10680 LIBS="$lt_cv_dlopen_libs $LIBS"
10681
10682 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10683 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10684 if test "${lt_cv_dlopen_self+set}" = set; then
10685 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 else
10687 if test "$cross_compiling" = yes; then :
10688 lt_cv_dlopen_self=cross
10689 else
10690 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10691 lt_status=$lt_dlunknown
10692 cat > conftest.$ac_ext <<_LT_EOF
10693 #line 10693 "configure"
10694 #include "confdefs.h"
10695
10696 #if HAVE_DLFCN_H
10697 #include <dlfcn.h>
10698 #endif
10699
10700 #include <stdio.h>
10701
10702 #ifdef RTLD_GLOBAL
10703 # define LT_DLGLOBAL RTLD_GLOBAL
10704 #else
10705 # ifdef DL_GLOBAL
10706 # define LT_DLGLOBAL DL_GLOBAL
10707 # else
10708 # define LT_DLGLOBAL 0
10709 # endif
10710 #endif
10711
10712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10713 find out it does not work in some platform. */
10714 #ifndef LT_DLLAZY_OR_NOW
10715 # ifdef RTLD_LAZY
10716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10717 # else
10718 # ifdef DL_LAZY
10719 # define LT_DLLAZY_OR_NOW DL_LAZY
10720 # else
10721 # ifdef RTLD_NOW
10722 # define LT_DLLAZY_OR_NOW RTLD_NOW
10723 # else
10724 # ifdef DL_NOW
10725 # define LT_DLLAZY_OR_NOW DL_NOW
10726 # else
10727 # define LT_DLLAZY_OR_NOW 0
10728 # endif
10729 # endif
10730 # endif
10731 # endif
10732 #endif
10733
10734 #ifdef __cplusplus
10735 extern "C" void exit (int);
10736 #endif
10737
10738 void fnord() { int i=42;}
10739 int main ()
10740 {
10741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10742 int status = $lt_dlunknown;
10743
10744 if (self)
10745 {
10746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10748 /* dlclose (self); */
10749 }
10750 else
10751 puts (dlerror ());
10752
10753 exit (status);
10754 }
10755 _LT_EOF
10756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10757 (eval $ac_link) 2>&5
10758 ac_status=$?
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10761 (./conftest; exit; ) >&5 2>/dev/null
10762 lt_status=$?
10763 case x$lt_status in
10764 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10765 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10766 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10767 esac
10768 else :
10769 # compilation failed
10770 lt_cv_dlopen_self=no
10771 fi
10772 fi
10773 rm -fr conftest*
10774
10775
10776 fi
10777 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10778 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10779
10780 if test "x$lt_cv_dlopen_self" = xyes; then
10781 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10782 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10783 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10784 if test "${lt_cv_dlopen_self_static+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787 if test "$cross_compiling" = yes; then :
10788 lt_cv_dlopen_self_static=cross
10789 else
10790 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10791 lt_status=$lt_dlunknown
10792 cat > conftest.$ac_ext <<_LT_EOF
10793 #line 10793 "configure"
10794 #include "confdefs.h"
10795
10796 #if HAVE_DLFCN_H
10797 #include <dlfcn.h>
10798 #endif
10799
10800 #include <stdio.h>
10801
10802 #ifdef RTLD_GLOBAL
10803 # define LT_DLGLOBAL RTLD_GLOBAL
10804 #else
10805 # ifdef DL_GLOBAL
10806 # define LT_DLGLOBAL DL_GLOBAL
10807 # else
10808 # define LT_DLGLOBAL 0
10809 # endif
10810 #endif
10811
10812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10813 find out it does not work in some platform. */
10814 #ifndef LT_DLLAZY_OR_NOW
10815 # ifdef RTLD_LAZY
10816 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10817 # else
10818 # ifdef DL_LAZY
10819 # define LT_DLLAZY_OR_NOW DL_LAZY
10820 # else
10821 # ifdef RTLD_NOW
10822 # define LT_DLLAZY_OR_NOW RTLD_NOW
10823 # else
10824 # ifdef DL_NOW
10825 # define LT_DLLAZY_OR_NOW DL_NOW
10826 # else
10827 # define LT_DLLAZY_OR_NOW 0
10828 # endif
10829 # endif
10830 # endif
10831 # endif
10832 #endif
10833
10834 #ifdef __cplusplus
10835 extern "C" void exit (int);
10836 #endif
10837
10838 void fnord() { int i=42;}
10839 int main ()
10840 {
10841 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10842 int status = $lt_dlunknown;
10843
10844 if (self)
10845 {
10846 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10847 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10848 /* dlclose (self); */
10849 }
10850 else
10851 puts (dlerror ());
10852
10853 exit (status);
10854 }
10855 _LT_EOF
10856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10857 (eval $ac_link) 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10861 (./conftest; exit; ) >&5 2>/dev/null
10862 lt_status=$?
10863 case x$lt_status in
10864 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10865 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10866 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10867 esac
10868 else :
10869 # compilation failed
10870 lt_cv_dlopen_self_static=no
10871 fi
10872 fi
10873 rm -fr conftest*
10874
10875
10876 fi
10877 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10878 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10879 fi
10880
10881 CPPFLAGS="$save_CPPFLAGS"
10882 LDFLAGS="$save_LDFLAGS"
10883 LIBS="$save_LIBS"
10884 ;;
10885 esac
10886
10887 case $lt_cv_dlopen_self in
10888 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10889 *) enable_dlopen_self=unknown ;;
10890 esac
10891
10892 case $lt_cv_dlopen_self_static in
10893 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10894 *) enable_dlopen_self_static=unknown ;;
10895 esac
10896 fi
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914 striplib=
10915 old_striplib=
10916 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10917 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10918 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10919 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10920 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10923 else
10924 # FIXME - insert some real tests, host_os isn't really good enough
10925 case $host_os in
10926 darwin*)
10927 if test -n "$STRIP" ; then
10928 striplib="$STRIP -x"
10929 old_striplib="$STRIP -S"
10930 echo "$as_me:$LINENO: result: yes" >&5
10931 echo "${ECHO_T}yes" >&6
10932 else
10933 echo "$as_me:$LINENO: result: no" >&5
10934 echo "${ECHO_T}no" >&6
10935 fi
10936 ;;
10937 *)
10938 echo "$as_me:$LINENO: result: no" >&5
10939 echo "${ECHO_T}no" >&6
10940 ;;
10941 esac
10942 fi
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955 # Report which library types will actually be built
10956 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10957 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10958 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10959 echo "${ECHO_T}$can_build_shared" >&6
10960
10961 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10962 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10963 test "$can_build_shared" = "no" && enable_shared=no
10964
10965 # On AIX, shared libraries and static libraries use the same namespace, and
10966 # are all built from PIC.
10967 case $host_os in
10968 aix3*)
10969 test "$enable_shared" = yes && enable_static=no
10970 if test -n "$RANLIB"; then
10971 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10972 postinstall_cmds='$RANLIB $lib'
10973 fi
10974 ;;
10975
10976 aix4* | aix5*)
10977 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10978 test "$enable_shared" = yes && enable_static=no
10979 fi
10980 ;;
10981 esac
10982 echo "$as_me:$LINENO: result: $enable_shared" >&5
10983 echo "${ECHO_T}$enable_shared" >&6
10984
10985 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10986 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10987 # Make sure either enable_shared or enable_static is yes.
10988 test "$enable_shared" = yes || enable_static=yes
10989 echo "$as_me:$LINENO: result: $enable_static" >&5
10990 echo "${ECHO_T}$enable_static" >&6
10991
10992
10993
10994
10995 fi
10996 ac_ext=c
10997 ac_cpp='$CPP $CPPFLAGS'
10998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11001
11002 CC="$lt_save_CC"
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016 ac_config_commands="$ac_config_commands libtool"
11017
11018
11019
11020
11021 # Only expand once:
11022
11023
11024 ac_ext=c
11025 ac_cpp='$CPP $CPPFLAGS'
11026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11029 if test -n "$ac_tool_prefix"; then
11030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11032 echo "$as_me:$LINENO: checking for $ac_word" >&5
11033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11034 if test "${ac_cv_prog_CC+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11036 else
11037 if test -n "$CC"; then
11038 ac_cv_prog_CC="$CC" # Let the user override the test.
11039 else
11040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11041 for as_dir in $PATH
11042 do
11043 IFS=$as_save_IFS
11044 test -z "$as_dir" && as_dir=.
11045 for ac_exec_ext in '' $ac_executable_extensions; do
11046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11049 break 2
11050 fi
11051 done
11052 done
11053
11054 fi
11055 fi
11056 CC=$ac_cv_prog_CC
11057 if test -n "$CC"; then
11058 echo "$as_me:$LINENO: result: $CC" >&5
11059 echo "${ECHO_T}$CC" >&6
11060 else
11061 echo "$as_me:$LINENO: result: no" >&5
11062 echo "${ECHO_T}no" >&6
11063 fi
11064
11065 fi
11066 if test -z "$ac_cv_prog_CC"; then
11067 ac_ct_CC=$CC
11068 # Extract the first word of "gcc", so it can be a program name with args.
11069 set dummy gcc; ac_word=$2
11070 echo "$as_me:$LINENO: checking for $ac_word" >&5
11071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 else
11075 if test -n "$ac_ct_CC"; then
11076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11077 else
11078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11079 for as_dir in $PATH
11080 do
11081 IFS=$as_save_IFS
11082 test -z "$as_dir" && as_dir=.
11083 for ac_exec_ext in '' $ac_executable_extensions; do
11084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_prog_ac_ct_CC="gcc"
11086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11087 break 2
11088 fi
11089 done
11090 done
11091
11092 fi
11093 fi
11094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11095 if test -n "$ac_ct_CC"; then
11096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11097 echo "${ECHO_T}$ac_ct_CC" >&6
11098 else
11099 echo "$as_me:$LINENO: result: no" >&5
11100 echo "${ECHO_T}no" >&6
11101 fi
11102
11103 CC=$ac_ct_CC
11104 else
11105 CC="$ac_cv_prog_CC"
11106 fi
11107
11108 if test -z "$CC"; then
11109 if test -n "$ac_tool_prefix"; then
11110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11111 set dummy ${ac_tool_prefix}cc; ac_word=$2
11112 echo "$as_me:$LINENO: checking for $ac_word" >&5
11113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11114 if test "${ac_cv_prog_CC+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 else
11117 if test -n "$CC"; then
11118 ac_cv_prog_CC="$CC" # Let the user override the test.
11119 else
11120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11121 for as_dir in $PATH
11122 do
11123 IFS=$as_save_IFS
11124 test -z "$as_dir" && as_dir=.
11125 for ac_exec_ext in '' $ac_executable_extensions; do
11126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11127 ac_cv_prog_CC="${ac_tool_prefix}cc"
11128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11129 break 2
11130 fi
11131 done
11132 done
11133
11134 fi
11135 fi
11136 CC=$ac_cv_prog_CC
11137 if test -n "$CC"; then
11138 echo "$as_me:$LINENO: result: $CC" >&5
11139 echo "${ECHO_T}$CC" >&6
11140 else
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11143 fi
11144
11145 fi
11146 if test -z "$ac_cv_prog_CC"; then
11147 ac_ct_CC=$CC
11148 # Extract the first word of "cc", so it can be a program name with args.
11149 set dummy cc; ac_word=$2
11150 echo "$as_me:$LINENO: checking for $ac_word" >&5
11151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 else
11155 if test -n "$ac_ct_CC"; then
11156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11157 else
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11160 do
11161 IFS=$as_save_IFS
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_prog_ac_ct_CC="cc"
11166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11167 break 2
11168 fi
11169 done
11170 done
11171
11172 fi
11173 fi
11174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11175 if test -n "$ac_ct_CC"; then
11176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11177 echo "${ECHO_T}$ac_ct_CC" >&6
11178 else
11179 echo "$as_me:$LINENO: result: no" >&5
11180 echo "${ECHO_T}no" >&6
11181 fi
11182
11183 CC=$ac_ct_CC
11184 else
11185 CC="$ac_cv_prog_CC"
11186 fi
11187
11188 fi
11189 if test -z "$CC"; then
11190 # Extract the first word of "cc", so it can be a program name with args.
11191 set dummy cc; ac_word=$2
11192 echo "$as_me:$LINENO: checking for $ac_word" >&5
11193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11194 if test "${ac_cv_prog_CC+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 else
11197 if test -n "$CC"; then
11198 ac_cv_prog_CC="$CC" # Let the user override the test.
11199 else
11200 ac_prog_rejected=no
11201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11202 for as_dir in $PATH
11203 do
11204 IFS=$as_save_IFS
11205 test -z "$as_dir" && as_dir=.
11206 for ac_exec_ext in '' $ac_executable_extensions; do
11207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11209 ac_prog_rejected=yes
11210 continue
11211 fi
11212 ac_cv_prog_CC="cc"
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11214 break 2
11215 fi
11216 done
11217 done
11218
11219 if test $ac_prog_rejected = yes; then
11220 # We found a bogon in the path, so make sure we never use it.
11221 set dummy $ac_cv_prog_CC
11222 shift
11223 if test $# != 0; then
11224 # We chose a different compiler from the bogus one.
11225 # However, it has the same basename, so the bogon will be chosen
11226 # first if we set CC to just the basename; use the full file name.
11227 shift
11228 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11229 fi
11230 fi
11231 fi
11232 fi
11233 CC=$ac_cv_prog_CC
11234 if test -n "$CC"; then
11235 echo "$as_me:$LINENO: result: $CC" >&5
11236 echo "${ECHO_T}$CC" >&6
11237 else
11238 echo "$as_me:$LINENO: result: no" >&5
11239 echo "${ECHO_T}no" >&6
11240 fi
11241
11242 fi
11243 if test -z "$CC"; then
11244 if test -n "$ac_tool_prefix"; then
11245 for ac_prog in cl
11246 do
11247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11249 echo "$as_me:$LINENO: checking for $ac_word" >&5
11250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11251 if test "${ac_cv_prog_CC+set}" = set; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 else
11254 if test -n "$CC"; then
11255 ac_cv_prog_CC="$CC" # Let the user override the test.
11256 else
11257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11258 for as_dir in $PATH
11259 do
11260 IFS=$as_save_IFS
11261 test -z "$as_dir" && as_dir=.
11262 for ac_exec_ext in '' $ac_executable_extensions; do
11263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11266 break 2
11267 fi
11268 done
11269 done
11270
11271 fi
11272 fi
11273 CC=$ac_cv_prog_CC
11274 if test -n "$CC"; then
11275 echo "$as_me:$LINENO: result: $CC" >&5
11276 echo "${ECHO_T}$CC" >&6
11277 else
11278 echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6
11280 fi
11281
11282 test -n "$CC" && break
11283 done
11284 fi
11285 if test -z "$CC"; then
11286 ac_ct_CC=$CC
11287 for ac_prog in cl
11288 do
11289 # Extract the first word of "$ac_prog", so it can be a program name with args.
11290 set dummy $ac_prog; ac_word=$2
11291 echo "$as_me:$LINENO: checking for $ac_word" >&5
11292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 else
11296 if test -n "$ac_ct_CC"; then
11297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11298 else
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $PATH
11301 do
11302 IFS=$as_save_IFS
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306 ac_cv_prog_ac_ct_CC="$ac_prog"
11307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11308 break 2
11309 fi
11310 done
11311 done
11312
11313 fi
11314 fi
11315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11316 if test -n "$ac_ct_CC"; then
11317 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11318 echo "${ECHO_T}$ac_ct_CC" >&6
11319 else
11320 echo "$as_me:$LINENO: result: no" >&5
11321 echo "${ECHO_T}no" >&6
11322 fi
11323
11324 test -n "$ac_ct_CC" && break
11325 done
11326
11327 CC=$ac_ct_CC
11328 fi
11329
11330 fi
11331
11332
11333 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11334 See \`config.log' for more details." >&5
11335 echo "$as_me: error: no acceptable C compiler found in \$PATH
11336 See \`config.log' for more details." >&2;}
11337 { (exit 1); exit 1; }; }
11338
11339 # Provide some information about the compiler.
11340 echo "$as_me:$LINENO:" \
11341 "checking for C compiler version" >&5
11342 ac_compiler=`set X $ac_compile; echo $2`
11343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11344 (eval $ac_compiler --version </dev/null >&5) 2>&5
11345 ac_status=$?
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }
11348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11349 (eval $ac_compiler -v </dev/null >&5) 2>&5
11350 ac_status=$?
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }
11353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11354 (eval $ac_compiler -V </dev/null >&5) 2>&5
11355 ac_status=$?
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }
11358
11359 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11360 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11361 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 else
11364 cat >conftest.$ac_ext <<_ACEOF
11365 /* confdefs.h. */
11366 _ACEOF
11367 cat confdefs.h >>conftest.$ac_ext
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370
11371 int
11372 main ()
11373 {
11374 #ifndef __GNUC__
11375 choke me
11376 #endif
11377
11378 ;
11379 return 0;
11380 }
11381 _ACEOF
11382 rm -f conftest.$ac_objext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11384 (eval $ac_compile) 2>conftest.er1
11385 ac_status=$?
11386 grep -v '^ *+' conftest.er1 >conftest.err
11387 rm -f conftest.er1
11388 cat conftest.err >&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11395 ac_status=$?
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 ac_compiler_gnu=yes
11405 else
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11408
11409 ac_compiler_gnu=no
11410 fi
11411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11412 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11413
11414 fi
11415 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11416 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11417 GCC=`test $ac_compiler_gnu = yes && echo yes`
11418 ac_test_CFLAGS=${CFLAGS+set}
11419 ac_save_CFLAGS=$CFLAGS
11420 CFLAGS="-g"
11421 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11422 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11423 if test "${ac_cv_prog_cc_g+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 else
11426 cat >conftest.$ac_ext <<_ACEOF
11427 /* confdefs.h. */
11428 _ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432
11433 int
11434 main ()
11435 {
11436
11437 ;
11438 return 0;
11439 }
11440 _ACEOF
11441 rm -f conftest.$ac_objext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try='test -s conftest.$ac_objext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_prog_cc_g=yes
11464 else
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11467
11468 ac_cv_prog_cc_g=no
11469 fi
11470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11471 fi
11472 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11473 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11474 if test "$ac_test_CFLAGS" = set; then
11475 CFLAGS=$ac_save_CFLAGS
11476 elif test $ac_cv_prog_cc_g = yes; then
11477 if test "$GCC" = yes; then
11478 CFLAGS="-g -O2"
11479 else
11480 CFLAGS="-g"
11481 fi
11482 else
11483 if test "$GCC" = yes; then
11484 CFLAGS="-O2"
11485 else
11486 CFLAGS=
11487 fi
11488 fi
11489 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11490 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11491 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 else
11494 ac_cv_prog_cc_stdc=no
11495 ac_save_CC=$CC
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 #include <stdarg.h>
11503 #include <stdio.h>
11504 #include <sys/types.h>
11505 #include <sys/stat.h>
11506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11507 struct buf { int x; };
11508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11509 static char *e (p, i)
11510 char **p;
11511 int i;
11512 {
11513 return p[i];
11514 }
11515 static char *f (char * (*g) (char **, int), char **p, ...)
11516 {
11517 char *s;
11518 va_list v;
11519 va_start (v,p);
11520 s = g (p, va_arg (v,int));
11521 va_end (v);
11522 return s;
11523 }
11524
11525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11526 function prototypes and stuff, but not '\xHH' hex character constants.
11527 These don't provoke an error unfortunately, instead are silently treated
11528 as 'x'. The following induces an error, until -std1 is added to get
11529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11530 array size at least. It's necessary to write '\x00'==0 to get something
11531 that's true only with -std1. */
11532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11533
11534 int test (int i, double x);
11535 struct s1 {int (*f) (int a);};
11536 struct s2 {int (*f) (double a);};
11537 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11538 int argc;
11539 char **argv;
11540 int
11541 main ()
11542 {
11543 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11544 ;
11545 return 0;
11546 }
11547 _ACEOF
11548 # Don't try gcc -ansi; that turns off useful extensions and
11549 # breaks some systems' header files.
11550 # AIX -qlanglvl=ansi
11551 # Ultrix and OSF/1 -std1
11552 # HP-UX 10.20 and later -Ae
11553 # HP-UX older versions -Aa -D_HPUX_SOURCE
11554 # SVR4 -Xc -D__EXTENSIONS__
11555 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11556 do
11557 CC="$ac_save_CC $ac_arg"
11558 rm -f conftest.$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>conftest.er1
11561 ac_status=$?
11562 grep -v '^ *+' conftest.er1 >conftest.err
11563 rm -f conftest.er1
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -z "$ac_c_werror_flag"
11568 || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11571 ac_status=$?
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11577 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 ac_cv_prog_cc_stdc=$ac_arg
11581 break
11582 else
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.$ac_ext >&5
11585
11586 fi
11587 rm -f conftest.err conftest.$ac_objext
11588 done
11589 rm -f conftest.$ac_ext conftest.$ac_objext
11590 CC=$ac_save_CC
11591
11592 fi
11593
11594 case "x$ac_cv_prog_cc_stdc" in
11595 x|xno)
11596 echo "$as_me:$LINENO: result: none needed" >&5
11597 echo "${ECHO_T}none needed" >&6 ;;
11598 *)
11599 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11600 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11601 CC="$CC $ac_cv_prog_cc_stdc" ;;
11602 esac
11603
11604 # Some people use a C++ compiler to compile C. Since we use `exit',
11605 # in C++ we need to declare it. In case someone uses the same compiler
11606 # for both compiling C and C++ we need to have the C++ compiler decide
11607 # the declaration of exit, since it's the most demanding environment.
11608 cat >conftest.$ac_ext <<_ACEOF
11609 #ifndef __cplusplus
11610 choke me
11611 #endif
11612 _ACEOF
11613 rm -f conftest.$ac_objext
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11615 (eval $ac_compile) 2>conftest.er1
11616 ac_status=$?
11617 grep -v '^ *+' conftest.er1 >conftest.err
11618 rm -f conftest.er1
11619 cat conftest.err >&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } &&
11622 { ac_try='test -z "$ac_c_werror_flag"
11623 || test ! -s conftest.err'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11626 ac_status=$?
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; } &&
11629 { ac_try='test -s conftest.$ac_objext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 for ac_declaration in \
11636 '' \
11637 'extern "C" void std::exit (int) throw (); using std::exit;' \
11638 'extern "C" void std::exit (int); using std::exit;' \
11639 'extern "C" void exit (int) throw ();' \
11640 'extern "C" void exit (int);' \
11641 'void exit (int);'
11642 do
11643 cat >conftest.$ac_ext <<_ACEOF
11644 /* confdefs.h. */
11645 _ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11649 $ac_declaration
11650 #include <stdlib.h>
11651 int
11652 main ()
11653 {
11654 exit (42);
11655 ;
11656 return 0;
11657 }
11658 _ACEOF
11659 rm -f conftest.$ac_objext
11660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11661 (eval $ac_compile) 2>conftest.er1
11662 ac_status=$?
11663 grep -v '^ *+' conftest.er1 >conftest.err
11664 rm -f conftest.er1
11665 cat conftest.err >&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } &&
11668 { ac_try='test -z "$ac_c_werror_flag"
11669 || test ! -s conftest.err'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11672 ac_status=$?
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; } &&
11675 { ac_try='test -s conftest.$ac_objext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11678 ac_status=$?
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 :
11682 else
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.$ac_ext >&5
11685
11686 continue
11687 fi
11688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11689 cat >conftest.$ac_ext <<_ACEOF
11690 /* confdefs.h. */
11691 _ACEOF
11692 cat confdefs.h >>conftest.$ac_ext
11693 cat >>conftest.$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11695 $ac_declaration
11696 int
11697 main ()
11698 {
11699 exit (42);
11700 ;
11701 return 0;
11702 }
11703 _ACEOF
11704 rm -f conftest.$ac_objext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706 (eval $ac_compile) 2>conftest.er1
11707 ac_status=$?
11708 grep -v '^ *+' conftest.er1 >conftest.err
11709 rm -f conftest.er1
11710 cat conftest.err >&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try='test -z "$ac_c_werror_flag"
11714 || test ! -s conftest.err'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11717 ac_status=$?
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; } &&
11720 { ac_try='test -s conftest.$ac_objext'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11723 ac_status=$?
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; }; then
11726 break
11727 else
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.$ac_ext >&5
11730
11731 fi
11732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11733 done
11734 rm -f conftest*
11735 if test -n "$ac_declaration"; then
11736 echo '#ifdef __cplusplus' >>confdefs.h
11737 echo $ac_declaration >>confdefs.h
11738 echo '#endif' >>confdefs.h
11739 fi
11740
11741 else
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11744
11745 fi
11746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11747 ac_ext=c
11748 ac_cpp='$CPP $CPPFLAGS'
11749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11752
11753 depcc="$CC" am_compiler_list=
11754
11755 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11756 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11757 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11760 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11761 # We make a subdir and do the tests there. Otherwise we can end up
11762 # making bogus files that we don't know about and never remove. For
11763 # instance it was reported that on HP-UX the gcc test will end up
11764 # making a dummy file named `D' -- because `-MD' means `put the output
11765 # in D'.
11766 mkdir conftest.dir
11767 # Copy depcomp to subdir because otherwise we won't find it if we're
11768 # using a relative directory.
11769 cp "$am_depcomp" conftest.dir
11770 cd conftest.dir
11771 # We will build objects and dependencies in a subdirectory because
11772 # it helps to detect inapplicable dependency modes. For instance
11773 # both Tru64's cc and ICC support -MD to output dependencies as a
11774 # side effect of compilation, but ICC will put the dependencies in
11775 # the current directory while Tru64 will put them in the object
11776 # directory.
11777 mkdir sub
11778
11779 am_cv_CC_dependencies_compiler_type=none
11780 if test "$am_compiler_list" = ""; then
11781 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11782 fi
11783 for depmode in $am_compiler_list; do
11784 # Setup a source with many dependencies, because some compilers
11785 # like to wrap large dependency lists on column 80 (with \), and
11786 # we should not choose a depcomp mode which is confused by this.
11787 #
11788 # We need to recreate these files for each test, as the compiler may
11789 # overwrite some of them when testing with obscure command lines.
11790 # This happens at least with the AIX C compiler.
11791 : > sub/conftest.c
11792 for i in 1 2 3 4 5 6; do
11793 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11794 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11795 # Solaris 8's {/usr,}/bin/sh.
11796 touch sub/conftst$i.h
11797 done
11798 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11799
11800 case $depmode in
11801 nosideeffect)
11802 # after this tag, mechanisms are not by side-effect, so they'll
11803 # only be used when explicitly requested
11804 if test "x$enable_dependency_tracking" = xyes; then
11805 continue
11806 else
11807 break
11808 fi
11809 ;;
11810 none) break ;;
11811 esac
11812 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11813 # mode. It turns out that the SunPro C++ compiler does not properly
11814 # handle `-M -o', and we need to detect this.
11815 if depmode=$depmode \
11816 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11817 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11818 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11819 >/dev/null 2>conftest.err &&
11820 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11821 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11822 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11823 # icc doesn't choke on unknown options, it will just issue warnings
11824 # or remarks (even with -Werror). So we grep stderr for any message
11825 # that says an option was ignored or not supported.
11826 # When given -MP, icc 7.0 and 7.1 complain thusly:
11827 # icc: Command line warning: ignoring option '-M'; no argument required
11828 # The diagnosis changed in icc 8.0:
11829 # icc: Command line remark: option '-MP' not supported
11830 if (grep 'ignoring option' conftest.err ||
11831 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11832 am_cv_CC_dependencies_compiler_type=$depmode
11833 break
11834 fi
11835 fi
11836 done
11837
11838 cd ..
11839 rm -rf conftest.dir
11840 else
11841 am_cv_CC_dependencies_compiler_type=none
11842 fi
11843
11844 fi
11845 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11846 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
11847 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11848
11849
11850
11851 if
11852 test "x$enable_dependency_tracking" != xno \
11853 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11854 am__fastdepCC_TRUE=
11855 am__fastdepCC_FALSE='#'
11856 else
11857 am__fastdepCC_TRUE='#'
11858 am__fastdepCC_FALSE=
11859 fi
11860
11861
11862 if test "x$CC" != xcc; then
11863 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11864 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
11865 else
11866 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11867 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
11868 fi
11869 set dummy $CC; ac_cc=`echo $2 |
11870 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11871 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 cat >conftest.$ac_ext <<_ACEOF
11875 /* confdefs.h. */
11876 _ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880
11881 int
11882 main ()
11883 {
11884
11885 ;
11886 return 0;
11887 }
11888 _ACEOF
11889 # Make sure it works both with $CC and with simple cc.
11890 # We do the test twice because some compilers refuse to overwrite an
11891 # existing .o file with -o, though they will create one.
11892 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11893 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11895 ac_status=$?
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11900 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); };
11903 then
11904 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11905 if test "x$CC" != xcc; then
11906 # Test first that cc exists at all.
11907 if { ac_try='cc -c conftest.$ac_ext >&5'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
11914 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); };
11924 then
11925 # cc works too.
11926 :
11927 else
11928 # cc exists but doesn't like -o.
11929 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11930 fi
11931 fi
11932 fi
11933 else
11934 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11935 fi
11936 rm -f conftest*
11937
11938 fi
11939 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
11940 echo "$as_me:$LINENO: result: yes" >&5
11941 echo "${ECHO_T}yes" >&6
11942 else
11943 echo "$as_me:$LINENO: result: no" >&5
11944 echo "${ECHO_T}no" >&6
11945
11946 cat >>confdefs.h <<\_ACEOF
11947 #define NO_MINUS_C_MINUS_O 1
11948 _ACEOF
11949
11950 fi
11951
11952 # FIXME: we rely on the cache variable name because
11953 # there is no other way.
11954 set dummy $CC
11955 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11956 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
11957 # Losing compiler, so override with the script.
11958 # FIXME: It is wrong to rewrite CC.
11959 # But if we don't then we get into trouble of one sort or another.
11960 # A longer-term fix would be to have automake use am__CC in this case,
11961 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11962 CC="$am_aux_dir/compile $CC"
11963 fi
11964
11965 ac_ext=c
11966 ac_cpp='$CPP $CPPFLAGS'
11967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11970 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11971 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11972 # On Suns, sometimes $CPP names a directory.
11973 if test -n "$CPP" && test -d "$CPP"; then
11974 CPP=
11975 fi
11976 if test -z "$CPP"; then
11977 if test "${ac_cv_prog_CPP+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 # Double quotes because CPP needs to be expanded
11981 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11982 do
11983 ac_preproc_ok=false
11984 for ac_c_preproc_warn_flag in '' yes
11985 do
11986 # Use a header file that comes with gcc, so configuring glibc
11987 # with a fresh cross-compiler works.
11988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11989 # <limits.h> exists even on freestanding compilers.
11990 # On the NeXT, cc -E runs the code through the compiler's parser,
11991 # not just through cpp. "Syntax error" is here to catch this case.
11992 cat >conftest.$ac_ext <<_ACEOF
11993 /* confdefs.h. */
11994 _ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 #ifdef __STDC__
11999 # include <limits.h>
12000 #else
12001 # include <assert.h>
12002 #endif
12003 Syntax error
12004 _ACEOF
12005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12007 ac_status=$?
12008 grep -v '^ *+' conftest.er1 >conftest.err
12009 rm -f conftest.er1
12010 cat conftest.err >&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } >/dev/null; then
12013 if test -s conftest.err; then
12014 ac_cpp_err=$ac_c_preproc_warn_flag
12015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12016 else
12017 ac_cpp_err=
12018 fi
12019 else
12020 ac_cpp_err=yes
12021 fi
12022 if test -z "$ac_cpp_err"; then
12023 :
12024 else
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12027
12028 # Broken: fails on valid input.
12029 continue
12030 fi
12031 rm -f conftest.err conftest.$ac_ext
12032
12033 # OK, works on sane cases. Now check whether non-existent headers
12034 # can be detected and how.
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <ac_nonexistent.h>
12042 _ACEOF
12043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12045 ac_status=$?
12046 grep -v '^ *+' conftest.er1 >conftest.err
12047 rm -f conftest.er1
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } >/dev/null; then
12051 if test -s conftest.err; then
12052 ac_cpp_err=$ac_c_preproc_warn_flag
12053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12054 else
12055 ac_cpp_err=
12056 fi
12057 else
12058 ac_cpp_err=yes
12059 fi
12060 if test -z "$ac_cpp_err"; then
12061 # Broken: success on invalid input.
12062 continue
12063 else
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.$ac_ext >&5
12066
12067 # Passes both tests.
12068 ac_preproc_ok=:
12069 break
12070 fi
12071 rm -f conftest.err conftest.$ac_ext
12072
12073 done
12074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12075 rm -f conftest.err conftest.$ac_ext
12076 if $ac_preproc_ok; then
12077 break
12078 fi
12079
12080 done
12081 ac_cv_prog_CPP=$CPP
12082
12083 fi
12084 CPP=$ac_cv_prog_CPP
12085 else
12086 ac_cv_prog_CPP=$CPP
12087 fi
12088 echo "$as_me:$LINENO: result: $CPP" >&5
12089 echo "${ECHO_T}$CPP" >&6
12090 ac_preproc_ok=false
12091 for ac_c_preproc_warn_flag in '' yes
12092 do
12093 # Use a header file that comes with gcc, so configuring glibc
12094 # with a fresh cross-compiler works.
12095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12096 # <limits.h> exists even on freestanding compilers.
12097 # On the NeXT, cc -E runs the code through the compiler's parser,
12098 # not just through cpp. "Syntax error" is here to catch this case.
12099 cat >conftest.$ac_ext <<_ACEOF
12100 /* confdefs.h. */
12101 _ACEOF
12102 cat confdefs.h >>conftest.$ac_ext
12103 cat >>conftest.$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12105 #ifdef __STDC__
12106 # include <limits.h>
12107 #else
12108 # include <assert.h>
12109 #endif
12110 Syntax error
12111 _ACEOF
12112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12114 ac_status=$?
12115 grep -v '^ *+' conftest.er1 >conftest.err
12116 rm -f conftest.er1
12117 cat conftest.err >&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } >/dev/null; then
12120 if test -s conftest.err; then
12121 ac_cpp_err=$ac_c_preproc_warn_flag
12122 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12123 else
12124 ac_cpp_err=
12125 fi
12126 else
12127 ac_cpp_err=yes
12128 fi
12129 if test -z "$ac_cpp_err"; then
12130 :
12131 else
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.$ac_ext >&5
12134
12135 # Broken: fails on valid input.
12136 continue
12137 fi
12138 rm -f conftest.err conftest.$ac_ext
12139
12140 # OK, works on sane cases. Now check whether non-existent headers
12141 # can be detected and how.
12142 cat >conftest.$ac_ext <<_ACEOF
12143 /* confdefs.h. */
12144 _ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148 #include <ac_nonexistent.h>
12149 _ACEOF
12150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12152 ac_status=$?
12153 grep -v '^ *+' conftest.er1 >conftest.err
12154 rm -f conftest.er1
12155 cat conftest.err >&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } >/dev/null; then
12158 if test -s conftest.err; then
12159 ac_cpp_err=$ac_c_preproc_warn_flag
12160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12161 else
12162 ac_cpp_err=
12163 fi
12164 else
12165 ac_cpp_err=yes
12166 fi
12167 if test -z "$ac_cpp_err"; then
12168 # Broken: success on invalid input.
12169 continue
12170 else
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.$ac_ext >&5
12173
12174 # Passes both tests.
12175 ac_preproc_ok=:
12176 break
12177 fi
12178 rm -f conftest.err conftest.$ac_ext
12179
12180 done
12181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12182 rm -f conftest.err conftest.$ac_ext
12183 if $ac_preproc_ok; then
12184 :
12185 else
12186 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12187 See \`config.log' for more details." >&5
12188 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12189 See \`config.log' for more details." >&2;}
12190 { (exit 1); exit 1; }; }
12191 fi
12192
12193 ac_ext=c
12194 ac_cpp='$CPP $CPPFLAGS'
12195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12198
12199 ac_ext=cc
12200 ac_cpp='$CXXCPP $CPPFLAGS'
12201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12204 if test -n "$ac_tool_prefix"; then
12205 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12206 do
12207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12209 echo "$as_me:$LINENO: checking for $ac_word" >&5
12210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12211 if test "${ac_cv_prog_CXX+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 else
12214 if test -n "$CXX"; then
12215 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12216 else
12217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12218 for as_dir in $PATH
12219 do
12220 IFS=$as_save_IFS
12221 test -z "$as_dir" && as_dir=.
12222 for ac_exec_ext in '' $ac_executable_extensions; do
12223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12224 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 break 2
12227 fi
12228 done
12229 done
12230
12231 fi
12232 fi
12233 CXX=$ac_cv_prog_CXX
12234 if test -n "$CXX"; then
12235 echo "$as_me:$LINENO: result: $CXX" >&5
12236 echo "${ECHO_T}$CXX" >&6
12237 else
12238 echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6
12240 fi
12241
12242 test -n "$CXX" && break
12243 done
12244 fi
12245 if test -z "$CXX"; then
12246 ac_ct_CXX=$CXX
12247 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12248 do
12249 # Extract the first word of "$ac_prog", so it can be a program name with args.
12250 set dummy $ac_prog; ac_word=$2
12251 echo "$as_me:$LINENO: checking for $ac_word" >&5
12252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12253 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 else
12256 if test -n "$ac_ct_CXX"; then
12257 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12258 else
12259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12260 for as_dir in $PATH
12261 do
12262 IFS=$as_save_IFS
12263 test -z "$as_dir" && as_dir=.
12264 for ac_exec_ext in '' $ac_executable_extensions; do
12265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12266 ac_cv_prog_ac_ct_CXX="$ac_prog"
12267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12268 break 2
12269 fi
12270 done
12271 done
12272
12273 fi
12274 fi
12275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12276 if test -n "$ac_ct_CXX"; then
12277 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12278 echo "${ECHO_T}$ac_ct_CXX" >&6
12279 else
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12282 fi
12283
12284 test -n "$ac_ct_CXX" && break
12285 done
12286 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12287
12288 CXX=$ac_ct_CXX
12289 fi
12290
12291
12292 # Provide some information about the compiler.
12293 echo "$as_me:$LINENO:" \
12294 "checking for C++ compiler version" >&5
12295 ac_compiler=`set X $ac_compile; echo $2`
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12297 (eval $ac_compiler --version </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12302 (eval $ac_compiler -v </dev/null >&5) 2>&5
12303 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }
12306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12307 (eval $ac_compiler -V </dev/null >&5) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }
12311
12312 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12313 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12314 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 else
12317 cat >conftest.$ac_ext <<_ACEOF
12318 /* confdefs.h. */
12319 _ACEOF
12320 cat confdefs.h >>conftest.$ac_ext
12321 cat >>conftest.$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12323
12324 int
12325 main ()
12326 {
12327 #ifndef __GNUC__
12328 choke me
12329 #endif
12330
12331 ;
12332 return 0;
12333 }
12334 _ACEOF
12335 rm -f conftest.$ac_objext
12336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12337 (eval $ac_compile) 2>conftest.er1
12338 ac_status=$?
12339 grep -v '^ *+' conftest.er1 >conftest.err
12340 rm -f conftest.er1
12341 cat conftest.err >&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try='test -z "$ac_cxx_werror_flag"
12345 || test ! -s conftest.err'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12348 ac_status=$?
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; } &&
12351 { ac_try='test -s conftest.$ac_objext'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12354 ac_status=$?
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; }; then
12357 ac_compiler_gnu=yes
12358 else
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12361
12362 ac_compiler_gnu=no
12363 fi
12364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12365 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12366
12367 fi
12368 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12370 GXX=`test $ac_compiler_gnu = yes && echo yes`
12371 ac_test_CXXFLAGS=${CXXFLAGS+set}
12372 ac_save_CXXFLAGS=$CXXFLAGS
12373 CXXFLAGS="-g"
12374 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12375 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12376 if test "${ac_cv_prog_cxx_g+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 else
12379 cat >conftest.$ac_ext <<_ACEOF
12380 /* confdefs.h. */
12381 _ACEOF
12382 cat confdefs.h >>conftest.$ac_ext
12383 cat >>conftest.$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385
12386 int
12387 main ()
12388 {
12389
12390 ;
12391 return 0;
12392 }
12393 _ACEOF
12394 rm -f conftest.$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>conftest.er1
12397 ac_status=$?
12398 grep -v '^ *+' conftest.er1 >conftest.err
12399 rm -f conftest.er1
12400 cat conftest.err >&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try='test -z "$ac_cxx_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 ac_cv_prog_cxx_g=yes
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12420
12421 ac_cv_prog_cxx_g=no
12422 fi
12423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12424 fi
12425 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12426 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12427 if test "$ac_test_CXXFLAGS" = set; then
12428 CXXFLAGS=$ac_save_CXXFLAGS
12429 elif test $ac_cv_prog_cxx_g = yes; then
12430 if test "$GXX" = yes; then
12431 CXXFLAGS="-g -O2"
12432 else
12433 CXXFLAGS="-g"
12434 fi
12435 else
12436 if test "$GXX" = yes; then
12437 CXXFLAGS="-O2"
12438 else
12439 CXXFLAGS=
12440 fi
12441 fi
12442 for ac_declaration in \
12443 '' \
12444 'extern "C" void std::exit (int) throw (); using std::exit;' \
12445 'extern "C" void std::exit (int); using std::exit;' \
12446 'extern "C" void exit (int) throw ();' \
12447 'extern "C" void exit (int);' \
12448 'void exit (int);'
12449 do
12450 cat >conftest.$ac_ext <<_ACEOF
12451 /* confdefs.h. */
12452 _ACEOF
12453 cat confdefs.h >>conftest.$ac_ext
12454 cat >>conftest.$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12456 $ac_declaration
12457 #include <stdlib.h>
12458 int
12459 main ()
12460 {
12461 exit (42);
12462 ;
12463 return 0;
12464 }
12465 _ACEOF
12466 rm -f conftest.$ac_objext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12468 (eval $ac_compile) 2>conftest.er1
12469 ac_status=$?
12470 grep -v '^ *+' conftest.er1 >conftest.err
12471 rm -f conftest.er1
12472 cat conftest.err >&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } &&
12475 { ac_try='test -z "$ac_cxx_werror_flag"
12476 || test ! -s conftest.err'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12479 ac_status=$?
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; } &&
12482 { ac_try='test -s conftest.$ac_objext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12488 :
12489 else
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.$ac_ext >&5
12492
12493 continue
12494 fi
12495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12496 cat >conftest.$ac_ext <<_ACEOF
12497 /* confdefs.h. */
12498 _ACEOF
12499 cat confdefs.h >>conftest.$ac_ext
12500 cat >>conftest.$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 $ac_declaration
12503 int
12504 main ()
12505 {
12506 exit (42);
12507 ;
12508 return 0;
12509 }
12510 _ACEOF
12511 rm -f conftest.$ac_objext
12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12513 (eval $ac_compile) 2>conftest.er1
12514 ac_status=$?
12515 grep -v '^ *+' conftest.er1 >conftest.err
12516 rm -f conftest.er1
12517 cat conftest.err >&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } &&
12520 { ac_try='test -z "$ac_cxx_werror_flag"
12521 || test ! -s conftest.err'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12524 ac_status=$?
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; } &&
12527 { ac_try='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12530 ac_status=$?
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 break
12534 else
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12537
12538 fi
12539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12540 done
12541 rm -f conftest*
12542 if test -n "$ac_declaration"; then
12543 echo '#ifdef __cplusplus' >>confdefs.h
12544 echo $ac_declaration >>confdefs.h
12545 echo '#endif' >>confdefs.h
12546 fi
12547
12548 ac_ext=c
12549 ac_cpp='$CPP $CPPFLAGS'
12550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12553
12554 depcc="$CXX" am_compiler_list=
12555
12556 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12557 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12558 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 else
12561 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12562 # We make a subdir and do the tests there. Otherwise we can end up
12563 # making bogus files that we don't know about and never remove. For
12564 # instance it was reported that on HP-UX the gcc test will end up
12565 # making a dummy file named `D' -- because `-MD' means `put the output
12566 # in D'.
12567 mkdir conftest.dir
12568 # Copy depcomp to subdir because otherwise we won't find it if we're
12569 # using a relative directory.
12570 cp "$am_depcomp" conftest.dir
12571 cd conftest.dir
12572 # We will build objects and dependencies in a subdirectory because
12573 # it helps to detect inapplicable dependency modes. For instance
12574 # both Tru64's cc and ICC support -MD to output dependencies as a
12575 # side effect of compilation, but ICC will put the dependencies in
12576 # the current directory while Tru64 will put them in the object
12577 # directory.
12578 mkdir sub
12579
12580 am_cv_CXX_dependencies_compiler_type=none
12581 if test "$am_compiler_list" = ""; then
12582 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12583 fi
12584 for depmode in $am_compiler_list; do
12585 # Setup a source with many dependencies, because some compilers
12586 # like to wrap large dependency lists on column 80 (with \), and
12587 # we should not choose a depcomp mode which is confused by this.
12588 #
12589 # We need to recreate these files for each test, as the compiler may
12590 # overwrite some of them when testing with obscure command lines.
12591 # This happens at least with the AIX C compiler.
12592 : > sub/conftest.c
12593 for i in 1 2 3 4 5 6; do
12594 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12595 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12596 # Solaris 8's {/usr,}/bin/sh.
12597 touch sub/conftst$i.h
12598 done
12599 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12600
12601 case $depmode in
12602 nosideeffect)
12603 # after this tag, mechanisms are not by side-effect, so they'll
12604 # only be used when explicitly requested
12605 if test "x$enable_dependency_tracking" = xyes; then
12606 continue
12607 else
12608 break
12609 fi
12610 ;;
12611 none) break ;;
12612 esac
12613 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12614 # mode. It turns out that the SunPro C++ compiler does not properly
12615 # handle `-M -o', and we need to detect this.
12616 if depmode=$depmode \
12617 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12618 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12619 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12620 >/dev/null 2>conftest.err &&
12621 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12622 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12623 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12624 # icc doesn't choke on unknown options, it will just issue warnings
12625 # or remarks (even with -Werror). So we grep stderr for any message
12626 # that says an option was ignored or not supported.
12627 # When given -MP, icc 7.0 and 7.1 complain thusly:
12628 # icc: Command line warning: ignoring option '-M'; no argument required
12629 # The diagnosis changed in icc 8.0:
12630 # icc: Command line remark: option '-MP' not supported
12631 if (grep 'ignoring option' conftest.err ||
12632 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12633 am_cv_CXX_dependencies_compiler_type=$depmode
12634 break
12635 fi
12636 fi
12637 done
12638
12639 cd ..
12640 rm -rf conftest.dir
12641 else
12642 am_cv_CXX_dependencies_compiler_type=none
12643 fi
12644
12645 fi
12646 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12647 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12648 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12649
12650
12651
12652 if
12653 test "x$enable_dependency_tracking" != xno \
12654 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12655 am__fastdepCXX_TRUE=
12656 am__fastdepCXX_FALSE='#'
12657 else
12658 am__fastdepCXX_TRUE='#'
12659 am__fastdepCXX_FALSE=
12660 fi
12661
12662
12663
12664 ac_ext=cc
12665 ac_cpp='$CXXCPP $CPPFLAGS'
12666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12669 if test -n "$ac_tool_prefix"; then
12670 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12671 do
12672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12674 echo "$as_me:$LINENO: checking for $ac_word" >&5
12675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12676 if test "${ac_cv_prog_CXX+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12678 else
12679 if test -n "$CXX"; then
12680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12681 else
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12684 do
12685 IFS=$as_save_IFS
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12691 break 2
12692 fi
12693 done
12694 done
12695
12696 fi
12697 fi
12698 CXX=$ac_cv_prog_CXX
12699 if test -n "$CXX"; then
12700 echo "$as_me:$LINENO: result: $CXX" >&5
12701 echo "${ECHO_T}$CXX" >&6
12702 else
12703 echo "$as_me:$LINENO: result: no" >&5
12704 echo "${ECHO_T}no" >&6
12705 fi
12706
12707 test -n "$CXX" && break
12708 done
12709 fi
12710 if test -z "$CXX"; then
12711 ac_ct_CXX=$CXX
12712 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12713 do
12714 # Extract the first word of "$ac_prog", so it can be a program name with args.
12715 set dummy $ac_prog; ac_word=$2
12716 echo "$as_me:$LINENO: checking for $ac_word" >&5
12717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12718 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721 if test -n "$ac_ct_CXX"; then
12722 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12723 else
12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12726 do
12727 IFS=$as_save_IFS
12728 test -z "$as_dir" && as_dir=.
12729 for ac_exec_ext in '' $ac_executable_extensions; do
12730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12731 ac_cv_prog_ac_ct_CXX="$ac_prog"
12732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12733 break 2
12734 fi
12735 done
12736 done
12737
12738 fi
12739 fi
12740 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12741 if test -n "$ac_ct_CXX"; then
12742 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12743 echo "${ECHO_T}$ac_ct_CXX" >&6
12744 else
12745 echo "$as_me:$LINENO: result: no" >&5
12746 echo "${ECHO_T}no" >&6
12747 fi
12748
12749 test -n "$ac_ct_CXX" && break
12750 done
12751 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12752
12753 CXX=$ac_ct_CXX
12754 fi
12755
12756
12757 # Provide some information about the compiler.
12758 echo "$as_me:$LINENO:" \
12759 "checking for C++ compiler version" >&5
12760 ac_compiler=`set X $ac_compile; echo $2`
12761 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12762 (eval $ac_compiler --version </dev/null >&5) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }
12766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12767 (eval $ac_compiler -v </dev/null >&5) 2>&5
12768 ac_status=$?
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }
12771 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12772 (eval $ac_compiler -V </dev/null >&5) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }
12776
12777 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12778 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12779 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 else
12782 cat >conftest.$ac_ext <<_ACEOF
12783 /* confdefs.h. */
12784 _ACEOF
12785 cat confdefs.h >>conftest.$ac_ext
12786 cat >>conftest.$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788
12789 int
12790 main ()
12791 {
12792 #ifndef __GNUC__
12793 choke me
12794 #endif
12795
12796 ;
12797 return 0;
12798 }
12799 _ACEOF
12800 rm -f conftest.$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try='test -z "$ac_cxx_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12813 ac_status=$?
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12819 ac_status=$?
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_compiler_gnu=yes
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12826
12827 ac_compiler_gnu=no
12828 fi
12829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12830 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12831
12832 fi
12833 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12834 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12835 GXX=`test $ac_compiler_gnu = yes && echo yes`
12836 ac_test_CXXFLAGS=${CXXFLAGS+set}
12837 ac_save_CXXFLAGS=$CXXFLAGS
12838 CXXFLAGS="-g"
12839 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12840 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12841 if test "${ac_cv_prog_cxx_g+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 else
12844 cat >conftest.$ac_ext <<_ACEOF
12845 /* confdefs.h. */
12846 _ACEOF
12847 cat confdefs.h >>conftest.$ac_ext
12848 cat >>conftest.$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850
12851 int
12852 main ()
12853 {
12854
12855 ;
12856 return 0;
12857 }
12858 _ACEOF
12859 rm -f conftest.$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try='test -z "$ac_cxx_werror_flag"
12869 || test ! -s conftest.err'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; } &&
12875 { ac_try='test -s conftest.$ac_objext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12878 ac_status=$?
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 ac_cv_prog_cxx_g=yes
12882 else
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12885
12886 ac_cv_prog_cxx_g=no
12887 fi
12888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12889 fi
12890 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12891 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12892 if test "$ac_test_CXXFLAGS" = set; then
12893 CXXFLAGS=$ac_save_CXXFLAGS
12894 elif test $ac_cv_prog_cxx_g = yes; then
12895 if test "$GXX" = yes; then
12896 CXXFLAGS="-g -O2"
12897 else
12898 CXXFLAGS="-g"
12899 fi
12900 else
12901 if test "$GXX" = yes; then
12902 CXXFLAGS="-O2"
12903 else
12904 CXXFLAGS=
12905 fi
12906 fi
12907 for ac_declaration in \
12908 '' \
12909 'extern "C" void std::exit (int) throw (); using std::exit;' \
12910 'extern "C" void std::exit (int); using std::exit;' \
12911 'extern "C" void exit (int) throw ();' \
12912 'extern "C" void exit (int);' \
12913 'void exit (int);'
12914 do
12915 cat >conftest.$ac_ext <<_ACEOF
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 $ac_declaration
12922 #include <stdlib.h>
12923 int
12924 main ()
12925 {
12926 exit (42);
12927 ;
12928 return 0;
12929 }
12930 _ACEOF
12931 rm -f conftest.$ac_objext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>conftest.er1
12934 ac_status=$?
12935 grep -v '^ *+' conftest.er1 >conftest.err
12936 rm -f conftest.er1
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try='test -z "$ac_cxx_werror_flag"
12941 || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12944 ac_status=$?
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try='test -s conftest.$ac_objext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12950 ac_status=$?
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12953 :
12954 else
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12957
12958 continue
12959 fi
12960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12961 cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h. */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 $ac_declaration
12968 int
12969 main ()
12970 {
12971 exit (42);
12972 ;
12973 return 0;
12974 }
12975 _ACEOF
12976 rm -f conftest.$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12979 ac_status=$?
12980 grep -v '^ *+' conftest.er1 >conftest.err
12981 rm -f conftest.er1
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -z "$ac_cxx_werror_flag"
12986 || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12989 ac_status=$?
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try='test -s conftest.$ac_objext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 break
12999 else
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13002
13003 fi
13004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13005 done
13006 rm -f conftest*
13007 if test -n "$ac_declaration"; then
13008 echo '#ifdef __cplusplus' >>confdefs.h
13009 echo $ac_declaration >>confdefs.h
13010 echo '#endif' >>confdefs.h
13011 fi
13012
13013 ac_ext=c
13014 ac_cpp='$CPP $CPPFLAGS'
13015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13018
13019 depcc="$CXX" am_compiler_list=
13020
13021 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13022 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13023 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13027 # We make a subdir and do the tests there. Otherwise we can end up
13028 # making bogus files that we don't know about and never remove. For
13029 # instance it was reported that on HP-UX the gcc test will end up
13030 # making a dummy file named `D' -- because `-MD' means `put the output
13031 # in D'.
13032 mkdir conftest.dir
13033 # Copy depcomp to subdir because otherwise we won't find it if we're
13034 # using a relative directory.
13035 cp "$am_depcomp" conftest.dir
13036 cd conftest.dir
13037 # We will build objects and dependencies in a subdirectory because
13038 # it helps to detect inapplicable dependency modes. For instance
13039 # both Tru64's cc and ICC support -MD to output dependencies as a
13040 # side effect of compilation, but ICC will put the dependencies in
13041 # the current directory while Tru64 will put them in the object
13042 # directory.
13043 mkdir sub
13044
13045 am_cv_CXX_dependencies_compiler_type=none
13046 if test "$am_compiler_list" = ""; then
13047 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13048 fi
13049 for depmode in $am_compiler_list; do
13050 # Setup a source with many dependencies, because some compilers
13051 # like to wrap large dependency lists on column 80 (with \), and
13052 # we should not choose a depcomp mode which is confused by this.
13053 #
13054 # We need to recreate these files for each test, as the compiler may
13055 # overwrite some of them when testing with obscure command lines.
13056 # This happens at least with the AIX C compiler.
13057 : > sub/conftest.c
13058 for i in 1 2 3 4 5 6; do
13059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13060 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13061 # Solaris 8's {/usr,}/bin/sh.
13062 touch sub/conftst$i.h
13063 done
13064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13065
13066 case $depmode in
13067 nosideeffect)
13068 # after this tag, mechanisms are not by side-effect, so they'll
13069 # only be used when explicitly requested
13070 if test "x$enable_dependency_tracking" = xyes; then
13071 continue
13072 else
13073 break
13074 fi
13075 ;;
13076 none) break ;;
13077 esac
13078 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13079 # mode. It turns out that the SunPro C++ compiler does not properly
13080 # handle `-M -o', and we need to detect this.
13081 if depmode=$depmode \
13082 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13083 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13084 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13085 >/dev/null 2>conftest.err &&
13086 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13087 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13088 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13089 # icc doesn't choke on unknown options, it will just issue warnings
13090 # or remarks (even with -Werror). So we grep stderr for any message
13091 # that says an option was ignored or not supported.
13092 # When given -MP, icc 7.0 and 7.1 complain thusly:
13093 # icc: Command line warning: ignoring option '-M'; no argument required
13094 # The diagnosis changed in icc 8.0:
13095 # icc: Command line remark: option '-MP' not supported
13096 if (grep 'ignoring option' conftest.err ||
13097 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13098 am_cv_CXX_dependencies_compiler_type=$depmode
13099 break
13100 fi
13101 fi
13102 done
13103
13104 cd ..
13105 rm -rf conftest.dir
13106 else
13107 am_cv_CXX_dependencies_compiler_type=none
13108 fi
13109
13110 fi
13111 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13112 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13113 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13114
13115
13116
13117 if
13118 test "x$enable_dependency_tracking" != xno \
13119 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13120 am__fastdepCXX_TRUE=
13121 am__fastdepCXX_FALSE='#'
13122 else
13123 am__fastdepCXX_TRUE='#'
13124 am__fastdepCXX_FALSE=
13125 fi
13126
13127
13128 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13129 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13130 (test "X$CXX" != "Xg++"))) ; then
13131 ac_ext=cc
13132 ac_cpp='$CXXCPP $CPPFLAGS'
13133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13136 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13137 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13138 if test -z "$CXXCPP"; then
13139 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13141 else
13142 # Double quotes because CXXCPP needs to be expanded
13143 for CXXCPP in "$CXX -E" "/lib/cpp"
13144 do
13145 ac_preproc_ok=false
13146 for ac_cxx_preproc_warn_flag in '' yes
13147 do
13148 # Use a header file that comes with gcc, so configuring glibc
13149 # with a fresh cross-compiler works.
13150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13151 # <limits.h> exists even on freestanding compilers.
13152 # On the NeXT, cc -E runs the code through the compiler's parser,
13153 # not just through cpp. "Syntax error" is here to catch this case.
13154 cat >conftest.$ac_ext <<_ACEOF
13155 /* confdefs.h. */
13156 _ACEOF
13157 cat confdefs.h >>conftest.$ac_ext
13158 cat >>conftest.$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13160 #ifdef __STDC__
13161 # include <limits.h>
13162 #else
13163 # include <assert.h>
13164 #endif
13165 Syntax error
13166 _ACEOF
13167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13169 ac_status=$?
13170 grep -v '^ *+' conftest.er1 >conftest.err
13171 rm -f conftest.er1
13172 cat conftest.err >&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } >/dev/null; then
13175 if test -s conftest.err; then
13176 ac_cpp_err=$ac_cxx_preproc_warn_flag
13177 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13178 else
13179 ac_cpp_err=
13180 fi
13181 else
13182 ac_cpp_err=yes
13183 fi
13184 if test -z "$ac_cpp_err"; then
13185 :
13186 else
13187 echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.$ac_ext >&5
13189
13190 # Broken: fails on valid input.
13191 continue
13192 fi
13193 rm -f conftest.err conftest.$ac_ext
13194
13195 # OK, works on sane cases. Now check whether non-existent headers
13196 # can be detected and how.
13197 cat >conftest.$ac_ext <<_ACEOF
13198 /* confdefs.h. */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <ac_nonexistent.h>
13204 _ACEOF
13205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } >/dev/null; then
13213 if test -s conftest.err; then
13214 ac_cpp_err=$ac_cxx_preproc_warn_flag
13215 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13216 else
13217 ac_cpp_err=
13218 fi
13219 else
13220 ac_cpp_err=yes
13221 fi
13222 if test -z "$ac_cpp_err"; then
13223 # Broken: success on invalid input.
13224 continue
13225 else
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13228
13229 # Passes both tests.
13230 ac_preproc_ok=:
13231 break
13232 fi
13233 rm -f conftest.err conftest.$ac_ext
13234
13235 done
13236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13237 rm -f conftest.err conftest.$ac_ext
13238 if $ac_preproc_ok; then
13239 break
13240 fi
13241
13242 done
13243 ac_cv_prog_CXXCPP=$CXXCPP
13244
13245 fi
13246 CXXCPP=$ac_cv_prog_CXXCPP
13247 else
13248 ac_cv_prog_CXXCPP=$CXXCPP
13249 fi
13250 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13251 echo "${ECHO_T}$CXXCPP" >&6
13252 ac_preproc_ok=false
13253 for ac_cxx_preproc_warn_flag in '' yes
13254 do
13255 # Use a header file that comes with gcc, so configuring glibc
13256 # with a fresh cross-compiler works.
13257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13258 # <limits.h> exists even on freestanding compilers.
13259 # On the NeXT, cc -E runs the code through the compiler's parser,
13260 # not just through cpp. "Syntax error" is here to catch this case.
13261 cat >conftest.$ac_ext <<_ACEOF
13262 /* confdefs.h. */
13263 _ACEOF
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 #ifdef __STDC__
13268 # include <limits.h>
13269 #else
13270 # include <assert.h>
13271 #endif
13272 Syntax error
13273 _ACEOF
13274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } >/dev/null; then
13282 if test -s conftest.err; then
13283 ac_cpp_err=$ac_cxx_preproc_warn_flag
13284 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13285 else
13286 ac_cpp_err=
13287 fi
13288 else
13289 ac_cpp_err=yes
13290 fi
13291 if test -z "$ac_cpp_err"; then
13292 :
13293 else
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.$ac_ext >&5
13296
13297 # Broken: fails on valid input.
13298 continue
13299 fi
13300 rm -f conftest.err conftest.$ac_ext
13301
13302 # OK, works on sane cases. Now check whether non-existent headers
13303 # can be detected and how.
13304 cat >conftest.$ac_ext <<_ACEOF
13305 /* confdefs.h. */
13306 _ACEOF
13307 cat confdefs.h >>conftest.$ac_ext
13308 cat >>conftest.$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310 #include <ac_nonexistent.h>
13311 _ACEOF
13312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } >/dev/null; then
13320 if test -s conftest.err; then
13321 ac_cpp_err=$ac_cxx_preproc_warn_flag
13322 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13323 else
13324 ac_cpp_err=
13325 fi
13326 else
13327 ac_cpp_err=yes
13328 fi
13329 if test -z "$ac_cpp_err"; then
13330 # Broken: success on invalid input.
13331 continue
13332 else
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.$ac_ext >&5
13335
13336 # Passes both tests.
13337 ac_preproc_ok=:
13338 break
13339 fi
13340 rm -f conftest.err conftest.$ac_ext
13341
13342 done
13343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13344 rm -f conftest.err conftest.$ac_ext
13345 if $ac_preproc_ok; then
13346 :
13347 else
13348 _lt_caught_CXX_error=yes
13349 fi
13350
13351 ac_ext=c
13352 ac_cpp='$CPP $CPPFLAGS'
13353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13356
13357 else
13358 _lt_caught_CXX_error=yes
13359 fi
13360
13361
13362
13363
13364 ac_ext=cc
13365 ac_cpp='$CXXCPP $CPPFLAGS'
13366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13369
13370 archive_cmds_need_lc_CXX=no
13371 allow_undefined_flag_CXX=
13372 always_export_symbols_CXX=no
13373 archive_expsym_cmds_CXX=
13374 compiler_needs_object_CXX=no
13375 export_dynamic_flag_spec_CXX=
13376 hardcode_direct_CXX=no
13377 hardcode_direct_absolute_CXX=no
13378 hardcode_libdir_flag_spec_CXX=
13379 hardcode_libdir_flag_spec_ld_CXX=
13380 hardcode_libdir_separator_CXX=
13381 hardcode_minus_L_CXX=no
13382 hardcode_shlibpath_var_CXX=unsupported
13383 hardcode_automatic_CXX=no
13384 inherit_rpath_CXX=no
13385 module_cmds_CXX=
13386 module_expsym_cmds_CXX=
13387 link_all_deplibs_CXX=unknown
13388 old_archive_cmds_CXX=$old_archive_cmds
13389 no_undefined_flag_CXX=
13390 whole_archive_flag_spec_CXX=
13391 enable_shared_with_static_runtimes_CXX=no
13392
13393 # Source file extension for C++ test sources.
13394 ac_ext=cpp
13395
13396 # Object file extension for compiled C++ test sources.
13397 objext=o
13398 objext_CXX=$objext
13399
13400 # No sense in running all these tests if we already determined that
13401 # the CXX compiler isn't working. Some variables (like enable_shared)
13402 # are currently assumed to apply to all compilers on this platform,
13403 # and will be corrupted by setting them based on a non-working compiler.
13404 if test "$_lt_caught_CXX_error" != yes; then
13405 # Code to be used in simple compile tests
13406 lt_simple_compile_test_code="int some_variable = 0;"
13407
13408 # Code to be used in simple link tests
13409 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13410
13411 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13412
13413
13414
13415
13416
13417
13418 # If no C compiler was specified, use CC.
13419 LTCC=${LTCC-"$CC"}
13420
13421 # If no C compiler flags were specified, use CFLAGS.
13422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13423
13424 # Allow CC to be a program name with arguments.
13425 compiler=$CC
13426
13427
13428 # save warnings/boilerplate of simple test code
13429 ac_outfile=conftest.$ac_objext
13430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13432 _lt_compiler_boilerplate=`cat conftest.err`
13433 $RM conftest*
13434
13435 ac_outfile=conftest.$ac_objext
13436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13438 _lt_linker_boilerplate=`cat conftest.err`
13439 $RM conftest*
13440
13441
13442 # Allow CC to be a program name with arguments.
13443 lt_save_CC=$CC
13444 lt_save_LD=$LD
13445 lt_save_GCC=$GCC
13446 GCC=$GXX
13447 lt_save_with_gnu_ld=$with_gnu_ld
13448 lt_save_path_LD=$lt_cv_path_LD
13449 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13450 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13451 else
13452 $as_unset lt_cv_prog_gnu_ld
13453 fi
13454 if test -n "${lt_cv_path_LDCXX+set}"; then
13455 lt_cv_path_LD=$lt_cv_path_LDCXX
13456 else
13457 $as_unset lt_cv_path_LD
13458 fi
13459 test -z "${LDCXX+set}" || LD=$LDCXX
13460 CC=${CXX-"c++"}
13461 compiler=$CC
13462 compiler_CXX=$CC
13463 for cc_temp in $compiler""; do
13464 case $cc_temp in
13465 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13466 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13467 \-*) ;;
13468 *) break;;
13469 esac
13470 done
13471 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13472
13473
13474 if test -n "$compiler"; then
13475 # We don't want -fno-exception when compiling C++ code, so set the
13476 # no_builtin_flag separately
13477 if test "$GXX" = yes; then
13478 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13479 else
13480 lt_prog_compiler_no_builtin_flag_CXX=
13481 fi
13482
13483 if test "$GXX" = yes; then
13484 # Set up default GNU C++ configuration
13485
13486
13487
13488 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13489 if test "${with_gnu_ld+set}" = set; then
13490 withval="$with_gnu_ld"
13491 test "$withval" = no || with_gnu_ld=yes
13492 else
13493 with_gnu_ld=no
13494 fi;
13495 ac_prog=ld
13496 if test "$GCC" = yes; then
13497 # Check if gcc -print-prog-name=ld gives a path.
13498 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13499 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13500 case $host in
13501 *-*-mingw*)
13502 # gcc leaves a trailing carriage return which upsets mingw
13503 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13504 *)
13505 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13506 esac
13507 case $ac_prog in
13508 # Accept absolute paths.
13509 [\\/]* | ?:[\\/]*)
13510 re_direlt='/[^/][^/]*/\.\./'
13511 # Canonicalize the pathname of ld
13512 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13513 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13514 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13515 done
13516 test -z "$LD" && LD="$ac_prog"
13517 ;;
13518 "")
13519 # If it fails, then pretend we aren't using GCC.
13520 ac_prog=ld
13521 ;;
13522 *)
13523 # If it is relative, then search for the first ld in PATH.
13524 with_gnu_ld=unknown
13525 ;;
13526 esac
13527 elif test "$with_gnu_ld" = yes; then
13528 echo "$as_me:$LINENO: checking for GNU ld" >&5
13529 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13530 else
13531 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13532 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13533 fi
13534 if test "${lt_cv_path_LD+set}" = set; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 else
13537 if test -z "$LD"; then
13538 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13539 for ac_dir in $PATH; do
13540 IFS="$lt_save_ifs"
13541 test -z "$ac_dir" && ac_dir=.
13542 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13543 lt_cv_path_LD="$ac_dir/$ac_prog"
13544 # Check to see if the program is GNU ld. I'd rather use --version,
13545 # but apparently some variants of GNU ld only accept -v.
13546 # Break only if it was the GNU/non-GNU ld that we prefer.
13547 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13548 *GNU* | *'with BFD'*)
13549 test "$with_gnu_ld" != no && break
13550 ;;
13551 *)
13552 test "$with_gnu_ld" != yes && break
13553 ;;
13554 esac
13555 fi
13556 done
13557 IFS="$lt_save_ifs"
13558 else
13559 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13560 fi
13561 fi
13562
13563 LD="$lt_cv_path_LD"
13564 if test -n "$LD"; then
13565 echo "$as_me:$LINENO: result: $LD" >&5
13566 echo "${ECHO_T}$LD" >&6
13567 else
13568 echo "$as_me:$LINENO: result: no" >&5
13569 echo "${ECHO_T}no" >&6
13570 fi
13571 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13572 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13573 { (exit 1); exit 1; }; }
13574 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13575 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13576 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 else
13579 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13580 case `$LD -v 2>&1 </dev/null` in
13581 *GNU* | *'with BFD'*)
13582 lt_cv_prog_gnu_ld=yes
13583 ;;
13584 *)
13585 lt_cv_prog_gnu_ld=no
13586 ;;
13587 esac
13588 fi
13589 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13590 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13591 with_gnu_ld=$lt_cv_prog_gnu_ld
13592
13593
13594
13595
13596
13597
13598
13599 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13600 # archiving commands below assume that GNU ld is being used.
13601 if test "$with_gnu_ld" = yes; then
13602 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13603 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'
13604
13605 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13606 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13607
13608 # If archive_cmds runs LD, not CC, wlarc should be empty
13609 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13610 # investigate it a little bit more. (MM)
13611 wlarc='${wl}'
13612
13613 # ancient GNU ld didn't support --whole-archive et. al.
13614 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13615 $GREP 'no-whole-archive' > /dev/null; then
13616 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13617 else
13618 whole_archive_flag_spec_CXX=
13619 fi
13620 else
13621 with_gnu_ld=no
13622 wlarc=
13623
13624 # A generic and very simple default shared library creation
13625 # command for GNU C++ for the case where it uses the native
13626 # linker, instead of GNU ld. If possible, this setting should
13627 # overridden to take advantage of the native linker features on
13628 # the platform it is being used on.
13629 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13630 fi
13631
13632 # Commands to make compiler produce verbose output that lists
13633 # what "hidden" libraries, object files and flags are used when
13634 # linking a shared library.
13635 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13636
13637 else
13638 GXX=no
13639 with_gnu_ld=no
13640 wlarc=
13641 fi
13642
13643 # PORTME: fill in a description of your system's C++ link characteristics
13644 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13645 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13646 ld_shlibs_CXX=yes
13647 case $host_os in
13648 aix3*)
13649 # FIXME: insert proper C++ library support
13650 ld_shlibs_CXX=no
13651 ;;
13652 aix4* | aix5*)
13653 if test "$host_cpu" = ia64; then
13654 # On IA64, the linker does run time linking by default, so we don't
13655 # have to do anything special.
13656 aix_use_runtimelinking=no
13657 exp_sym_flag='-Bexport'
13658 no_entry_flag=""
13659 else
13660 aix_use_runtimelinking=no
13661
13662 # Test if we are trying to use run time linking or normal
13663 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13664 # need to do runtime linking.
13665 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13666 for ld_flag in $LDFLAGS; do
13667 case $ld_flag in
13668 *-brtl*)
13669 aix_use_runtimelinking=yes
13670 break
13671 ;;
13672 esac
13673 done
13674 ;;
13675 esac
13676
13677 exp_sym_flag='-bexport'
13678 no_entry_flag='-bnoentry'
13679 fi
13680
13681 # When large executables or shared objects are built, AIX ld can
13682 # have problems creating the table of contents. If linking a library
13683 # or program results in "error TOC overflow" add -mminimal-toc to
13684 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13685 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13686
13687 archive_cmds_CXX=''
13688 hardcode_direct_CXX=yes
13689 hardcode_direct_absolute_CXX=yes
13690 hardcode_libdir_separator_CXX=':'
13691 link_all_deplibs_CXX=yes
13692 file_list_spec_CXX='${wl}-f,'
13693
13694 if test "$GXX" = yes; then
13695 case $host_os in aix4.[012]|aix4.[012].*)
13696 # We only want to do this on AIX 4.2 and lower, the check
13697 # below for broken collect2 doesn't work under 4.3+
13698 collect2name=`${CC} -print-prog-name=collect2`
13699 if test -f "$collect2name" &&
13700 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13701 then
13702 # We have reworked collect2
13703 :
13704 else
13705 # We have old collect2
13706 hardcode_direct_CXX=unsupported
13707 # It fails to find uninstalled libraries when the uninstalled
13708 # path is not listed in the libpath. Setting hardcode_minus_L
13709 # to unsupported forces relinking
13710 hardcode_minus_L_CXX=yes
13711 hardcode_libdir_flag_spec_CXX='-L$libdir'
13712 hardcode_libdir_separator_CXX=
13713 fi
13714 esac
13715 shared_flag='-shared'
13716 if test "$aix_use_runtimelinking" = yes; then
13717 shared_flag="$shared_flag "'${wl}-G'
13718 fi
13719 else
13720 # not using gcc
13721 if test "$host_cpu" = ia64; then
13722 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13723 # chokes on -Wl,-G. The following line is correct:
13724 shared_flag='-G'
13725 else
13726 if test "$aix_use_runtimelinking" = yes; then
13727 shared_flag='${wl}-G'
13728 else
13729 shared_flag='${wl}-bM:SRE'
13730 fi
13731 fi
13732 fi
13733
13734 # It seems that -bexpall does not export symbols beginning with
13735 # underscore (_), so it is better to generate a list of symbols to
13736 # export.
13737 always_export_symbols_CXX=yes
13738 if test "$aix_use_runtimelinking" = yes; then
13739 # Warning - without using the other runtime loading flags (-brtl),
13740 # -berok will link without error, but may produce a broken library.
13741 allow_undefined_flag_CXX='-berok'
13742 # Determine the default libpath from the value encoded in an empty
13743 # executable.
13744 if test x$gcc_no_link = xyes; then
13745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13747 { (exit 1); exit 1; }; }
13748 fi
13749 cat >conftest.$ac_ext <<_ACEOF
13750 /* confdefs.h. */
13751 _ACEOF
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755
13756 int
13757 main ()
13758 {
13759
13760 ;
13761 return 0;
13762 }
13763 _ACEOF
13764 rm -f conftest.$ac_objext conftest$ac_exeext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13766 (eval $ac_link) 2>conftest.er1
13767 ac_status=$?
13768 grep -v '^ *+' conftest.er1 >conftest.err
13769 rm -f conftest.er1
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try='test -z "$ac_cxx_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try='test -s conftest$ac_exeext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13783 ac_status=$?
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786
13787 lt_aix_libpath_sed='
13788 /Import File Strings/,/^$/ {
13789 /^0/ {
13790 s/^0 *\(.*\)$/\1/
13791 p
13792 }
13793 }'
13794 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13795 # Check for a 64-bit object if we didn't find anything.
13796 if test -z "$aix_libpath"; then
13797 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13798 fi
13799 else
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.$ac_ext >&5
13802
13803 fi
13804 rm -f conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13807
13808 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13809
13810 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13811 else
13812 if test "$host_cpu" = ia64; then
13813 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13814 allow_undefined_flag_CXX="-z nodefs"
13815 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"
13816 else
13817 # Determine the default libpath from the value encoded in an
13818 # empty executable.
13819 if test x$gcc_no_link = xyes; then
13820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13822 { (exit 1); exit 1; }; }
13823 fi
13824 cat >conftest.$ac_ext <<_ACEOF
13825 /* confdefs.h. */
13826 _ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13830
13831 int
13832 main ()
13833 {
13834
13835 ;
13836 return 0;
13837 }
13838 _ACEOF
13839 rm -f conftest.$ac_objext conftest$ac_exeext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13841 (eval $ac_link) 2>conftest.er1
13842 ac_status=$?
13843 grep -v '^ *+' conftest.er1 >conftest.err
13844 rm -f conftest.er1
13845 cat conftest.err >&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); } &&
13848 { ac_try='test -z "$ac_cxx_werror_flag"
13849 || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try='test -s conftest$ac_exeext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861
13862 lt_aix_libpath_sed='
13863 /Import File Strings/,/^$/ {
13864 /^0/ {
13865 s/^0 *\(.*\)$/\1/
13866 p
13867 }
13868 }'
13869 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13870 # Check for a 64-bit object if we didn't find anything.
13871 if test -z "$aix_libpath"; then
13872 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13873 fi
13874 else
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.$ac_ext >&5
13877
13878 fi
13879 rm -f conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13882
13883 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13884 # Warning - without using the other run time loading flags,
13885 # -berok will link without error, but may produce a broken library.
13886 no_undefined_flag_CXX=' ${wl}-bernotok'
13887 allow_undefined_flag_CXX=' ${wl}-berok'
13888 # Exported symbols can be pulled into shared objects from archives
13889 whole_archive_flag_spec_CXX='$convenience'
13890 archive_cmds_need_lc_CXX=yes
13891 # This is similar to how AIX traditionally builds its shared
13892 # libraries.
13893 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'
13894 fi
13895 fi
13896 ;;
13897
13898 beos*)
13899 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13900 allow_undefined_flag_CXX=unsupported
13901 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13902 # support --undefined. This deserves some investigation. FIXME
13903 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13904 else
13905 ld_shlibs_CXX=no
13906 fi
13907 ;;
13908
13909 chorus*)
13910 case $cc_basename in
13911 *)
13912 # FIXME: insert proper C++ library support
13913 ld_shlibs_CXX=no
13914 ;;
13915 esac
13916 ;;
13917
13918 cygwin* | mingw* | pw32*)
13919 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13920 # as there is no search path for DLLs.
13921 hardcode_libdir_flag_spec_CXX='-L$libdir'
13922 allow_undefined_flag_CXX=unsupported
13923 always_export_symbols_CXX=no
13924 enable_shared_with_static_runtimes_CXX=yes
13925
13926 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13927 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'
13928 # If the export-symbols file already is a .def file (1st line
13929 # is EXPORTS), use it as is; otherwise, prepend...
13930 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13931 cp $export_symbols $output_objdir/$soname.def;
13932 else
13933 echo EXPORTS > $output_objdir/$soname.def;
13934 cat $export_symbols >> $output_objdir/$soname.def;
13935 fi~
13936 $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'
13937 else
13938 ld_shlibs_CXX=no
13939 fi
13940 ;;
13941 darwin* | rhapsody*)
13942 case $host_os in
13943 rhapsody* | darwin1.[012])
13944 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
13945 ;;
13946 *) # Darwin 1.3 on
13947 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13948 10.[012])
13949 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13950 ;;
13951 10.*)
13952 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
13953 ;;
13954 esac
13955 ;;
13956 esac
13957 archive_cmds_need_lc_CXX=no
13958 hardcode_direct_CXX=no
13959 hardcode_automatic_CXX=yes
13960 hardcode_shlibpath_var_CXX=unsupported
13961 whole_archive_flag_spec_CXX=''
13962 link_all_deplibs_CXX=yes
13963
13964 if test "$GXX" = yes ; then
13965 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 else
13968 lt_cv_apple_cc_single_mod=no
13969 if test -z "${LT_MULTI_MODULE}"; then
13970 # By default we will add the -single_module flag. You can override
13971 # by either setting the environment variable LT_MULTI_MODULE
13972 # non-empty at configure time, or by adding -multi-module to the
13973 # link flags.
13974 echo "int foo(void){return 1;}" > conftest.c
13975 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13976 -dynamiclib ${wl}-single_module conftest.c
13977 if test -f libconftest.dylib; then
13978 lt_cv_apple_cc_single_mod=yes
13979 rm libconftest.dylib
13980 fi
13981 rm conftest.$ac_ext
13982 fi
13983 fi
13984
13985 output_verbose_link_cmd=echo
13986 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
13987 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13988 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13989 else
13990 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'
13991 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13992 fi
13993 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13994 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13995 else
13996 case $cc_basename in
13997 xlc*)
13998 output_verbose_link_cmd=echo
13999 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
14000 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14001 # Don't fix this by using the ld -exported_symbols_list flag,
14002 # it doesn't exist in older darwin lds
14003 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14004 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14005 ;;
14006 *)
14007 ld_shlibs_CXX=no
14008 ;;
14009 esac
14010 fi
14011 ;;
14012
14013 dgux*)
14014 case $cc_basename in
14015 ec++*)
14016 # FIXME: insert proper C++ library support
14017 ld_shlibs_CXX=no
14018 ;;
14019 ghcx*)
14020 # Green Hills C++ Compiler
14021 # FIXME: insert proper C++ library support
14022 ld_shlibs_CXX=no
14023 ;;
14024 *)
14025 # FIXME: insert proper C++ library support
14026 ld_shlibs_CXX=no
14027 ;;
14028 esac
14029 ;;
14030
14031 freebsd[12]*)
14032 # C++ shared libraries reported to be fairly broken before
14033 # switch to ELF
14034 ld_shlibs_CXX=no
14035 ;;
14036
14037 freebsd-elf*)
14038 archive_cmds_need_lc_CXX=no
14039 ;;
14040
14041 freebsd* | dragonfly*)
14042 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14043 # conventions
14044 ld_shlibs_CXX=yes
14045 ;;
14046
14047 gnu*)
14048 ;;
14049
14050 hpux9*)
14051 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14052 hardcode_libdir_separator_CXX=:
14053 export_dynamic_flag_spec_CXX='${wl}-E'
14054 hardcode_direct_CXX=yes
14055 hardcode_minus_L_CXX=yes # Not in the search PATH,
14056 # but as the default
14057 # location of the library.
14058
14059 case $cc_basename in
14060 CC*)
14061 # FIXME: insert proper C++ library support
14062 ld_shlibs_CXX=no
14063 ;;
14064 aCC*)
14065 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'
14066 # Commands to make compiler produce verbose output that lists
14067 # what "hidden" libraries, object files and flags are used when
14068 # linking a shared library.
14069 #
14070 # There doesn't appear to be a way to prevent this compiler from
14071 # explicitly linking system object files so we need to strip them
14072 # from the output so that they don't get included in the library
14073 # dependencies.
14074 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; $ECHO "X$list" | $Xsed'
14075 ;;
14076 *)
14077 if test "$GXX" = yes; then
14078 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'
14079 else
14080 # FIXME: insert proper C++ library support
14081 ld_shlibs_CXX=no
14082 fi
14083 ;;
14084 esac
14085 ;;
14086
14087 hpux10*|hpux11*)
14088 if test $with_gnu_ld = no; then
14089 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14090 hardcode_libdir_separator_CXX=:
14091
14092 case $host_cpu in
14093 hppa*64*|ia64*)
14094 ;;
14095 *)
14096 export_dynamic_flag_spec_CXX='${wl}-E'
14097 ;;
14098 esac
14099 fi
14100 case $host_cpu in
14101 hppa*64*|ia64*)
14102 hardcode_direct_CXX=no
14103 hardcode_shlibpath_var_CXX=no
14104 ;;
14105 *)
14106 hardcode_direct_CXX=yes
14107 hardcode_direct_absolute_CXX=yes
14108 hardcode_minus_L_CXX=yes # Not in the search PATH,
14109 # but as the default
14110 # location of the library.
14111 ;;
14112 esac
14113
14114 case $cc_basename in
14115 CC*)
14116 # FIXME: insert proper C++ library support
14117 ld_shlibs_CXX=no
14118 ;;
14119 aCC*)
14120 case $host_cpu in
14121 hppa*64*)
14122 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14123 ;;
14124 ia64*)
14125 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14126 ;;
14127 *)
14128 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14129 ;;
14130 esac
14131 # Commands to make compiler produce verbose output that lists
14132 # what "hidden" libraries, object files and flags are used when
14133 # linking a shared library.
14134 #
14135 # There doesn't appear to be a way to prevent this compiler from
14136 # explicitly linking system object files so we need to strip them
14137 # from the output so that they don't get included in the library
14138 # dependencies.
14139 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; $ECHO "X$list" | $Xsed'
14140 ;;
14141 *)
14142 if test "$GXX" = yes; then
14143 if test $with_gnu_ld = no; then
14144 case $host_cpu in
14145 hppa*64*)
14146 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14147 ;;
14148 ia64*)
14149 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14150 ;;
14151 *)
14152 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'
14153 ;;
14154 esac
14155 fi
14156 else
14157 # FIXME: insert proper C++ library support
14158 ld_shlibs_CXX=no
14159 fi
14160 ;;
14161 esac
14162 ;;
14163
14164 interix[3-9]*)
14165 hardcode_direct_CXX=no
14166 hardcode_shlibpath_var_CXX=no
14167 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14168 export_dynamic_flag_spec_CXX='${wl}-E'
14169 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14170 # Instead, shared libraries are loaded at an image base (0x10000000 by
14171 # default) and relocated if they conflict, which is a slow very memory
14172 # consuming and fragmenting process. To avoid this, we pick a random,
14173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14174 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14175 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'
14176 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'
14177 ;;
14178 irix5* | irix6*)
14179 case $cc_basename in
14180 CC*)
14181 # SGI C++
14182 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14183
14184 # Archives containing C++ object files must be created using
14185 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14186 # necessary to make sure instantiated templates are included
14187 # in the archive.
14188 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14189 ;;
14190 *)
14191 if test "$GXX" = yes; then
14192 if test "$with_gnu_ld" = no; then
14193 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14194 else
14195 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14196 fi
14197 fi
14198 link_all_deplibs_CXX=yes
14199 ;;
14200 esac
14201 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14202 hardcode_libdir_separator_CXX=:
14203 inherit_rpath_CXX=yes
14204 ;;
14205
14206 linux* | k*bsd*-gnu)
14207 case $cc_basename in
14208 KCC*)
14209 # Kuck and Associates, Inc. (KAI) C++ Compiler
14210
14211 # KCC will only create a shared library if the output file
14212 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14213 # to its proper name (with version) after linking.
14214 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'
14215 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'
14216 # Commands to make compiler produce verbose output that lists
14217 # what "hidden" libraries, object files and flags are used when
14218 # linking a shared library.
14219 #
14220 # There doesn't appear to be a way to prevent this compiler from
14221 # explicitly linking system object files so we need to strip them
14222 # from the output so that they don't get included in the library
14223 # dependencies.
14224 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; $ECHO "X$list" | $Xsed'
14225
14226 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14227 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14228
14229 # Archives containing C++ object files must be created using
14230 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14231 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14232 ;;
14233 icpc* | ecpc* )
14234 # Intel C++
14235 with_gnu_ld=yes
14236 # version 8.0 and above of icpc choke on multiply defined symbols
14237 # if we add $predep_objects and $postdep_objects, however 7.1 and
14238 # earlier do not add the objects themselves.
14239 case `$CC -V 2>&1` in
14240 *"Version 7."*)
14241 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14242 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'
14243 ;;
14244 *) # Version 8.0 or newer
14245 tmp_idyn=
14246 case $host_cpu in
14247 ia64*) tmp_idyn=' -i_dynamic';;
14248 esac
14249 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 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'
14251 ;;
14252 esac
14253 archive_cmds_need_lc_CXX=no
14254 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14255 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14256 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14257 ;;
14258 pgCC*)
14259 # Portland Group C++ compiler
14260 case `$CC -V` in
14261 *pgCC\ [1-5]*)
14262 prelink_cmds_CXX='tpldir=Template.dir~
14263 rm -rf $tpldir~
14264 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14265 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14266 old_archive_cmds_CXX='tpldir=Template.dir~
14267 rm -rf $tpldir~
14268 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14269 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14270 $RANLIB $oldlib'
14271 archive_cmds_CXX='tpldir=Template.dir~
14272 rm -rf $tpldir~
14273 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14274 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14275 archive_expsym_cmds_CXX='tpldir=Template.dir~
14276 rm -rf $tpldir~
14277 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14278 $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'
14279 ;;
14280 *) # Version 6 will use weak symbols
14281 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14282 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'
14283 ;;
14284 esac
14285
14286 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14287 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14288 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14289 ;;
14290 cxx*)
14291 # Compaq C++
14292 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14293 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'
14294
14295 runpath_var=LD_RUN_PATH
14296 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14297 hardcode_libdir_separator_CXX=:
14298
14299 # Commands to make compiler produce verbose output that lists
14300 # what "hidden" libraries, object files and flags are used when
14301 # linking a shared library.
14302 #
14303 # There doesn't appear to be a way to prevent this compiler from
14304 # explicitly linking system object files so we need to strip them
14305 # from the output so that they don't get included in the library
14306 # dependencies.
14307 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14308 ;;
14309 *)
14310 case `$CC -V 2>&1 | sed 5q` in
14311 *Sun\ C*)
14312 # Sun C++ 5.9
14313 no_undefined_flag_CXX=' -zdefs'
14314 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14315 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'
14316 hardcode_libdir_flag_spec_CXX='-R$libdir'
14317 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14318 compiler_needs_object_CXX=yes
14319
14320 # Not sure whether something based on
14321 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14322 # would be better.
14323 output_verbose_link_cmd='echo'
14324
14325 # Archives containing C++ object files must be created using
14326 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14327 # necessary to make sure instantiated templates are included
14328 # in the archive.
14329 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14330 ;;
14331 esac
14332 ;;
14333 esac
14334 ;;
14335
14336 lynxos*)
14337 # FIXME: insert proper C++ library support
14338 ld_shlibs_CXX=no
14339 ;;
14340
14341 m88k*)
14342 # FIXME: insert proper C++ library support
14343 ld_shlibs_CXX=no
14344 ;;
14345
14346 mvs*)
14347 case $cc_basename in
14348 cxx*)
14349 # FIXME: insert proper C++ library support
14350 ld_shlibs_CXX=no
14351 ;;
14352 *)
14353 # FIXME: insert proper C++ library support
14354 ld_shlibs_CXX=no
14355 ;;
14356 esac
14357 ;;
14358
14359 netbsd*)
14360 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14361 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14362 wlarc=
14363 hardcode_libdir_flag_spec_CXX='-R$libdir'
14364 hardcode_direct_CXX=yes
14365 hardcode_shlibpath_var_CXX=no
14366 fi
14367 # Workaround some broken pre-1.5 toolchains
14368 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14369 ;;
14370
14371 *nto* | *qnx*)
14372 ld_shlibs_CXX=yes
14373 ;;
14374
14375 openbsd2*)
14376 # C++ shared libraries are fairly broken
14377 ld_shlibs_CXX=no
14378 ;;
14379
14380 openbsd*)
14381 hardcode_direct_CXX=yes
14382 hardcode_shlibpath_var_CXX=no
14383 hardcode_direct_absolute_CXX=yes
14384 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14385 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14387 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14388 export_dynamic_flag_spec_CXX='${wl}-E'
14389 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14390 fi
14391 output_verbose_link_cmd=echo
14392 ;;
14393
14394 osf3* | osf4* | osf5*)
14395 case $cc_basename in
14396 KCC*)
14397 # Kuck and Associates, Inc. (KAI) C++ Compiler
14398
14399 # KCC will only create a shared library if the output file
14400 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14401 # to its proper name (with version) after linking.
14402 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'
14403
14404 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14405 hardcode_libdir_separator_CXX=:
14406
14407 # Archives containing C++ object files must be created using
14408 # the KAI C++ compiler.
14409 case $host in
14410 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14411 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14412 esac
14413 ;;
14414 RCC*)
14415 # Rational C++ 2.4.1
14416 # FIXME: insert proper C++ library support
14417 ld_shlibs_CXX=no
14418 ;;
14419 cxx*)
14420 case $host in
14421 osf3*)
14422 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14423 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14424 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14425 ;;
14426 *)
14427 allow_undefined_flag_CXX=' -expect_unresolved \*'
14428 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14429 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14430 echo "-hidden">> $lib.exp~
14431 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14432 $RM $lib.exp'
14433 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14434 ;;
14435 esac
14436
14437 hardcode_libdir_separator_CXX=:
14438
14439 # Commands to make compiler produce verbose output that lists
14440 # what "hidden" libraries, object files and flags are used when
14441 # linking a shared library.
14442 #
14443 # There doesn't appear to be a way to prevent this compiler from
14444 # explicitly linking system object files so we need to strip them
14445 # from the output so that they don't get included in the library
14446 # dependencies.
14447 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14448 ;;
14449 *)
14450 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14451 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14452 case $host in
14453 osf3*)
14454 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14455 ;;
14456 *)
14457 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14458 ;;
14459 esac
14460
14461 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14462 hardcode_libdir_separator_CXX=:
14463
14464 # Commands to make compiler produce verbose output that lists
14465 # what "hidden" libraries, object files and flags are used when
14466 # linking a shared library.
14467 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14468
14469 else
14470 # FIXME: insert proper C++ library support
14471 ld_shlibs_CXX=no
14472 fi
14473 ;;
14474 esac
14475 ;;
14476
14477 psos*)
14478 # FIXME: insert proper C++ library support
14479 ld_shlibs_CXX=no
14480 ;;
14481
14482 sunos4*)
14483 case $cc_basename in
14484 CC*)
14485 # Sun C++ 4.x
14486 # FIXME: insert proper C++ library support
14487 ld_shlibs_CXX=no
14488 ;;
14489 lcc*)
14490 # Lucid
14491 # FIXME: insert proper C++ library support
14492 ld_shlibs_CXX=no
14493 ;;
14494 *)
14495 # FIXME: insert proper C++ library support
14496 ld_shlibs_CXX=no
14497 ;;
14498 esac
14499 ;;
14500
14501 solaris*)
14502 case $cc_basename in
14503 CC*)
14504 # Sun C++ 4.2, 5.x and Centerline C++
14505 archive_cmds_need_lc_CXX=yes
14506 no_undefined_flag_CXX=' -zdefs'
14507 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14508 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14509 $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'
14510
14511 hardcode_libdir_flag_spec_CXX='-R$libdir'
14512 hardcode_shlibpath_var_CXX=no
14513 case $host_os in
14514 solaris2.[0-5] | solaris2.[0-5].*) ;;
14515 *)
14516 # The compiler driver will combine and reorder linker options,
14517 # but understands `-z linker_flag'.
14518 # Supported since Solaris 2.6 (maybe 2.5.1?)
14519 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14520 ;;
14521 esac
14522 link_all_deplibs_CXX=yes
14523
14524 output_verbose_link_cmd='echo'
14525
14526 # Archives containing C++ object files must be created using
14527 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14528 # necessary to make sure instantiated templates are included
14529 # in the archive.
14530 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14531 ;;
14532 gcx*)
14533 # Green Hills C++ Compiler
14534 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14535
14536 # The C++ compiler must be used to create the archive.
14537 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14538 ;;
14539 *)
14540 # GNU C++ compiler with Solaris linker
14541 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14542 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14543 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14544 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14545 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14546 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14547
14548 # Commands to make compiler produce verbose output that lists
14549 # what "hidden" libraries, object files and flags are used when
14550 # linking a shared library.
14551 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14552 else
14553 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14554 # platform.
14555 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14556 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14557 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14558
14559 # Commands to make compiler produce verbose output that lists
14560 # what "hidden" libraries, object files and flags are used when
14561 # linking a shared library.
14562 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14563 fi
14564
14565 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14566 case $host_os in
14567 solaris2.[0-5] | solaris2.[0-5].*) ;;
14568 *)
14569 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14570 ;;
14571 esac
14572 fi
14573 ;;
14574 esac
14575 ;;
14576
14577 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14578 no_undefined_flag_CXX='${wl}-z,text'
14579 archive_cmds_need_lc_CXX=no
14580 hardcode_shlibpath_var_CXX=no
14581 runpath_var='LD_RUN_PATH'
14582
14583 case $cc_basename in
14584 CC*)
14585 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14586 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14587 ;;
14588 *)
14589 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14590 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14591 ;;
14592 esac
14593 ;;
14594
14595 sysv5* | sco3.2v5* | sco5v6*)
14596 # Note: We can NOT use -z defs as we might desire, because we do not
14597 # link with -lc, and that would cause any symbols used from libc to
14598 # always be unresolved, which means just about no library would
14599 # ever link correctly. If we're not using GNU ld we use -z text
14600 # though, which does catch some bad symbols but isn't as heavy-handed
14601 # as -z defs.
14602 no_undefined_flag_CXX='${wl}-z,text'
14603 allow_undefined_flag_CXX='${wl}-z,nodefs'
14604 archive_cmds_need_lc_CXX=no
14605 hardcode_shlibpath_var_CXX=no
14606 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14607 hardcode_libdir_separator_CXX=':'
14608 link_all_deplibs_CXX=yes
14609 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14610 runpath_var='LD_RUN_PATH'
14611
14612 case $cc_basename in
14613 CC*)
14614 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14615 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14616 ;;
14617 *)
14618 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14619 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14620 ;;
14621 esac
14622 ;;
14623
14624 tandem*)
14625 case $cc_basename in
14626 NCC*)
14627 # NonStop-UX NCC 3.20
14628 # FIXME: insert proper C++ library support
14629 ld_shlibs_CXX=no
14630 ;;
14631 *)
14632 # FIXME: insert proper C++ library support
14633 ld_shlibs_CXX=no
14634 ;;
14635 esac
14636 ;;
14637
14638 vxworks*)
14639 # FIXME: insert proper C++ library support
14640 ld_shlibs_CXX=no
14641 ;;
14642
14643 *)
14644 # FIXME: insert proper C++ library support
14645 ld_shlibs_CXX=no
14646 ;;
14647 esac
14648
14649 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14650 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14651 test "$ld_shlibs_CXX" = no && can_build_shared=no
14652
14653 GCC_CXX="$GXX"
14654 LD_CXX="$LD"
14655
14656 ## CAVEAT EMPTOR:
14657 ## There is no encapsulation within the following macros, do not change
14658 ## the running order or otherwise move them around unless you know exactly
14659 ## what you are doing...
14660 # Dependencies to place before and after the object being linked:
14661 predep_objects_CXX=
14662 postdep_objects_CXX=
14663 predeps_CXX=
14664 postdeps_CXX=
14665 compiler_lib_search_path_CXX=
14666
14667 cat > conftest.$ac_ext <<_LT_EOF
14668 class Foo
14669 {
14670 public:
14671 Foo (void) { a = 0; }
14672 private:
14673 int a;
14674 };
14675 _LT_EOF
14676
14677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14678 (eval $ac_compile) 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; then
14682 # Parse the compiler output and extract the necessary
14683 # objects, libraries and library flags.
14684
14685 # Sentinel used to keep track of whether or not we are before
14686 # the conftest object file.
14687 pre_test_object_deps_done=no
14688
14689 # The `*' in the case matches for architectures that use `case' in
14690 # $output_verbose_cmd can trigger glob expansion during the loop
14691 # eval without this substitution.
14692 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14693
14694 for p in `eval $output_verbose_link_cmd`; do
14695 case $p in
14696
14697 -L* | -R* | -l*)
14698 # Some compilers place space between "-{L,R}" and the path.
14699 # Remove the space.
14700 if test $p = "-L" ||
14701 test $p = "-R"; then
14702 prev=$p
14703 continue
14704 else
14705 prev=
14706 fi
14707
14708 if test "$pre_test_object_deps_done" = no; then
14709 case $p in
14710 -L* | -R*)
14711 # Internal compiler library paths should come after those
14712 # provided the user. The postdeps already come after the
14713 # user supplied libs so there is no need to process them.
14714 if test -z "$compiler_lib_search_path_CXX"; then
14715 compiler_lib_search_path_CXX="${prev}${p}"
14716 else
14717 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14718 fi
14719 ;;
14720 # The "-l" case would never come before the object being
14721 # linked, so don't bother handling this case.
14722 esac
14723 else
14724 if test -z "$postdeps_CXX"; then
14725 postdeps_CXX="${prev}${p}"
14726 else
14727 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14728 fi
14729 fi
14730 ;;
14731
14732 *.$objext)
14733 # This assumes that the test object file only shows up
14734 # once in the compiler output.
14735 if test "$p" = "conftest.$objext"; then
14736 pre_test_object_deps_done=yes
14737 continue
14738 fi
14739
14740 if test "$pre_test_object_deps_done" = no; then
14741 if test -z "$predep_objects_CXX"; then
14742 predep_objects_CXX="$p"
14743 else
14744 predep_objects_CXX="$predep_objects_CXX $p"
14745 fi
14746 else
14747 if test -z "$postdep_objects_CXX"; then
14748 postdep_objects_CXX="$p"
14749 else
14750 postdep_objects_CXX="$postdep_objects_CXX $p"
14751 fi
14752 fi
14753 ;;
14754
14755 *) ;; # Ignore the rest.
14756
14757 esac
14758 done
14759
14760 # Clean up.
14761 rm -f a.out a.exe
14762 else
14763 echo "libtool.m4: error: problem compiling CXX test program"
14764 fi
14765
14766 $RM -f confest.$objext
14767
14768 # PORTME: override above test on systems where it is broken
14769 case $host_os in
14770 interix[3-9]*)
14771 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14772 # hack all around it, let's just trust "g++" to DTRT.
14773 predep_objects_CXX=
14774 postdep_objects_CXX=
14775 postdeps_CXX=
14776 ;;
14777
14778 linux*)
14779 case `$CC -V 2>&1 | sed 5q` in
14780 *Sun\ C*)
14781 # Sun C++ 5.9
14782
14783 # The more standards-conforming stlport4 library is
14784 # incompatible with the Cstd library. Avoid specifying
14785 # it if it's in CXXFLAGS. Ignore libCrun as
14786 # -library=stlport4 depends on it.
14787 case " $CXX $CXXFLAGS " in
14788 *" -library=stlport4 "*)
14789 solaris_use_stlport4=yes
14790 ;;
14791 esac
14792
14793 if test "$solaris_use_stlport4" != yes; then
14794 postdeps_CXX='-library=Cstd -library=Crun'
14795 fi
14796 ;;
14797 esac
14798 ;;
14799
14800 solaris*)
14801 case $cc_basename in
14802 CC*)
14803 # The more standards-conforming stlport4 library is
14804 # incompatible with the Cstd library. Avoid specifying
14805 # it if it's in CXXFLAGS. Ignore libCrun as
14806 # -library=stlport4 depends on it.
14807 case " $CXX $CXXFLAGS " in
14808 *" -library=stlport4 "*)
14809 solaris_use_stlport4=yes
14810 ;;
14811 esac
14812
14813 # Adding this requires a known-good setup of shared libraries for
14814 # Sun compiler versions before 5.6, else PIC objects from an old
14815 # archive will be linked into the output, leading to subtle bugs.
14816 if test "$solaris_use_stlport4" != yes; then
14817 postdeps_CXX='-library=Cstd -library=Crun'
14818 fi
14819 ;;
14820 esac
14821 ;;
14822 esac
14823
14824
14825 case " $postdeps_CXX " in
14826 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14827 esac
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854 lt_prog_compiler_wl_CXX=
14855 lt_prog_compiler_pic_CXX=
14856 lt_prog_compiler_static_CXX=
14857
14858 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14859 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14860
14861 # C++ specific cases for pic, static, wl, etc.
14862 if test "$GXX" = yes; then
14863 lt_prog_compiler_wl_CXX='-Wl,'
14864 lt_prog_compiler_static_CXX='-static'
14865
14866 case $host_os in
14867 aix*)
14868 # All AIX code is PIC.
14869 if test "$host_cpu" = ia64; then
14870 # AIX 5 now supports IA64 processor
14871 lt_prog_compiler_static_CXX='-Bstatic'
14872 fi
14873 ;;
14874 amigaos*)
14875 if test "$host_cpu" = m68k; then
14876 # FIXME: we need at least 68020 code to build shared libraries, but
14877 # adding the `-m68020' flag to GCC prevents building anything better,
14878 # like `-m68040'.
14879 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14880 fi
14881 ;;
14882 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14883 # PIC is the default for these OSes.
14884 ;;
14885 mingw* | cygwin* | os2* | pw32*)
14886 # This hack is so that the source file can tell whether it is being
14887 # built for inclusion in a dll (and should export symbols for example).
14888 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14889 # (--disable-auto-import) libraries
14890 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14891 ;;
14892 darwin* | rhapsody*)
14893 # PIC is the default on this platform
14894 # Common symbols not allowed in MH_DYLIB files
14895 lt_prog_compiler_pic_CXX='-fno-common'
14896 ;;
14897 *djgpp*)
14898 # DJGPP does not support shared libraries at all
14899 lt_prog_compiler_pic_CXX=
14900 ;;
14901 interix[3-9]*)
14902 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14903 # Instead, we relocate shared libraries at runtime.
14904 ;;
14905 sysv4*MP*)
14906 if test -d /usr/nec; then
14907 lt_prog_compiler_pic_CXX=-Kconform_pic
14908 fi
14909 ;;
14910 hpux*)
14911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14912 # not for PA HP-UX.
14913 case $host_cpu in
14914 hppa*64*|ia64*)
14915 ;;
14916 *)
14917 lt_prog_compiler_pic_CXX='-fPIC'
14918 ;;
14919 esac
14920 ;;
14921 *qnx* | *nto*)
14922 # QNX uses GNU C++, but need to define -shared option too, otherwise
14923 # it will coredump.
14924 lt_prog_compiler_pic_CXX='-fPIC -shared'
14925 ;;
14926 *)
14927 lt_prog_compiler_pic_CXX='-fPIC'
14928 ;;
14929 esac
14930 else
14931 case $host_os in
14932 aix4* | aix5*)
14933 # All AIX code is PIC.
14934 if test "$host_cpu" = ia64; then
14935 # AIX 5 now supports IA64 processor
14936 lt_prog_compiler_static_CXX='-Bstatic'
14937 else
14938 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14939 fi
14940 ;;
14941 chorus*)
14942 case $cc_basename in
14943 cxch68*)
14944 # Green Hills C++ Compiler
14945 # _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"
14946 ;;
14947 esac
14948 ;;
14949 darwin*)
14950 # PIC is the default on this platform
14951 # Common symbols not allowed in MH_DYLIB files
14952 case $cc_basename in
14953 xlc*)
14954 lt_prog_compiler_pic_CXX='-qnocommon'
14955 lt_prog_compiler_wl_CXX='-Wl,'
14956 ;;
14957 esac
14958 ;;
14959 dgux*)
14960 case $cc_basename in
14961 ec++*)
14962 lt_prog_compiler_pic_CXX='-KPIC'
14963 ;;
14964 ghcx*)
14965 # Green Hills C++ Compiler
14966 lt_prog_compiler_pic_CXX='-pic'
14967 ;;
14968 *)
14969 ;;
14970 esac
14971 ;;
14972 freebsd* | dragonfly*)
14973 # FreeBSD uses GNU C++
14974 ;;
14975 hpux9* | hpux10* | hpux11*)
14976 case $cc_basename in
14977 CC*)
14978 lt_prog_compiler_wl_CXX='-Wl,'
14979 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14980 if test "$host_cpu" != ia64; then
14981 lt_prog_compiler_pic_CXX='+Z'
14982 fi
14983 ;;
14984 aCC*)
14985 lt_prog_compiler_wl_CXX='-Wl,'
14986 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14987 case $host_cpu in
14988 hppa*64*|ia64*)
14989 # +Z the default
14990 ;;
14991 *)
14992 lt_prog_compiler_pic_CXX='+Z'
14993 ;;
14994 esac
14995 ;;
14996 *)
14997 ;;
14998 esac
14999 ;;
15000 interix*)
15001 # This is c89, which is MS Visual C++ (no shared libs)
15002 # Anyone wants to do a port?
15003 ;;
15004 irix5* | irix6* | nonstopux*)
15005 case $cc_basename in
15006 CC*)
15007 lt_prog_compiler_wl_CXX='-Wl,'
15008 lt_prog_compiler_static_CXX='-non_shared'
15009 # CC pic flag -KPIC is the default.
15010 ;;
15011 *)
15012 ;;
15013 esac
15014 ;;
15015 linux* | k*bsd*-gnu)
15016 case $cc_basename in
15017 KCC*)
15018 # KAI C++ Compiler
15019 lt_prog_compiler_wl_CXX='--backend -Wl,'
15020 lt_prog_compiler_pic_CXX='-fPIC'
15021 ;;
15022 icpc* | ecpc* )
15023 # Intel C++
15024 lt_prog_compiler_wl_CXX='-Wl,'
15025 lt_prog_compiler_pic_CXX='-KPIC'
15026 lt_prog_compiler_static_CXX='-static'
15027 ;;
15028 pgCC*)
15029 # Portland Group C++ compiler
15030 lt_prog_compiler_wl_CXX='-Wl,'
15031 lt_prog_compiler_pic_CXX='-fpic'
15032 lt_prog_compiler_static_CXX='-Bstatic'
15033 ;;
15034 cxx*)
15035 # Compaq C++
15036 # Make sure the PIC flag is empty. It appears that all Alpha
15037 # Linux and Compaq Tru64 Unix objects are PIC.
15038 lt_prog_compiler_pic_CXX=
15039 lt_prog_compiler_static_CXX='-non_shared'
15040 ;;
15041 *)
15042 case `$CC -V 2>&1 | sed 5q` in
15043 *Sun\ C*)
15044 # Sun C++ 5.9
15045 lt_prog_compiler_pic_CXX='-KPIC'
15046 lt_prog_compiler_static_CXX='-Bstatic'
15047 lt_prog_compiler_wl_CXX='-Qoption ld '
15048 ;;
15049 esac
15050 ;;
15051 esac
15052 ;;
15053 lynxos*)
15054 ;;
15055 m88k*)
15056 ;;
15057 mvs*)
15058 case $cc_basename in
15059 cxx*)
15060 lt_prog_compiler_pic_CXX='-W c,exportall'
15061 ;;
15062 *)
15063 ;;
15064 esac
15065 ;;
15066 netbsd*)
15067 ;;
15068 *qnx* | *nto*)
15069 # QNX uses GNU C++, but need to define -shared option too, otherwise
15070 # it will coredump.
15071 lt_prog_compiler_pic_CXX='-fPIC -shared'
15072 ;;
15073 osf3* | osf4* | osf5*)
15074 case $cc_basename in
15075 KCC*)
15076 lt_prog_compiler_wl_CXX='--backend -Wl,'
15077 ;;
15078 RCC*)
15079 # Rational C++ 2.4.1
15080 lt_prog_compiler_pic_CXX='-pic'
15081 ;;
15082 cxx*)
15083 # Digital/Compaq C++
15084 lt_prog_compiler_wl_CXX='-Wl,'
15085 # Make sure the PIC flag is empty. It appears that all Alpha
15086 # Linux and Compaq Tru64 Unix objects are PIC.
15087 lt_prog_compiler_pic_CXX=
15088 lt_prog_compiler_static_CXX='-non_shared'
15089 ;;
15090 *)
15091 ;;
15092 esac
15093 ;;
15094 psos*)
15095 ;;
15096 solaris*)
15097 case $cc_basename in
15098 CC*)
15099 # Sun C++ 4.2, 5.x and Centerline C++
15100 lt_prog_compiler_pic_CXX='-KPIC'
15101 lt_prog_compiler_static_CXX='-Bstatic'
15102 lt_prog_compiler_wl_CXX='-Qoption ld '
15103 ;;
15104 gcx*)
15105 # Green Hills C++ Compiler
15106 lt_prog_compiler_pic_CXX='-PIC'
15107 ;;
15108 *)
15109 ;;
15110 esac
15111 ;;
15112 sunos4*)
15113 case $cc_basename in
15114 CC*)
15115 # Sun C++ 4.x
15116 lt_prog_compiler_pic_CXX='-pic'
15117 lt_prog_compiler_static_CXX='-Bstatic'
15118 ;;
15119 lcc*)
15120 # Lucid
15121 lt_prog_compiler_pic_CXX='-pic'
15122 ;;
15123 *)
15124 ;;
15125 esac
15126 ;;
15127 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15128 case $cc_basename in
15129 CC*)
15130 lt_prog_compiler_wl_CXX='-Wl,'
15131 lt_prog_compiler_pic_CXX='-KPIC'
15132 lt_prog_compiler_static_CXX='-Bstatic'
15133 ;;
15134 esac
15135 ;;
15136 tandem*)
15137 case $cc_basename in
15138 NCC*)
15139 # NonStop-UX NCC 3.20
15140 lt_prog_compiler_pic_CXX='-KPIC'
15141 ;;
15142 *)
15143 ;;
15144 esac
15145 ;;
15146 vxworks*)
15147 ;;
15148 *)
15149 lt_prog_compiler_can_build_shared_CXX=no
15150 ;;
15151 esac
15152 fi
15153
15154 case $host_os in
15155 # For platforms which do not support PIC, -DPIC is meaningless:
15156 *djgpp*)
15157 lt_prog_compiler_pic_CXX=
15158 ;;
15159 *)
15160 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15161 ;;
15162 esac
15163 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15164 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15165
15166
15167
15168 #
15169 # Check to make sure the PIC flag actually works.
15170 #
15171 if test -n "$lt_prog_compiler_pic_CXX"; then
15172 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15173 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15174 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 else
15177 lt_prog_compiler_pic_works_CXX=no
15178 ac_outfile=conftest.$ac_objext
15179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15180 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15181 # Insert the option either (1) after the last *FLAGS variable, or
15182 # (2) before a word containing "conftest.", or (3) at the end.
15183 # Note that $ac_compile itself does not contain backslashes and begins
15184 # with a dollar sign (not a hyphen), so the echo should work correctly.
15185 # The option is referenced via a variable to avoid confusing sed.
15186 lt_compile=`echo "$ac_compile" | $SED \
15187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15189 -e 's:$: $lt_compiler_flag:'`
15190 (eval echo "\"\$as_me:15190: $lt_compile\"" >&5)
15191 (eval "$lt_compile" 2>conftest.err)
15192 ac_status=$?
15193 cat conftest.err >&5
15194 echo "$as_me:15194: \$? = $ac_status" >&5
15195 if (exit $ac_status) && test -s "$ac_outfile"; then
15196 # The compiler can only warn and ignore the option if not recognized
15197 # So say no if there are warnings other than the usual output.
15198 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15199 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15200 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15201 lt_prog_compiler_pic_works_CXX=yes
15202 fi
15203 fi
15204 $RM conftest*
15205
15206 fi
15207 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15208 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15209
15210 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15211 case $lt_prog_compiler_pic_CXX in
15212 "" | " "*) ;;
15213 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15214 esac
15215 else
15216 lt_prog_compiler_pic_CXX=
15217 lt_prog_compiler_can_build_shared_CXX=no
15218 fi
15219
15220 fi
15221
15222
15223
15224 #
15225 # Check to make sure the static flag actually works.
15226 #
15227 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15228 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15229 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15230 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 else
15233 lt_prog_compiler_static_works_CXX=no
15234 save_LDFLAGS="$LDFLAGS"
15235 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15236 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15237 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15238 # The linker can only warn and ignore the option if not recognized
15239 # So say no if there are warnings
15240 if test -s conftest.err; then
15241 # Append any errors to the config.log.
15242 cat conftest.err 1>&5
15243 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15244 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15245 if diff conftest.exp conftest.er2 >/dev/null; then
15246 lt_prog_compiler_static_works_CXX=yes
15247 fi
15248 else
15249 lt_prog_compiler_static_works_CXX=yes
15250 fi
15251 fi
15252 $RM conftest*
15253 LDFLAGS="$save_LDFLAGS"
15254
15255 fi
15256 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15257 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15258
15259 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
15260 :
15261 else
15262 lt_prog_compiler_static_CXX=
15263 fi
15264
15265
15266
15267
15268 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15269 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15270 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 lt_cv_prog_compiler_c_o_CXX=no
15274 $RM -r conftest 2>/dev/null
15275 mkdir conftest
15276 cd conftest
15277 mkdir out
15278 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15279
15280 lt_compiler_flag="-o out/conftest2.$ac_objext"
15281 # Insert the option either (1) after the last *FLAGS variable, or
15282 # (2) before a word containing "conftest.", or (3) at the end.
15283 # Note that $ac_compile itself does not contain backslashes and begins
15284 # with a dollar sign (not a hyphen), so the echo should work correctly.
15285 lt_compile=`echo "$ac_compile" | $SED \
15286 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15288 -e 's:$: $lt_compiler_flag:'`
15289 (eval echo "\"\$as_me:15289: $lt_compile\"" >&5)
15290 (eval "$lt_compile" 2>out/conftest.err)
15291 ac_status=$?
15292 cat out/conftest.err >&5
15293 echo "$as_me:15293: \$? = $ac_status" >&5
15294 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15295 then
15296 # The compiler can only warn and ignore the option if not recognized
15297 # So say no if there are warnings
15298 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15299 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15300 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15301 lt_cv_prog_compiler_c_o_CXX=yes
15302 fi
15303 fi
15304 chmod u+w . 2>&5
15305 $RM conftest*
15306 # SGI C++ compiler will create directory out/ii_files/ for
15307 # template instantiation
15308 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15309 $RM out/* && rmdir out
15310 cd ..
15311 $RM -r conftest
15312 $RM conftest*
15313
15314 fi
15315 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15316 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15317
15318
15319
15320 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15321 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15322 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325 lt_cv_prog_compiler_c_o_CXX=no
15326 $RM -r conftest 2>/dev/null
15327 mkdir conftest
15328 cd conftest
15329 mkdir out
15330 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15331
15332 lt_compiler_flag="-o out/conftest2.$ac_objext"
15333 # Insert the option either (1) after the last *FLAGS variable, or
15334 # (2) before a word containing "conftest.", or (3) at the end.
15335 # Note that $ac_compile itself does not contain backslashes and begins
15336 # with a dollar sign (not a hyphen), so the echo should work correctly.
15337 lt_compile=`echo "$ac_compile" | $SED \
15338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15340 -e 's:$: $lt_compiler_flag:'`
15341 (eval echo "\"\$as_me:15341: $lt_compile\"" >&5)
15342 (eval "$lt_compile" 2>out/conftest.err)
15343 ac_status=$?
15344 cat out/conftest.err >&5
15345 echo "$as_me:15345: \$? = $ac_status" >&5
15346 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15347 then
15348 # The compiler can only warn and ignore the option if not recognized
15349 # So say no if there are warnings
15350 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15351 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15352 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15353 lt_cv_prog_compiler_c_o_CXX=yes
15354 fi
15355 fi
15356 chmod u+w . 2>&5
15357 $RM conftest*
15358 # SGI C++ compiler will create directory out/ii_files/ for
15359 # template instantiation
15360 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15361 $RM out/* && rmdir out
15362 cd ..
15363 $RM -r conftest
15364 $RM conftest*
15365
15366 fi
15367 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15368 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15369
15370
15371
15372
15373 hard_links="nottested"
15374 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15375 # do not overwrite the value of need_locks provided by the user
15376 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15377 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15378 hard_links=yes
15379 $RM conftest*
15380 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15381 touch conftest.a
15382 ln conftest.a conftest.b 2>&5 || hard_links=no
15383 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15384 echo "$as_me:$LINENO: result: $hard_links" >&5
15385 echo "${ECHO_T}$hard_links" >&6
15386 if test "$hard_links" = no; then
15387 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15388 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15389 need_locks=warn
15390 fi
15391 else
15392 need_locks=no
15393 fi
15394
15395
15396
15397 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15398 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15399
15400 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15401 case $host_os in
15402 aix4* | aix5*)
15403 # If we're using GNU nm, then we don't want the "-C" option.
15404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15405 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15406 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15407 else
15408 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'
15409 fi
15410 ;;
15411 pw32*)
15412 export_symbols_cmds_CXX="$ltdll_cmds"
15413 ;;
15414 cygwin* | mingw*)
15415 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'
15416 ;;
15417 *)
15418 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15419 ;;
15420 esac
15421
15422 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15423 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15424 test "$ld_shlibs_CXX" = no && can_build_shared=no
15425
15426 with_gnu_ld_CXX=$with_gnu_ld
15427
15428
15429
15430
15431
15432
15433 #
15434 # Do we need to explicitly link libc?
15435 #
15436 case "x$archive_cmds_need_lc_CXX" in
15437 x|xyes)
15438 # Assume -lc should be added
15439 archive_cmds_need_lc_CXX=yes
15440
15441 if test "$enable_shared" = yes && test "$GCC" = yes; then
15442 case $archive_cmds_CXX in
15443 *'~'*)
15444 # FIXME: we may have to deal with multi-command sequences.
15445 ;;
15446 '$CC '*)
15447 # Test whether the compiler implicitly links with -lc since on some
15448 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15449 # to ld, don't add -lc before -lgcc.
15450 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15451 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15452 $RM conftest*
15453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15454
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456 (eval $ac_compile) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } 2>conftest.err; then
15460 soname=conftest
15461 lib=conftest
15462 libobjs=conftest.$ac_objext
15463 deplibs=
15464 wl=$lt_prog_compiler_wl_CXX
15465 pic_flag=$lt_prog_compiler_pic_CXX
15466 compiler_flags=-v
15467 linker_flags=-v
15468 verstring=
15469 output_objdir=.
15470 libname=conftest
15471 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15472 allow_undefined_flag_CXX=
15473 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15474 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }
15478 then
15479 archive_cmds_need_lc_CXX=no
15480 else
15481 archive_cmds_need_lc_CXX=yes
15482 fi
15483 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15484 else
15485 cat conftest.err 1>&5
15486 fi
15487 $RM conftest*
15488 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15489 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15490 ;;
15491 esac
15492 fi
15493 ;;
15494 esac
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15560 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15561 withGCC=$GXX
15562 library_names_spec=
15563 libname_spec='lib$name'
15564 soname_spec=
15565 shrext_cmds=".so"
15566 postinstall_cmds=
15567 postuninstall_cmds=
15568 finish_cmds=
15569 finish_eval=
15570 shlibpath_var=
15571 shlibpath_overrides_runpath=unknown
15572 version_type=none
15573 dynamic_linker="$host_os ld.so"
15574 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15575 need_lib_prefix=unknown
15576 hardcode_into_libs=no
15577
15578 # when you set need_version to no, make sure it does not cause -set_version
15579 # flags to be left without arguments
15580 need_version=unknown
15581
15582 case $host_os in
15583 aix3*)
15584 version_type=linux
15585 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15586 shlibpath_var=LIBPATH
15587
15588 # AIX 3 has no versioning support, so we append a major version to the name.
15589 soname_spec='${libname}${release}${shared_ext}$major'
15590 ;;
15591
15592 aix4* | aix5*)
15593 version_type=linux
15594 need_lib_prefix=no
15595 need_version=no
15596 hardcode_into_libs=yes
15597 if test "$host_cpu" = ia64; then
15598 # AIX 5 supports IA64
15599 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15600 shlibpath_var=LD_LIBRARY_PATH
15601 else
15602 # With GCC up to 2.95.x, collect2 would create an import file
15603 # for dependence libraries. The import file would start with
15604 # the line `#! .'. This would cause the generated library to
15605 # depend on `.', always an invalid library. This was fixed in
15606 # development snapshots of GCC prior to 3.0.
15607 case $host_os in
15608 aix4 | aix4.[01] | aix4.[01].*)
15609 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15610 echo ' yes '
15611 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15612 :
15613 else
15614 can_build_shared=no
15615 fi
15616 ;;
15617 esac
15618 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15619 # soname into executable. Probably we can add versioning support to
15620 # collect2, so additional links can be useful in future.
15621 if test "$aix_use_runtimelinking" = yes; then
15622 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15623 # instead of lib<name>.a to let people know that these are not
15624 # typical AIX shared libraries.
15625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 else
15627 # We preserve .a as extension for shared libraries through AIX4.2
15628 # and later when we are not doing run time linking.
15629 library_names_spec='${libname}${release}.a $libname.a'
15630 soname_spec='${libname}${release}${shared_ext}$major'
15631 fi
15632 shlibpath_var=LIBPATH
15633 fi
15634 ;;
15635
15636 amigaos*)
15637 if test "$host_cpu" = m68k; then
15638 library_names_spec='$libname.ixlibrary $libname.a'
15639 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15640 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
15641 else
15642 dynamic_linker=no
15643 fi
15644 ;;
15645
15646 beos*)
15647 library_names_spec='${libname}${shared_ext}'
15648 dynamic_linker="$host_os ld.so"
15649 shlibpath_var=LIBRARY_PATH
15650 ;;
15651
15652 bsdi[45]*)
15653 version_type=linux
15654 need_version=no
15655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 soname_spec='${libname}${release}${shared_ext}$major'
15657 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15658 shlibpath_var=LD_LIBRARY_PATH
15659 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15660 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15661 # the default ld.so.conf also contains /usr/contrib/lib and
15662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15663 # libtool to hard-code these into programs
15664 ;;
15665
15666 cygwin* | mingw* | pw32*)
15667 version_type=windows
15668 shrext_cmds=".dll"
15669 need_version=no
15670 need_lib_prefix=no
15671
15672 case $withGCC,$host_os in
15673 yes,cygwin* | yes,mingw* | yes,pw32*)
15674 library_names_spec='$libname.dll.a'
15675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15676 postinstall_cmds='base_file=`basename \${file}`~
15677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15678 dldir=$destdir/`dirname \$dlpath`~
15679 test -d \$dldir || mkdir -p \$dldir~
15680 $install_prog $dir/$dlname \$dldir/$dlname~
15681 chmod a+x \$dldir/$dlname~
15682 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15683 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15684 fi'
15685 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15686 dlpath=$dir/\$dldll~
15687 $RM \$dlpath'
15688 shlibpath_overrides_runpath=yes
15689
15690 case $host_os in
15691 cygwin*)
15692 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15693 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15694 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15695 ;;
15696 mingw*)
15697 # MinGW DLLs use traditional 'lib' prefix
15698 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15699 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15700 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15701 # It is most probably a Windows format PATH printed by
15702 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15703 # path with ; separators, and with drive letters. We can handle the
15704 # drive letters (cygwin fileutils understands them), so leave them,
15705 # especially as we might pass files found there to a mingw objdump,
15706 # which wouldn't understand a cygwinified path. Ahh.
15707 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15708 else
15709 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15710 fi
15711 ;;
15712 pw32*)
15713 # pw32 DLLs use 'pw' prefix rather than 'lib'
15714 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15715 ;;
15716 esac
15717 ;;
15718
15719 *)
15720 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15721 ;;
15722 esac
15723 dynamic_linker='Win32 ld.exe'
15724 # FIXME: first we should search . and the directory the executable is in
15725 shlibpath_var=PATH
15726 ;;
15727
15728 darwin* | rhapsody*)
15729 dynamic_linker="$host_os dyld"
15730 version_type=darwin
15731 need_lib_prefix=no
15732 need_version=no
15733 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15734 soname_spec='${libname}${release}${major}$shared_ext'
15735 shlibpath_overrides_runpath=yes
15736 shlibpath_var=DYLD_LIBRARY_PATH
15737 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15738
15739 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15740 ;;
15741
15742 dgux*)
15743 version_type=linux
15744 need_lib_prefix=no
15745 need_version=no
15746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15747 soname_spec='${libname}${release}${shared_ext}$major'
15748 shlibpath_var=LD_LIBRARY_PATH
15749 ;;
15750
15751 freebsd1*)
15752 dynamic_linker=no
15753 ;;
15754
15755 freebsd* | dragonfly*)
15756 # DragonFly does not have aout. When/if they implement a new
15757 # versioning mechanism, adjust this.
15758 if test -x /usr/bin/objformat; then
15759 objformat=`/usr/bin/objformat`
15760 else
15761 case $host_os in
15762 freebsd[123]*) objformat=aout ;;
15763 *) objformat=elf ;;
15764 esac
15765 fi
15766 version_type=freebsd-$objformat
15767 case $version_type in
15768 freebsd-elf*)
15769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15770 need_version=no
15771 need_lib_prefix=no
15772 ;;
15773 freebsd-*)
15774 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15775 need_version=yes
15776 ;;
15777 esac
15778 shlibpath_var=LD_LIBRARY_PATH
15779 case $host_os in
15780 freebsd2*)
15781 shlibpath_overrides_runpath=yes
15782 ;;
15783 freebsd3.[01]* | freebsdelf3.[01]*)
15784 shlibpath_overrides_runpath=yes
15785 hardcode_into_libs=yes
15786 ;;
15787 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15788 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15789 shlibpath_overrides_runpath=no
15790 hardcode_into_libs=yes
15791 ;;
15792 *) # from 4.6 on, and DragonFly
15793 shlibpath_overrides_runpath=yes
15794 hardcode_into_libs=yes
15795 ;;
15796 esac
15797 ;;
15798
15799 gnu*)
15800 version_type=linux
15801 need_lib_prefix=no
15802 need_version=no
15803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15804 soname_spec='${libname}${release}${shared_ext}$major'
15805 shlibpath_var=LD_LIBRARY_PATH
15806 hardcode_into_libs=yes
15807 ;;
15808
15809 hpux9* | hpux10* | hpux11*)
15810 # Give a soname corresponding to the major version so that dld.sl refuses to
15811 # link against other versions.
15812 version_type=sunos
15813 need_lib_prefix=no
15814 need_version=no
15815 case $host_cpu in
15816 ia64*)
15817 shrext_cmds='.so'
15818 hardcode_into_libs=yes
15819 dynamic_linker="$host_os dld.so"
15820 shlibpath_var=LD_LIBRARY_PATH
15821 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823 soname_spec='${libname}${release}${shared_ext}$major'
15824 if test "X$HPUX_IA64_MODE" = X32; then
15825 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15826 else
15827 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15828 fi
15829 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15830 ;;
15831 hppa*64*)
15832 shrext_cmds='.sl'
15833 hardcode_into_libs=yes
15834 dynamic_linker="$host_os dld.sl"
15835 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15836 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838 soname_spec='${libname}${release}${shared_ext}$major'
15839 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15840 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15841 ;;
15842 *)
15843 shrext_cmds='.sl'
15844 dynamic_linker="$host_os dld.sl"
15845 shlibpath_var=SHLIB_PATH
15846 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15848 soname_spec='${libname}${release}${shared_ext}$major'
15849 ;;
15850 esac
15851 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15852 postinstall_cmds='chmod 555 $lib'
15853 ;;
15854
15855 interix[3-9]*)
15856 version_type=linux
15857 need_lib_prefix=no
15858 need_version=no
15859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15860 soname_spec='${libname}${release}${shared_ext}$major'
15861 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15862 shlibpath_var=LD_LIBRARY_PATH
15863 shlibpath_overrides_runpath=no
15864 hardcode_into_libs=yes
15865 ;;
15866
15867 irix5* | irix6* | nonstopux*)
15868 case $host_os in
15869 nonstopux*) version_type=nonstopux ;;
15870 *)
15871 if test "$lt_cv_prog_gnu_ld" = yes; then
15872 version_type=linux
15873 else
15874 version_type=irix
15875 fi ;;
15876 esac
15877 need_lib_prefix=no
15878 need_version=no
15879 soname_spec='${libname}${release}${shared_ext}$major'
15880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15881 case $host_os in
15882 irix5* | nonstopux*)
15883 libsuff= shlibsuff=
15884 ;;
15885 *)
15886 case $LD in # libtool.m4 will add one of these switches to LD
15887 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15888 libsuff= shlibsuff= libmagic=32-bit;;
15889 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15890 libsuff=32 shlibsuff=N32 libmagic=N32;;
15891 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15892 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15893 *) libsuff= shlibsuff= libmagic=never-match;;
15894 esac
15895 ;;
15896 esac
15897 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15898 shlibpath_overrides_runpath=no
15899 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15900 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15901 hardcode_into_libs=yes
15902 ;;
15903
15904 # No shared lib support for Linux oldld, aout, or coff.
15905 linux*oldld* | linux*aout* | linux*coff*)
15906 dynamic_linker=no
15907 ;;
15908
15909 # This must be Linux ELF.
15910 linux* | k*bsd*-gnu)
15911 version_type=linux
15912 need_lib_prefix=no
15913 need_version=no
15914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 soname_spec='${libname}${release}${shared_ext}$major'
15916 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15917 shlibpath_var=LD_LIBRARY_PATH
15918 shlibpath_overrides_runpath=no
15919 # Some binutils ld are patched to set DT_RUNPATH
15920 save_LDFLAGS=$LDFLAGS
15921 save_libdir=$libdir
15922 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15923 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15924 if test x$gcc_no_link = xyes; then
15925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15927 { (exit 1); exit 1; }; }
15928 fi
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935
15936 int
15937 main ()
15938 {
15939
15940 ;
15941 return 0;
15942 }
15943 _ACEOF
15944 rm -f conftest.$ac_objext conftest$ac_exeext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>conftest.er1
15947 ac_status=$?
15948 grep -v '^ *+' conftest.er1 >conftest.err
15949 rm -f conftest.er1
15950 cat conftest.err >&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try='test -z "$ac_cxx_werror_flag"
15954 || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try='test -s conftest$ac_exeext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15963 ac_status=$?
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
15967 shlibpath_overrides_runpath=yes
15968 fi
15969
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15973
15974 fi
15975 rm -f conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 LDFLAGS=$save_LDFLAGS
15978 libdir=$save_libdir
15979
15980 # This implies no fast_install, which is unacceptable.
15981 # Some rework will be needed to allow for fast_install
15982 # before this can be enabled.
15983 hardcode_into_libs=yes
15984
15985 # Append ld.so.conf contents to the search path
15986 if test -f /etc/ld.so.conf; then
15987 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15988 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15989 fi
15990
15991 # We used to test for /lib/ld.so.1 and disable shared libraries on
15992 # powerpc, because MkLinux only supported shared libraries with the
15993 # GNU dynamic linker. Since this was broken with cross compilers,
15994 # most powerpc-linux boxes support dynamic linking these days and
15995 # people can always --disable-shared, the test was removed, and we
15996 # assume the GNU/Linux dynamic linker is in use.
15997 dynamic_linker='GNU/Linux ld.so'
15998 ;;
15999
16000 netbsd*)
16001 version_type=sunos
16002 need_lib_prefix=no
16003 need_version=no
16004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16007 dynamic_linker='NetBSD (a.out) ld.so'
16008 else
16009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16010 soname_spec='${libname}${release}${shared_ext}$major'
16011 dynamic_linker='NetBSD ld.elf_so'
16012 fi
16013 shlibpath_var=LD_LIBRARY_PATH
16014 shlibpath_overrides_runpath=yes
16015 hardcode_into_libs=yes
16016 ;;
16017
16018 newsos6)
16019 version_type=linux
16020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16021 shlibpath_var=LD_LIBRARY_PATH
16022 shlibpath_overrides_runpath=yes
16023 ;;
16024
16025 *nto* | *qnx*)
16026 version_type=qnx
16027 need_lib_prefix=no
16028 need_version=no
16029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16030 soname_spec='${libname}${release}${shared_ext}$major'
16031 shlibpath_var=LD_LIBRARY_PATH
16032 shlibpath_overrides_runpath=no
16033 hardcode_into_libs=yes
16034 dynamic_linker='ldqnx.so'
16035 ;;
16036
16037 openbsd*)
16038 version_type=sunos
16039 sys_lib_dlsearch_path_spec="/usr/lib"
16040 need_lib_prefix=no
16041 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16042 case $host_os in
16043 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16044 *) need_version=no ;;
16045 esac
16046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16047 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16048 shlibpath_var=LD_LIBRARY_PATH
16049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16050 case $host_os in
16051 openbsd2.[89] | openbsd2.[89].*)
16052 shlibpath_overrides_runpath=no
16053 ;;
16054 *)
16055 shlibpath_overrides_runpath=yes
16056 ;;
16057 esac
16058 else
16059 shlibpath_overrides_runpath=yes
16060 fi
16061 ;;
16062
16063 os2*)
16064 libname_spec='$name'
16065 shrext_cmds=".dll"
16066 need_lib_prefix=no
16067 library_names_spec='$libname${shared_ext} $libname.a'
16068 dynamic_linker='OS/2 ld.exe'
16069 shlibpath_var=LIBPATH
16070 ;;
16071
16072 osf3* | osf4* | osf5*)
16073 version_type=osf
16074 need_lib_prefix=no
16075 need_version=no
16076 soname_spec='${libname}${release}${shared_ext}$major'
16077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16078 shlibpath_var=LD_LIBRARY_PATH
16079 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16080 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16081 ;;
16082
16083 rdos*)
16084 dynamic_linker=no
16085 ;;
16086
16087 solaris*)
16088 version_type=linux
16089 need_lib_prefix=no
16090 need_version=no
16091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16092 soname_spec='${libname}${release}${shared_ext}$major'
16093 shlibpath_var=LD_LIBRARY_PATH
16094 shlibpath_overrides_runpath=yes
16095 hardcode_into_libs=yes
16096 # ldd complains unless libraries are executable
16097 postinstall_cmds='chmod +x $lib'
16098 ;;
16099
16100 sunos4*)
16101 version_type=sunos
16102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16103 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16104 shlibpath_var=LD_LIBRARY_PATH
16105 shlibpath_overrides_runpath=yes
16106 if test "$with_gnu_ld" = yes; then
16107 need_lib_prefix=no
16108 fi
16109 need_version=yes
16110 ;;
16111
16112 sysv4 | sysv4.3*)
16113 version_type=linux
16114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16115 soname_spec='${libname}${release}${shared_ext}$major'
16116 shlibpath_var=LD_LIBRARY_PATH
16117 case $host_vendor in
16118 sni)
16119 shlibpath_overrides_runpath=no
16120 need_lib_prefix=no
16121 runpath_var=LD_RUN_PATH
16122 ;;
16123 siemens)
16124 need_lib_prefix=no
16125 ;;
16126 motorola)
16127 need_lib_prefix=no
16128 need_version=no
16129 shlibpath_overrides_runpath=no
16130 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16131 ;;
16132 esac
16133 ;;
16134
16135 sysv4*MP*)
16136 if test -d /usr/nec ;then
16137 version_type=linux
16138 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16139 soname_spec='$libname${shared_ext}.$major'
16140 shlibpath_var=LD_LIBRARY_PATH
16141 fi
16142 ;;
16143
16144 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16145 version_type=freebsd-elf
16146 need_lib_prefix=no
16147 need_version=no
16148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16149 soname_spec='${libname}${release}${shared_ext}$major'
16150 shlibpath_var=LD_LIBRARY_PATH
16151 shlibpath_overrides_runpath=yes
16152 hardcode_into_libs=yes
16153 if test "$with_gnu_ld" = yes; then
16154 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16155 else
16156 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16157 case $host_os in
16158 sco3.2v5*)
16159 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16160 ;;
16161 esac
16162 fi
16163 sys_lib_dlsearch_path_spec='/usr/lib'
16164 ;;
16165
16166 tpf*)
16167 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16168 version_type=linux
16169 need_lib_prefix=no
16170 need_version=no
16171 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16172 shlibpath_var=LD_LIBRARY_PATH
16173 shlibpath_overrides_runpath=no
16174 hardcode_into_libs=yes
16175 ;;
16176
16177 uts4*)
16178 version_type=linux
16179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16180 soname_spec='${libname}${release}${shared_ext}$major'
16181 shlibpath_var=LD_LIBRARY_PATH
16182 ;;
16183
16184 *)
16185 dynamic_linker=no
16186 ;;
16187 esac
16188 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16189 echo "${ECHO_T}$dynamic_linker" >&6
16190 test "$dynamic_linker" = no && can_build_shared=no
16191
16192 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16193 if test "$GCC" = yes; then
16194 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16195 fi
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16233 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16234 hardcode_action_CXX=
16235 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16236 test -n "$runpath_var_CXX" ||
16237 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16238
16239 # We can hardcode non-existent directories.
16240 if test "$hardcode_direct_CXX" != no &&
16241 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16242 # have to relink, otherwise we might link with an installed library
16243 # when we should be linking with a yet-to-be-installed one
16244 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16245 test "$hardcode_minus_L_CXX" != no; then
16246 # Linking always hardcodes the temporary library directory.
16247 hardcode_action_CXX=relink
16248 else
16249 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16250 hardcode_action_CXX=immediate
16251 fi
16252 else
16253 # We cannot hardcode anything, or else we can only hardcode existing
16254 # directories.
16255 hardcode_action_CXX=unsupported
16256 fi
16257 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16258 echo "${ECHO_T}$hardcode_action_CXX" >&6
16259
16260 if test "$hardcode_action_CXX" = relink ||
16261 test "$inherit_rpath_CXX" = yes; then
16262 # Fast installation is not supported
16263 enable_fast_install=no
16264 elif test "$shlibpath_overrides_runpath" = yes ||
16265 test "$enable_shared" = no; then
16266 # Fast installation is not necessary
16267 enable_fast_install=needless
16268 fi
16269
16270
16271
16272
16273
16274
16275
16276 fi # test -n "$compiler"
16277
16278 CC=$lt_save_CC
16279 LDCXX=$LD
16280 LD=$lt_save_LD
16281 GCC=$lt_save_GCC
16282 with_gnu_ld=$lt_save_with_gnu_ld
16283 lt_cv_path_LDCXX=$lt_cv_path_LD
16284 lt_cv_path_LD=$lt_save_path_LD
16285 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16286 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16287 fi # test "$_lt_caught_CXX_error" != yes
16288
16289 ac_ext=c
16290 ac_cpp='$CPP $CPPFLAGS'
16291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16294
16295
16296
16297 # Handle -Werror default case.
16298 if test "$ENABLE_WERROR" = default; then
16299 case "$host_os" in
16300 *linux*)
16301 if test "$GCC" = yes; then
16302 ENABLE_WERROR=yes
16303 fi
16304 ;;
16305 esac
16306 fi
16307
16308 if test "x${COMPILE_COLLECTIONS}" = xyes; then
16309 # Extract the first word of "perl", so it can be a program name with args.
16310 set dummy perl; ac_word=$2
16311 echo "$as_me:$LINENO: checking for $ac_word" >&5
16312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16313 if test "${ac_cv_path_PERL+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316 case $PERL in
16317 [\\/]* | ?:[\\/]*)
16318 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16319 ;;
16320 *)
16321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16322 for as_dir in $PATH
16323 do
16324 IFS=$as_save_IFS
16325 test -z "$as_dir" && as_dir=.
16326 for ac_exec_ext in '' $ac_executable_extensions; do
16327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16328 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16330 break 2
16331 fi
16332 done
16333 done
16334
16335 ;;
16336 esac
16337 fi
16338 PERL=$ac_cv_path_PERL
16339
16340 if test -n "$PERL"; then
16341 echo "$as_me:$LINENO: result: $PERL" >&5
16342 echo "${ECHO_T}$PERL" >&6
16343 else
16344 echo "$as_me:$LINENO: result: no" >&5
16345 echo "${ECHO_T}no" >&6
16346 fi
16347
16348
16349
16350 ac_config_files="$ac_config_files lib/mkcollections.pl"
16351
16352 ac_config_commands="$ac_config_commands mkcollections.pl"
16353
16354 fi
16355
16356 if test "x${COMPILE_JNI}" = xyes; then
16357
16358
16359
16360 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16361 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16362 if test "${cv_c_gcc_attribute_supported+set}" = set; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 else
16365
16366 cat >conftest.$ac_ext <<_ACEOF
16367 /* confdefs.h. */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372
16373 int
16374 main ()
16375 {
16376 extern int testfunction(int x) __attribute__((,,))
16377 ;
16378 return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest.$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>conftest.er1
16384 ac_status=$?
16385 grep -v '^ *+' conftest.er1 >conftest.err
16386 rm -f conftest.er1
16387 cat conftest.err >&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); } &&
16390 { ac_try='test -z "$ac_c_werror_flag"
16391 || test ! -s conftest.err'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16394 ac_status=$?
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; } &&
16397 { ac_try='test -s conftest.$ac_objext'
16398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399 (eval $ac_try) 2>&5
16400 ac_status=$?
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; }; then
16403 cv_c_gcc_attribute_supported=yes
16404 else
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 cv_c_gcc_attribute_supported=no
16409 fi
16410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16411
16412 fi
16413
16414 if test "x$cv_c_gcc_attribute_supported" = xyes; then
16415 true
16416 echo "$as_me:$LINENO: result: yes" >&5
16417 echo "${ECHO_T}yes" >&6
16418
16419 cat >>confdefs.h <<\_ACEOF
16420 #define HAVE_GNUC25_ATTRIB
16421 _ACEOF
16422
16423
16424 else
16425 true
16426 echo "$as_me:$LINENO: result: no" >&5
16427 echo "${ECHO_T}no" >&6
16428
16429 fi
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16441 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16442 if test "${cv_c_gcc_attribute_unused+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 else
16445
16446 cat >conftest.$ac_ext <<_ACEOF
16447 /* confdefs.h. */
16448 _ACEOF
16449 cat confdefs.h >>conftest.$ac_ext
16450 cat >>conftest.$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16452
16453 int
16454 main ()
16455 {
16456 extern int testfunction(int x) __attribute__((unused))
16457 ;
16458 return 0;
16459 }
16460 _ACEOF
16461 rm -f conftest.$ac_objext
16462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16463 (eval $ac_compile) 2>conftest.er1
16464 ac_status=$?
16465 grep -v '^ *+' conftest.er1 >conftest.err
16466 rm -f conftest.er1
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try='test -z "$ac_c_werror_flag"
16471 || test ! -s conftest.err'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16474 ac_status=$?
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; } &&
16477 { ac_try='test -s conftest.$ac_objext'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16480 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16483 cv_c_gcc_attribute_unused=yes
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 cv_c_gcc_attribute_unused=no
16489 fi
16490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16491
16492 fi
16493
16494 if test "x$cv_c_gcc_attribute_unused" = xyes; then
16495 true
16496 echo "$as_me:$LINENO: result: yes" >&5
16497 echo "${ECHO_T}yes" >&6
16498
16499 cat >>confdefs.h <<\_ACEOF
16500 #define HAVE_GNUC25_UNUSED
16501 _ACEOF
16502
16503
16504 else
16505 true
16506 echo "$as_me:$LINENO: result: no" >&5
16507 echo "${ECHO_T}no" >&6
16508
16509 fi
16510
16511
16512
16513
16514
16515
16516 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16517 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16518 if test "${ac_cv_header_stdc+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 else
16521 cat >conftest.$ac_ext <<_ACEOF
16522 /* confdefs.h. */
16523 _ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <stdlib.h>
16528 #include <stdarg.h>
16529 #include <string.h>
16530 #include <float.h>
16531
16532 int
16533 main ()
16534 {
16535
16536 ;
16537 return 0;
16538 }
16539 _ACEOF
16540 rm -f conftest.$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try='test -z "$ac_c_werror_flag"
16550 || test ! -s conftest.err'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try='test -s conftest.$ac_objext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_header_stdc=yes
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16566
16567 ac_cv_header_stdc=no
16568 fi
16569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16570
16571 if test $ac_cv_header_stdc = yes; then
16572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #include <string.h>
16580
16581 _ACEOF
16582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16583 $EGREP "memchr" >/dev/null 2>&1; then
16584 :
16585 else
16586 ac_cv_header_stdc=no
16587 fi
16588 rm -f conftest*
16589
16590 fi
16591
16592 if test $ac_cv_header_stdc = yes; then
16593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16594 cat >conftest.$ac_ext <<_ACEOF
16595 /* confdefs.h. */
16596 _ACEOF
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600 #include <stdlib.h>
16601
16602 _ACEOF
16603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16604 $EGREP "free" >/dev/null 2>&1; then
16605 :
16606 else
16607 ac_cv_header_stdc=no
16608 fi
16609 rm -f conftest*
16610
16611 fi
16612
16613 if test $ac_cv_header_stdc = yes; then
16614 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16615 if test "$cross_compiling" = yes; then
16616 :
16617 else
16618 cat >conftest.$ac_ext <<_ACEOF
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 #include <ctype.h>
16625 #if ((' ' & 0x0FF) == 0x020)
16626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16628 #else
16629 # define ISLOWER(c) \
16630 (('a' <= (c) && (c) <= 'i') \
16631 || ('j' <= (c) && (c) <= 'r') \
16632 || ('s' <= (c) && (c) <= 'z'))
16633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16634 #endif
16635
16636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16637 int
16638 main ()
16639 {
16640 int i;
16641 for (i = 0; i < 256; i++)
16642 if (XOR (islower (i), ISLOWER (i))
16643 || toupper (i) != TOUPPER (i))
16644 exit(2);
16645 exit (0);
16646 }
16647 _ACEOF
16648 rm -f conftest$ac_exeext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16650 (eval $ac_link) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16659 :
16660 else
16661 echo "$as_me: program exited with status $ac_status" >&5
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ( exit $ac_status )
16666 ac_cv_header_stdc=no
16667 fi
16668 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16669 fi
16670 fi
16671 fi
16672 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16673 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16674 if test $ac_cv_header_stdc = yes; then
16675
16676 cat >>confdefs.h <<\_ACEOF
16677 #define STDC_HEADERS 1
16678 _ACEOF
16679
16680 fi
16681
16682
16683 echo "$as_me:$LINENO: checking size of void *" >&5
16684 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16685 if test "${ac_cv_sizeof_void_p+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 else
16688 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include "confdefs.h"
16696 #include <sys/types.h>
16697
16698
16699 int
16700 main ()
16701 {
16702 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16703 ;
16704 return 0;
16705 }
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } &&
16716 { ac_try='test -z "$ac_c_werror_flag"
16717 || test ! -s conftest.err'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16726 ac_status=$?
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sizeof_void_p=$ac_size
16730 else
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.$ac_ext >&5
16733
16734 fi
16735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16736 if test x$ac_cv_sizeof_void_p != x ; then break; fi
16737 done
16738
16739 fi
16740
16741 if test x$ac_cv_sizeof_void_p = x ; then
16742 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16743 echo "$as_me: error: cannot determine a size for void *" >&2;}
16744 { (exit 1); exit 1; }; }
16745 fi
16746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16747 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16748
16749 cat >>confdefs.h <<_ACEOF
16750 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16751 _ACEOF
16752
16753
16754
16755 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16756 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16757 if test "${ac_cv_c_bigendian+set}" = set; then
16758 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 else
16760 ac_cv_c_bigendian=unknown
16761 # See if sys/param.h defines the BYTE_ORDER macro.
16762 cat >conftest.$ac_ext <<_ACEOF
16763 /* confdefs.h. */
16764 _ACEOF
16765 cat confdefs.h >>conftest.$ac_ext
16766 cat >>conftest.$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 #include <sys/types.h>
16769 #include <sys/param.h>
16770 int
16771 main ()
16772 {
16773
16774 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16775 bogus endian macros
16776 #endif
16777 ;
16778 return 0;
16779 }
16780 _ACEOF
16781 rm -f conftest.$ac_objext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16783 (eval $ac_compile) 2>conftest.er1
16784 ac_status=$?
16785 grep -v '^ *+' conftest.er1 >conftest.err
16786 rm -f conftest.er1
16787 cat conftest.err >&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } &&
16790 { ac_try='test -z "$ac_c_werror_flag"
16791 || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16800 ac_status=$?
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 # It does; now see whether it defined to BIG_ENDIAN or not.
16804 cat >conftest.$ac_ext <<_ACEOF
16805 /* confdefs.h. */
16806 _ACEOF
16807 cat confdefs.h >>conftest.$ac_ext
16808 cat >>conftest.$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16810 #include <sys/types.h>
16811 #include <sys/param.h>
16812 int
16813 main ()
16814 {
16815
16816 #if BYTE_ORDER != BIG_ENDIAN
16817 not big endian
16818 #endif
16819 ;
16820 return 0;
16821 }
16822 _ACEOF
16823 rm -f conftest.$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16826 ac_status=$?
16827 grep -v '^ *+' conftest.er1 >conftest.err
16828 rm -f conftest.er1
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try='test -z "$ac_c_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_cv_c_bigendian=yes
16846 else
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.$ac_ext >&5
16849
16850 ac_cv_c_bigendian=no
16851 fi
16852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16856
16857 fi
16858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16859 if test $ac_cv_c_bigendian = unknown; then
16860 if test "$cross_compiling" = yes; then
16861 echo $ac_n "cross-compiling... " 2>&6
16862 else
16863 cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h. */
16865 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 main () {
16870 /* Are we little or big endian? From Harbison&Steele. */
16871 union
16872 {
16873 long l;
16874 char c[sizeof (long)];
16875 } u;
16876 u.l = 1;
16877 exit (u.c[sizeof (long) - 1] == 1);
16878 }
16879 _ACEOF
16880 rm -f conftest$ac_exeext
16881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16882 (eval $ac_link) 2>&5
16883 ac_status=$?
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16888 ac_status=$?
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_c_bigendian=no
16892 else
16893 echo "$as_me: program exited with status $ac_status" >&5
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16896
16897 ( exit $ac_status )
16898 ac_cv_c_bigendian=yes
16899 fi
16900 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16901 fi
16902 fi
16903 fi
16904 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16905 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16906 if test $ac_cv_c_bigendian = unknown; then
16907 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
16908 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
16909
16910 cat >conftest.c <<EOF
16911 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16912 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16913 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16914 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16915 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16916 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16917 int main() { _ascii (); _ebcdic (); return 0; }
16918 EOF
16919 if test -f conftest.c ; then
16920 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
16921 if test `grep -l BIGenDianSyS conftest.o` ; then
16922 echo $ac_n ' big endian probe OK, ' 1>&6
16923 ac_cv_c_bigendian=yes
16924 fi
16925 if test `grep -l LiTTleEnDian conftest.o` ; then
16926 echo $ac_n ' little endian probe OK, ' 1>&6
16927 if test $ac_cv_c_bigendian = yes ; then
16928 ac_cv_c_bigendian=unknown;
16929 else
16930 ac_cv_c_bigendian=no
16931 fi
16932 fi
16933 echo $ac_n 'guessing bigendian ... ' >&6
16934 fi
16935 fi
16936 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16937 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16938 fi
16939 if test $ac_cv_c_bigendian = yes; then
16940
16941 cat >>confdefs.h <<\_ACEOF
16942 #define WORDS_BIGENDIAN 1
16943 _ACEOF
16944
16945
16946 cat >>confdefs.h <<\_ACEOF
16947 #define HOST_WORDS_BIG_ENDIAN 1
16948 _ACEOF
16949
16950 BYTEORDER=4321
16951 else
16952 BYTEORDER=1234
16953 fi
16954
16955 cat >>confdefs.h <<_ACEOF
16956 #define BYTEORDER $BYTEORDER
16957 _ACEOF
16958
16959 if test $ac_cv_c_bigendian = unknown; then
16960 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
16961 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
16962 { (exit 1); exit 1; }; }
16963 fi
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
16986 asm/ioctls.h \
16987 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
16988 sys/time.h \
16989 sys/select.h \
16990 crt_externs.h \
16991 fcntl.h \
16992 sys/mman.h \
16993 magic.h \
16994 sys/event.h sys/epoll.h \
16995 ifaddrs.h
16996 do
16997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16999 echo "$as_me:$LINENO: checking for $ac_header" >&5
17000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 fi
17004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17006 else
17007 # Is the header compilable?
17008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17010 cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h. */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 $ac_includes_default
17017 #include <$ac_header>
17018 _ACEOF
17019 rm -f conftest.$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17022 ac_status=$?
17023 grep -v '^ *+' conftest.er1 >conftest.err
17024 rm -f conftest.er1
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17038 ac_status=$?
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 ac_header_compiler=yes
17042 else
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17045
17046 ac_header_compiler=no
17047 fi
17048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17050 echo "${ECHO_T}$ac_header_compiler" >&6
17051
17052 # Is the header present?
17053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17055 cat >conftest.$ac_ext <<_ACEOF
17056 /* confdefs.h. */
17057 _ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 #include <$ac_header>
17062 _ACEOF
17063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } >/dev/null; then
17071 if test -s conftest.err; then
17072 ac_cpp_err=$ac_c_preproc_warn_flag
17073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17074 else
17075 ac_cpp_err=
17076 fi
17077 else
17078 ac_cpp_err=yes
17079 fi
17080 if test -z "$ac_cpp_err"; then
17081 ac_header_preproc=yes
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 ac_header_preproc=no
17087 fi
17088 rm -f conftest.err conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17090 echo "${ECHO_T}$ac_header_preproc" >&6
17091
17092 # So? What about this header?
17093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17094 yes:no: )
17095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17099 ac_header_preproc=yes
17100 ;;
17101 no:yes:* )
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17114 (
17115 cat <<\_ASBOX
17116 ## -------------------------------- ##
17117 ## Report this to classpath@gnu.org ##
17118 ## -------------------------------- ##
17119 _ASBOX
17120 ) |
17121 sed "s/^/$as_me: WARNING: /" >&2
17122 ;;
17123 esac
17124 echo "$as_me:$LINENO: checking for $ac_header" >&5
17125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 else
17129 eval "$as_ac_Header=\$ac_header_preproc"
17130 fi
17131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17133
17134 fi
17135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17136 cat >>confdefs.h <<_ACEOF
17137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17138 _ACEOF
17139
17140 fi
17141
17142 done
17143
17144
17145 cat >conftest.$ac_ext <<_ACEOF
17146 /* confdefs.h. */
17147 _ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 #include <stdint.h>
17152
17153 _ACEOF
17154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17155 $EGREP "uint32_t" >/dev/null 2>&1; then
17156
17157 cat >>confdefs.h <<\_ACEOF
17158 #define HAVE_INT32_DEFINED 1
17159 _ACEOF
17160
17161 fi
17162 rm -f conftest*
17163
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #include <inttypes.h>
17171
17172 _ACEOF
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "uint32_t" >/dev/null 2>&1; then
17175
17176 cat >>confdefs.h <<\_ACEOF
17177 #define HAVE_INT32_DEFINED 1
17178 _ACEOF
17179
17180 fi
17181 rm -f conftest*
17182
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <sys/types.h>
17190
17191 _ACEOF
17192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17193 $EGREP "u_int32_t" >/dev/null 2>&1; then
17194
17195 cat >>confdefs.h <<\_ACEOF
17196 #define HAVE_BSD_INT32_DEFINED 1
17197 _ACEOF
17198
17199 fi
17200 rm -f conftest*
17201
17202 cat >conftest.$ac_ext <<_ACEOF
17203 /* confdefs.h. */
17204 _ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208 #include <sys/config.h>
17209
17210 _ACEOF
17211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17212 $EGREP "u_int32_t" >/dev/null 2>&1; then
17213
17214 cat >>confdefs.h <<\_ACEOF
17215 #define HAVE_BSD_INT32_DEFINED 1
17216 _ACEOF
17217
17218 fi
17219 rm -f conftest*
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277 for ac_func in ftruncate fsync select \
17278 gethostname socket strerror fork pipe execve open close \
17279 lseek fstat read readv write writev htonl memset htons connect \
17280 getsockname getpeername bind listen accept \
17281 recvfrom send sendto setsockopt getsockopt time mktime \
17282 gethostbyname_r localtime_r \
17283 strerror_r \
17284 fcntl \
17285 mmap munmap mincore msync madvise getpagesize sysconf \
17286 lstat readlink \
17287 inet_aton inet_addr inet_pton \
17288 getifaddrs kqueue kevent epoll_create \
17289 readdir_r getloadavg
17290 do
17291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17292 echo "$as_me:$LINENO: checking for $ac_func" >&5
17293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17294 if eval "test \"\${$as_ac_var+set}\" = set"; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else
17297 if test x$gcc_no_link = xyes; then
17298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17300 { (exit 1); exit 1; }; }
17301 fi
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17310 #define $ac_func innocuous_$ac_func
17311
17312 /* System header to define __stub macros and hopefully few prototypes,
17313 which can conflict with char $ac_func (); below.
17314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17315 <limits.h> exists even on freestanding compilers. */
17316
17317 #ifdef __STDC__
17318 # include <limits.h>
17319 #else
17320 # include <assert.h>
17321 #endif
17322
17323 #undef $ac_func
17324
17325 /* Override any gcc2 internal prototype to avoid an error. */
17326 #ifdef __cplusplus
17327 extern "C"
17328 {
17329 #endif
17330 /* We use char because int might match the return type of a gcc2
17331 builtin and then its argument prototype would still apply. */
17332 char $ac_func ();
17333 /* The GNU C library defines this for functions which it implements
17334 to always fail with ENOSYS. Some functions are actually named
17335 something starting with __ and the normal name is an alias. */
17336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17337 choke me
17338 #else
17339 char (*f) () = $ac_func;
17340 #endif
17341 #ifdef __cplusplus
17342 }
17343 #endif
17344
17345 int
17346 main ()
17347 {
17348 return f != $ac_func;
17349 ;
17350 return 0;
17351 }
17352 _ACEOF
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17355 (eval $ac_link) 2>conftest.er1
17356 ac_status=$?
17357 grep -v '^ *+' conftest.er1 >conftest.err
17358 rm -f conftest.er1
17359 cat conftest.err >&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try='test -z "$ac_c_werror_flag"
17363 || test ! -s conftest.err'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; } &&
17369 { ac_try='test -s conftest$ac_exeext'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17372 ac_status=$?
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; }; then
17375 eval "$as_ac_var=yes"
17376 else
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.$ac_ext >&5
17379
17380 eval "$as_ac_var=no"
17381 fi
17382 rm -f conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 fi
17385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17387 if test `eval echo '${'$as_ac_var'}'` = yes; then
17388 cat >>confdefs.h <<_ACEOF
17389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17390 _ACEOF
17391
17392 fi
17393 done
17394
17395
17396 LIBMAGIC=
17397 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17398 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17399 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402 ac_check_lib_save_LIBS=$LIBS
17403 LIBS="-lmagic $LIBS"
17404 if test x$gcc_no_link = xyes; then
17405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17407 { (exit 1); exit 1; }; }
17408 fi
17409 cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415
17416 /* Override any gcc2 internal prototype to avoid an error. */
17417 #ifdef __cplusplus
17418 extern "C"
17419 #endif
17420 /* We use char because int might match the return type of a gcc2
17421 builtin and then its argument prototype would still apply. */
17422 char magic_open ();
17423 int
17424 main ()
17425 {
17426 magic_open ();
17427 ;
17428 return 0;
17429 }
17430 _ACEOF
17431 rm -f conftest.$ac_objext conftest$ac_exeext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17433 (eval $ac_link) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_c_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try='test -s conftest$ac_exeext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 ac_cv_lib_magic_magic_open=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17457
17458 ac_cv_lib_magic_magic_open=no
17459 fi
17460 rm -f conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 LIBS=$ac_check_lib_save_LIBS
17463 fi
17464 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17465 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17466 if test $ac_cv_lib_magic_magic_open = yes; then
17467 LIBMAGIC=-lmagic
17468 fi
17469
17470
17471
17472 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17473 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 #include <netinet/in.h>
17481 int
17482 main ()
17483 {
17484 struct sockaddr_in6 addr6;
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17492 ac_status=$?
17493 grep -v '^ *+' conftest.er1 >conftest.err
17494 rm -f conftest.er1
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try='test -z "$ac_c_werror_flag"
17499 || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17502 ac_status=$?
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17508 ac_status=$?
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511
17512 cat >>confdefs.h <<\_ACEOF
17513 #define HAVE_INET6 1
17514 _ACEOF
17515
17516 echo "$as_me:$LINENO: result: yes" >&5
17517 echo "${ECHO_T}yes" >&6
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17521
17522 echo "$as_me:$LINENO: result: no" >&5
17523 echo "${ECHO_T}no" >&6
17524 fi
17525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526
17527 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17528 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17529 if test "${ac_cv_header_time+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 else
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <sys/types.h>
17539 #include <sys/time.h>
17540 #include <time.h>
17541
17542 int
17543 main ()
17544 {
17545 if ((struct tm *) 0)
17546 return 0;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17553 (eval $ac_compile) 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_cv_header_time=yes
17574 else
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17577
17578 ac_cv_header_time=no
17579 fi
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 fi
17582 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17583 echo "${ECHO_T}$ac_cv_header_time" >&6
17584 if test $ac_cv_header_time = yes; then
17585
17586 cat >>confdefs.h <<\_ACEOF
17587 #define TIME_WITH_SYS_TIME 1
17588 _ACEOF
17589
17590 fi
17591
17592 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17593 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17594 if test "${ac_cv_struct_tm+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 else
17597 cat >conftest.$ac_ext <<_ACEOF
17598 /* confdefs.h. */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17604 #include <time.h>
17605
17606 int
17607 main ()
17608 {
17609 struct tm *tp; tp->tm_sec;
17610 ;
17611 return 0;
17612 }
17613 _ACEOF
17614 rm -f conftest.$ac_objext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17616 (eval $ac_compile) 2>conftest.er1
17617 ac_status=$?
17618 grep -v '^ *+' conftest.er1 >conftest.err
17619 rm -f conftest.er1
17620 cat conftest.err >&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } &&
17623 { ac_try='test -z "$ac_c_werror_flag"
17624 || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_cv_struct_tm=time.h
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17640
17641 ac_cv_struct_tm=sys/time.h
17642 fi
17643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17644 fi
17645 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17646 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17647 if test $ac_cv_struct_tm = sys/time.h; then
17648
17649 cat >>confdefs.h <<\_ACEOF
17650 #define TM_IN_SYS_TIME 1
17651 _ACEOF
17652
17653 fi
17654
17655 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17656 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17657 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 #include <sys/types.h>
17667 #include <$ac_cv_struct_tm>
17668
17669
17670 int
17671 main ()
17672 {
17673 static struct tm ac_aggr;
17674 if (ac_aggr.tm_zone)
17675 return 0;
17676 ;
17677 return 0;
17678 }
17679 _ACEOF
17680 rm -f conftest.$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17683 ac_status=$?
17684 grep -v '^ *+' conftest.er1 >conftest.err
17685 rm -f conftest.er1
17686 cat conftest.err >&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try='test -z "$ac_c_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17702 ac_cv_member_struct_tm_tm_zone=yes
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17706
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 #include <sys/types.h>
17714 #include <$ac_cv_struct_tm>
17715
17716
17717 int
17718 main ()
17719 {
17720 static struct tm ac_aggr;
17721 if (sizeof ac_aggr.tm_zone)
17722 return 0;
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 rm -f conftest.$ac_objext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try='test -z "$ac_c_werror_flag"
17737 || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 ac_cv_member_struct_tm_tm_zone=yes
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17753
17754 ac_cv_member_struct_tm_tm_zone=no
17755 fi
17756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17757 fi
17758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17759 fi
17760 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
17761 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
17762 if test $ac_cv_member_struct_tm_tm_zone = yes; then
17763
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_TM_TM_ZONE 1
17766 _ACEOF
17767
17768
17769 fi
17770
17771 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17772
17773 cat >>confdefs.h <<\_ACEOF
17774 #define HAVE_TM_ZONE 1
17775 _ACEOF
17776
17777 else
17778 echo "$as_me:$LINENO: checking for tzname" >&5
17779 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
17780 if test "${ac_cv_var_tzname+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783 if test x$gcc_no_link = xyes; then
17784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17786 { (exit 1); exit 1; }; }
17787 fi
17788 cat >conftest.$ac_ext <<_ACEOF
17789 /* confdefs.h. */
17790 _ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 #include <time.h>
17795 #ifndef tzname /* For SGI. */
17796 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
17797 #endif
17798
17799 int
17800 main ()
17801 {
17802 atoi(*tzname);
17803 ;
17804 return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest.$ac_objext conftest$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest$ac_exeext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_var_tzname=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_cv_var_tzname=no
17835 fi
17836 rm -f conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext conftest.$ac_ext
17838 fi
17839 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
17840 echo "${ECHO_T}$ac_cv_var_tzname" >&6
17841 if test $ac_cv_var_tzname = yes; then
17842
17843 cat >>confdefs.h <<\_ACEOF
17844 #define HAVE_TZNAME 1
17845 _ACEOF
17846
17847 fi
17848 fi
17849
17850
17851 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
17852 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <time.h>
17860 int
17861 main ()
17862 {
17863 struct tm tim; tim.tm_gmtoff = 0;
17864 ;
17865 return 0;
17866 }
17867 _ACEOF
17868 rm -f conftest.$ac_objext
17869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17870 (eval $ac_compile) 2>conftest.er1
17871 ac_status=$?
17872 grep -v '^ *+' conftest.er1 >conftest.err
17873 rm -f conftest.er1
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try='test -z "$ac_c_werror_flag"
17878 || test ! -s conftest.err'
17879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17880 (eval $ac_try) 2>&5
17881 ac_status=$?
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); }; } &&
17884 { ac_try='test -s conftest.$ac_objext'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; }; then
17890
17891 cat >>confdefs.h <<\_ACEOF
17892 #define STRUCT_TM_HAS_GMTOFF 1
17893 _ACEOF
17894
17895 echo "$as_me:$LINENO: result: yes" >&5
17896 echo "${ECHO_T}yes" >&6
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17900
17901 echo "$as_me:$LINENO: result: no" >&5
17902 echo "${ECHO_T}no" >&6
17903 echo "$as_me:$LINENO: checking for global timezone variable" >&5
17904 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <time.h>
17912 int
17913 main ()
17914 {
17915 void i(){long z2 = 2*timezone;}
17916 ;
17917 return 0;
17918 }
17919 _ACEOF
17920 rm -f conftest.$ac_objext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17922 (eval $ac_compile) 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try='test -z "$ac_c_werror_flag"
17930 || test ! -s conftest.err'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17933 ac_status=$?
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try='test -s conftest.$ac_objext'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17939 ac_status=$?
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; }; then
17942
17943 cat >>confdefs.h <<\_ACEOF
17944 #define HAVE_TIMEZONE 1
17945 _ACEOF
17946
17947 echo "$as_me:$LINENO: result: yes" >&5
17948 echo "${ECHO_T}yes" >&6
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17952
17953 echo "$as_me:$LINENO: result: no" >&5
17954 echo "${ECHO_T}no" >&6
17955 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
17956 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
17957 cat >conftest.$ac_ext <<_ACEOF
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <time.h>
17964 int
17965 main ()
17966 {
17967 long z2 = _timezone;
17968 ;
17969 return 0;
17970 }
17971 _ACEOF
17972 rm -f conftest.$ac_objext
17973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17974 (eval $ac_compile) 2>conftest.er1
17975 ac_status=$?
17976 grep -v '^ *+' conftest.er1 >conftest.err
17977 rm -f conftest.er1
17978 cat conftest.err >&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } &&
17981 { ac_try='test -z "$ac_c_werror_flag"
17982 || test ! -s conftest.err'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17985 ac_status=$?
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; } &&
17988 { ac_try='test -s conftest.$ac_objext'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; }; then
17994
17995 cat >>confdefs.h <<\_ACEOF
17996 #define HAVE_UNDERSCORE_TIMEZONE 1
17997 _ACEOF
17998
17999 echo "$as_me:$LINENO: result: yes" >&5
18000 echo "${ECHO_T}yes" >&6
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 echo "$as_me:$LINENO: result: no" >&5
18006 echo "${ECHO_T}no" >&6
18007 fi
18008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18009 fi
18010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18011 fi
18012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18013
18014 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18015 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18016 if test "${ac_cv_c_const+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025
18026 int
18027 main ()
18028 {
18029 /* FIXME: Include the comments suggested by Paul. */
18030 #ifndef __cplusplus
18031 /* Ultrix mips cc rejects this. */
18032 typedef int charset[2];
18033 const charset x;
18034 /* SunOS 4.1.1 cc rejects this. */
18035 char const *const *ccp;
18036 char **p;
18037 /* NEC SVR4.0.2 mips cc rejects this. */
18038 struct point {int x, y;};
18039 static struct point const zero = {0,0};
18040 /* AIX XL C 1.02.0.0 rejects this.
18041 It does not let you subtract one const X* pointer from another in
18042 an arm of an if-expression whose if-part is not a constant
18043 expression */
18044 const char *g = "string";
18045 ccp = &g + (g ? g-g : 0);
18046 /* HPUX 7.0 cc rejects these. */
18047 ++ccp;
18048 p = (char**) ccp;
18049 ccp = (char const *const *) p;
18050 { /* SCO 3.2v4 cc rejects this. */
18051 char *t;
18052 char const *s = 0 ? (char *) 0 : (char const *) 0;
18053
18054 *t++ = 0;
18055 }
18056 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18057 int x[] = {25, 17};
18058 const int *foo = &x[0];
18059 ++foo;
18060 }
18061 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18062 typedef const int *iptr;
18063 iptr p = 0;
18064 ++p;
18065 }
18066 { /* AIX XL C 1.02.0.0 rejects this saying
18067 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18068 struct s { int j; const int *ap[3]; };
18069 struct s *b; b->j = 5;
18070 }
18071 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18072 const int foo = 10;
18073 }
18074 #endif
18075
18076 ;
18077 return 0;
18078 }
18079 _ACEOF
18080 rm -f conftest.$ac_objext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18082 (eval $ac_compile) 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_c_const=yes
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18106
18107 ac_cv_c_const=no
18108 fi
18109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18110 fi
18111 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18112 echo "${ECHO_T}$ac_cv_c_const" >&6
18113 if test $ac_cv_c_const = no; then
18114
18115 cat >>confdefs.h <<\_ACEOF
18116 #define const
18117 _ACEOF
18118
18119 fi
18120
18121 echo "$as_me:$LINENO: checking for inline" >&5
18122 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18123 if test "${ac_cv_c_inline+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 ac_cv_c_inline=no
18127 for ac_kw in inline __inline__ __inline; do
18128 cat >conftest.$ac_ext <<_ACEOF
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134 #ifndef __cplusplus
18135 typedef int foo_t;
18136 static $ac_kw foo_t static_foo () {return 0; }
18137 $ac_kw foo_t foo () {return 0; }
18138 #endif
18139
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18144 ac_status=$?
18145 grep -v '^ *+' conftest.er1 >conftest.err
18146 rm -f conftest.er1
18147 cat conftest.err >&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18154 ac_status=$?
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18160 ac_status=$?
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18163 ac_cv_c_inline=$ac_kw; break
18164 else
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.$ac_ext >&5
18167
18168 fi
18169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18170 done
18171
18172 fi
18173 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18174 echo "${ECHO_T}$ac_cv_c_inline" >&6
18175
18176
18177 case $ac_cv_c_inline in
18178 inline | yes) ;;
18179 *)
18180 case $ac_cv_c_inline in
18181 no) ac_val=;;
18182 *) ac_val=$ac_cv_c_inline;;
18183 esac
18184 cat >>confdefs.h <<_ACEOF
18185 #ifndef __cplusplus
18186 #define inline $ac_val
18187 #endif
18188 _ACEOF
18189 ;;
18190 esac
18191
18192 echo "$as_me:$LINENO: checking for __attribute__" >&5
18193 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18194 if test "${ac_cv_c_attribute+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 else
18197
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 void foo(void) __attribute__ ((__noreturn__));
18205
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_cv_c_attribute=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18233
18234 ac_cv_c_attribute=no
18235
18236 fi
18237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238
18239 fi
18240 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18241 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18242
18243
18244 case $ac_cv_c_attribute in
18245 yes) ;;
18246 no)
18247 cat >>confdefs.h <<_ACEOF
18248 #define __attribute__(x) /* nothing */
18249 _ACEOF
18250 ;;
18251 esac
18252
18253
18254
18255 ac_ext=c
18256 ac_cpp='$CPP $CPPFLAGS'
18257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18260
18261 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
18262 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
18263
18264 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 else
18267
18268
18269 ################################################################
18270
18271 ac_cv_func_which_gethostbyname_r=unknown
18272
18273 #
18274 # ONE ARGUMENT (sanity check)
18275 #
18276
18277 # This should fail, as there is no variant of gethostbyname_r() that takes
18278 # a single argument. If it actually compiles, then we can assume that
18279 # netdb.h is not declaring the function, and the compiler is thereby
18280 # assuming an implicit prototype. In which case, we're out of luck.
18281 #
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 #include <netdb.h>
18289 int
18290 main ()
18291 {
18292
18293 char *name = "www.gnu.org";
18294 (void)gethostbyname_r(name) /* ; */
18295
18296 ;
18297 return 0;
18298 }
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302 (eval $ac_compile) 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
18309 { ac_try='test -z "$ac_c_werror_flag"
18310 || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_cv_func_which_gethostbyname_r=no
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 fi
18328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18329
18330 #
18331 # SIX ARGUMENTS
18332 # (e.g. Linux)
18333 #
18334
18335 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18336
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #include <netdb.h>
18344 int
18345 main ()
18346 {
18347
18348 char *name = "www.gnu.org";
18349 struct hostent ret, *retp;
18350 char buf[1024];
18351 int buflen = 1024;
18352 int my_h_errno;
18353 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
18354
18355 ;
18356 return 0;
18357 }
18358 _ACEOF
18359 rm -f conftest.$ac_objext
18360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18361 (eval $ac_compile) 2>conftest.er1
18362 ac_status=$?
18363 grep -v '^ *+' conftest.er1 >conftest.err
18364 rm -f conftest.er1
18365 cat conftest.err >&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } &&
18368 { ac_try='test -z "$ac_c_werror_flag"
18369 || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try='test -s conftest.$ac_objext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_cv_func_which_gethostbyname_r=six
18382 else
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18385
18386 fi
18387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18388
18389 fi
18390
18391 #
18392 # FIVE ARGUMENTS
18393 # (e.g. Solaris)
18394 #
18395
18396 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18397
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 #include <netdb.h>
18405 int
18406 main ()
18407 {
18408
18409 char *name = "www.gnu.org";
18410 struct hostent ret;
18411 char buf[1024];
18412 int buflen = 1024;
18413 int my_h_errno;
18414 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
18415
18416 ;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_func_which_gethostbyname_r=five
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 fi
18448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18449
18450 fi
18451
18452 #
18453 # THREE ARGUMENTS
18454 # (e.g. AIX, HP-UX, Tru64)
18455 #
18456
18457 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18458
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 #include <netdb.h>
18466 int
18467 main ()
18468 {
18469
18470 char *name = "www.gnu.org";
18471 struct hostent ret;
18472 struct hostent_data data;
18473 (void)gethostbyname_r(name, &ret, &data) /* ; */
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_func_which_gethostbyname_r=three
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18505
18506 fi
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18508
18509 fi
18510
18511 ################################################################
18512
18513
18514 fi
18515
18516 case "$ac_cv_func_which_gethostbyname_r" in
18517 three)
18518 echo "$as_me:$LINENO: result: three" >&5
18519 echo "${ECHO_T}three" >&6
18520
18521 cat >>confdefs.h <<\_ACEOF
18522 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
18523 _ACEOF
18524
18525 ;;
18526
18527 five)
18528 echo "$as_me:$LINENO: result: five" >&5
18529 echo "${ECHO_T}five" >&6
18530
18531 cat >>confdefs.h <<\_ACEOF
18532 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
18533 _ACEOF
18534
18535 ;;
18536
18537 six)
18538 echo "$as_me:$LINENO: result: six" >&5
18539 echo "${ECHO_T}six" >&6
18540
18541 cat >>confdefs.h <<\_ACEOF
18542 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
18543 _ACEOF
18544
18545 ;;
18546
18547 no)
18548 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
18549 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
18550 ;;
18551
18552 unknown)
18553 echo "$as_me:$LINENO: result: can't tell" >&5
18554 echo "${ECHO_T}can't tell" >&6
18555 ;;
18556
18557 *)
18558 { { echo "$as_me:$LINENO: error: internal error" >&5
18559 echo "$as_me: error: internal error" >&2;}
18560 { (exit 1); exit 1; }; }
18561 ;;
18562 esac
18563
18564 ac_ext=c
18565 ac_cpp='$CPP $CPPFLAGS'
18566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569
18570
18571
18572
18573
18574 if test "X$prefix" = "XNONE"; then
18575 acl_final_prefix="$ac_default_prefix"
18576 else
18577 acl_final_prefix="$prefix"
18578 fi
18579 if test "X$exec_prefix" = "XNONE"; then
18580 acl_final_exec_prefix='${prefix}'
18581 else
18582 acl_final_exec_prefix="$exec_prefix"
18583 fi
18584 acl_save_prefix="$prefix"
18585 prefix="$acl_final_prefix"
18586 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18587 prefix="$acl_save_prefix"
18588
18589
18590 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18591 if test "${with_gnu_ld+set}" = set; then
18592 withval="$with_gnu_ld"
18593 test "$withval" = no || with_gnu_ld=yes
18594 else
18595 with_gnu_ld=no
18596 fi;
18597 # Prepare PATH_SEPARATOR.
18598 # The user is always right.
18599 if test "${PATH_SEPARATOR+set}" != set; then
18600 echo "#! /bin/sh" >conf$$.sh
18601 echo "exit 0" >>conf$$.sh
18602 chmod +x conf$$.sh
18603 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18604 PATH_SEPARATOR=';'
18605 else
18606 PATH_SEPARATOR=:
18607 fi
18608 rm -f conf$$.sh
18609 fi
18610 ac_prog=ld
18611 if test "$GCC" = yes; then
18612 # Check if gcc -print-prog-name=ld gives a path.
18613 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18614 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18615 case $host in
18616 *-*-mingw*)
18617 # gcc leaves a trailing carriage return which upsets mingw
18618 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18619 *)
18620 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18621 esac
18622 case $ac_prog in
18623 # Accept absolute paths.
18624 [\\/]* | [A-Za-z]:[\\/]*)
18625 re_direlt='/[^/][^/]*/\.\./'
18626 # Canonicalize the path of ld
18627 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
18628 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18629 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18630 done
18631 test -z "$LD" && LD="$ac_prog"
18632 ;;
18633 "")
18634 # If it fails, then pretend we aren't using GCC.
18635 ac_prog=ld
18636 ;;
18637 *)
18638 # If it is relative, then search for the first ld in PATH.
18639 with_gnu_ld=unknown
18640 ;;
18641 esac
18642 elif test "$with_gnu_ld" = yes; then
18643 echo "$as_me:$LINENO: checking for GNU ld" >&5
18644 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18645 else
18646 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18647 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18648 fi
18649 if test "${acl_cv_path_LD+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 else
18652 if test -z "$LD"; then
18653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18654 for ac_dir in $PATH; do
18655 test -z "$ac_dir" && ac_dir=.
18656 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18657 acl_cv_path_LD="$ac_dir/$ac_prog"
18658 # Check to see if the program is GNU ld. I'd rather use --version,
18659 # but apparently some GNU ld's only accept -v.
18660 # Break only if it was the GNU/non-GNU ld that we prefer.
18661 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
18662 test "$with_gnu_ld" != no && break
18663 else
18664 test "$with_gnu_ld" != yes && break
18665 fi
18666 fi
18667 done
18668 IFS="$ac_save_ifs"
18669 else
18670 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18671 fi
18672 fi
18673
18674 LD="$acl_cv_path_LD"
18675 if test -n "$LD"; then
18676 echo "$as_me:$LINENO: result: $LD" >&5
18677 echo "${ECHO_T}$LD" >&6
18678 else
18679 echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6
18681 fi
18682 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18683 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18684 { (exit 1); exit 1; }; }
18685 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18686 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18687 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 else
18690 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18691 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
18692 acl_cv_prog_gnu_ld=yes
18693 else
18694 acl_cv_prog_gnu_ld=no
18695 fi
18696 fi
18697 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18698 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18699 with_gnu_ld=$acl_cv_prog_gnu_ld
18700
18701
18702
18703 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18704 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18705 if test "${acl_cv_rpath+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708
18709 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18710 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18711 . ./conftest.sh
18712 rm -f ./conftest.sh
18713 acl_cv_rpath=done
18714
18715 fi
18716 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18717 echo "${ECHO_T}$acl_cv_rpath" >&6
18718 wl="$acl_cv_wl"
18719 libext="$acl_cv_libext"
18720 shlibext="$acl_cv_shlibext"
18721 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18722 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18723 hardcode_direct="$acl_cv_hardcode_direct"
18724 hardcode_minus_L="$acl_cv_hardcode_minus_L"
18725 # Check whether --enable-rpath or --disable-rpath was given.
18726 if test "${enable_rpath+set}" = set; then
18727 enableval="$enable_rpath"
18728 :
18729 else
18730 enable_rpath=yes
18731 fi;
18732
18733
18734
18735
18736
18737
18738
18739 use_additional=yes
18740
18741 acl_save_prefix="$prefix"
18742 prefix="$acl_final_prefix"
18743 acl_save_exec_prefix="$exec_prefix"
18744 exec_prefix="$acl_final_exec_prefix"
18745
18746 eval additional_includedir=\"$includedir\"
18747 eval additional_libdir=\"$libdir\"
18748
18749 exec_prefix="$acl_save_exec_prefix"
18750 prefix="$acl_save_prefix"
18751
18752
18753 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
18754 if test "${with_libiconv_prefix+set}" = set; then
18755 withval="$with_libiconv_prefix"
18756
18757 if test "X$withval" = "Xno"; then
18758 use_additional=no
18759 else
18760 if test "X$withval" = "X"; then
18761
18762 acl_save_prefix="$prefix"
18763 prefix="$acl_final_prefix"
18764 acl_save_exec_prefix="$exec_prefix"
18765 exec_prefix="$acl_final_exec_prefix"
18766
18767 eval additional_includedir=\"$includedir\"
18768 eval additional_libdir=\"$libdir\"
18769
18770 exec_prefix="$acl_save_exec_prefix"
18771 prefix="$acl_save_prefix"
18772
18773 else
18774 additional_includedir="$withval/include"
18775 additional_libdir="$withval/lib"
18776 fi
18777 fi
18778
18779 fi;
18780 LIBICONV=
18781 LTLIBICONV=
18782 INCICONV=
18783 rpathdirs=
18784 ltrpathdirs=
18785 names_already_handled=
18786 names_next_round='iconv '
18787 while test -n "$names_next_round"; do
18788 names_this_round="$names_next_round"
18789 names_next_round=
18790 for name in $names_this_round; do
18791 already_handled=
18792 for n in $names_already_handled; do
18793 if test "$n" = "$name"; then
18794 already_handled=yes
18795 break
18796 fi
18797 done
18798 if test -z "$already_handled"; then
18799 names_already_handled="$names_already_handled $name"
18800 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18801 eval value=\"\$HAVE_LIB$uppername\"
18802 if test -n "$value"; then
18803 if test "$value" = yes; then
18804 eval value=\"\$LIB$uppername\"
18805 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18806 eval value=\"\$LTLIB$uppername\"
18807 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18808 else
18809 :
18810 fi
18811 else
18812 found_dir=
18813 found_la=
18814 found_so=
18815 found_a=
18816 if test $use_additional = yes; then
18817 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18818 found_dir="$additional_libdir"
18819 found_so="$additional_libdir/lib$name.$shlibext"
18820 if test -f "$additional_libdir/lib$name.la"; then
18821 found_la="$additional_libdir/lib$name.la"
18822 fi
18823 else
18824 if test -f "$additional_libdir/lib$name.$libext"; then
18825 found_dir="$additional_libdir"
18826 found_a="$additional_libdir/lib$name.$libext"
18827 if test -f "$additional_libdir/lib$name.la"; then
18828 found_la="$additional_libdir/lib$name.la"
18829 fi
18830 fi
18831 fi
18832 fi
18833 if test "X$found_dir" = "X"; then
18834 for x in $LDFLAGS $LTLIBICONV; do
18835
18836 acl_save_prefix="$prefix"
18837 prefix="$acl_final_prefix"
18838 acl_save_exec_prefix="$exec_prefix"
18839 exec_prefix="$acl_final_exec_prefix"
18840 eval x=\"$x\"
18841 exec_prefix="$acl_save_exec_prefix"
18842 prefix="$acl_save_prefix"
18843
18844 case "$x" in
18845 -L*)
18846 dir=`echo "X$x" | sed -e 's/^X-L//'`
18847 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18848 found_dir="$dir"
18849 found_so="$dir/lib$name.$shlibext"
18850 if test -f "$dir/lib$name.la"; then
18851 found_la="$dir/lib$name.la"
18852 fi
18853 else
18854 if test -f "$dir/lib$name.$libext"; then
18855 found_dir="$dir"
18856 found_a="$dir/lib$name.$libext"
18857 if test -f "$dir/lib$name.la"; then
18858 found_la="$dir/lib$name.la"
18859 fi
18860 fi
18861 fi
18862 ;;
18863 esac
18864 if test "X$found_dir" != "X"; then
18865 break
18866 fi
18867 done
18868 fi
18869 if test "X$found_dir" != "X"; then
18870 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18871 if test "X$found_so" != "X"; then
18872 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
18873 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18874 else
18875 haveit=
18876 for x in $ltrpathdirs; do
18877 if test "X$x" = "X$found_dir"; then
18878 haveit=yes
18879 break
18880 fi
18881 done
18882 if test -z "$haveit"; then
18883 ltrpathdirs="$ltrpathdirs $found_dir"
18884 fi
18885 if test "$hardcode_direct" = yes; then
18886 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18887 else
18888 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
18889 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18890 haveit=
18891 for x in $rpathdirs; do
18892 if test "X$x" = "X$found_dir"; then
18893 haveit=yes
18894 break
18895 fi
18896 done
18897 if test -z "$haveit"; then
18898 rpathdirs="$rpathdirs $found_dir"
18899 fi
18900 else
18901 haveit=
18902 for x in $LDFLAGS $LIBICONV; do
18903
18904 acl_save_prefix="$prefix"
18905 prefix="$acl_final_prefix"
18906 acl_save_exec_prefix="$exec_prefix"
18907 exec_prefix="$acl_final_exec_prefix"
18908 eval x=\"$x\"
18909 exec_prefix="$acl_save_exec_prefix"
18910 prefix="$acl_save_prefix"
18911
18912 if test "X$x" = "X-L$found_dir"; then
18913 haveit=yes
18914 break
18915 fi
18916 done
18917 if test -z "$haveit"; then
18918 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18919 fi
18920 if test "$hardcode_minus_L" != no; then
18921 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18922 else
18923 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18924 fi
18925 fi
18926 fi
18927 fi
18928 else
18929 if test "X$found_a" != "X"; then
18930 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18931 else
18932 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18933 fi
18934 fi
18935 additional_includedir=
18936 case "$found_dir" in
18937 */lib | */lib/)
18938 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18939 additional_includedir="$basedir/include"
18940 ;;
18941 esac
18942 if test "X$additional_includedir" != "X"; then
18943 if test "X$additional_includedir" != "X/usr/include"; then
18944 haveit=
18945 if test "X$additional_includedir" = "X/usr/local/include"; then
18946 if test -n "$GCC"; then
18947 case $host_os in
18948 linux*) haveit=yes;;
18949 esac
18950 fi
18951 fi
18952 if test -z "$haveit"; then
18953 for x in $CPPFLAGS $INCICONV; do
18954
18955 acl_save_prefix="$prefix"
18956 prefix="$acl_final_prefix"
18957 acl_save_exec_prefix="$exec_prefix"
18958 exec_prefix="$acl_final_exec_prefix"
18959 eval x=\"$x\"
18960 exec_prefix="$acl_save_exec_prefix"
18961 prefix="$acl_save_prefix"
18962
18963 if test "X$x" = "X-I$additional_includedir"; then
18964 haveit=yes
18965 break
18966 fi
18967 done
18968 if test -z "$haveit"; then
18969 if test -d "$additional_includedir"; then
18970 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18971 fi
18972 fi
18973 fi
18974 fi
18975 fi
18976 if test -n "$found_la"; then
18977 save_libdir="$libdir"
18978 case "$found_la" in
18979 */* | *\\*) . "$found_la" ;;
18980 *) . "./$found_la" ;;
18981 esac
18982 libdir="$save_libdir"
18983 for dep in $dependency_libs; do
18984 case "$dep" in
18985 -L*)
18986 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18987 if test "X$additional_libdir" != "X/usr/lib"; then
18988 haveit=
18989 if test "X$additional_libdir" = "X/usr/local/lib"; then
18990 if test -n "$GCC"; then
18991 case $host_os in
18992 linux*) haveit=yes;;
18993 esac
18994 fi
18995 fi
18996 if test -z "$haveit"; then
18997 haveit=
18998 for x in $LDFLAGS $LIBICONV; do
18999
19000 acl_save_prefix="$prefix"
19001 prefix="$acl_final_prefix"
19002 acl_save_exec_prefix="$exec_prefix"
19003 exec_prefix="$acl_final_exec_prefix"
19004 eval x=\"$x\"
19005 exec_prefix="$acl_save_exec_prefix"
19006 prefix="$acl_save_prefix"
19007
19008 if test "X$x" = "X-L$additional_libdir"; then
19009 haveit=yes
19010 break
19011 fi
19012 done
19013 if test -z "$haveit"; then
19014 if test -d "$additional_libdir"; then
19015 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19016 fi
19017 fi
19018 haveit=
19019 for x in $LDFLAGS $LTLIBICONV; do
19020
19021 acl_save_prefix="$prefix"
19022 prefix="$acl_final_prefix"
19023 acl_save_exec_prefix="$exec_prefix"
19024 exec_prefix="$acl_final_exec_prefix"
19025 eval x=\"$x\"
19026 exec_prefix="$acl_save_exec_prefix"
19027 prefix="$acl_save_prefix"
19028
19029 if test "X$x" = "X-L$additional_libdir"; then
19030 haveit=yes
19031 break
19032 fi
19033 done
19034 if test -z "$haveit"; then
19035 if test -d "$additional_libdir"; then
19036 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19037 fi
19038 fi
19039 fi
19040 fi
19041 ;;
19042 -R*)
19043 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19044 if test "$enable_rpath" != no; then
19045 haveit=
19046 for x in $rpathdirs; do
19047 if test "X$x" = "X$dir"; then
19048 haveit=yes
19049 break
19050 fi
19051 done
19052 if test -z "$haveit"; then
19053 rpathdirs="$rpathdirs $dir"
19054 fi
19055 haveit=
19056 for x in $ltrpathdirs; do
19057 if test "X$x" = "X$dir"; then
19058 haveit=yes
19059 break
19060 fi
19061 done
19062 if test -z "$haveit"; then
19063 ltrpathdirs="$ltrpathdirs $dir"
19064 fi
19065 fi
19066 ;;
19067 -l*)
19068 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19069 ;;
19070 *.la)
19071 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19072 ;;
19073 *)
19074 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19075 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19076 ;;
19077 esac
19078 done
19079 fi
19080 else
19081 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19082 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19083 fi
19084 fi
19085 fi
19086 done
19087 done
19088 if test "X$rpathdirs" != "X"; then
19089 if test -n "$hardcode_libdir_separator"; then
19090 alldirs=
19091 for found_dir in $rpathdirs; do
19092 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19093 done
19094 acl_save_libdir="$libdir"
19095 libdir="$alldirs"
19096 eval flag=\"$hardcode_libdir_flag_spec\"
19097 libdir="$acl_save_libdir"
19098 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19099 else
19100 for found_dir in $rpathdirs; do
19101 acl_save_libdir="$libdir"
19102 libdir="$found_dir"
19103 eval flag=\"$hardcode_libdir_flag_spec\"
19104 libdir="$acl_save_libdir"
19105 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19106 done
19107 fi
19108 fi
19109 if test "X$ltrpathdirs" != "X"; then
19110 for found_dir in $ltrpathdirs; do
19111 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19112 done
19113 fi
19114
19115
19116
19117
19118
19119
19120
19121 am_save_CPPFLAGS="$CPPFLAGS"
19122
19123 for element in $INCICONV; do
19124 haveit=
19125 for x in $CPPFLAGS; do
19126
19127 acl_save_prefix="$prefix"
19128 prefix="$acl_final_prefix"
19129 acl_save_exec_prefix="$exec_prefix"
19130 exec_prefix="$acl_final_exec_prefix"
19131 eval x=\"$x\"
19132 exec_prefix="$acl_save_exec_prefix"
19133 prefix="$acl_save_prefix"
19134
19135 if test "X$x" = "X$element"; then
19136 haveit=yes
19137 break
19138 fi
19139 done
19140 if test -z "$haveit"; then
19141 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19142 fi
19143 done
19144
19145
19146 echo "$as_me:$LINENO: checking for iconv" >&5
19147 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
19148 if test "${am_cv_func_iconv+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19150 else
19151
19152 am_cv_func_iconv="no, consider installing GNU libiconv"
19153 am_cv_lib_iconv=no
19154 if test x$gcc_no_link = xyes; then
19155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19157 { (exit 1); exit 1; }; }
19158 fi
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <stdlib.h>
19166 #include <iconv.h>
19167 int
19168 main ()
19169 {
19170 iconv_t cd = iconv_open("","");
19171 iconv(cd,NULL,NULL,NULL,NULL);
19172 iconv_close(cd);
19173 ;
19174 return 0;
19175 }
19176 _ACEOF
19177 rm -f conftest.$ac_objext conftest$ac_exeext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19179 (eval $ac_link) 2>conftest.er1
19180 ac_status=$?
19181 grep -v '^ *+' conftest.er1 >conftest.err
19182 rm -f conftest.er1
19183 cat conftest.err >&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try='test -z "$ac_c_werror_flag"
19187 || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19190 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try='test -s conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 am_cv_func_iconv=yes
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19203
19204 fi
19205 rm -f conftest.err conftest.$ac_objext \
19206 conftest$ac_exeext conftest.$ac_ext
19207 if test "$am_cv_func_iconv" != yes; then
19208 am_save_LIBS="$LIBS"
19209 LIBS="$LIBS $LIBICONV"
19210 if test x$gcc_no_link = xyes; then
19211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19213 { (exit 1); exit 1; }; }
19214 fi
19215 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 #include <stdlib.h>
19222 #include <iconv.h>
19223 int
19224 main ()
19225 {
19226 iconv_t cd = iconv_open("","");
19227 iconv(cd,NULL,NULL,NULL,NULL);
19228 iconv_close(cd);
19229 ;
19230 return 0;
19231 }
19232 _ACEOF
19233 rm -f conftest.$ac_objext conftest$ac_exeext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19235 (eval $ac_link) 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try='test -z "$ac_c_werror_flag"
19243 || test ! -s conftest.err'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 am_cv_lib_iconv=yes
19256 am_cv_func_iconv=yes
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 fi
19262 rm -f conftest.err conftest.$ac_objext \
19263 conftest$ac_exeext conftest.$ac_ext
19264 LIBS="$am_save_LIBS"
19265 fi
19266
19267 fi
19268 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
19269 echo "${ECHO_T}$am_cv_func_iconv" >&6
19270 if test "$am_cv_func_iconv" = yes; then
19271
19272 cat >>confdefs.h <<\_ACEOF
19273 #define HAVE_ICONV 1
19274 _ACEOF
19275
19276 fi
19277 if test "$am_cv_lib_iconv" = yes; then
19278 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
19279 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
19280 echo "$as_me:$LINENO: result: $LIBICONV" >&5
19281 echo "${ECHO_T}$LIBICONV" >&6
19282 else
19283 CPPFLAGS="$am_save_CPPFLAGS"
19284 LIBICONV=
19285 LTLIBICONV=
19286 fi
19287
19288
19289
19290 if test "$am_cv_func_iconv" = yes; then
19291 echo "$as_me:$LINENO: checking for iconv declaration" >&5
19292 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
19293 if test "${am_cv_proto_iconv+set}" = set; then
19294 echo $ECHO_N "(cached) $ECHO_C" >&6
19295 else
19296
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303
19304 #include <stdlib.h>
19305 #include <iconv.h>
19306 extern
19307 #ifdef __cplusplus
19308 "C"
19309 #endif
19310 #if defined(__STDC__) || defined(__cplusplus)
19311 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19312 #else
19313 size_t iconv();
19314 #endif
19315
19316 int
19317 main ()
19318 {
19319
19320 ;
19321 return 0;
19322 }
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19327 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try='test -z "$ac_c_werror_flag"
19334 || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 am_cv_proto_iconv_arg1=""
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 am_cv_proto_iconv_arg1="const"
19352 fi
19353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19354 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);"
19355 fi
19356
19357 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19358 echo "$as_me:$LINENO: result: ${ac_t:-
19359 }$am_cv_proto_iconv" >&5
19360 echo "${ECHO_T}${ac_t:-
19361 }$am_cv_proto_iconv" >&6
19362
19363 cat >>confdefs.h <<_ACEOF
19364 #define ICONV_CONST $am_cv_proto_iconv_arg1
19365 _ACEOF
19366
19367 fi
19368
19369
19370 if test "x${GCC}" = xyes; then
19371
19372 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
19373
19374
19375 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
19376
19377
19378 ERROR_CFLAGS=
19379 if test "x${ENABLE_WERROR}" = xyes; then
19380 ERROR_CFLAGS='-Werror'
19381 fi
19382
19383 fi
19384
19385 if test "x${COMPILE_XMLJ}" = xyes; then
19386
19387 succeeded=no
19388
19389 if test -z "$PKG_CONFIG"; then
19390 # Extract the first word of "pkg-config", so it can be a program name with args.
19391 set dummy pkg-config; ac_word=$2
19392 echo "$as_me:$LINENO: checking for $ac_word" >&5
19393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19394 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 else
19397 case $PKG_CONFIG in
19398 [\\/]* | ?:[\\/]*)
19399 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19400 ;;
19401 *)
19402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19403 for as_dir in $PATH
19404 do
19405 IFS=$as_save_IFS
19406 test -z "$as_dir" && as_dir=.
19407 for ac_exec_ext in '' $ac_executable_extensions; do
19408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19409 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19411 break 2
19412 fi
19413 done
19414 done
19415
19416 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19417 ;;
19418 esac
19419 fi
19420 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19421
19422 if test -n "$PKG_CONFIG"; then
19423 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19424 echo "${ECHO_T}$PKG_CONFIG" >&6
19425 else
19426 echo "$as_me:$LINENO: result: no" >&5
19427 echo "${ECHO_T}no" >&6
19428 fi
19429
19430 fi
19431
19432 if test "$PKG_CONFIG" = "no" ; then
19433 echo "*** The pkg-config script could not be found. Make sure it is"
19434 echo "*** in your path, or set the PKG_CONFIG environment variable"
19435 echo "*** to the full path to pkg-config."
19436 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19437 else
19438 PKG_CONFIG_MIN_VERSION=0.9.0
19439 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19440 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
19441 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
19442
19443 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
19444 echo "$as_me:$LINENO: result: yes" >&5
19445 echo "${ECHO_T}yes" >&6
19446 succeeded=yes
19447
19448 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
19449 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
19450 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
19451 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
19452 echo "${ECHO_T}$XML_CFLAGS" >&6
19453
19454 echo "$as_me:$LINENO: checking XML_LIBS" >&5
19455 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
19456 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
19457 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
19458 echo "${ECHO_T}$XML_LIBS" >&6
19459 else
19460 XML_CFLAGS=""
19461 XML_LIBS=""
19462 ## If we have a custom action on failure, don't print errors, but
19463 ## do set a variable so people can do so.
19464 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
19465 echo $XML_PKG_ERRORS
19466 fi
19467
19468
19469
19470 else
19471 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19472 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19473 fi
19474 fi
19475
19476 if test $succeeded = yes; then
19477 :
19478 else
19479 { { echo "$as_me:$LINENO: 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." >&5
19480 echo "$as_me: 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." >&2;}
19481 { (exit 1); exit 1; }; }
19482 fi
19483
19484
19485 succeeded=no
19486
19487 if test -z "$PKG_CONFIG"; then
19488 # Extract the first word of "pkg-config", so it can be a program name with args.
19489 set dummy pkg-config; ac_word=$2
19490 echo "$as_me:$LINENO: checking for $ac_word" >&5
19491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19492 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19494 else
19495 case $PKG_CONFIG in
19496 [\\/]* | ?:[\\/]*)
19497 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19498 ;;
19499 *)
19500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19501 for as_dir in $PATH
19502 do
19503 IFS=$as_save_IFS
19504 test -z "$as_dir" && as_dir=.
19505 for ac_exec_ext in '' $ac_executable_extensions; do
19506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19507 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19509 break 2
19510 fi
19511 done
19512 done
19513
19514 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19515 ;;
19516 esac
19517 fi
19518 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19519
19520 if test -n "$PKG_CONFIG"; then
19521 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19522 echo "${ECHO_T}$PKG_CONFIG" >&6
19523 else
19524 echo "$as_me:$LINENO: result: no" >&5
19525 echo "${ECHO_T}no" >&6
19526 fi
19527
19528 fi
19529
19530 if test "$PKG_CONFIG" = "no" ; then
19531 echo "*** The pkg-config script could not be found. Make sure it is"
19532 echo "*** in your path, or set the PKG_CONFIG environment variable"
19533 echo "*** to the full path to pkg-config."
19534 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19535 else
19536 PKG_CONFIG_MIN_VERSION=0.9.0
19537 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19538 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19539 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19540
19541 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19542 echo "$as_me:$LINENO: result: yes" >&5
19543 echo "${ECHO_T}yes" >&6
19544 succeeded=yes
19545
19546 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19547 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19548 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19549 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19550 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19551
19552 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19553 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19554 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19555 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19556 echo "${ECHO_T}$XSLT_LIBS" >&6
19557 else
19558 XSLT_CFLAGS=""
19559 XSLT_LIBS=""
19560 ## If we have a custom action on failure, don't print errors, but
19561 ## do set a variable so people can do so.
19562 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19563 echo $XSLT_PKG_ERRORS
19564 fi
19565
19566
19567
19568 else
19569 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19570 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19571 fi
19572 fi
19573
19574 if test $succeeded = yes; then
19575 :
19576 else
19577 { { echo "$as_me:$LINENO: 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." >&5
19578 echo "$as_me: 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." >&2;}
19579 { (exit 1); exit 1; }; }
19580 fi
19581
19582
19583
19584
19585
19586 fi
19587
19588 if test "x${COMPILE_GTK_PEER}" = xyes; then
19589 echo "$as_me:$LINENO: checking for X" >&5
19590 echo $ECHO_N "checking for X... $ECHO_C" >&6
19591
19592
19593 # Check whether --with-x or --without-x was given.
19594 if test "${with_x+set}" = set; then
19595 withval="$with_x"
19596
19597 fi;
19598 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19599 if test "x$with_x" = xno; then
19600 # The user explicitly disabled X.
19601 have_x=disabled
19602 else
19603 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
19604 # Both variables are already set.
19605 have_x=yes
19606 else
19607 if test "${ac_cv_have_x+set}" = set; then
19608 echo $ECHO_N "(cached) $ECHO_C" >&6
19609 else
19610 # One or both of the vars are not set, and there is no cached value.
19611 ac_x_includes=no ac_x_libraries=no
19612 rm -fr conftest.dir
19613 if mkdir conftest.dir; then
19614 cd conftest.dir
19615 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19616 cat >Imakefile <<'_ACEOF'
19617 acfindx:
19618 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19619 _ACEOF
19620 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
19621 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19622 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19623 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19624 for ac_extension in a so sl; do
19625 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
19626 test -f $ac_im_libdir/libX11.$ac_extension; then
19627 ac_im_usrlibdir=$ac_im_libdir; break
19628 fi
19629 done
19630 # Screen out bogus values from the imake configuration. They are
19631 # bogus both because they are the default anyway, and because
19632 # using them would break gcc on systems where it needs fixed includes.
19633 case $ac_im_incroot in
19634 /usr/include) ;;
19635 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19636 esac
19637 case $ac_im_usrlibdir in
19638 /usr/lib | /lib) ;;
19639 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19640 esac
19641 fi
19642 cd ..
19643 rm -fr conftest.dir
19644 fi
19645
19646 # Standard set of common directories for X headers.
19647 # Check X11 before X11Rn because it is often a symlink to the current release.
19648 ac_x_header_dirs='
19649 /usr/X11/include
19650 /usr/X11R6/include
19651 /usr/X11R5/include
19652 /usr/X11R4/include
19653
19654 /usr/include/X11
19655 /usr/include/X11R6
19656 /usr/include/X11R5
19657 /usr/include/X11R4
19658
19659 /usr/local/X11/include
19660 /usr/local/X11R6/include
19661 /usr/local/X11R5/include
19662 /usr/local/X11R4/include
19663
19664 /usr/local/include/X11
19665 /usr/local/include/X11R6
19666 /usr/local/include/X11R5
19667 /usr/local/include/X11R4
19668
19669 /usr/X386/include
19670 /usr/x386/include
19671 /usr/XFree86/include/X11
19672
19673 /usr/include
19674 /usr/local/include
19675 /usr/unsupported/include
19676 /usr/athena/include
19677 /usr/local/x11r5/include
19678 /usr/lpp/Xamples/include
19679
19680 /usr/openwin/include
19681 /usr/openwin/share/include'
19682
19683 if test "$ac_x_includes" = no; then
19684 # Guess where to find include files, by looking for Intrinsic.h.
19685 # First, try using that file with no special directory specified.
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <X11/Intrinsic.h>
19693 _ACEOF
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev/null; then
19702 if test -s conftest.err; then
19703 ac_cpp_err=$ac_c_preproc_warn_flag
19704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19705 else
19706 ac_cpp_err=
19707 fi
19708 else
19709 ac_cpp_err=yes
19710 fi
19711 if test -z "$ac_cpp_err"; then
19712 # We can compile using X headers with no special include directory.
19713 ac_x_includes=
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 for ac_dir in $ac_x_header_dirs; do
19719 if test -r "$ac_dir/X11/Intrinsic.h"; then
19720 ac_x_includes=$ac_dir
19721 break
19722 fi
19723 done
19724 fi
19725 rm -f conftest.err conftest.$ac_ext
19726 fi # $ac_x_includes = no
19727
19728 if test "$ac_x_libraries" = no; then
19729 # Check for the libraries.
19730 # See if we find them without any special options.
19731 # Don't add to $LIBS permanently.
19732 ac_save_LIBS=$LIBS
19733 LIBS="-lXt $LIBS"
19734 if test x$gcc_no_link = xyes; then
19735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19737 { (exit 1); exit 1; }; }
19738 fi
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #include <X11/Intrinsic.h>
19746 int
19747 main ()
19748 {
19749 XtMalloc (0)
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest.$ac_objext conftest$ac_exeext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756 (eval $ac_link) 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try='test -z "$ac_c_werror_flag"
19764 || test ! -s conftest.err'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19767 ac_status=$?
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; } &&
19770 { ac_try='test -s conftest$ac_exeext'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19773 ac_status=$?
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19776 LIBS=$ac_save_LIBS
19777 # We can link X programs with no special library path.
19778 ac_x_libraries=
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19782
19783 LIBS=$ac_save_LIBS
19784 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19785 do
19786 # Don't even attempt the hair of trying to link an X program!
19787 for ac_extension in a so sl; do
19788 if test -r $ac_dir/libXt.$ac_extension; then
19789 ac_x_libraries=$ac_dir
19790 break 2
19791 fi
19792 done
19793 done
19794 fi
19795 rm -f conftest.err conftest.$ac_objext \
19796 conftest$ac_exeext conftest.$ac_ext
19797 fi # $ac_x_libraries = no
19798
19799 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
19800 # Didn't find X anywhere. Cache the known absence of X.
19801 ac_cv_have_x="have_x=no"
19802 else
19803 # Record where we found X for the cache.
19804 ac_cv_have_x="have_x=yes \
19805 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19806 fi
19807 fi
19808
19809 fi
19810 eval "$ac_cv_have_x"
19811 fi # $with_x != no
19812
19813 if test "$have_x" != yes; then
19814 echo "$as_me:$LINENO: result: $have_x" >&5
19815 echo "${ECHO_T}$have_x" >&6
19816 no_x=yes
19817 else
19818 # If each of the values was on the command line, it overrides each guess.
19819 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19820 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19821 # Update the cache value to reflect the command line values.
19822 ac_cv_have_x="have_x=yes \
19823 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19824 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19825 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19826 fi
19827
19828 if test "$no_x" = yes; then
19829 # Not all programs may use this symbol, but it does not hurt to define it.
19830
19831 cat >>confdefs.h <<\_ACEOF
19832 #define X_DISPLAY_MISSING 1
19833 _ACEOF
19834
19835 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19836 else
19837 if test -n "$x_includes"; then
19838 X_CFLAGS="$X_CFLAGS -I$x_includes"
19839 fi
19840
19841 # It would also be nice to do this for all -L options, not just this one.
19842 if test -n "$x_libraries"; then
19843 X_LIBS="$X_LIBS -L$x_libraries"
19844 # For Solaris; some versions of Sun CC require a space after -R and
19845 # others require no space. Words are not sufficient . . . .
19846 case `(uname -sr) 2>/dev/null` in
19847 "SunOS 5"*)
19848 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19849 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19850 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19851 if test x$gcc_no_link = xyes; then
19852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19854 { (exit 1); exit 1; }; }
19855 fi
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862
19863 int
19864 main ()
19865 {
19866
19867 ;
19868 return 0;
19869 }
19870 _ACEOF
19871 rm -f conftest.$ac_objext conftest$ac_exeext
19872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19873 (eval $ac_link) 2>conftest.er1
19874 ac_status=$?
19875 grep -v '^ *+' conftest.er1 >conftest.err
19876 rm -f conftest.er1
19877 cat conftest.err >&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); } &&
19880 { ac_try='test -z "$ac_c_werror_flag"
19881 || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19884 ac_status=$?
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try='test -s conftest$ac_exeext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 ac_R_nospace=yes
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_R_nospace=no
19899 fi
19900 rm -f conftest.err conftest.$ac_objext \
19901 conftest$ac_exeext conftest.$ac_ext
19902 if test $ac_R_nospace = yes; then
19903 echo "$as_me:$LINENO: result: no" >&5
19904 echo "${ECHO_T}no" >&6
19905 X_LIBS="$X_LIBS -R$x_libraries"
19906 else
19907 LIBS="$ac_xsave_LIBS -R $x_libraries"
19908 if test x$gcc_no_link = xyes; then
19909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19911 { (exit 1); exit 1; }; }
19912 fi
19913 cat >conftest.$ac_ext <<_ACEOF
19914 /* confdefs.h. */
19915 _ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919
19920 int
19921 main ()
19922 {
19923
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try='test -z "$ac_c_werror_flag"
19938 || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_R_space=yes
19951 else
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19955 ac_R_space=no
19956 fi
19957 rm -f conftest.err conftest.$ac_objext \
19958 conftest$ac_exeext conftest.$ac_ext
19959 if test $ac_R_space = yes; then
19960 echo "$as_me:$LINENO: result: yes" >&5
19961 echo "${ECHO_T}yes" >&6
19962 X_LIBS="$X_LIBS -R $x_libraries"
19963 else
19964 echo "$as_me:$LINENO: result: neither works" >&5
19965 echo "${ECHO_T}neither works" >&6
19966 fi
19967 fi
19968 LIBS=$ac_xsave_LIBS
19969 esac
19970 fi
19971
19972 # Check for system-dependent libraries X programs must link with.
19973 # Do this before checking for the system-independent R6 libraries
19974 # (-lICE), since we may need -lsocket or whatever for X linking.
19975
19976 if test "$ISC" = yes; then
19977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19978 else
19979 # Martyn Johnson says this is needed for Ultrix, if the X
19980 # libraries were built with DECnet support. And Karl Berry says
19981 # the Alpha needs dnet_stub (dnet does not exist).
19982 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19983 if test x$gcc_no_link = xyes; then
19984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19986 { (exit 1); exit 1; }; }
19987 fi
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994
19995 /* Override any gcc2 internal prototype to avoid an error. */
19996 #ifdef __cplusplus
19997 extern "C"
19998 #endif
19999 /* We use char because int might match the return type of a gcc2
20000 builtin and then its argument prototype would still apply. */
20001 char XOpenDisplay ();
20002 int
20003 main ()
20004 {
20005 XOpenDisplay ();
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext conftest$ac_exeext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012 (eval $ac_link) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20023 ac_status=$?
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try='test -s conftest$ac_exeext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 :
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20038 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20039 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 else
20042 ac_check_lib_save_LIBS=$LIBS
20043 LIBS="-ldnet $LIBS"
20044 if test x$gcc_no_link = xyes; then
20045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20047 { (exit 1); exit 1; }; }
20048 fi
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055
20056 /* Override any gcc2 internal prototype to avoid an error. */
20057 #ifdef __cplusplus
20058 extern "C"
20059 #endif
20060 /* We use char because int might match the return type of a gcc2
20061 builtin and then its argument prototype would still apply. */
20062 char dnet_ntoa ();
20063 int
20064 main ()
20065 {
20066 dnet_ntoa ();
20067 ;
20068 return 0;
20069 }
20070 _ACEOF
20071 rm -f conftest.$ac_objext conftest$ac_exeext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073 (eval $ac_link) 2>conftest.er1
20074 ac_status=$?
20075 grep -v '^ *+' conftest.er1 >conftest.err
20076 rm -f conftest.er1
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20084 ac_status=$?
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try='test -s conftest$ac_exeext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_lib_dnet_dnet_ntoa=yes
20094 else
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20097
20098 ac_cv_lib_dnet_dnet_ntoa=no
20099 fi
20100 rm -f conftest.err conftest.$ac_objext \
20101 conftest$ac_exeext conftest.$ac_ext
20102 LIBS=$ac_check_lib_save_LIBS
20103 fi
20104 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20108 fi
20109
20110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20111 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20115 else
20116 ac_check_lib_save_LIBS=$LIBS
20117 LIBS="-ldnet_stub $LIBS"
20118 if test x$gcc_no_link = xyes; then
20119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20121 { (exit 1); exit 1; }; }
20122 fi
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h. */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129
20130 /* Override any gcc2 internal prototype to avoid an error. */
20131 #ifdef __cplusplus
20132 extern "C"
20133 #endif
20134 /* We use char because int might match the return type of a gcc2
20135 builtin and then its argument prototype would still apply. */
20136 char dnet_ntoa ();
20137 int
20138 main ()
20139 {
20140 dnet_ntoa ();
20141 ;
20142 return 0;
20143 }
20144 _ACEOF
20145 rm -f conftest.$ac_objext conftest$ac_exeext
20146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20147 (eval $ac_link) 2>conftest.er1
20148 ac_status=$?
20149 grep -v '^ *+' conftest.er1 >conftest.err
20150 rm -f conftest.er1
20151 cat conftest.err >&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } &&
20154 { ac_try='test -z "$ac_c_werror_flag"
20155 || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest$ac_exeext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_cv_lib_dnet_stub_dnet_ntoa=no
20173 fi
20174 rm -f conftest.err conftest.$ac_objext \
20175 conftest$ac_exeext conftest.$ac_ext
20176 LIBS=$ac_check_lib_save_LIBS
20177 fi
20178 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20179 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20180 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20181 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20182 fi
20183
20184 fi
20185 fi
20186 rm -f conftest.err conftest.$ac_objext \
20187 conftest$ac_exeext conftest.$ac_ext
20188 LIBS="$ac_xsave_LIBS"
20189
20190 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20191 # to get the SysV transport functions.
20192 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20193 # needs -lnsl.
20194 # The nsl library prevents programs from opening the X display
20195 # on Irix 5.2, according to T.E. Dickey.
20196 # The functions gethostbyname, getservbyname, and inet_addr are
20197 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20198 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20199 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20200 if test "${ac_cv_func_gethostbyname+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 if test x$gcc_no_link = xyes; then
20204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20206 { (exit 1); exit 1; }; }
20207 fi
20208 cat >conftest.$ac_ext <<_ACEOF
20209 /* confdefs.h. */
20210 _ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20214 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20216 #define gethostbyname innocuous_gethostbyname
20217
20218 /* System header to define __stub macros and hopefully few prototypes,
20219 which can conflict with char gethostbyname (); below.
20220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20221 <limits.h> exists even on freestanding compilers. */
20222
20223 #ifdef __STDC__
20224 # include <limits.h>
20225 #else
20226 # include <assert.h>
20227 #endif
20228
20229 #undef gethostbyname
20230
20231 /* Override any gcc2 internal prototype to avoid an error. */
20232 #ifdef __cplusplus
20233 extern "C"
20234 {
20235 #endif
20236 /* We use char because int might match the return type of a gcc2
20237 builtin and then its argument prototype would still apply. */
20238 char gethostbyname ();
20239 /* The GNU C library defines this for functions which it implements
20240 to always fail with ENOSYS. Some functions are actually named
20241 something starting with __ and the normal name is an alias. */
20242 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20243 choke me
20244 #else
20245 char (*f) () = gethostbyname;
20246 #endif
20247 #ifdef __cplusplus
20248 }
20249 #endif
20250
20251 int
20252 main ()
20253 {
20254 return f != gethostbyname;
20255 ;
20256 return 0;
20257 }
20258 _ACEOF
20259 rm -f conftest.$ac_objext conftest$ac_exeext
20260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20261 (eval $ac_link) 2>conftest.er1
20262 ac_status=$?
20263 grep -v '^ *+' conftest.er1 >conftest.err
20264 rm -f conftest.er1
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } &&
20268 { ac_try='test -z "$ac_c_werror_flag"
20269 || test ! -s conftest.err'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20272 ac_status=$?
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; } &&
20275 { ac_try='test -s conftest$ac_exeext'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 ac_cv_func_gethostbyname=yes
20282 else
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.$ac_ext >&5
20285
20286 ac_cv_func_gethostbyname=no
20287 fi
20288 rm -f conftest.err conftest.$ac_objext \
20289 conftest$ac_exeext conftest.$ac_ext
20290 fi
20291 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20292 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20293
20294 if test $ac_cv_func_gethostbyname = no; then
20295 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20296 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20297 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 else
20300 ac_check_lib_save_LIBS=$LIBS
20301 LIBS="-lnsl $LIBS"
20302 if test x$gcc_no_link = xyes; then
20303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20305 { (exit 1); exit 1; }; }
20306 fi
20307 cat >conftest.$ac_ext <<_ACEOF
20308 /* confdefs.h. */
20309 _ACEOF
20310 cat confdefs.h >>conftest.$ac_ext
20311 cat >>conftest.$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313
20314 /* Override any gcc2 internal prototype to avoid an error. */
20315 #ifdef __cplusplus
20316 extern "C"
20317 #endif
20318 /* We use char because int might match the return type of a gcc2
20319 builtin and then its argument prototype would still apply. */
20320 char gethostbyname ();
20321 int
20322 main ()
20323 {
20324 gethostbyname ();
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext conftest$ac_exeext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20331 (eval $ac_link) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try='test -s conftest$ac_exeext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_lib_nsl_gethostbyname=yes
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20355
20356 ac_cv_lib_nsl_gethostbyname=no
20357 fi
20358 rm -f conftest.err conftest.$ac_objext \
20359 conftest$ac_exeext conftest.$ac_ext
20360 LIBS=$ac_check_lib_save_LIBS
20361 fi
20362 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20363 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20364 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20365 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20366 fi
20367
20368 if test $ac_cv_lib_nsl_gethostbyname = no; then
20369 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20370 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20371 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 else
20374 ac_check_lib_save_LIBS=$LIBS
20375 LIBS="-lbsd $LIBS"
20376 if test x$gcc_no_link = xyes; then
20377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20379 { (exit 1); exit 1; }; }
20380 fi
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387
20388 /* Override any gcc2 internal prototype to avoid an error. */
20389 #ifdef __cplusplus
20390 extern "C"
20391 #endif
20392 /* We use char because int might match the return type of a gcc2
20393 builtin and then its argument prototype would still apply. */
20394 char gethostbyname ();
20395 int
20396 main ()
20397 {
20398 gethostbyname ();
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext conftest$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405 (eval $ac_link) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try='test -z "$ac_c_werror_flag"
20413 || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest$ac_exeext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_cv_lib_bsd_gethostbyname=yes
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_cv_lib_bsd_gethostbyname=no
20431 fi
20432 rm -f conftest.err conftest.$ac_objext \
20433 conftest$ac_exeext conftest.$ac_ext
20434 LIBS=$ac_check_lib_save_LIBS
20435 fi
20436 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20437 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20438 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20440 fi
20441
20442 fi
20443 fi
20444
20445 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20446 # socket/setsockopt and other routines are undefined under SCO ODT
20447 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20448 # on later versions), says Simon Leinen: it contains gethostby*
20449 # variants that don't use the name server (or something). -lsocket
20450 # must be given before -lnsl if both are needed. We assume that
20451 # if connect needs -lnsl, so does gethostbyname.
20452 echo "$as_me:$LINENO: checking for connect" >&5
20453 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20454 if test "${ac_cv_func_connect+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 if test x$gcc_no_link = xyes; then
20458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20460 { (exit 1); exit 1; }; }
20461 fi
20462 cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h. */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20470 #define connect innocuous_connect
20471
20472 /* System header to define __stub macros and hopefully few prototypes,
20473 which can conflict with char connect (); below.
20474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20475 <limits.h> exists even on freestanding compilers. */
20476
20477 #ifdef __STDC__
20478 # include <limits.h>
20479 #else
20480 # include <assert.h>
20481 #endif
20482
20483 #undef connect
20484
20485 /* Override any gcc2 internal prototype to avoid an error. */
20486 #ifdef __cplusplus
20487 extern "C"
20488 {
20489 #endif
20490 /* We use char because int might match the return type of a gcc2
20491 builtin and then its argument prototype would still apply. */
20492 char connect ();
20493 /* The GNU C library defines this for functions which it implements
20494 to always fail with ENOSYS. Some functions are actually named
20495 something starting with __ and the normal name is an alias. */
20496 #if defined (__stub_connect) || defined (__stub___connect)
20497 choke me
20498 #else
20499 char (*f) () = connect;
20500 #endif
20501 #ifdef __cplusplus
20502 }
20503 #endif
20504
20505 int
20506 main ()
20507 {
20508 return f != connect;
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 rm -f conftest.$ac_objext conftest$ac_exeext
20514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20515 (eval $ac_link) 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -z "$ac_c_werror_flag"
20523 || test ! -s conftest.err'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20526 ac_status=$?
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; } &&
20529 { ac_try='test -s conftest$ac_exeext'
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20531 (eval $ac_try) 2>&5
20532 ac_status=$?
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; }; then
20535 ac_cv_func_connect=yes
20536 else
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20539
20540 ac_cv_func_connect=no
20541 fi
20542 rm -f conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext conftest.$ac_ext
20544 fi
20545 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20546 echo "${ECHO_T}$ac_cv_func_connect" >&6
20547
20548 if test $ac_cv_func_connect = no; then
20549 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20550 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20551 if test "${ac_cv_lib_socket_connect+set}" = set; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20553 else
20554 ac_check_lib_save_LIBS=$LIBS
20555 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20556 if test x$gcc_no_link = xyes; then
20557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20559 { (exit 1); exit 1; }; }
20560 fi
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567
20568 /* Override any gcc2 internal prototype to avoid an error. */
20569 #ifdef __cplusplus
20570 extern "C"
20571 #endif
20572 /* We use char because int might match the return type of a gcc2
20573 builtin and then its argument prototype would still apply. */
20574 char connect ();
20575 int
20576 main ()
20577 {
20578 connect ();
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext conftest$ac_exeext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20585 (eval $ac_link) 2>conftest.er1
20586 ac_status=$?
20587 grep -v '^ *+' conftest.er1 >conftest.err
20588 rm -f conftest.er1
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try='test -z "$ac_c_werror_flag"
20593 || test ! -s conftest.err'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20596 ac_status=$?
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; } &&
20599 { ac_try='test -s conftest$ac_exeext'
20600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20601 (eval $ac_try) 2>&5
20602 ac_status=$?
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); }; }; then
20605 ac_cv_lib_socket_connect=yes
20606 else
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20609
20610 ac_cv_lib_socket_connect=no
20611 fi
20612 rm -f conftest.err conftest.$ac_objext \
20613 conftest$ac_exeext conftest.$ac_ext
20614 LIBS=$ac_check_lib_save_LIBS
20615 fi
20616 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20617 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20618 if test $ac_cv_lib_socket_connect = yes; then
20619 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20620 fi
20621
20622 fi
20623
20624 # Guillermo Gomez says -lposix is necessary on A/UX.
20625 echo "$as_me:$LINENO: checking for remove" >&5
20626 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20627 if test "${ac_cv_func_remove+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 else
20630 if test x$gcc_no_link = xyes; then
20631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20633 { (exit 1); exit 1; }; }
20634 fi
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h. */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20643 #define remove innocuous_remove
20644
20645 /* System header to define __stub macros and hopefully few prototypes,
20646 which can conflict with char remove (); below.
20647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20648 <limits.h> exists even on freestanding compilers. */
20649
20650 #ifdef __STDC__
20651 # include <limits.h>
20652 #else
20653 # include <assert.h>
20654 #endif
20655
20656 #undef remove
20657
20658 /* Override any gcc2 internal prototype to avoid an error. */
20659 #ifdef __cplusplus
20660 extern "C"
20661 {
20662 #endif
20663 /* We use char because int might match the return type of a gcc2
20664 builtin and then its argument prototype would still apply. */
20665 char remove ();
20666 /* The GNU C library defines this for functions which it implements
20667 to always fail with ENOSYS. Some functions are actually named
20668 something starting with __ and the normal name is an alias. */
20669 #if defined (__stub_remove) || defined (__stub___remove)
20670 choke me
20671 #else
20672 char (*f) () = remove;
20673 #endif
20674 #ifdef __cplusplus
20675 }
20676 #endif
20677
20678 int
20679 main ()
20680 {
20681 return f != remove;
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext conftest$ac_exeext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20688 (eval $ac_link) 2>conftest.er1
20689 ac_status=$?
20690 grep -v '^ *+' conftest.er1 >conftest.err
20691 rm -f conftest.er1
20692 cat conftest.err >&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try='test -z "$ac_c_werror_flag"
20696 || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try='test -s conftest$ac_exeext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 ac_cv_func_remove=yes
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ac_cv_func_remove=no
20714 fi
20715 rm -f conftest.err conftest.$ac_objext \
20716 conftest$ac_exeext conftest.$ac_ext
20717 fi
20718 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20719 echo "${ECHO_T}$ac_cv_func_remove" >&6
20720
20721 if test $ac_cv_func_remove = no; then
20722 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20723 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20724 if test "${ac_cv_lib_posix_remove+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 else
20727 ac_check_lib_save_LIBS=$LIBS
20728 LIBS="-lposix $LIBS"
20729 if test x$gcc_no_link = xyes; then
20730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20732 { (exit 1); exit 1; }; }
20733 fi
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740
20741 /* Override any gcc2 internal prototype to avoid an error. */
20742 #ifdef __cplusplus
20743 extern "C"
20744 #endif
20745 /* We use char because int might match the return type of a gcc2
20746 builtin and then its argument prototype would still apply. */
20747 char remove ();
20748 int
20749 main ()
20750 {
20751 remove ();
20752 ;
20753 return 0;
20754 }
20755 _ACEOF
20756 rm -f conftest.$ac_objext conftest$ac_exeext
20757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20758 (eval $ac_link) 2>conftest.er1
20759 ac_status=$?
20760 grep -v '^ *+' conftest.er1 >conftest.err
20761 rm -f conftest.er1
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } &&
20765 { ac_try='test -z "$ac_c_werror_flag"
20766 || test ! -s conftest.err'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; } &&
20772 { ac_try='test -s conftest$ac_exeext'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; }; then
20778 ac_cv_lib_posix_remove=yes
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 ac_cv_lib_posix_remove=no
20784 fi
20785 rm -f conftest.err conftest.$ac_objext \
20786 conftest$ac_exeext conftest.$ac_ext
20787 LIBS=$ac_check_lib_save_LIBS
20788 fi
20789 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20790 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20791 if test $ac_cv_lib_posix_remove = yes; then
20792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20793 fi
20794
20795 fi
20796
20797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20798 echo "$as_me:$LINENO: checking for shmat" >&5
20799 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20800 if test "${ac_cv_func_shmat+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 else
20803 if test x$gcc_no_link = xyes; then
20804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20806 { (exit 1); exit 1; }; }
20807 fi
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20816 #define shmat innocuous_shmat
20817
20818 /* System header to define __stub macros and hopefully few prototypes,
20819 which can conflict with char shmat (); below.
20820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20821 <limits.h> exists even on freestanding compilers. */
20822
20823 #ifdef __STDC__
20824 # include <limits.h>
20825 #else
20826 # include <assert.h>
20827 #endif
20828
20829 #undef shmat
20830
20831 /* Override any gcc2 internal prototype to avoid an error. */
20832 #ifdef __cplusplus
20833 extern "C"
20834 {
20835 #endif
20836 /* We use char because int might match the return type of a gcc2
20837 builtin and then its argument prototype would still apply. */
20838 char shmat ();
20839 /* The GNU C library defines this for functions which it implements
20840 to always fail with ENOSYS. Some functions are actually named
20841 something starting with __ and the normal name is an alias. */
20842 #if defined (__stub_shmat) || defined (__stub___shmat)
20843 choke me
20844 #else
20845 char (*f) () = shmat;
20846 #endif
20847 #ifdef __cplusplus
20848 }
20849 #endif
20850
20851 int
20852 main ()
20853 {
20854 return f != shmat;
20855 ;
20856 return 0;
20857 }
20858 _ACEOF
20859 rm -f conftest.$ac_objext conftest$ac_exeext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20861 (eval $ac_link) 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -z "$ac_c_werror_flag"
20869 || test ! -s conftest.err'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; } &&
20875 { ac_try='test -s conftest$ac_exeext'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20878 ac_status=$?
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 ac_cv_func_shmat=yes
20882 else
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20885
20886 ac_cv_func_shmat=no
20887 fi
20888 rm -f conftest.err conftest.$ac_objext \
20889 conftest$ac_exeext conftest.$ac_ext
20890 fi
20891 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20892 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20893
20894 if test $ac_cv_func_shmat = no; then
20895 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20896 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20897 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20898 echo $ECHO_N "(cached) $ECHO_C" >&6
20899 else
20900 ac_check_lib_save_LIBS=$LIBS
20901 LIBS="-lipc $LIBS"
20902 if test x$gcc_no_link = xyes; then
20903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20905 { (exit 1); exit 1; }; }
20906 fi
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h. */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913
20914 /* Override any gcc2 internal prototype to avoid an error. */
20915 #ifdef __cplusplus
20916 extern "C"
20917 #endif
20918 /* We use char because int might match the return type of a gcc2
20919 builtin and then its argument prototype would still apply. */
20920 char shmat ();
20921 int
20922 main ()
20923 {
20924 shmat ();
20925 ;
20926 return 0;
20927 }
20928 _ACEOF
20929 rm -f conftest.$ac_objext conftest$ac_exeext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20931 (eval $ac_link) 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try='test -z "$ac_c_werror_flag"
20939 || test ! -s conftest.err'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try='test -s conftest$ac_exeext'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20948 ac_status=$?
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20951 ac_cv_lib_ipc_shmat=yes
20952 else
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20955
20956 ac_cv_lib_ipc_shmat=no
20957 fi
20958 rm -f conftest.err conftest.$ac_objext \
20959 conftest$ac_exeext conftest.$ac_ext
20960 LIBS=$ac_check_lib_save_LIBS
20961 fi
20962 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20963 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20964 if test $ac_cv_lib_ipc_shmat = yes; then
20965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20966 fi
20967
20968 fi
20969 fi
20970
20971 # Check for libraries that X11R6 Xt/Xaw programs need.
20972 ac_save_LDFLAGS=$LDFLAGS
20973 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20974 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20975 # check for ICE first), but we must link in the order -lSM -lICE or
20976 # we get undefined symbols. So assume we have SM if we have ICE.
20977 # These have to be linked with before -lX11, unlike the other
20978 # libraries we check for below, so use a different variable.
20979 # John Interrante, Karl Berry
20980 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20981 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20982 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20983 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 else
20985 ac_check_lib_save_LIBS=$LIBS
20986 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20987 if test x$gcc_no_link = xyes; then
20988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20990 { (exit 1); exit 1; }; }
20991 fi
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998
20999 /* Override any gcc2 internal prototype to avoid an error. */
21000 #ifdef __cplusplus
21001 extern "C"
21002 #endif
21003 /* We use char because int might match the return type of a gcc2
21004 builtin and then its argument prototype would still apply. */
21005 char IceConnectionNumber ();
21006 int
21007 main ()
21008 {
21009 IceConnectionNumber ();
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext conftest$ac_exeext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21016 (eval $ac_link) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_c_werror_flag"
21024 || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try='test -s conftest$ac_exeext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_lib_ICE_IceConnectionNumber=yes
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21040
21041 ac_cv_lib_ICE_IceConnectionNumber=no
21042 fi
21043 rm -f conftest.err conftest.$ac_objext \
21044 conftest$ac_exeext conftest.$ac_ext
21045 LIBS=$ac_check_lib_save_LIBS
21046 fi
21047 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21048 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21049 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21050 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21051 fi
21052
21053 LDFLAGS=$ac_save_LDFLAGS
21054
21055 fi
21056
21057 if test "$no_x" = yes; then
21058 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
21059 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
21060 { (exit 1); exit 1; }; }
21061 fi
21062 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21063 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
21064 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067 ac_check_lib_save_LIBS=$LIBS
21068 LIBS="-lXtst ${X_LIBS} $LIBS"
21069 if test x$gcc_no_link = xyes; then
21070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21072 { (exit 1); exit 1; }; }
21073 fi
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080
21081 /* Override any gcc2 internal prototype to avoid an error. */
21082 #ifdef __cplusplus
21083 extern "C"
21084 #endif
21085 /* We use char because int might match the return type of a gcc2
21086 builtin and then its argument prototype would still apply. */
21087 char XTestQueryExtension ();
21088 int
21089 main ()
21090 {
21091 XTestQueryExtension ();
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext conftest$ac_exeext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21098 (eval $ac_link) 2>conftest.er1
21099 ac_status=$?
21100 grep -v '^ *+' conftest.er1 >conftest.err
21101 rm -f conftest.er1
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } &&
21105 { ac_try='test -z "$ac_c_werror_flag"
21106 || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try='test -s conftest$ac_exeext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21118 ac_cv_lib_Xtst_XTestQueryExtension=yes
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 ac_cv_lib_Xtst_XTestQueryExtension=no
21124 fi
21125 rm -f conftest.err conftest.$ac_objext \
21126 conftest$ac_exeext conftest.$ac_ext
21127 LIBS=$ac_check_lib_save_LIBS
21128 fi
21129 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21130 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
21131 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
21132 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
21133 else
21134 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
21135 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
21136 { (exit 1); exit 1; }; }
21137 fi
21138
21139
21140
21141 succeeded=no
21142
21143 if test -z "$PKG_CONFIG"; then
21144 # Extract the first word of "pkg-config", so it can be a program name with args.
21145 set dummy pkg-config; ac_word=$2
21146 echo "$as_me:$LINENO: checking for $ac_word" >&5
21147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21148 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 else
21151 case $PKG_CONFIG in
21152 [\\/]* | ?:[\\/]*)
21153 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21154 ;;
21155 *)
21156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21157 for as_dir in $PATH
21158 do
21159 IFS=$as_save_IFS
21160 test -z "$as_dir" && as_dir=.
21161 for ac_exec_ext in '' $ac_executable_extensions; do
21162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21163 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21165 break 2
21166 fi
21167 done
21168 done
21169
21170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21171 ;;
21172 esac
21173 fi
21174 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21175
21176 if test -n "$PKG_CONFIG"; then
21177 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21178 echo "${ECHO_T}$PKG_CONFIG" >&6
21179 else
21180 echo "$as_me:$LINENO: result: no" >&5
21181 echo "${ECHO_T}no" >&6
21182 fi
21183
21184 fi
21185
21186 if test "$PKG_CONFIG" = "no" ; then
21187 echo "*** The pkg-config script could not be found. Make sure it is"
21188 echo "*** in your path, or set the PKG_CONFIG environment variable"
21189 echo "*** to the full path to pkg-config."
21190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21191 else
21192 PKG_CONFIG_MIN_VERSION=0.9.0
21193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21194 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21195 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
21196
21197 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21198 echo "$as_me:$LINENO: result: yes" >&5
21199 echo "${ECHO_T}yes" >&6
21200 succeeded=yes
21201
21202 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21203 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
21204 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21205 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21206 echo "${ECHO_T}$GTK_CFLAGS" >&6
21207
21208 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21209 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
21210 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21211 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21212 echo "${ECHO_T}$GTK_LIBS" >&6
21213 else
21214 GTK_CFLAGS=""
21215 GTK_LIBS=""
21216 ## If we have a custom action on failure, don't print errors, but
21217 ## do set a variable so people can do so.
21218 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21219 echo $GTK_PKG_ERRORS
21220 fi
21221
21222
21223
21224 else
21225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21227 fi
21228 fi
21229
21230 if test $succeeded = yes; then
21231 :
21232 else
21233 { { echo "$as_me:$LINENO: 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." >&5
21234 echo "$as_me: 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." >&2;}
21235 { (exit 1); exit 1; }; }
21236 fi
21237
21238
21239 succeeded=no
21240
21241 if test -z "$PKG_CONFIG"; then
21242 # Extract the first word of "pkg-config", so it can be a program name with args.
21243 set dummy pkg-config; ac_word=$2
21244 echo "$as_me:$LINENO: checking for $ac_word" >&5
21245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21246 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 else
21249 case $PKG_CONFIG in
21250 [\\/]* | ?:[\\/]*)
21251 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21252 ;;
21253 *)
21254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21255 for as_dir in $PATH
21256 do
21257 IFS=$as_save_IFS
21258 test -z "$as_dir" && as_dir=.
21259 for ac_exec_ext in '' $ac_executable_extensions; do
21260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21261 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21263 break 2
21264 fi
21265 done
21266 done
21267
21268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21269 ;;
21270 esac
21271 fi
21272 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21273
21274 if test -n "$PKG_CONFIG"; then
21275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21276 echo "${ECHO_T}$PKG_CONFIG" >&6
21277 else
21278 echo "$as_me:$LINENO: result: no" >&5
21279 echo "${ECHO_T}no" >&6
21280 fi
21281
21282 fi
21283
21284 if test "$PKG_CONFIG" = "no" ; then
21285 echo "*** The pkg-config script could not be found. Make sure it is"
21286 echo "*** in your path, or set the PKG_CONFIG environment variable"
21287 echo "*** to the full path to pkg-config."
21288 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21289 else
21290 PKG_CONFIG_MIN_VERSION=0.9.0
21291 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21292 echo "$as_me:$LINENO: checking for freetype2" >&5
21293 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
21294
21295 if $PKG_CONFIG --exists "freetype2" ; then
21296 echo "$as_me:$LINENO: result: yes" >&5
21297 echo "${ECHO_T}yes" >&6
21298 succeeded=yes
21299
21300 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
21301 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
21302 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
21303 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
21304 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
21305
21306 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
21307 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
21308 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
21309 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
21310 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
21311 else
21312 FREETYPE2_CFLAGS=""
21313 FREETYPE2_LIBS=""
21314 ## If we have a custom action on failure, don't print errors, but
21315 ## do set a variable so people can do so.
21316 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
21317 echo $FREETYPE2_PKG_ERRORS
21318 fi
21319
21320
21321
21322 else
21323 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21324 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21325 fi
21326 fi
21327
21328 if test $succeeded = yes; then
21329 :
21330 else
21331 { { echo "$as_me:$LINENO: 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." >&5
21332 echo "$as_me: 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." >&2;}
21333 { (exit 1); exit 1; }; }
21334 fi
21335
21336
21337 succeeded=no
21338
21339 if test -z "$PKG_CONFIG"; then
21340 # Extract the first word of "pkg-config", so it can be a program name with args.
21341 set dummy pkg-config; ac_word=$2
21342 echo "$as_me:$LINENO: checking for $ac_word" >&5
21343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21345 echo $ECHO_N "(cached) $ECHO_C" >&6
21346 else
21347 case $PKG_CONFIG in
21348 [\\/]* | ?:[\\/]*)
21349 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21350 ;;
21351 *)
21352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21353 for as_dir in $PATH
21354 do
21355 IFS=$as_save_IFS
21356 test -z "$as_dir" && as_dir=.
21357 for ac_exec_ext in '' $ac_executable_extensions; do
21358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21359 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21361 break 2
21362 fi
21363 done
21364 done
21365
21366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21367 ;;
21368 esac
21369 fi
21370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21371
21372 if test -n "$PKG_CONFIG"; then
21373 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21374 echo "${ECHO_T}$PKG_CONFIG" >&6
21375 else
21376 echo "$as_me:$LINENO: result: no" >&5
21377 echo "${ECHO_T}no" >&6
21378 fi
21379
21380 fi
21381
21382 if test "$PKG_CONFIG" = "no" ; then
21383 echo "*** The pkg-config script could not be found. Make sure it is"
21384 echo "*** in your path, or set the PKG_CONFIG environment variable"
21385 echo "*** to the full path to pkg-config."
21386 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21387 else
21388 PKG_CONFIG_MIN_VERSION=0.9.0
21389 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21390 echo "$as_me:$LINENO: checking for pangoft2" >&5
21391 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21392
21393 if $PKG_CONFIG --exists "pangoft2" ; then
21394 echo "$as_me:$LINENO: result: yes" >&5
21395 echo "${ECHO_T}yes" >&6
21396 succeeded=yes
21397
21398 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21399 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21400 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21401 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21402 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21403
21404 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21405 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21406 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21407 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21408 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21409 else
21410 PANGOFT2_CFLAGS=""
21411 PANGOFT2_LIBS=""
21412 ## If we have a custom action on failure, don't print errors, but
21413 ## do set a variable so people can do so.
21414 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21415 echo $PANGOFT2_PKG_ERRORS
21416 fi
21417
21418
21419
21420 else
21421 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21422 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21423 fi
21424 fi
21425
21426 if test $succeeded = yes; then
21427 :
21428 else
21429 { { echo "$as_me:$LINENO: 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." >&5
21430 echo "$as_me: 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." >&2;}
21431 { (exit 1); exit 1; }; }
21432 fi
21433
21434
21435 succeeded=no
21436
21437 if test -z "$PKG_CONFIG"; then
21438 # Extract the first word of "pkg-config", so it can be a program name with args.
21439 set dummy pkg-config; ac_word=$2
21440 echo "$as_me:$LINENO: checking for $ac_word" >&5
21441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21443 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 else
21445 case $PKG_CONFIG in
21446 [\\/]* | ?:[\\/]*)
21447 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21448 ;;
21449 *)
21450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21451 for as_dir in $PATH
21452 do
21453 IFS=$as_save_IFS
21454 test -z "$as_dir" && as_dir=.
21455 for ac_exec_ext in '' $ac_executable_extensions; do
21456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21457 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21459 break 2
21460 fi
21461 done
21462 done
21463
21464 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21465 ;;
21466 esac
21467 fi
21468 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21469
21470 if test -n "$PKG_CONFIG"; then
21471 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21472 echo "${ECHO_T}$PKG_CONFIG" >&6
21473 else
21474 echo "$as_me:$LINENO: result: no" >&5
21475 echo "${ECHO_T}no" >&6
21476 fi
21477
21478 fi
21479
21480 if test "$PKG_CONFIG" = "no" ; then
21481 echo "*** The pkg-config script could not be found. Make sure it is"
21482 echo "*** in your path, or set the PKG_CONFIG environment variable"
21483 echo "*** to the full path to pkg-config."
21484 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21485 else
21486 PKG_CONFIG_MIN_VERSION=0.9.0
21487 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21488 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
21489 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
21490
21491 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
21492 echo "$as_me:$LINENO: result: yes" >&5
21493 echo "${ECHO_T}yes" >&6
21494 succeeded=yes
21495
21496 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
21497 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
21498 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
21499 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
21500 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
21501
21502 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
21503 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
21504 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
21505 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
21506 echo "${ECHO_T}$CAIRO_LIBS" >&6
21507 else
21508 CAIRO_CFLAGS=""
21509 CAIRO_LIBS=""
21510 ## If we have a custom action on failure, don't print errors, but
21511 ## do set a variable so people can do so.
21512 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
21513 echo $CAIRO_PKG_ERRORS
21514 fi
21515
21516
21517
21518 else
21519 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21520 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21521 fi
21522 fi
21523
21524 if test $succeeded = yes; then
21525 :
21526 else
21527 { { echo "$as_me:$LINENO: 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." >&5
21528 echo "$as_me: 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." >&2;}
21529 { (exit 1); exit 1; }; }
21530 fi
21531
21532 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
21533 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
21534 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21536 else
21537 ac_check_lib_save_LIBS=$LIBS
21538 LIBS="-lXrender ${X_LIBS} $LIBS"
21539 if test x$gcc_no_link = xyes; then
21540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21542 { (exit 1); exit 1; }; }
21543 fi
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h. */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550
21551 /* Override any gcc2 internal prototype to avoid an error. */
21552 #ifdef __cplusplus
21553 extern "C"
21554 #endif
21555 /* We use char because int might match the return type of a gcc2
21556 builtin and then its argument prototype would still apply. */
21557 char XRenderQueryExtension ();
21558 int
21559 main ()
21560 {
21561 XRenderQueryExtension ();
21562 ;
21563 return 0;
21564 }
21565 _ACEOF
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_c_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_lib_Xrender_XRenderQueryExtension=yes
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 ac_cv_lib_Xrender_XRenderQueryExtension=no
21594 fi
21595 rm -f conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21597 LIBS=$ac_check_lib_save_LIBS
21598 fi
21599 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21600 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21601 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21602
21603 cat >>confdefs.h <<\_ACEOF
21604 #define HAVE_XRENDER 1
21605 _ACEOF
21606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
21607 else
21608 true
21609 fi
21610
21611
21612 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21613 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21614 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21615 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 else
21617 ac_check_lib_save_LIBS=$LIBS
21618 LIBS="-lXrandr ${X_LIBS} $LIBS"
21619 if test x$gcc_no_link = xyes; then
21620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21622 { (exit 1); exit 1; }; }
21623 fi
21624 cat >conftest.$ac_ext <<_ACEOF
21625 /* confdefs.h. */
21626 _ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630
21631 /* Override any gcc2 internal prototype to avoid an error. */
21632 #ifdef __cplusplus
21633 extern "C"
21634 #endif
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21637 char XRRQueryExtension ();
21638 int
21639 main ()
21640 {
21641 XRRQueryExtension ();
21642 ;
21643 return 0;
21644 }
21645 _ACEOF
21646 rm -f conftest.$ac_objext conftest$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>conftest.er1
21649 ac_status=$?
21650 grep -v '^ *+' conftest.er1 >conftest.err
21651 rm -f conftest.er1
21652 cat conftest.err >&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } &&
21655 { ac_try='test -z "$ac_c_werror_flag"
21656 || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_cv_lib_Xrandr_XRRQueryExtension=yes
21669 else
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 ac_cv_lib_Xrandr_XRRQueryExtension=no
21674 fi
21675 rm -f conftest.err conftest.$ac_objext \
21676 conftest$ac_exeext conftest.$ac_ext
21677 LIBS=$ac_check_lib_save_LIBS
21678 fi
21679 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21680 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21681 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21682
21683 cat >>confdefs.h <<\_ACEOF
21684 #define HAVE_XRANDR 1
21685 _ACEOF
21686 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
21687 else
21688 true
21689 fi
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699 fi
21700
21701 if test "x${COMPILE_GCONF_PEER}" = xyes; then
21702
21703 succeeded=no
21704
21705 if test -z "$PKG_CONFIG"; then
21706 # Extract the first word of "pkg-config", so it can be a program name with args.
21707 set dummy pkg-config; ac_word=$2
21708 echo "$as_me:$LINENO: checking for $ac_word" >&5
21709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21713 case $PKG_CONFIG in
21714 [\\/]* | ?:[\\/]*)
21715 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21716 ;;
21717 *)
21718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21719 for as_dir in $PATH
21720 do
21721 IFS=$as_save_IFS
21722 test -z "$as_dir" && as_dir=.
21723 for ac_exec_ext in '' $ac_executable_extensions; do
21724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21725 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21727 break 2
21728 fi
21729 done
21730 done
21731
21732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21733 ;;
21734 esac
21735 fi
21736 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21737
21738 if test -n "$PKG_CONFIG"; then
21739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21740 echo "${ECHO_T}$PKG_CONFIG" >&6
21741 else
21742 echo "$as_me:$LINENO: result: no" >&5
21743 echo "${ECHO_T}no" >&6
21744 fi
21745
21746 fi
21747
21748 if test "$PKG_CONFIG" = "no" ; then
21749 echo "*** The pkg-config script could not be found. Make sure it is"
21750 echo "*** in your path, or set the PKG_CONFIG environment variable"
21751 echo "*** to the full path to pkg-config."
21752 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21753 else
21754 PKG_CONFIG_MIN_VERSION=0.9.0
21755 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21756 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
21757 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
21758
21759 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
21760 echo "$as_me:$LINENO: result: yes" >&5
21761 echo "${ECHO_T}yes" >&6
21762 succeeded=yes
21763
21764 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
21765 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
21766 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
21767 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
21768 echo "${ECHO_T}$GCONF_CFLAGS" >&6
21769
21770 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
21771 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
21772 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
21773 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
21774 echo "${ECHO_T}$GCONF_LIBS" >&6
21775 else
21776 GCONF_CFLAGS=""
21777 GCONF_LIBS=""
21778 ## If we have a custom action on failure, don't print errors, but
21779 ## do set a variable so people can do so.
21780 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
21781 echo $GCONF_PKG_ERRORS
21782 fi
21783
21784
21785
21786 else
21787 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21788 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21789 fi
21790 fi
21791
21792 if test $succeeded = yes; then
21793 :
21794 else
21795 { { echo "$as_me:$LINENO: 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." >&5
21796 echo "$as_me: 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." >&2;}
21797 { (exit 1); exit 1; }; }
21798 fi
21799
21800
21801
21802
21803 succeeded=no
21804
21805 if test -z "$PKG_CONFIG"; then
21806 # Extract the first word of "pkg-config", so it can be a program name with args.
21807 set dummy pkg-config; ac_word=$2
21808 echo "$as_me:$LINENO: checking for $ac_word" >&5
21809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813 case $PKG_CONFIG in
21814 [\\/]* | ?:[\\/]*)
21815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21816 ;;
21817 *)
21818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21819 for as_dir in $PATH
21820 do
21821 IFS=$as_save_IFS
21822 test -z "$as_dir" && as_dir=.
21823 for ac_exec_ext in '' $ac_executable_extensions; do
21824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21827 break 2
21828 fi
21829 done
21830 done
21831
21832 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21833 ;;
21834 esac
21835 fi
21836 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21837
21838 if test -n "$PKG_CONFIG"; then
21839 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21840 echo "${ECHO_T}$PKG_CONFIG" >&6
21841 else
21842 echo "$as_me:$LINENO: result: no" >&5
21843 echo "${ECHO_T}no" >&6
21844 fi
21845
21846 fi
21847
21848 if test "$PKG_CONFIG" = "no" ; then
21849 echo "*** The pkg-config script could not be found. Make sure it is"
21850 echo "*** in your path, or set the PKG_CONFIG environment variable"
21851 echo "*** to the full path to pkg-config."
21852 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21853 else
21854 PKG_CONFIG_MIN_VERSION=0.9.0
21855 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21856 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
21857 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
21858
21859 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21860 echo "$as_me:$LINENO: result: yes" >&5
21861 echo "${ECHO_T}yes" >&6
21862 succeeded=yes
21863
21864 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
21865 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
21866 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21867 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
21868 echo "${ECHO_T}$GDK_CFLAGS" >&6
21869
21870 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
21871 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
21872 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21873 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
21874 echo "${ECHO_T}$GDK_LIBS" >&6
21875 else
21876 GDK_CFLAGS=""
21877 GDK_LIBS=""
21878 ## If we have a custom action on failure, don't print errors, but
21879 ## do set a variable so people can do so.
21880 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21881 echo $GDK_PKG_ERRORS
21882 fi
21883
21884
21885
21886 else
21887 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21888 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21889 fi
21890 fi
21891
21892 if test $succeeded = yes; then
21893 :
21894 else
21895 { { echo "$as_me:$LINENO: 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." >&5
21896 echo "$as_me: 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." >&2;}
21897 { (exit 1); exit 1; }; }
21898 fi
21899
21900
21901
21902 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
21903 if test "$USE_GCONF_PREFS_PEER" = ""; then
21904 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
21905 fi
21906 fi
21907
21908 if test "x${COMPILE_QT_PEER}" = xyes; then
21909
21910 succeeded=no
21911
21912 if test -z "$PKG_CONFIG"; then
21913 # Extract the first word of "pkg-config", so it can be a program name with args.
21914 set dummy pkg-config; ac_word=$2
21915 echo "$as_me:$LINENO: checking for $ac_word" >&5
21916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 else
21920 case $PKG_CONFIG in
21921 [\\/]* | ?:[\\/]*)
21922 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21923 ;;
21924 *)
21925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21926 for as_dir in $PATH
21927 do
21928 IFS=$as_save_IFS
21929 test -z "$as_dir" && as_dir=.
21930 for ac_exec_ext in '' $ac_executable_extensions; do
21931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21932 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21934 break 2
21935 fi
21936 done
21937 done
21938
21939 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21940 ;;
21941 esac
21942 fi
21943 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21944
21945 if test -n "$PKG_CONFIG"; then
21946 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21947 echo "${ECHO_T}$PKG_CONFIG" >&6
21948 else
21949 echo "$as_me:$LINENO: result: no" >&5
21950 echo "${ECHO_T}no" >&6
21951 fi
21952
21953 fi
21954
21955 if test "$PKG_CONFIG" = "no" ; then
21956 echo "*** The pkg-config script could not be found. Make sure it is"
21957 echo "*** in your path, or set the PKG_CONFIG environment variable"
21958 echo "*** to the full path to pkg-config."
21959 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21960 else
21961 PKG_CONFIG_MIN_VERSION=0.9.0
21962 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21963 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
21964 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
21965
21966 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21967 echo "$as_me:$LINENO: result: yes" >&5
21968 echo "${ECHO_T}yes" >&6
21969 succeeded=yes
21970
21971 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
21972 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
21973 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21974 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
21975 echo "${ECHO_T}$QT_CFLAGS" >&6
21976
21977 echo "$as_me:$LINENO: checking QT_LIBS" >&5
21978 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
21979 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21980 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
21981 echo "${ECHO_T}$QT_LIBS" >&6
21982 else
21983 QT_CFLAGS=""
21984 QT_LIBS=""
21985 ## If we have a custom action on failure, don't print errors, but
21986 ## do set a variable so people can do so.
21987 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21988
21989 fi
21990
21991
21992
21993 else
21994 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21995 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21996 fi
21997 fi
21998
21999 if test $succeeded = yes; then
22000 HAVE_QT4="yes"
22001 else
22002 HAVE_QT4="no"
22003 fi
22004
22005 if test "x$HAVE_QT4" = "xyes"; then
22006 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
22007 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
22008 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22009 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
22010 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22011 if eval "test \"\${$as_ac_File+set}\" = set"; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22013 else
22014 test "$cross_compiling" = yes &&
22015 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22016 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22017 { (exit 1); exit 1; }; }
22018 if test -r "$QT_INCLUDE_DIR/QWidget"; then
22019 eval "$as_ac_File=yes"
22020 else
22021 eval "$as_ac_File=no"
22022 fi
22023 fi
22024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22025 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22026 if test `eval echo '${'$as_ac_File'}'` = yes; then
22027 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
22028 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
22029 else
22030 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22031 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
22032 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22033 if eval "test \"\${$as_ac_File+set}\" = set"; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 else
22036 test "$cross_compiling" = yes &&
22037 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22038 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22039 { (exit 1); exit 1; }; }
22040 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
22041 eval "$as_ac_File=yes"
22042 else
22043 eval "$as_ac_File=no"
22044 fi
22045 fi
22046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22047 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22048 if test `eval echo '${'$as_ac_File'}'` = yes; then
22049 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
22050 else
22051 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
22052 echo "$as_me: WARNING: QWidget not found" >&2;}
22053 fi
22054
22055 fi
22056
22057 # Extract the first word of "moc", so it can be a program name with args.
22058 set dummy moc; ac_word=$2
22059 echo "$as_me:$LINENO: checking for $ac_word" >&5
22060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22061 if test "${ac_cv_prog_MOC+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22063 else
22064 if test -n "$MOC"; then
22065 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22066 else
22067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22068 for as_dir in $PATH
22069 do
22070 IFS=$as_save_IFS
22071 test -z "$as_dir" && as_dir=.
22072 for ac_exec_ext in '' $ac_executable_extensions; do
22073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22074 ac_cv_prog_MOC="moc"
22075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22076 break 2
22077 fi
22078 done
22079 done
22080
22081 fi
22082 fi
22083 MOC=$ac_cv_prog_MOC
22084 if test -n "$MOC"; then
22085 echo "$as_me:$LINENO: result: $MOC" >&5
22086 echo "${ECHO_T}$MOC" >&6
22087 else
22088 echo "$as_me:$LINENO: result: no" >&5
22089 echo "${ECHO_T}no" >&6
22090 fi
22091
22092 # Extract the first word of "moc-qt4", so it can be a program name with args.
22093 set dummy moc-qt4; ac_word=$2
22094 echo "$as_me:$LINENO: checking for $ac_word" >&5
22095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22096 if test "${ac_cv_prog_MOC+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 else
22099 if test -n "$MOC"; then
22100 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22101 else
22102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22103 for as_dir in $PATH
22104 do
22105 IFS=$as_save_IFS
22106 test -z "$as_dir" && as_dir=.
22107 for ac_exec_ext in '' $ac_executable_extensions; do
22108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22109 ac_cv_prog_MOC="moc-qt4"
22110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22111 break 2
22112 fi
22113 done
22114 done
22115
22116 fi
22117 fi
22118 MOC=$ac_cv_prog_MOC
22119 if test -n "$MOC"; then
22120 echo "$as_me:$LINENO: result: $MOC" >&5
22121 echo "${ECHO_T}$MOC" >&6
22122 else
22123 echo "$as_me:$LINENO: result: no" >&5
22124 echo "${ECHO_T}no" >&6
22125 fi
22126
22127 fi
22128 if test "x$HAVE_QT4" = "xno"; then
22129 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
22130 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
22131 case "$host_os" in
22132 darwin*)
22133
22134 # Check whether --with-qt4dir or --without-qt4dir was given.
22135 if test "${with_qt4dir+set}" = set; then
22136 withval="$with_qt4dir"
22137 QT4DIR=$withval
22138
22139 fi;
22140 if test x"$QT4DIR" = x ; then
22141 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
22142 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
22143 { (exit 1); exit 1; }; }
22144 fi
22145 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
22146 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
22147 # Extract the first word of "moc", so it can be a program name with args.
22148 set dummy moc; ac_word=$2
22149 echo "$as_me:$LINENO: checking for $ac_word" >&5
22150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22151 if test "${ac_cv_prog_MOC+set}" = set; then
22152 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 else
22154 if test -n "$MOC"; then
22155 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22156 else
22157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22158 for as_dir in $QT4DIR/bin
22159 do
22160 IFS=$as_save_IFS
22161 test -z "$as_dir" && as_dir=.
22162 for ac_exec_ext in '' $ac_executable_extensions; do
22163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22164 ac_cv_prog_MOC="$QT4DIR/bin/moc"
22165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22166 break 2
22167 fi
22168 done
22169 done
22170
22171 fi
22172 fi
22173 MOC=$ac_cv_prog_MOC
22174 if test -n "$MOC"; then
22175 echo "$as_me:$LINENO: result: $MOC" >&5
22176 echo "${ECHO_T}$MOC" >&6
22177 else
22178 echo "$as_me:$LINENO: result: no" >&5
22179 echo "${ECHO_T}no" >&6
22180 fi
22181
22182 if test x"$MOC" = x; then
22183 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
22184 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
22185 { (exit 1); exit 1; }; }
22186 fi
22187 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
22188 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
22189 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
22190 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
22191 ;;
22192 *)
22193 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
22194 of your installed Qt4 installation." >&5
22195 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
22196 of your installed Qt4 installation." >&2;}
22197 { (exit 1); exit 1; }; }
22198 ;;
22199 esac
22200 fi
22201 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
22202 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
22203
22204
22205 fi
22206 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
22207 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 #include <sys/socket.h>
22215 int
22216 main ()
22217 {
22218 int f = MSG_NOSIGNAL;
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22225 (eval $ac_compile) 2>conftest.er1
22226 ac_status=$?
22227 grep -v '^ *+' conftest.er1 >conftest.err
22228 rm -f conftest.er1
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } &&
22232 { ac_try='test -z "$ac_c_werror_flag"
22233 || test ! -s conftest.err'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22236 ac_status=$?
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; } &&
22239 { ac_try='test -s conftest.$ac_objext'
22240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241 (eval $ac_try) 2>&5
22242 ac_status=$?
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); }; }; then
22245 echo "$as_me:$LINENO: result: yes" >&5
22246 echo "${ECHO_T}yes" >&6
22247
22248 cat >>confdefs.h <<\_ACEOF
22249 #define HAVE_MSG_NOSIGNAL 1
22250 _ACEOF
22251
22252 else
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22255
22256 echo "$as_me:$LINENO: result: no" >&5
22257 echo "${ECHO_T}no" >&6
22258
22259 fi
22260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22261 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
22262 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
22263 cat >conftest.$ac_ext <<_ACEOF
22264 /* confdefs.h. */
22265 _ACEOF
22266 cat confdefs.h >>conftest.$ac_ext
22267 cat >>conftest.$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22269 #include <sys/socket.h>
22270 int
22271 main ()
22272 {
22273 int f = SO_NOSIGPIPE;
22274 ;
22275 return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22280 (eval $ac_compile) 2>conftest.er1
22281 ac_status=$?
22282 grep -v '^ *+' conftest.er1 >conftest.err
22283 rm -f conftest.er1
22284 cat conftest.err >&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); } &&
22287 { ac_try='test -z "$ac_c_werror_flag"
22288 || test ! -s conftest.err'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22291 ac_status=$?
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try='test -s conftest.$ac_objext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22297 ac_status=$?
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 echo "$as_me:$LINENO: result: yes" >&5
22301 echo "${ECHO_T}yes" >&6
22302
22303 cat >>confdefs.h <<\_ACEOF
22304 #define HAVE_SO_NOSIGPIPE 1
22305 _ACEOF
22306
22307 else
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22310
22311 echo "$as_me:$LINENO: result: no" >&5
22312 echo "${ECHO_T}no" >&6
22313
22314 fi
22315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22316
22317 if test "x${COMPILE_PLUGIN}" = xyes; then
22318
22319 succeeded=no
22320
22321 if test -z "$PKG_CONFIG"; then
22322 # Extract the first word of "pkg-config", so it can be a program name with args.
22323 set dummy pkg-config; ac_word=$2
22324 echo "$as_me:$LINENO: checking for $ac_word" >&5
22325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22326 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22327 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 else
22329 case $PKG_CONFIG in
22330 [\\/]* | ?:[\\/]*)
22331 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22332 ;;
22333 *)
22334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22335 for as_dir in $PATH
22336 do
22337 IFS=$as_save_IFS
22338 test -z "$as_dir" && as_dir=.
22339 for ac_exec_ext in '' $ac_executable_extensions; do
22340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22341 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22343 break 2
22344 fi
22345 done
22346 done
22347
22348 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22349 ;;
22350 esac
22351 fi
22352 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22353
22354 if test -n "$PKG_CONFIG"; then
22355 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22356 echo "${ECHO_T}$PKG_CONFIG" >&6
22357 else
22358 echo "$as_me:$LINENO: result: no" >&5
22359 echo "${ECHO_T}no" >&6
22360 fi
22361
22362 fi
22363
22364 if test "$PKG_CONFIG" = "no" ; then
22365 echo "*** The pkg-config script could not be found. Make sure it is"
22366 echo "*** in your path, or set the PKG_CONFIG environment variable"
22367 echo "*** to the full path to pkg-config."
22368 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22369 else
22370 PKG_CONFIG_MIN_VERSION=0.9.0
22371 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22372 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
22373 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
22374
22375 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22376 echo "$as_me:$LINENO: result: yes" >&5
22377 echo "${ECHO_T}yes" >&6
22378 succeeded=yes
22379
22380 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22381 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22382 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
22383 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22384 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22385
22386 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22387 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22388 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
22389 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22390 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22391 else
22392 MOZILLA_CFLAGS=""
22393 MOZILLA_LIBS=""
22394 ## If we have a custom action on failure, don't print errors, but
22395 ## do set a variable so people can do so.
22396 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22397
22398 fi
22399
22400
22401
22402 else
22403 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22404 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22405 fi
22406 fi
22407
22408 if test $succeeded = yes; then
22409 MOZILLA_FOUND=yes
22410 else
22411 MOZILLA_FOUND=no
22412 fi
22413
22414 if test "x${MOZILLA_FOUND}" = xno; then
22415
22416 succeeded=no
22417
22418 if test -z "$PKG_CONFIG"; then
22419 # Extract the first word of "pkg-config", so it can be a program name with args.
22420 set dummy pkg-config; ac_word=$2
22421 echo "$as_me:$LINENO: checking for $ac_word" >&5
22422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22423 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 else
22426 case $PKG_CONFIG in
22427 [\\/]* | ?:[\\/]*)
22428 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22429 ;;
22430 *)
22431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22432 for as_dir in $PATH
22433 do
22434 IFS=$as_save_IFS
22435 test -z "$as_dir" && as_dir=.
22436 for ac_exec_ext in '' $ac_executable_extensions; do
22437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22438 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22440 break 2
22441 fi
22442 done
22443 done
22444
22445 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22446 ;;
22447 esac
22448 fi
22449 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22450
22451 if test -n "$PKG_CONFIG"; then
22452 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22453 echo "${ECHO_T}$PKG_CONFIG" >&6
22454 else
22455 echo "$as_me:$LINENO: result: no" >&5
22456 echo "${ECHO_T}no" >&6
22457 fi
22458
22459 fi
22460
22461 if test "$PKG_CONFIG" = "no" ; then
22462 echo "*** The pkg-config script could not be found. Make sure it is"
22463 echo "*** in your path, or set the PKG_CONFIG environment variable"
22464 echo "*** to the full path to pkg-config."
22465 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22466 else
22467 PKG_CONFIG_MIN_VERSION=0.9.0
22468 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22469 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
22470 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
22471
22472 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22473 echo "$as_me:$LINENO: result: yes" >&5
22474 echo "${ECHO_T}yes" >&6
22475 succeeded=yes
22476
22477 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22478 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22479 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22480 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22481 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22482
22483 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22484 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22485 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22486 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22487 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22488 else
22489 MOZILLA_CFLAGS=""
22490 MOZILLA_LIBS=""
22491 ## If we have a custom action on failure, don't print errors, but
22492 ## do set a variable so people can do so.
22493 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22494
22495 fi
22496
22497
22498
22499 else
22500 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22501 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22502 fi
22503 fi
22504
22505 if test $succeeded = yes; then
22506 MOZILLA_FOUND=yes
22507 else
22508 MOZILLA_FOUND=no
22509 fi
22510
22511 fi
22512 if test "x${MOZILLA_FOUND}" = xno; then
22513
22514 succeeded=no
22515
22516 if test -z "$PKG_CONFIG"; then
22517 # Extract the first word of "pkg-config", so it can be a program name with args.
22518 set dummy pkg-config; ac_word=$2
22519 echo "$as_me:$LINENO: checking for $ac_word" >&5
22520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 else
22524 case $PKG_CONFIG in
22525 [\\/]* | ?:[\\/]*)
22526 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22527 ;;
22528 *)
22529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22530 for as_dir in $PATH
22531 do
22532 IFS=$as_save_IFS
22533 test -z "$as_dir" && as_dir=.
22534 for ac_exec_ext in '' $ac_executable_extensions; do
22535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22536 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22538 break 2
22539 fi
22540 done
22541 done
22542
22543 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22544 ;;
22545 esac
22546 fi
22547 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22548
22549 if test -n "$PKG_CONFIG"; then
22550 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22551 echo "${ECHO_T}$PKG_CONFIG" >&6
22552 else
22553 echo "$as_me:$LINENO: result: no" >&5
22554 echo "${ECHO_T}no" >&6
22555 fi
22556
22557 fi
22558
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 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
22568 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
22569
22570 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22571 echo "$as_me:$LINENO: result: yes" >&5
22572 echo "${ECHO_T}yes" >&6
22573 succeeded=yes
22574
22575 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22576 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22577 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22578 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22579 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22580
22581 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22582 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22583 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22584 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22585 echo "${ECHO_T}$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"`
22592
22593 fi
22594
22595
22596
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"
22600 fi
22601 fi
22602
22603 if test $succeeded = yes; then
22604 MOZILLA_FOUND=yes
22605 else
22606 MOZILLA_FOUND=no
22607 fi
22608
22609 fi
22610 if test "x${MOZILLA_FOUND}" = xno; then
22611
22612 succeeded=no
22613
22614 if test -z "$PKG_CONFIG"; then
22615 # Extract the first word of "pkg-config", so it can be a program name with args.
22616 set dummy pkg-config; ac_word=$2
22617 echo "$as_me:$LINENO: checking for $ac_word" >&5
22618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22619 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 else
22622 case $PKG_CONFIG in
22623 [\\/]* | ?:[\\/]*)
22624 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22625 ;;
22626 *)
22627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22628 for as_dir in $PATH
22629 do
22630 IFS=$as_save_IFS
22631 test -z "$as_dir" && as_dir=.
22632 for ac_exec_ext in '' $ac_executable_extensions; do
22633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22634 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22636 break 2
22637 fi
22638 done
22639 done
22640
22641 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22642 ;;
22643 esac
22644 fi
22645 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22646
22647 if test -n "$PKG_CONFIG"; then
22648 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22649 echo "${ECHO_T}$PKG_CONFIG" >&6
22650 else
22651 echo "$as_me:$LINENO: result: no" >&5
22652 echo "${ECHO_T}no" >&6
22653 fi
22654
22655 fi
22656
22657 if test "$PKG_CONFIG" = "no" ; then
22658 echo "*** The pkg-config script could not be found. Make sure it is"
22659 echo "*** in your path, or set the PKG_CONFIG environment variable"
22660 echo "*** to the full path to pkg-config."
22661 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22662 else
22663 PKG_CONFIG_MIN_VERSION=0.9.0
22664 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22665 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22666 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
22667
22668 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22669 echo "$as_me:$LINENO: result: yes" >&5
22670 echo "${ECHO_T}yes" >&6
22671 succeeded=yes
22672
22673 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22674 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22675 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22676 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22677 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22678
22679 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22680 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22681 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22682 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22683 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22684 else
22685 MOZILLA_CFLAGS=""
22686 MOZILLA_LIBS=""
22687 ## If we have a custom action on failure, don't print errors, but
22688 ## do set a variable so people can do so.
22689 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22690
22691 fi
22692
22693
22694
22695 else
22696 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22697 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22698 fi
22699 fi
22700
22701 if test $succeeded = yes; then
22702 MOZILLA_FOUND=yes
22703 else
22704 MOZILLA_FOUND=no
22705 fi
22706
22707 fi
22708 if test "x${MOZILLA_FOUND}" = xno; then
22709
22710 succeeded=no
22711
22712 if test -z "$PKG_CONFIG"; then
22713 # Extract the first word of "pkg-config", so it can be a program name with args.
22714 set dummy pkg-config; ac_word=$2
22715 echo "$as_me:$LINENO: checking for $ac_word" >&5
22716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22717 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 else
22720 case $PKG_CONFIG in
22721 [\\/]* | ?:[\\/]*)
22722 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22723 ;;
22724 *)
22725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22726 for as_dir in $PATH
22727 do
22728 IFS=$as_save_IFS
22729 test -z "$as_dir" && as_dir=.
22730 for ac_exec_ext in '' $ac_executable_extensions; do
22731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22732 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22734 break 2
22735 fi
22736 done
22737 done
22738
22739 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22740 ;;
22741 esac
22742 fi
22743 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22744
22745 if test -n "$PKG_CONFIG"; then
22746 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22747 echo "${ECHO_T}$PKG_CONFIG" >&6
22748 else
22749 echo "$as_me:$LINENO: result: no" >&5
22750 echo "${ECHO_T}no" >&6
22751 fi
22752
22753 fi
22754
22755 if test "$PKG_CONFIG" = "no" ; then
22756 echo "*** The pkg-config script could not be found. Make sure it is"
22757 echo "*** in your path, or set the PKG_CONFIG environment variable"
22758 echo "*** to the full path to pkg-config."
22759 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22760 else
22761 PKG_CONFIG_MIN_VERSION=0.9.0
22762 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22763 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
22764 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
22765
22766 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22767 echo "$as_me:$LINENO: result: yes" >&5
22768 echo "${ECHO_T}yes" >&6
22769 succeeded=yes
22770
22771 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22772 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22773 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22774 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22775 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22776
22777 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22778 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22779 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22780 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22781 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22782 else
22783 MOZILLA_CFLAGS=""
22784 MOZILLA_LIBS=""
22785 ## If we have a custom action on failure, don't print errors, but
22786 ## do set a variable so people can do so.
22787 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22788
22789 fi
22790
22791
22792
22793 else
22794 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22795 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22796 fi
22797 fi
22798
22799 if test $succeeded = yes; then
22800 MOZILLA_FOUND=yes
22801 else
22802 MOZILLA_FOUND=no
22803 fi
22804
22805 fi
22806 if test "x${MOZILLA_FOUND}" = xno; then
22807
22808 succeeded=no
22809
22810 if test -z "$PKG_CONFIG"; then
22811 # Extract the first word of "pkg-config", so it can be a program name with args.
22812 set dummy pkg-config; ac_word=$2
22813 echo "$as_me:$LINENO: checking for $ac_word" >&5
22814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 else
22818 case $PKG_CONFIG in
22819 [\\/]* | ?:[\\/]*)
22820 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22821 ;;
22822 *)
22823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22824 for as_dir in $PATH
22825 do
22826 IFS=$as_save_IFS
22827 test -z "$as_dir" && as_dir=.
22828 for ac_exec_ext in '' $ac_executable_extensions; do
22829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22830 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22832 break 2
22833 fi
22834 done
22835 done
22836
22837 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22838 ;;
22839 esac
22840 fi
22841 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22842
22843 if test -n "$PKG_CONFIG"; then
22844 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22845 echo "${ECHO_T}$PKG_CONFIG" >&6
22846 else
22847 echo "$as_me:$LINENO: result: no" >&5
22848 echo "${ECHO_T}no" >&6
22849 fi
22850
22851 fi
22852
22853 if test "$PKG_CONFIG" = "no" ; then
22854 echo "*** The pkg-config script could not be found. Make sure it is"
22855 echo "*** in your path, or set the PKG_CONFIG environment variable"
22856 echo "*** to the full path to pkg-config."
22857 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22858 else
22859 PKG_CONFIG_MIN_VERSION=0.9.0
22860 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22861 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
22862 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
22863
22864 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
22865 echo "$as_me:$LINENO: result: yes" >&5
22866 echo "${ECHO_T}yes" >&6
22867 succeeded=yes
22868
22869 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
22870 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
22871 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
22872 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
22873 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
22874
22875 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
22876 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
22877 MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
22878 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
22879 echo "${ECHO_T}$MOZILLA_LIBS" >&6
22880 else
22881 MOZILLA_CFLAGS=""
22882 MOZILLA_LIBS=""
22883 ## If we have a custom action on failure, don't print errors, but
22884 ## do set a variable so people can do so.
22885 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
22886
22887 fi
22888
22889
22890
22891 else
22892 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22893 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22894 fi
22895 fi
22896
22897 if test $succeeded = yes; then
22898 MOZILLA_FOUND=yes
22899 else
22900 MOZILLA_FOUND=no
22901 fi
22902
22903 fi
22904 if test "x${MOZILLA_FOUND}" = xno; then
22905 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
22906 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
22907 { (exit 1); exit 1; }; }
22908 fi
22909
22910
22911 succeeded=no
22912
22913 if test -z "$PKG_CONFIG"; then
22914 # Extract the first word of "pkg-config", so it can be a program name with args.
22915 set dummy pkg-config; ac_word=$2
22916 echo "$as_me:$LINENO: checking for $ac_word" >&5
22917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22918 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22919 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 else
22921 case $PKG_CONFIG in
22922 [\\/]* | ?:[\\/]*)
22923 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22924 ;;
22925 *)
22926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22927 for as_dir in $PATH
22928 do
22929 IFS=$as_save_IFS
22930 test -z "$as_dir" && as_dir=.
22931 for ac_exec_ext in '' $ac_executable_extensions; do
22932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22933 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22935 break 2
22936 fi
22937 done
22938 done
22939
22940 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22941 ;;
22942 esac
22943 fi
22944 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22945
22946 if test -n "$PKG_CONFIG"; then
22947 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22948 echo "${ECHO_T}$PKG_CONFIG" >&6
22949 else
22950 echo "$as_me:$LINENO: result: no" >&5
22951 echo "${ECHO_T}no" >&6
22952 fi
22953
22954 fi
22955
22956 if test "$PKG_CONFIG" = "no" ; then
22957 echo "*** The pkg-config script could not be found. Make sure it is"
22958 echo "*** in your path, or set the PKG_CONFIG environment variable"
22959 echo "*** to the full path to pkg-config."
22960 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22961 else
22962 PKG_CONFIG_MIN_VERSION=0.9.0
22963 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22964 echo "$as_me:$LINENO: checking for glib-2.0" >&5
22965 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
22966
22967 if $PKG_CONFIG --exists "glib-2.0" ; then
22968 echo "$as_me:$LINENO: result: yes" >&5
22969 echo "${ECHO_T}yes" >&6
22970 succeeded=yes
22971
22972 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
22973 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
22974 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
22975 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
22976 echo "${ECHO_T}$GLIB_CFLAGS" >&6
22977
22978 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
22979 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
22980 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
22981 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
22982 echo "${ECHO_T}$GLIB_LIBS" >&6
22983 else
22984 GLIB_CFLAGS=""
22985 GLIB_LIBS=""
22986 ## If we have a custom action on failure, don't print errors, but
22987 ## do set a variable so people can do so.
22988 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
22989 echo $GLIB_PKG_ERRORS
22990 fi
22991
22992
22993
22994 else
22995 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22996 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22997 fi
22998 fi
22999
23000 if test $succeeded = yes; then
23001 :
23002 else
23003 { { echo "$as_me:$LINENO: 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." >&5
23004 echo "$as_me: 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." >&2;}
23005 { (exit 1); exit 1; }; }
23006 fi
23007
23008
23009 succeeded=no
23010
23011 if test -z "$PKG_CONFIG"; then
23012 # Extract the first word of "pkg-config", so it can be a program name with args.
23013 set dummy pkg-config; ac_word=$2
23014 echo "$as_me:$LINENO: checking for $ac_word" >&5
23015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23016 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 else
23019 case $PKG_CONFIG in
23020 [\\/]* | ?:[\\/]*)
23021 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23022 ;;
23023 *)
23024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23025 for as_dir in $PATH
23026 do
23027 IFS=$as_save_IFS
23028 test -z "$as_dir" && as_dir=.
23029 for ac_exec_ext in '' $ac_executable_extensions; do
23030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23031 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23033 break 2
23034 fi
23035 done
23036 done
23037
23038 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23039 ;;
23040 esac
23041 fi
23042 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23043
23044 if test -n "$PKG_CONFIG"; then
23045 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23046 echo "${ECHO_T}$PKG_CONFIG" >&6
23047 else
23048 echo "$as_me:$LINENO: result: no" >&5
23049 echo "${ECHO_T}no" >&6
23050 fi
23051
23052 fi
23053
23054 if test "$PKG_CONFIG" = "no" ; then
23055 echo "*** The pkg-config script could not be found. Make sure it is"
23056 echo "*** in your path, or set the PKG_CONFIG environment variable"
23057 echo "*** to the full path to pkg-config."
23058 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23059 else
23060 PKG_CONFIG_MIN_VERSION=0.9.0
23061 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23062 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23063 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
23064
23065 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23066 echo "$as_me:$LINENO: result: yes" >&5
23067 echo "${ECHO_T}yes" >&6
23068 succeeded=yes
23069
23070 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
23071 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
23072 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23073 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
23074 echo "${ECHO_T}$GTK_CFLAGS" >&6
23075
23076 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
23077 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
23078 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23079 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
23080 echo "${ECHO_T}$GTK_LIBS" >&6
23081 else
23082 GTK_CFLAGS=""
23083 GTK_LIBS=""
23084 ## If we have a custom action on failure, don't print errors, but
23085 ## do set a variable so people can do so.
23086 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23087 echo $GTK_PKG_ERRORS
23088 fi
23089
23090
23091
23092 else
23093 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23094 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23095 fi
23096 fi
23097
23098 if test $succeeded = yes; then
23099 :
23100 else
23101 { { echo "$as_me:$LINENO: 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." >&5
23102 echo "$as_me: 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." >&2;}
23103 { (exit 1); exit 1; }; }
23104 fi
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114 PLUGIN_DIR=$HOME/.mozilla/plugins/
23115
23116 fi
23117 fi
23118
23119
23120
23121 # Check whether --with-javah or --without-javah was given.
23122 if test "${with_javah+set}" = set; then
23123 withval="$with_javah"
23124
23125 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
23126
23127 if test "x${withval}" != x; then
23128 if test -f "${withval}"; then
23129 USER_JAVAH="${withval}"
23130 else
23131 # Extract the first word of ""${withval}"", so it can be a program name with args.
23132 set dummy "${withval}"; ac_word=$2
23133 echo "$as_me:$LINENO: checking for $ac_word" >&5
23134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23135 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23136 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 else
23138 case $USER_JAVAH in
23139 [\\/]* | ?:[\\/]*)
23140 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23141 ;;
23142 *)
23143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23144 for as_dir in $PATH
23145 do
23146 IFS=$as_save_IFS
23147 test -z "$as_dir" && as_dir=.
23148 for ac_exec_ext in '' $ac_executable_extensions; do
23149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23150 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23152 break 2
23153 fi
23154 done
23155 done
23156
23157 ;;
23158 esac
23159 fi
23160 USER_JAVAH=$ac_cv_path_USER_JAVAH
23161
23162 if test -n "$USER_JAVAH"; then
23163 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23164 echo "${ECHO_T}$USER_JAVAH" >&6
23165 else
23166 echo "$as_me:$LINENO: result: no" >&5
23167 echo "${ECHO_T}no" >&6
23168 fi
23169
23170 fi
23171 else
23172 for javah_name in gcjh javah; do
23173 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23174 set dummy "$javah_name"; ac_word=$2
23175 echo "$as_me:$LINENO: checking for $ac_word" >&5
23176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23177 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 else
23180 case $USER_JAVAH in
23181 [\\/]* | ?:[\\/]*)
23182 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23183 ;;
23184 *)
23185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23186 for as_dir in $PATH
23187 do
23188 IFS=$as_save_IFS
23189 test -z "$as_dir" && as_dir=.
23190 for ac_exec_ext in '' $ac_executable_extensions; do
23191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23192 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23194 break 2
23195 fi
23196 done
23197 done
23198
23199 ;;
23200 esac
23201 fi
23202 USER_JAVAH=$ac_cv_path_USER_JAVAH
23203
23204 if test -n "$USER_JAVAH"; then
23205 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23206 echo "${ECHO_T}$USER_JAVAH" >&6
23207 else
23208 echo "$as_me:$LINENO: result: no" >&5
23209 echo "${ECHO_T}no" >&6
23210 fi
23211
23212 if test "x${USER_JAVAH}" != x; then
23213 break
23214 fi
23215 done
23216 fi
23217
23218 # if test "x${USER_JAVAH}" = x; then
23219 # echo "configure: cannot find javah" 1>&2
23220 # exit 1
23221 # fi
23222
23223 else
23224
23225 if test "x" != x; then
23226 if test -f ""; then
23227 USER_JAVAH=""
23228 else
23229 # Extract the first word of """", so it can be a program name with args.
23230 set dummy ""; ac_word=$2
23231 echo "$as_me:$LINENO: checking for $ac_word" >&5
23232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23233 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23235 else
23236 case $USER_JAVAH in
23237 [\\/]* | ?:[\\/]*)
23238 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23239 ;;
23240 *)
23241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23242 for as_dir in $PATH
23243 do
23244 IFS=$as_save_IFS
23245 test -z "$as_dir" && as_dir=.
23246 for ac_exec_ext in '' $ac_executable_extensions; do
23247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23248 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23250 break 2
23251 fi
23252 done
23253 done
23254
23255 ;;
23256 esac
23257 fi
23258 USER_JAVAH=$ac_cv_path_USER_JAVAH
23259
23260 if test -n "$USER_JAVAH"; then
23261 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23262 echo "${ECHO_T}$USER_JAVAH" >&6
23263 else
23264 echo "$as_me:$LINENO: result: no" >&5
23265 echo "${ECHO_T}no" >&6
23266 fi
23267
23268 fi
23269 else
23270 for javah_name in gcjh javah; do
23271 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23272 set dummy "$javah_name"; ac_word=$2
23273 echo "$as_me:$LINENO: checking for $ac_word" >&5
23274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23275 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23277 else
23278 case $USER_JAVAH in
23279 [\\/]* | ?:[\\/]*)
23280 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23281 ;;
23282 *)
23283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23284 for as_dir in $PATH
23285 do
23286 IFS=$as_save_IFS
23287 test -z "$as_dir" && as_dir=.
23288 for ac_exec_ext in '' $ac_executable_extensions; do
23289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23290 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23292 break 2
23293 fi
23294 done
23295 done
23296
23297 ;;
23298 esac
23299 fi
23300 USER_JAVAH=$ac_cv_path_USER_JAVAH
23301
23302 if test -n "$USER_JAVAH"; then
23303 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23304 echo "${ECHO_T}$USER_JAVAH" >&6
23305 else
23306 echo "$as_me:$LINENO: result: no" >&5
23307 echo "${ECHO_T}no" >&6
23308 fi
23309
23310 if test "x${USER_JAVAH}" != x; then
23311 break
23312 fi
23313 done
23314 fi
23315
23316 # if test "x${USER_JAVAH}" = x; then
23317 # echo "configure: cannot find javah" 1>&2
23318 # exit 1
23319 # fi
23320
23321 fi
23322
23323 else
23324
23325
23326 if test "x" != x; then
23327 if test -f ""; then
23328 USER_JAVAH=""
23329 else
23330 # Extract the first word of """", so it can be a program name with args.
23331 set dummy ""; ac_word=$2
23332 echo "$as_me:$LINENO: checking for $ac_word" >&5
23333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23334 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337 case $USER_JAVAH in
23338 [\\/]* | ?:[\\/]*)
23339 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23340 ;;
23341 *)
23342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23343 for as_dir in $PATH
23344 do
23345 IFS=$as_save_IFS
23346 test -z "$as_dir" && as_dir=.
23347 for ac_exec_ext in '' $ac_executable_extensions; do
23348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23349 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23351 break 2
23352 fi
23353 done
23354 done
23355
23356 ;;
23357 esac
23358 fi
23359 USER_JAVAH=$ac_cv_path_USER_JAVAH
23360
23361 if test -n "$USER_JAVAH"; then
23362 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23363 echo "${ECHO_T}$USER_JAVAH" >&6
23364 else
23365 echo "$as_me:$LINENO: result: no" >&5
23366 echo "${ECHO_T}no" >&6
23367 fi
23368
23369 fi
23370 else
23371 for javah_name in gcjh javah; do
23372 # Extract the first word of ""$javah_name"", so it can be a program name with args.
23373 set dummy "$javah_name"; ac_word=$2
23374 echo "$as_me:$LINENO: checking for $ac_word" >&5
23375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23376 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 else
23379 case $USER_JAVAH in
23380 [\\/]* | ?:[\\/]*)
23381 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23382 ;;
23383 *)
23384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23385 for as_dir in $PATH
23386 do
23387 IFS=$as_save_IFS
23388 test -z "$as_dir" && as_dir=.
23389 for ac_exec_ext in '' $ac_executable_extensions; do
23390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23391 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23393 break 2
23394 fi
23395 done
23396 done
23397
23398 ;;
23399 esac
23400 fi
23401 USER_JAVAH=$ac_cv_path_USER_JAVAH
23402
23403 if test -n "$USER_JAVAH"; then
23404 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23405 echo "${ECHO_T}$USER_JAVAH" >&6
23406 else
23407 echo "$as_me:$LINENO: result: no" >&5
23408 echo "${ECHO_T}no" >&6
23409 fi
23410
23411 if test "x${USER_JAVAH}" != x; then
23412 break
23413 fi
23414 done
23415 fi
23416
23417 # if test "x${USER_JAVAH}" = x; then
23418 # echo "configure: cannot find javah" 1>&2
23419 # exit 1
23420 # fi
23421
23422
23423 fi;
23424
23425
23426 if test "x${USER_JAVAH}" != x; then
23427 USER_SPECIFIED_JAVAH_TRUE=
23428 USER_SPECIFIED_JAVAH_FALSE='#'
23429 else
23430 USER_SPECIFIED_JAVAH_TRUE='#'
23431 USER_SPECIFIED_JAVAH_FALSE=
23432 fi
23433
23434
23435
23436
23437 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23438
23439
23440 if test "x${COMPILE_JNI}" = xyes; then
23441 echo "$as_me:$LINENO: checking jni_md.h support" >&5
23442 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
23443 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
23444 echo "$as_me:$LINENO: result: yes" >&5
23445 echo "${ECHO_T}yes" >&6
23446 else
23447 target_cpu=x86
23448 target_os=linux-gnu
23449 { echo "$as_me:$LINENO: WARNING: no" >&5
23450 echo "$as_me: WARNING: no" >&2;}
23451 fi
23452 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
23453 ac_dests="include/jni_md.h"
23454 while test -n "$ac_sources"; do
23455 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
23456 set $ac_sources; ac_source=$1; shift; ac_sources=$*
23457 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
23458 done
23459 ac_config_links="$ac_config_links $ac_config_links_1"
23460
23461 fi
23462
23463
23464 user_specified_javac=
23465
23466
23467
23468 # Check whether --with-gcj or --without-gcj was given.
23469 if test "${with_gcj+set}" = set; then
23470 withval="$with_gcj"
23471
23472 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
23473
23474 if test "x${withval}" != x; then
23475 if test -f "${withval}"; then
23476 GCJ="${withval}"
23477 else
23478 # Extract the first word of ""${withval}"", so it can be a program name with args.
23479 set dummy "${withval}"; ac_word=$2
23480 echo "$as_me:$LINENO: checking for $ac_word" >&5
23481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23482 if test "${ac_cv_path_GCJ+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23485 case $GCJ in
23486 [\\/]* | ?:[\\/]*)
23487 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23488 ;;
23489 *)
23490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23491 for as_dir in $PATH
23492 do
23493 IFS=$as_save_IFS
23494 test -z "$as_dir" && as_dir=.
23495 for ac_exec_ext in '' $ac_executable_extensions; do
23496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23497 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23499 break 2
23500 fi
23501 done
23502 done
23503
23504 ;;
23505 esac
23506 fi
23507 GCJ=$ac_cv_path_GCJ
23508
23509 if test -n "$GCJ"; then
23510 echo "$as_me:$LINENO: result: $GCJ" >&5
23511 echo "${ECHO_T}$GCJ" >&6
23512 else
23513 echo "$as_me:$LINENO: result: no" >&5
23514 echo "${ECHO_T}no" >&6
23515 fi
23516
23517 fi
23518 else
23519 # Extract the first word of ""gcj"", so it can be a program name with args.
23520 set dummy "gcj"; ac_word=$2
23521 echo "$as_me:$LINENO: checking for $ac_word" >&5
23522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23523 if test "${ac_cv_path_GCJ+set}" = set; then
23524 echo $ECHO_N "(cached) $ECHO_C" >&6
23525 else
23526 case $GCJ in
23527 [\\/]* | ?:[\\/]*)
23528 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23529 ;;
23530 *)
23531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23532 for as_dir in $PATH
23533 do
23534 IFS=$as_save_IFS
23535 test -z "$as_dir" && as_dir=.
23536 for ac_exec_ext in '' $ac_executable_extensions; do
23537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23538 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23540 break 2
23541 fi
23542 done
23543 done
23544
23545 ;;
23546 esac
23547 fi
23548 GCJ=$ac_cv_path_GCJ
23549
23550 if test -n "$GCJ"; then
23551 echo "$as_me:$LINENO: result: $GCJ" >&5
23552 echo "${ECHO_T}$GCJ" >&6
23553 else
23554 echo "$as_me:$LINENO: result: no" >&5
23555 echo "${ECHO_T}no" >&6
23556 fi
23557
23558 fi
23559 if test "x$GCJ" != x; then
23560 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23561 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23562 ac_ext=c
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23567
23568 cat >conftest.$ac_ext <<_ACEOF
23569 #if __GNUC__ <= 3
23570 #error GCJ 4.0.0 or higher is required
23571 #endif
23572
23573 _ACEOF
23574 $GCJ -E conftest.c > /dev/null
23575 gcj_4_result=$?
23576 if test "x$gcj_4_result" = "x0"; then
23577 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23578 echo "${ECHO_T}4.0 or higher found" >&6
23579 else
23580 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23581 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23582 fi
23583 ac_ext=c
23584 ac_cpp='$CPP $CPPFLAGS'
23585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23588
23589 fi
23590
23591 else
23592 if test "x${withval}" != xno; then
23593
23594 if test "x" != x; then
23595 if test -f ""; then
23596 GCJ=""
23597 else
23598 # Extract the first word of """", so it can be a program name with args.
23599 set dummy ""; ac_word=$2
23600 echo "$as_me:$LINENO: checking for $ac_word" >&5
23601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23602 if test "${ac_cv_path_GCJ+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 else
23605 case $GCJ in
23606 [\\/]* | ?:[\\/]*)
23607 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23608 ;;
23609 *)
23610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23611 for as_dir in $PATH
23612 do
23613 IFS=$as_save_IFS
23614 test -z "$as_dir" && as_dir=.
23615 for ac_exec_ext in '' $ac_executable_extensions; do
23616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23617 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23619 break 2
23620 fi
23621 done
23622 done
23623
23624 ;;
23625 esac
23626 fi
23627 GCJ=$ac_cv_path_GCJ
23628
23629 if test -n "$GCJ"; then
23630 echo "$as_me:$LINENO: result: $GCJ" >&5
23631 echo "${ECHO_T}$GCJ" >&6
23632 else
23633 echo "$as_me:$LINENO: result: no" >&5
23634 echo "${ECHO_T}no" >&6
23635 fi
23636
23637 fi
23638 else
23639 # Extract the first word of ""gcj"", so it can be a program name with args.
23640 set dummy "gcj"; ac_word=$2
23641 echo "$as_me:$LINENO: checking for $ac_word" >&5
23642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23643 if test "${ac_cv_path_GCJ+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 case $GCJ in
23647 [\\/]* | ?:[\\/]*)
23648 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23649 ;;
23650 *)
23651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23652 for as_dir in $PATH
23653 do
23654 IFS=$as_save_IFS
23655 test -z "$as_dir" && as_dir=.
23656 for ac_exec_ext in '' $ac_executable_extensions; do
23657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23658 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23660 break 2
23661 fi
23662 done
23663 done
23664
23665 ;;
23666 esac
23667 fi
23668 GCJ=$ac_cv_path_GCJ
23669
23670 if test -n "$GCJ"; then
23671 echo "$as_me:$LINENO: result: $GCJ" >&5
23672 echo "${ECHO_T}$GCJ" >&6
23673 else
23674 echo "$as_me:$LINENO: result: no" >&5
23675 echo "${ECHO_T}no" >&6
23676 fi
23677
23678 fi
23679 if test "x$GCJ" != x; then
23680 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23681 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23682 ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687
23688 cat >conftest.$ac_ext <<_ACEOF
23689 #if __GNUC__ <= 3
23690 #error GCJ 4.0.0 or higher is required
23691 #endif
23692
23693 _ACEOF
23694 $GCJ -E conftest.c > /dev/null
23695 gcj_4_result=$?
23696 if test "x$gcj_4_result" = "x0"; then
23697 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23698 echo "${ECHO_T}4.0 or higher found" >&6
23699 else
23700 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23701 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23702 fi
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708
23709 fi
23710
23711 fi
23712 fi
23713 user_specified_javac=gcj
23714
23715 else
23716
23717
23718 if test "x" != x; then
23719 if test -f ""; then
23720 GCJ=""
23721 else
23722 # Extract the first word of """", so it can be a program name with args.
23723 set dummy ""; ac_word=$2
23724 echo "$as_me:$LINENO: checking for $ac_word" >&5
23725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23726 if test "${ac_cv_path_GCJ+set}" = set; then
23727 echo $ECHO_N "(cached) $ECHO_C" >&6
23728 else
23729 case $GCJ in
23730 [\\/]* | ?:[\\/]*)
23731 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23732 ;;
23733 *)
23734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23735 for as_dir in $PATH
23736 do
23737 IFS=$as_save_IFS
23738 test -z "$as_dir" && as_dir=.
23739 for ac_exec_ext in '' $ac_executable_extensions; do
23740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23741 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23743 break 2
23744 fi
23745 done
23746 done
23747
23748 ;;
23749 esac
23750 fi
23751 GCJ=$ac_cv_path_GCJ
23752
23753 if test -n "$GCJ"; then
23754 echo "$as_me:$LINENO: result: $GCJ" >&5
23755 echo "${ECHO_T}$GCJ" >&6
23756 else
23757 echo "$as_me:$LINENO: result: no" >&5
23758 echo "${ECHO_T}no" >&6
23759 fi
23760
23761 fi
23762 else
23763 # Extract the first word of ""gcj"", so it can be a program name with args.
23764 set dummy "gcj"; ac_word=$2
23765 echo "$as_me:$LINENO: checking for $ac_word" >&5
23766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23767 if test "${ac_cv_path_GCJ+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770 case $GCJ in
23771 [\\/]* | ?:[\\/]*)
23772 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
23773 ;;
23774 *)
23775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23776 for as_dir in $PATH
23777 do
23778 IFS=$as_save_IFS
23779 test -z "$as_dir" && as_dir=.
23780 for ac_exec_ext in '' $ac_executable_extensions; do
23781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23782 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
23783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23784 break 2
23785 fi
23786 done
23787 done
23788
23789 ;;
23790 esac
23791 fi
23792 GCJ=$ac_cv_path_GCJ
23793
23794 if test -n "$GCJ"; then
23795 echo "$as_me:$LINENO: result: $GCJ" >&5
23796 echo "${ECHO_T}$GCJ" >&6
23797 else
23798 echo "$as_me:$LINENO: result: no" >&5
23799 echo "${ECHO_T}no" >&6
23800 fi
23801
23802 fi
23803 if test "x$GCJ" != x; then
23804 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
23805 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
23806 ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23811
23812 cat >conftest.$ac_ext <<_ACEOF
23813 #if __GNUC__ <= 3
23814 #error GCJ 4.0.0 or higher is required
23815 #endif
23816
23817 _ACEOF
23818 $GCJ -E conftest.c > /dev/null
23819 gcj_4_result=$?
23820 if test "x$gcj_4_result" = "x0"; then
23821 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
23822 echo "${ECHO_T}4.0 or higher found" >&6
23823 else
23824 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
23825 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
23826 fi
23827 ac_ext=c
23828 ac_cpp='$CPP $CPPFLAGS'
23829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23832
23833 fi
23834
23835
23836 fi;
23837
23838
23839
23840
23841 # Check whether --with-jikes or --without-jikes was given.
23842 if test "${with_jikes+set}" = set; then
23843 withval="$with_jikes"
23844
23845 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
23846
23847 if test "x${withval}" != x; then
23848 if test -f "${withval}"; then
23849 JIKES="${withval}"
23850 else
23851 # Extract the first word of ""${withval}"", so it can be a program name with args.
23852 set dummy "${withval}"; ac_word=$2
23853 echo "$as_me:$LINENO: checking for $ac_word" >&5
23854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23855 if test "${ac_cv_path_JIKES+set}" = set; then
23856 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 else
23858 case $JIKES in
23859 [\\/]* | ?:[\\/]*)
23860 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
23861 ;;
23862 *)
23863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23864 for as_dir in $PATH
23865 do
23866 IFS=$as_save_IFS
23867 test -z "$as_dir" && as_dir=.
23868 for ac_exec_ext in '' $ac_executable_extensions; do
23869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23870 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
23871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23872 break 2
23873 fi
23874 done
23875 done
23876
23877 ;;
23878 esac
23879 fi
23880 JIKES=$ac_cv_path_JIKES
23881
23882 if test -n "$JIKES"; then
23883 echo "$as_me:$LINENO: result: $JIKES" >&5
23884 echo "${ECHO_T}$JIKES" >&6
23885 else
23886 echo "$as_me:$LINENO: result: no" >&5
23887 echo "${ECHO_T}no" >&6
23888 fi
23889
23890 fi
23891 else
23892 # Extract the first word of ""jikes"", so it can be a program name with args.
23893 set dummy "jikes"; ac_word=$2
23894 echo "$as_me:$LINENO: checking for $ac_word" >&5
23895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23896 if test "${ac_cv_path_JIKES+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 case $JIKES in
23900 [\\/]* | ?:[\\/]*)
23901 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
23902 ;;
23903 *)
23904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23905 for as_dir in $PATH
23906 do
23907 IFS=$as_save_IFS
23908 test -z "$as_dir" && as_dir=.
23909 for ac_exec_ext in '' $ac_executable_extensions; do
23910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23911 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
23912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23913 break 2
23914 fi
23915 done
23916 done
23917
23918 ;;
23919 esac
23920 fi
23921 JIKES=$ac_cv_path_JIKES
23922
23923 if test -n "$JIKES"; then
23924 echo "$as_me:$LINENO: result: $JIKES" >&5
23925 echo "${ECHO_T}$JIKES" >&6
23926 else
23927 echo "$as_me:$LINENO: result: no" >&5
23928 echo "${ECHO_T}no" >&6
23929 fi
23930
23931 fi
23932 if test "x$JIKES" != "x"; then
23933 echo "$as_me:$LINENO: checking jikes version" >&5
23934 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
23935 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
23936 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
23937 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
23938 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
23939 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
23940 JIKES=""
23941 fi
23942 fi
23943 if test "x$JIKES" != "x"; then
23944 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
23945 echo "${ECHO_T}$JIKES_VERSION" >&6
23946 else
23947 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
23948 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
23949 fi
23950
23951 JIKESENCODING=
23952 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
23953 JIKESENCODING='-encoding UTF-8'
23954 fi
23955
23956
23957 JIKESWARNINGS="+Pno-switchcheck"
23958 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
23959 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
23960 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
23961 fi
23962 fi
23963
23964
23965 fi
23966
23967 else
23968 if test "x${withval}" != xno; then
23969
23970 if test "x" != x; then
23971 if test -f ""; then
23972 JIKES=""
23973 else
23974 # Extract the first word of """", so it can be a program name with args.
23975 set dummy ""; ac_word=$2
23976 echo "$as_me:$LINENO: checking for $ac_word" >&5
23977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23978 if test "${ac_cv_path_JIKES+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 else
23981 case $JIKES in
23982 [\\/]* | ?:[\\/]*)
23983 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
23984 ;;
23985 *)
23986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23987 for as_dir in $PATH
23988 do
23989 IFS=$as_save_IFS
23990 test -z "$as_dir" && as_dir=.
23991 for ac_exec_ext in '' $ac_executable_extensions; do
23992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23993 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
23994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23995 break 2
23996 fi
23997 done
23998 done
23999
24000 ;;
24001 esac
24002 fi
24003 JIKES=$ac_cv_path_JIKES
24004
24005 if test -n "$JIKES"; then
24006 echo "$as_me:$LINENO: result: $JIKES" >&5
24007 echo "${ECHO_T}$JIKES" >&6
24008 else
24009 echo "$as_me:$LINENO: result: no" >&5
24010 echo "${ECHO_T}no" >&6
24011 fi
24012
24013 fi
24014 else
24015 # Extract the first word of ""jikes"", so it can be a program name with args.
24016 set dummy "jikes"; ac_word=$2
24017 echo "$as_me:$LINENO: checking for $ac_word" >&5
24018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24019 if test "${ac_cv_path_JIKES+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 else
24022 case $JIKES in
24023 [\\/]* | ?:[\\/]*)
24024 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24025 ;;
24026 *)
24027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24028 for as_dir in $PATH
24029 do
24030 IFS=$as_save_IFS
24031 test -z "$as_dir" && as_dir=.
24032 for ac_exec_ext in '' $ac_executable_extensions; do
24033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24034 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24036 break 2
24037 fi
24038 done
24039 done
24040
24041 ;;
24042 esac
24043 fi
24044 JIKES=$ac_cv_path_JIKES
24045
24046 if test -n "$JIKES"; then
24047 echo "$as_me:$LINENO: result: $JIKES" >&5
24048 echo "${ECHO_T}$JIKES" >&6
24049 else
24050 echo "$as_me:$LINENO: result: no" >&5
24051 echo "${ECHO_T}no" >&6
24052 fi
24053
24054 fi
24055 if test "x$JIKES" != "x"; then
24056 echo "$as_me:$LINENO: checking jikes version" >&5
24057 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24058 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24059 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24060 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24061 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
24062 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
24063 JIKES=""
24064 fi
24065 fi
24066 if test "x$JIKES" != "x"; then
24067 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24068 echo "${ECHO_T}$JIKES_VERSION" >&6
24069 else
24070 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24071 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24072 fi
24073
24074 JIKESENCODING=
24075 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24076 JIKESENCODING='-encoding UTF-8'
24077 fi
24078
24079
24080 JIKESWARNINGS="+Pno-switchcheck"
24081 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
24082 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
24083 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
24084 fi
24085 fi
24086
24087
24088 fi
24089
24090 fi
24091 fi
24092 user_specified_javac=jikes
24093
24094 else
24095
24096
24097 if test "x" != x; then
24098 if test -f ""; then
24099 JIKES=""
24100 else
24101 # Extract the first word of """", so it can be a program name with args.
24102 set dummy ""; ac_word=$2
24103 echo "$as_me:$LINENO: checking for $ac_word" >&5
24104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24105 if test "${ac_cv_path_JIKES+set}" = set; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24107 else
24108 case $JIKES in
24109 [\\/]* | ?:[\\/]*)
24110 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24111 ;;
24112 *)
24113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24114 for as_dir in $PATH
24115 do
24116 IFS=$as_save_IFS
24117 test -z "$as_dir" && as_dir=.
24118 for ac_exec_ext in '' $ac_executable_extensions; do
24119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24120 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24122 break 2
24123 fi
24124 done
24125 done
24126
24127 ;;
24128 esac
24129 fi
24130 JIKES=$ac_cv_path_JIKES
24131
24132 if test -n "$JIKES"; then
24133 echo "$as_me:$LINENO: result: $JIKES" >&5
24134 echo "${ECHO_T}$JIKES" >&6
24135 else
24136 echo "$as_me:$LINENO: result: no" >&5
24137 echo "${ECHO_T}no" >&6
24138 fi
24139
24140 fi
24141 else
24142 # Extract the first word of ""jikes"", so it can be a program name with args.
24143 set dummy "jikes"; ac_word=$2
24144 echo "$as_me:$LINENO: checking for $ac_word" >&5
24145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24146 if test "${ac_cv_path_JIKES+set}" = set; then
24147 echo $ECHO_N "(cached) $ECHO_C" >&6
24148 else
24149 case $JIKES in
24150 [\\/]* | ?:[\\/]*)
24151 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24152 ;;
24153 *)
24154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24155 for as_dir in $PATH
24156 do
24157 IFS=$as_save_IFS
24158 test -z "$as_dir" && as_dir=.
24159 for ac_exec_ext in '' $ac_executable_extensions; do
24160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24161 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24163 break 2
24164 fi
24165 done
24166 done
24167
24168 ;;
24169 esac
24170 fi
24171 JIKES=$ac_cv_path_JIKES
24172
24173 if test -n "$JIKES"; then
24174 echo "$as_me:$LINENO: result: $JIKES" >&5
24175 echo "${ECHO_T}$JIKES" >&6
24176 else
24177 echo "$as_me:$LINENO: result: no" >&5
24178 echo "${ECHO_T}no" >&6
24179 fi
24180
24181 fi
24182 if test "x$JIKES" != "x"; then
24183 echo "$as_me:$LINENO: checking jikes version" >&5
24184 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24185 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24186 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24187 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24188 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
24189 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
24190 JIKES=""
24191 fi
24192 fi
24193 if test "x$JIKES" != "x"; then
24194 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24195 echo "${ECHO_T}$JIKES_VERSION" >&6
24196 else
24197 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24198 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24199 fi
24200
24201 JIKESENCODING=
24202 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24203 JIKESENCODING='-encoding UTF-8'
24204 fi
24205
24206
24207 JIKESWARNINGS="+Pno-switchcheck"
24208 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
24209 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
24210 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
24211 fi
24212 fi
24213
24214
24215 fi
24216
24217
24218 fi;
24219
24220
24221
24222
24223 # Check whether --with-kjc or --without-kjc was given.
24224 if test "${with_kjc+set}" = set; then
24225 withval="$with_kjc"
24226
24227 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24228
24229 if test "x${withval}" != x; then
24230 if test -f "${withval}"; then
24231 KJC="${withval}"
24232 else
24233 # Extract the first word of ""${withval}"", so it can be a program name with args.
24234 set dummy "${withval}"; ac_word=$2
24235 echo "$as_me:$LINENO: checking for $ac_word" >&5
24236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24237 if test "${ac_cv_path_KJC+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24239 else
24240 case $KJC in
24241 [\\/]* | ?:[\\/]*)
24242 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24243 ;;
24244 *)
24245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24246 for as_dir in $PATH
24247 do
24248 IFS=$as_save_IFS
24249 test -z "$as_dir" && as_dir=.
24250 for ac_exec_ext in '' $ac_executable_extensions; do
24251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24252 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24254 break 2
24255 fi
24256 done
24257 done
24258
24259 ;;
24260 esac
24261 fi
24262 KJC=$ac_cv_path_KJC
24263
24264 if test -n "$KJC"; then
24265 echo "$as_me:$LINENO: result: $KJC" >&5
24266 echo "${ECHO_T}$KJC" >&6
24267 else
24268 echo "$as_me:$LINENO: result: no" >&5
24269 echo "${ECHO_T}no" >&6
24270 fi
24271
24272 fi
24273 else
24274 # Extract the first word of ""kJC"", so it can be a program name with args.
24275 set dummy "kJC"; ac_word=$2
24276 echo "$as_me:$LINENO: checking for $ac_word" >&5
24277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24278 if test "${ac_cv_path_KJC+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281 case $KJC in
24282 [\\/]* | ?:[\\/]*)
24283 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24284 ;;
24285 *)
24286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24287 for as_dir in $PATH
24288 do
24289 IFS=$as_save_IFS
24290 test -z "$as_dir" && as_dir=.
24291 for ac_exec_ext in '' $ac_executable_extensions; do
24292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24293 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24295 break 2
24296 fi
24297 done
24298 done
24299
24300 ;;
24301 esac
24302 fi
24303 KJC=$ac_cv_path_KJC
24304
24305 if test -n "$KJC"; then
24306 echo "$as_me:$LINENO: result: $KJC" >&5
24307 echo "${ECHO_T}$KJC" >&6
24308 else
24309 echo "$as_me:$LINENO: result: no" >&5
24310 echo "${ECHO_T}no" >&6
24311 fi
24312
24313 fi
24314
24315 else
24316 if test "x${withval}" != xno; then
24317
24318 if test "x" != x; then
24319 if test -f ""; then
24320 KJC=""
24321 else
24322 # Extract the first word of """", so it can be a program name with args.
24323 set dummy ""; ac_word=$2
24324 echo "$as_me:$LINENO: checking for $ac_word" >&5
24325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24326 if test "${ac_cv_path_KJC+set}" = set; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 else
24329 case $KJC in
24330 [\\/]* | ?:[\\/]*)
24331 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24332 ;;
24333 *)
24334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24335 for as_dir in $PATH
24336 do
24337 IFS=$as_save_IFS
24338 test -z "$as_dir" && as_dir=.
24339 for ac_exec_ext in '' $ac_executable_extensions; do
24340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24341 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24343 break 2
24344 fi
24345 done
24346 done
24347
24348 ;;
24349 esac
24350 fi
24351 KJC=$ac_cv_path_KJC
24352
24353 if test -n "$KJC"; then
24354 echo "$as_me:$LINENO: result: $KJC" >&5
24355 echo "${ECHO_T}$KJC" >&6
24356 else
24357 echo "$as_me:$LINENO: result: no" >&5
24358 echo "${ECHO_T}no" >&6
24359 fi
24360
24361 fi
24362 else
24363 # Extract the first word of ""kJC"", so it can be a program name with args.
24364 set dummy "kJC"; ac_word=$2
24365 echo "$as_me:$LINENO: checking for $ac_word" >&5
24366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24367 if test "${ac_cv_path_KJC+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24370 case $KJC in
24371 [\\/]* | ?:[\\/]*)
24372 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24373 ;;
24374 *)
24375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24376 for as_dir in $PATH
24377 do
24378 IFS=$as_save_IFS
24379 test -z "$as_dir" && as_dir=.
24380 for ac_exec_ext in '' $ac_executable_extensions; do
24381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24382 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24384 break 2
24385 fi
24386 done
24387 done
24388
24389 ;;
24390 esac
24391 fi
24392 KJC=$ac_cv_path_KJC
24393
24394 if test -n "$KJC"; then
24395 echo "$as_me:$LINENO: result: $KJC" >&5
24396 echo "${ECHO_T}$KJC" >&6
24397 else
24398 echo "$as_me:$LINENO: result: no" >&5
24399 echo "${ECHO_T}no" >&6
24400 fi
24401
24402 fi
24403
24404 fi
24405 fi
24406 user_specified_javac=kjc
24407
24408 else
24409
24410
24411 if test "x" != x; then
24412 if test -f ""; then
24413 KJC=""
24414 else
24415 # Extract the first word of """", so it can be a program name with args.
24416 set dummy ""; ac_word=$2
24417 echo "$as_me:$LINENO: checking for $ac_word" >&5
24418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24419 if test "${ac_cv_path_KJC+set}" = set; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24421 else
24422 case $KJC in
24423 [\\/]* | ?:[\\/]*)
24424 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24425 ;;
24426 *)
24427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24428 for as_dir in $PATH
24429 do
24430 IFS=$as_save_IFS
24431 test -z "$as_dir" && as_dir=.
24432 for ac_exec_ext in '' $ac_executable_extensions; do
24433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24434 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24436 break 2
24437 fi
24438 done
24439 done
24440
24441 ;;
24442 esac
24443 fi
24444 KJC=$ac_cv_path_KJC
24445
24446 if test -n "$KJC"; then
24447 echo "$as_me:$LINENO: result: $KJC" >&5
24448 echo "${ECHO_T}$KJC" >&6
24449 else
24450 echo "$as_me:$LINENO: result: no" >&5
24451 echo "${ECHO_T}no" >&6
24452 fi
24453
24454 fi
24455 else
24456 # Extract the first word of ""kJC"", so it can be a program name with args.
24457 set dummy "kJC"; ac_word=$2
24458 echo "$as_me:$LINENO: checking for $ac_word" >&5
24459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24460 if test "${ac_cv_path_KJC+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 else
24463 case $KJC in
24464 [\\/]* | ?:[\\/]*)
24465 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24466 ;;
24467 *)
24468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24469 for as_dir in $PATH
24470 do
24471 IFS=$as_save_IFS
24472 test -z "$as_dir" && as_dir=.
24473 for ac_exec_ext in '' $ac_executable_extensions; do
24474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24475 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24477 break 2
24478 fi
24479 done
24480 done
24481
24482 ;;
24483 esac
24484 fi
24485 KJC=$ac_cv_path_KJC
24486
24487 if test -n "$KJC"; then
24488 echo "$as_me:$LINENO: result: $KJC" >&5
24489 echo "${ECHO_T}$KJC" >&6
24490 else
24491 echo "$as_me:$LINENO: result: no" >&5
24492 echo "${ECHO_T}no" >&6
24493 fi
24494
24495 fi
24496
24497
24498 fi;
24499
24500
24501
24502
24503 # Check whether --with-ecj or --without-ecj was given.
24504 if test "${with_ecj+set}" = set; then
24505 withval="$with_ecj"
24506
24507 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24508
24509 if test "x${withval}" != x; then
24510 if test -f "${withval}"; then
24511 ECJ="${withval}"
24512 else
24513 # Extract the first word of ""${withval}"", so it can be a program name with args.
24514 set dummy "${withval}"; ac_word=$2
24515 echo "$as_me:$LINENO: checking for $ac_word" >&5
24516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24517 if test "${ac_cv_path_ECJ+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 else
24520 case $ECJ in
24521 [\\/]* | ?:[\\/]*)
24522 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24523 ;;
24524 *)
24525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24526 for as_dir in $PATH
24527 do
24528 IFS=$as_save_IFS
24529 test -z "$as_dir" && as_dir=.
24530 for ac_exec_ext in '' $ac_executable_extensions; do
24531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24532 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24534 break 2
24535 fi
24536 done
24537 done
24538
24539 ;;
24540 esac
24541 fi
24542 ECJ=$ac_cv_path_ECJ
24543
24544 if test -n "$ECJ"; then
24545 echo "$as_me:$LINENO: result: $ECJ" >&5
24546 echo "${ECHO_T}$ECJ" >&6
24547 else
24548 echo "$as_me:$LINENO: result: no" >&5
24549 echo "${ECHO_T}no" >&6
24550 fi
24551
24552 fi
24553 else
24554 # Extract the first word of ""ecj"", so it can be a program name with args.
24555 set dummy "ecj"; ac_word=$2
24556 echo "$as_me:$LINENO: checking for $ac_word" >&5
24557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24558 if test "${ac_cv_path_ECJ+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 else
24561 case $ECJ in
24562 [\\/]* | ?:[\\/]*)
24563 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24564 ;;
24565 *)
24566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24567 for as_dir in $PATH
24568 do
24569 IFS=$as_save_IFS
24570 test -z "$as_dir" && as_dir=.
24571 for ac_exec_ext in '' $ac_executable_extensions; do
24572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24573 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24575 break 2
24576 fi
24577 done
24578 done
24579
24580 ;;
24581 esac
24582 fi
24583 ECJ=$ac_cv_path_ECJ
24584
24585 if test -n "$ECJ"; then
24586 echo "$as_me:$LINENO: result: $ECJ" >&5
24587 echo "${ECHO_T}$ECJ" >&6
24588 else
24589 echo "$as_me:$LINENO: result: no" >&5
24590 echo "${ECHO_T}no" >&6
24591 fi
24592
24593 fi
24594
24595 else
24596 if test "x${withval}" != xno; then
24597
24598 if test "x" != x; then
24599 if test -f ""; then
24600 ECJ=""
24601 else
24602 # Extract the first word of """", so it can be a program name with args.
24603 set dummy ""; ac_word=$2
24604 echo "$as_me:$LINENO: checking for $ac_word" >&5
24605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24606 if test "${ac_cv_path_ECJ+set}" = set; then
24607 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 else
24609 case $ECJ in
24610 [\\/]* | ?:[\\/]*)
24611 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24612 ;;
24613 *)
24614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24615 for as_dir in $PATH
24616 do
24617 IFS=$as_save_IFS
24618 test -z "$as_dir" && as_dir=.
24619 for ac_exec_ext in '' $ac_executable_extensions; do
24620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24621 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24623 break 2
24624 fi
24625 done
24626 done
24627
24628 ;;
24629 esac
24630 fi
24631 ECJ=$ac_cv_path_ECJ
24632
24633 if test -n "$ECJ"; then
24634 echo "$as_me:$LINENO: result: $ECJ" >&5
24635 echo "${ECHO_T}$ECJ" >&6
24636 else
24637 echo "$as_me:$LINENO: result: no" >&5
24638 echo "${ECHO_T}no" >&6
24639 fi
24640
24641 fi
24642 else
24643 # Extract the first word of ""ecj"", so it can be a program name with args.
24644 set dummy "ecj"; ac_word=$2
24645 echo "$as_me:$LINENO: checking for $ac_word" >&5
24646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24647 if test "${ac_cv_path_ECJ+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 else
24650 case $ECJ in
24651 [\\/]* | ?:[\\/]*)
24652 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24653 ;;
24654 *)
24655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24656 for as_dir in $PATH
24657 do
24658 IFS=$as_save_IFS
24659 test -z "$as_dir" && as_dir=.
24660 for ac_exec_ext in '' $ac_executable_extensions; do
24661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24662 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24664 break 2
24665 fi
24666 done
24667 done
24668
24669 ;;
24670 esac
24671 fi
24672 ECJ=$ac_cv_path_ECJ
24673
24674 if test -n "$ECJ"; then
24675 echo "$as_me:$LINENO: result: $ECJ" >&5
24676 echo "${ECHO_T}$ECJ" >&6
24677 else
24678 echo "$as_me:$LINENO: result: no" >&5
24679 echo "${ECHO_T}no" >&6
24680 fi
24681
24682 fi
24683
24684 fi
24685 fi
24686 user_specified_javac=ecj
24687
24688 else
24689
24690
24691 if test "x" != x; then
24692 if test -f ""; then
24693 ECJ=""
24694 else
24695 # Extract the first word of """", so it can be a program name with args.
24696 set dummy ""; ac_word=$2
24697 echo "$as_me:$LINENO: checking for $ac_word" >&5
24698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24699 if test "${ac_cv_path_ECJ+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702 case $ECJ in
24703 [\\/]* | ?:[\\/]*)
24704 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24705 ;;
24706 *)
24707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24708 for as_dir in $PATH
24709 do
24710 IFS=$as_save_IFS
24711 test -z "$as_dir" && as_dir=.
24712 for ac_exec_ext in '' $ac_executable_extensions; do
24713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24714 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24716 break 2
24717 fi
24718 done
24719 done
24720
24721 ;;
24722 esac
24723 fi
24724 ECJ=$ac_cv_path_ECJ
24725
24726 if test -n "$ECJ"; then
24727 echo "$as_me:$LINENO: result: $ECJ" >&5
24728 echo "${ECHO_T}$ECJ" >&6
24729 else
24730 echo "$as_me:$LINENO: result: no" >&5
24731 echo "${ECHO_T}no" >&6
24732 fi
24733
24734 fi
24735 else
24736 # Extract the first word of ""ecj"", so it can be a program name with args.
24737 set dummy "ecj"; ac_word=$2
24738 echo "$as_me:$LINENO: checking for $ac_word" >&5
24739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24740 if test "${ac_cv_path_ECJ+set}" = set; then
24741 echo $ECHO_N "(cached) $ECHO_C" >&6
24742 else
24743 case $ECJ in
24744 [\\/]* | ?:[\\/]*)
24745 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
24746 ;;
24747 *)
24748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24749 for as_dir in $PATH
24750 do
24751 IFS=$as_save_IFS
24752 test -z "$as_dir" && as_dir=.
24753 for ac_exec_ext in '' $ac_executable_extensions; do
24754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24755 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
24756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24757 break 2
24758 fi
24759 done
24760 done
24761
24762 ;;
24763 esac
24764 fi
24765 ECJ=$ac_cv_path_ECJ
24766
24767 if test -n "$ECJ"; then
24768 echo "$as_me:$LINENO: result: $ECJ" >&5
24769 echo "${ECHO_T}$ECJ" >&6
24770 else
24771 echo "$as_me:$LINENO: result: no" >&5
24772 echo "${ECHO_T}no" >&6
24773 fi
24774
24775 fi
24776
24777
24778 fi;
24779
24780
24781
24782
24783 # Check whether --with-javac or --without-javac was given.
24784 if test "${with_javac+set}" = set; then
24785 withval="$with_javac"
24786
24787 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24788
24789 if test "x${withval}" != x; then
24790 if test -f "${withval}"; then
24791 JAVAC="${withval}"
24792 else
24793 # Extract the first word of ""${withval}"", so it can be a program name with args.
24794 set dummy "${withval}"; ac_word=$2
24795 echo "$as_me:$LINENO: checking for $ac_word" >&5
24796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24797 if test "${ac_cv_path_JAVAC+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 else
24800 case $JAVAC in
24801 [\\/]* | ?:[\\/]*)
24802 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
24803 ;;
24804 *)
24805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24806 for as_dir in $PATH
24807 do
24808 IFS=$as_save_IFS
24809 test -z "$as_dir" && as_dir=.
24810 for ac_exec_ext in '' $ac_executable_extensions; do
24811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24812 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
24813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24814 break 2
24815 fi
24816 done
24817 done
24818
24819 ;;
24820 esac
24821 fi
24822 JAVAC=$ac_cv_path_JAVAC
24823
24824 if test -n "$JAVAC"; then
24825 echo "$as_me:$LINENO: result: $JAVAC" >&5
24826 echo "${ECHO_T}$JAVAC" >&6
24827 else
24828 echo "$as_me:$LINENO: result: no" >&5
24829 echo "${ECHO_T}no" >&6
24830 fi
24831
24832 fi
24833 else
24834 # Extract the first word of ""javac"", so it can be a program name with args.
24835 set dummy "javac"; ac_word=$2
24836 echo "$as_me:$LINENO: checking for $ac_word" >&5
24837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24838 if test "${ac_cv_path_JAVAC+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 else
24841 case $JAVAC in
24842 [\\/]* | ?:[\\/]*)
24843 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
24844 ;;
24845 *)
24846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24847 for as_dir in $PATH
24848 do
24849 IFS=$as_save_IFS
24850 test -z "$as_dir" && as_dir=.
24851 for ac_exec_ext in '' $ac_executable_extensions; do
24852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24853 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
24854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24855 break 2
24856 fi
24857 done
24858 done
24859
24860 ;;
24861 esac
24862 fi
24863 JAVAC=$ac_cv_path_JAVAC
24864
24865 if test -n "$JAVAC"; then
24866 echo "$as_me:$LINENO: result: $JAVAC" >&5
24867 echo "${ECHO_T}$JAVAC" >&6
24868 else
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24871 fi
24872
24873 fi
24874
24875 else
24876 if test "x${withval}" != xno; then
24877
24878 if test "x" != x; then
24879 if test -f ""; then
24880 JAVAC=""
24881 else
24882 # Extract the first word of """", so it can be a program name with args.
24883 set dummy ""; ac_word=$2
24884 echo "$as_me:$LINENO: checking for $ac_word" >&5
24885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24886 if test "${ac_cv_path_JAVAC+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24889 case $JAVAC in
24890 [\\/]* | ?:[\\/]*)
24891 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
24892 ;;
24893 *)
24894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24895 for as_dir in $PATH
24896 do
24897 IFS=$as_save_IFS
24898 test -z "$as_dir" && as_dir=.
24899 for ac_exec_ext in '' $ac_executable_extensions; do
24900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24901 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
24902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24903 break 2
24904 fi
24905 done
24906 done
24907
24908 ;;
24909 esac
24910 fi
24911 JAVAC=$ac_cv_path_JAVAC
24912
24913 if test -n "$JAVAC"; then
24914 echo "$as_me:$LINENO: result: $JAVAC" >&5
24915 echo "${ECHO_T}$JAVAC" >&6
24916 else
24917 echo "$as_me:$LINENO: result: no" >&5
24918 echo "${ECHO_T}no" >&6
24919 fi
24920
24921 fi
24922 else
24923 # Extract the first word of ""javac"", so it can be a program name with args.
24924 set dummy "javac"; ac_word=$2
24925 echo "$as_me:$LINENO: checking for $ac_word" >&5
24926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24927 if test "${ac_cv_path_JAVAC+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24929 else
24930 case $JAVAC in
24931 [\\/]* | ?:[\\/]*)
24932 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
24933 ;;
24934 *)
24935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24936 for as_dir in $PATH
24937 do
24938 IFS=$as_save_IFS
24939 test -z "$as_dir" && as_dir=.
24940 for ac_exec_ext in '' $ac_executable_extensions; do
24941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24942 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
24943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24944 break 2
24945 fi
24946 done
24947 done
24948
24949 ;;
24950 esac
24951 fi
24952 JAVAC=$ac_cv_path_JAVAC
24953
24954 if test -n "$JAVAC"; then
24955 echo "$as_me:$LINENO: result: $JAVAC" >&5
24956 echo "${ECHO_T}$JAVAC" >&6
24957 else
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 fi
24961
24962 fi
24963
24964 fi
24965 fi
24966 user_specified_javac=javac
24967
24968 else
24969
24970
24971 if test "x" != x; then
24972 if test -f ""; then
24973 JAVAC=""
24974 else
24975 # Extract the first word of """", so it can be a program name with args.
24976 set dummy ""; ac_word=$2
24977 echo "$as_me:$LINENO: checking for $ac_word" >&5
24978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24979 if test "${ac_cv_path_JAVAC+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24981 else
24982 case $JAVAC in
24983 [\\/]* | ?:[\\/]*)
24984 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
24985 ;;
24986 *)
24987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24988 for as_dir in $PATH
24989 do
24990 IFS=$as_save_IFS
24991 test -z "$as_dir" && as_dir=.
24992 for ac_exec_ext in '' $ac_executable_extensions; do
24993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24994 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
24995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24996 break 2
24997 fi
24998 done
24999 done
25000
25001 ;;
25002 esac
25003 fi
25004 JAVAC=$ac_cv_path_JAVAC
25005
25006 if test -n "$JAVAC"; then
25007 echo "$as_me:$LINENO: result: $JAVAC" >&5
25008 echo "${ECHO_T}$JAVAC" >&6
25009 else
25010 echo "$as_me:$LINENO: result: no" >&5
25011 echo "${ECHO_T}no" >&6
25012 fi
25013
25014 fi
25015 else
25016 # Extract the first word of ""javac"", so it can be a program name with args.
25017 set dummy "javac"; ac_word=$2
25018 echo "$as_me:$LINENO: checking for $ac_word" >&5
25019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25020 if test "${ac_cv_path_JAVAC+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25022 else
25023 case $JAVAC in
25024 [\\/]* | ?:[\\/]*)
25025 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
25026 ;;
25027 *)
25028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25029 for as_dir in $PATH
25030 do
25031 IFS=$as_save_IFS
25032 test -z "$as_dir" && as_dir=.
25033 for ac_exec_ext in '' $ac_executable_extensions; do
25034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25035 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
25036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25037 break 2
25038 fi
25039 done
25040 done
25041
25042 ;;
25043 esac
25044 fi
25045 JAVAC=$ac_cv_path_JAVAC
25046
25047 if test -n "$JAVAC"; then
25048 echo "$as_me:$LINENO: result: $JAVAC" >&5
25049 echo "${ECHO_T}$JAVAC" >&6
25050 else
25051 echo "$as_me:$LINENO: result: no" >&5
25052 echo "${ECHO_T}no" >&6
25053 fi
25054
25055 fi
25056
25057
25058 fi;
25059
25060
25061
25062 if test "x${user_specified_javac}" = x; then
25063
25064
25065 if test "x${GCJ}" != x; then
25066 FOUND_GCJ_TRUE=
25067 FOUND_GCJ_FALSE='#'
25068 else
25069 FOUND_GCJ_TRUE='#'
25070 FOUND_GCJ_FALSE=
25071 fi
25072
25073
25074
25075 if test "x${JIKES}" != x; then
25076 FOUND_JIKES_TRUE=
25077 FOUND_JIKES_FALSE='#'
25078 else
25079 FOUND_JIKES_TRUE='#'
25080 FOUND_JIKES_FALSE=
25081 fi
25082
25083
25084
25085 if test "x${ECJ}" != x; then
25086 FOUND_ECJ_TRUE=
25087 FOUND_ECJ_FALSE='#'
25088 else
25089 FOUND_ECJ_TRUE='#'
25090 FOUND_ECJ_FALSE=
25091 fi
25092
25093
25094
25095 if test "x${JAVAC}" != x; then
25096 FOUND_JAVAC_TRUE=
25097 FOUND_JAVAC_FALSE='#'
25098 else
25099 FOUND_JAVAC_TRUE='#'
25100 FOUND_JAVAC_FALSE=
25101 fi
25102
25103 else
25104
25105
25106 if test "x${user_specified_javac}" = xgcj; then
25107 FOUND_GCJ_TRUE=
25108 FOUND_GCJ_FALSE='#'
25109 else
25110 FOUND_GCJ_TRUE='#'
25111 FOUND_GCJ_FALSE=
25112 fi
25113
25114
25115
25116 if test "x${user_specified_javac}" = xjikes; then
25117 FOUND_JIKES_TRUE=
25118 FOUND_JIKES_FALSE='#'
25119 else
25120 FOUND_JIKES_TRUE='#'
25121 FOUND_JIKES_FALSE=
25122 fi
25123
25124
25125
25126 if test "x${user_specified_javac}" = xecj; then
25127 FOUND_ECJ_TRUE=
25128 FOUND_ECJ_FALSE='#'
25129 else
25130 FOUND_ECJ_TRUE='#'
25131 FOUND_ECJ_FALSE=
25132 fi
25133
25134
25135
25136 if test "x${user_specified_javac}" = xjavac; then
25137 FOUND_JAVAC_TRUE=
25138 FOUND_JAVAC_FALSE='#'
25139 else
25140 FOUND_JAVAC_TRUE='#'
25141 FOUND_JAVAC_FALSE=
25142 fi
25143
25144 fi
25145
25146
25147 if test "x${user_specified_javac}" = xkjc; then
25148 FOUND_KJC_TRUE=
25149 FOUND_KJC_FALSE='#'
25150 else
25151 FOUND_KJC_TRUE='#'
25152 FOUND_KJC_FALSE=
25153 fi
25154
25155
25156 if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj; then
25157 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5
25158 echo "$as_me: error: cannot find javac, try --with-ecj" >&2;}
25159 { (exit 1); exit 1; }; }
25160 fi
25161
25162
25163
25164
25165 # Check whether --with-classpath or --without-classpath was given.
25166 if test "${with_classpath+set}" = set; then
25167 withval="$with_classpath"
25168
25169 if test "x${withval}" = xyes; then
25170 # set user classpath to CLASSPATH from env
25171 echo "$as_me:$LINENO: checking for classlib" >&5
25172 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25173 USER_CLASSLIB=${CLASSPATH}
25174
25175 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
25176 echo "${ECHO_T}${USER_CLASSLIB}" >&6
25177 conditional_with_classlib=true
25178 elif test "x${withval}" != x && test "x${withval}" != xno; then
25179 # set user classpath to specified value
25180 echo "$as_me:$LINENO: checking for classlib" >&5
25181 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25182 USER_CLASSLIB=${withval}
25183
25184 echo "$as_me:$LINENO: result: ${withval}" >&5
25185 echo "${ECHO_T}${withval}" >&6
25186 conditional_with_classlib=true
25187 fi
25188
25189 else
25190 conditional_with_classlib=false
25191 fi;
25192
25193
25194 if test "x${conditional_with_classlib}" = xtrue; then
25195 USER_SPECIFIED_CLASSLIB_TRUE=
25196 USER_SPECIFIED_CLASSLIB_FALSE='#'
25197 else
25198 USER_SPECIFIED_CLASSLIB_TRUE='#'
25199 USER_SPECIFIED_CLASSLIB_FALSE=
25200 fi
25201
25202
25203
25204 # Check whether --with-vm-classes or --without-vm-classes was given.
25205 if test "${with_vm_classes+set}" = set; then
25206 withval="$with_vm_classes"
25207 vm_classes="$with_vm_classes"
25208 else
25209 vm_classes='${top_srcdir}/vm/reference'
25210 fi;
25211
25212
25213
25214 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25215 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25216 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25217 if test "${enable_maintainer_mode+set}" = set; then
25218 enableval="$enable_maintainer_mode"
25219 USE_MAINTAINER_MODE=$enableval
25220 else
25221 USE_MAINTAINER_MODE=no
25222 fi;
25223 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25224 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25225
25226
25227 if test $USE_MAINTAINER_MODE = yes; then
25228 MAINTAINER_MODE_TRUE=
25229 MAINTAINER_MODE_FALSE='#'
25230 else
25231 MAINTAINER_MODE_TRUE='#'
25232 MAINTAINER_MODE_FALSE=
25233 fi
25234
25235 MAINT=$MAINTAINER_MODE_TRUE
25236
25237
25238
25239 # Check whether --enable-debug or --disable-debug was given.
25240 if test "${enable_debug+set}" = set; then
25241 enableval="$enable_debug"
25242 case "${enableval}" in
25243 yes)
25244 LIBDEBUG="true"
25245
25246 cat >>confdefs.h <<\_ACEOF
25247 #define DEBUG 1
25248 _ACEOF
25249
25250 ;;
25251 no) LIBDEBUG="false" ;;
25252 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25253 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25254 { (exit 1); exit 1; }; } ;;
25255 esac
25256 else
25257 LIBDEBUG="false"
25258 fi;
25259
25260
25261 # Check whether --enable-load-library or --disable-load-library was given.
25262 if test "${enable_load_library+set}" = set; then
25263 enableval="$enable_load_library"
25264 case "${enableval}" in
25265 yes) INIT_LOAD_LIBRARY="true" ;;
25266 no) INIT_LOAD_LIBRARY="false" ;;
25267 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25268 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25269 { (exit 1); exit 1; }; } ;;
25270 esac
25271 else
25272 INIT_LOAD_LIBRARY="true"
25273 fi;
25274
25275
25276
25277
25278 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25279 if test "${with_ecj_jar+set}" = set; then
25280 withval="$with_ecj_jar"
25281 ECJ_JAR=$withval
25282 else
25283 if test -f $multi_basedir/ecj.jar; then
25284 ECJ_JAR='$(jardir)/ecj.jar'
25285 fi
25286 fi;
25287
25288
25289 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25290 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25291 enableval="$enable_java_lang_system_explicit_initialization"
25292 case "${enableval}" in
25293 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
25294 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
25295 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25296 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25297 { (exit 1); exit 1; }; } ;;
25298 esac
25299 else
25300 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
25301 fi;
25302
25303
25304
25305 REMOVE=""
25306
25307
25308 # Extract the first word of "mkdir", so it can be a program name with args.
25309 set dummy mkdir; ac_word=$2
25310 echo "$as_me:$LINENO: checking for $ac_word" >&5
25311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25312 if test "${ac_cv_path_MKDIR+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 case $MKDIR in
25316 [\\/]* | ?:[\\/]*)
25317 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
25318 ;;
25319 *)
25320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25321 for as_dir in $PATH
25322 do
25323 IFS=$as_save_IFS
25324 test -z "$as_dir" && as_dir=.
25325 for ac_exec_ext in '' $ac_executable_extensions; do
25326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25327 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
25328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25329 break 2
25330 fi
25331 done
25332 done
25333
25334 ;;
25335 esac
25336 fi
25337 MKDIR=$ac_cv_path_MKDIR
25338
25339 if test -n "$MKDIR"; then
25340 echo "$as_me:$LINENO: result: $MKDIR" >&5
25341 echo "${ECHO_T}$MKDIR" >&6
25342 else
25343 echo "$as_me:$LINENO: result: no" >&5
25344 echo "${ECHO_T}no" >&6
25345 fi
25346
25347 # Extract the first word of "cp", so it can be a program name with args.
25348 set dummy cp; ac_word=$2
25349 echo "$as_me:$LINENO: checking for $ac_word" >&5
25350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25351 if test "${ac_cv_path_CP+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25353 else
25354 case $CP in
25355 [\\/]* | ?:[\\/]*)
25356 ac_cv_path_CP="$CP" # Let the user override the test with a path.
25357 ;;
25358 *)
25359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25360 for as_dir in $PATH
25361 do
25362 IFS=$as_save_IFS
25363 test -z "$as_dir" && as_dir=.
25364 for ac_exec_ext in '' $ac_executable_extensions; do
25365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25366 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
25367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25368 break 2
25369 fi
25370 done
25371 done
25372
25373 ;;
25374 esac
25375 fi
25376 CP=$ac_cv_path_CP
25377
25378 if test -n "$CP"; then
25379 echo "$as_me:$LINENO: result: $CP" >&5
25380 echo "${ECHO_T}$CP" >&6
25381 else
25382 echo "$as_me:$LINENO: result: no" >&5
25383 echo "${ECHO_T}no" >&6
25384 fi
25385
25386 # Extract the first word of "date", so it can be a program name with args.
25387 set dummy date; ac_word=$2
25388 echo "$as_me:$LINENO: checking for $ac_word" >&5
25389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25390 if test "${ac_cv_path_DATE+set}" = set; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 else
25393 case $DATE in
25394 [\\/]* | ?:[\\/]*)
25395 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
25396 ;;
25397 *)
25398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25399 for as_dir in $PATH
25400 do
25401 IFS=$as_save_IFS
25402 test -z "$as_dir" && as_dir=.
25403 for ac_exec_ext in '' $ac_executable_extensions; do
25404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25405 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
25406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25407 break 2
25408 fi
25409 done
25410 done
25411
25412 ;;
25413 esac
25414 fi
25415 DATE=$ac_cv_path_DATE
25416
25417 if test -n "$DATE"; then
25418 echo "$as_me:$LINENO: result: $DATE" >&5
25419 echo "${ECHO_T}$DATE" >&6
25420 else
25421 echo "$as_me:$LINENO: result: no" >&5
25422 echo "${ECHO_T}no" >&6
25423 fi
25424
25425
25426 # Extract the first word of "find", so it can be a program name with args.
25427 set dummy find; ac_word=$2
25428 echo "$as_me:$LINENO: checking for $ac_word" >&5
25429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25430 if test "${ac_cv_path_FIND+set}" = set; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 else
25433 case $FIND in
25434 [\\/]* | ?:[\\/]*)
25435 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
25436 ;;
25437 *)
25438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25439 for as_dir in $PATH
25440 do
25441 IFS=$as_save_IFS
25442 test -z "$as_dir" && as_dir=.
25443 for ac_exec_ext in '' $ac_executable_extensions; do
25444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25445 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
25446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25447 break 2
25448 fi
25449 done
25450 done
25451
25452 ;;
25453 esac
25454 fi
25455 FIND=$ac_cv_path_FIND
25456
25457 if test -n "$FIND"; then
25458 echo "$as_me:$LINENO: result: $FIND" >&5
25459 echo "${ECHO_T}$FIND" >&6
25460 else
25461 echo "$as_me:$LINENO: result: no" >&5
25462 echo "${ECHO_T}no" >&6
25463 fi
25464
25465
25466
25467 # Extract the first word of "zip", so it can be a program name with args.
25468 set dummy zip; ac_word=$2
25469 echo "$as_me:$LINENO: checking for $ac_word" >&5
25470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25471 if test "${ac_cv_path_ZIP+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 else
25474 case $ZIP in
25475 [\\/]* | ?:[\\/]*)
25476 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
25477 ;;
25478 *)
25479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25480 for as_dir in $PATH
25481 do
25482 IFS=$as_save_IFS
25483 test -z "$as_dir" && as_dir=.
25484 for ac_exec_ext in '' $ac_executable_extensions; do
25485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25486 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
25487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25488 break 2
25489 fi
25490 done
25491 done
25492
25493 ;;
25494 esac
25495 fi
25496 ZIP=$ac_cv_path_ZIP
25497
25498 if test -n "$ZIP"; then
25499 echo "$as_me:$LINENO: result: $ZIP" >&5
25500 echo "${ECHO_T}$ZIP" >&6
25501 else
25502 echo "$as_me:$LINENO: result: no" >&5
25503 echo "${ECHO_T}no" >&6
25504 fi
25505
25506
25507 # Check whether --with-fastjar or --without-fastjar was given.
25508 if test "${with_fastjar+set}" = set; then
25509 withval="$with_fastjar"
25510
25511 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
25512 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
25513 FASTJAR=${withval}
25514 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
25515 echo "${ECHO_T}${FASTJAR}" >&6
25516
25517 else
25518 # Extract the first word of "fastjar", so it can be a program name with args.
25519 set dummy fastjar; ac_word=$2
25520 echo "$as_me:$LINENO: checking for $ac_word" >&5
25521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25522 if test "${ac_cv_path_FASTJAR+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525 case $FASTJAR in
25526 [\\/]* | ?:[\\/]*)
25527 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
25528 ;;
25529 *)
25530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25531 for as_dir in $PATH
25532 do
25533 IFS=$as_save_IFS
25534 test -z "$as_dir" && as_dir=.
25535 for ac_exec_ext in '' $ac_executable_extensions; do
25536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25537 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
25538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25539 break 2
25540 fi
25541 done
25542 done
25543
25544 ;;
25545 esac
25546 fi
25547 FASTJAR=$ac_cv_path_FASTJAR
25548
25549 if test -n "$FASTJAR"; then
25550 echo "$as_me:$LINENO: result: $FASTJAR" >&5
25551 echo "${ECHO_T}$FASTJAR" >&6
25552 else
25553 echo "$as_me:$LINENO: result: no" >&5
25554 echo "${ECHO_T}no" >&6
25555 fi
25556
25557 fi;
25558 if test x"${FASTJAR}" != x; then
25559 ZIP=""
25560 fi
25561
25562
25563 # Check whether --with-glibj or --without-glibj was given.
25564 if test "${with_glibj+set}" = set; then
25565 withval="$with_glibj"
25566
25567 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
25568 install_class_files=no
25569 build_class_files=yes
25570 use_zip=yes
25571 elif test "x${withval}" = xboth; then
25572 install_class_files=yes
25573 build_class_files=yes
25574 use_zip=yes
25575 elif test "x${withval}" = xflat; then
25576 install_class_files=yes
25577 build_class_files=yes
25578 use_zip=no
25579 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
25580 install_class_files=no
25581 build_class_files=no
25582 use_zip=no
25583 elif test "x${withval}" = xbuild; then
25584 install_class_files=no
25585 build_class_files=yes
25586 use_zip=no
25587 else
25588 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
25589 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
25590 { (exit 1); exit 1; }; }
25591 fi
25592
25593 else
25594
25595 install_class_files=no
25596 use_zip=yes
25597
25598 fi;
25599
25600
25601 if test "x${use_zip}" = xyes; then
25602 INSTALL_GLIBJ_ZIP_TRUE=
25603 INSTALL_GLIBJ_ZIP_FALSE='#'
25604 else
25605 INSTALL_GLIBJ_ZIP_TRUE='#'
25606 INSTALL_GLIBJ_ZIP_FALSE=
25607 fi
25608
25609
25610
25611 if test "x${install_class_files}" = xyes; then
25612 INSTALL_CLASS_FILES_TRUE=
25613 INSTALL_CLASS_FILES_FALSE='#'
25614 else
25615 INSTALL_CLASS_FILES_TRUE='#'
25616 INSTALL_CLASS_FILES_FALSE=
25617 fi
25618
25619
25620
25621 if test "x${build_class_files}" = xyes; then
25622 BUILD_CLASS_FILES_TRUE=
25623 BUILD_CLASS_FILES_FALSE='#'
25624 else
25625 BUILD_CLASS_FILES_TRUE='#'
25626 BUILD_CLASS_FILES_FALSE=
25627 fi
25628
25629
25630 # Check whether --enable-examples or --disable-examples was given.
25631 if test "${enable_examples+set}" = set; then
25632 enableval="$enable_examples"
25633 case "${enableval}" in
25634 yes) EXAMPLESDIR="examples" ;;
25635 no) EXAMPLESDIR="" ;;
25636 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
25637 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
25638 { (exit 1); exit 1; }; } ;;
25639 esac
25640 else
25641 EXAMPLESDIR="examples"
25642 fi;
25643 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
25644 EXAMPLESDIR=""
25645 fi
25646
25647
25648
25649
25650
25651 # Check whether --with-gjdoc or --without-gjdoc was given.
25652 if test "${with_gjdoc+set}" = set; then
25653 withval="$with_gjdoc"
25654 if test "x${withval}" = xno; then
25655 WITH_GJDOC=no;
25656 elif test "x${withval}" = xyes -o "x{withval}" = x; then
25657 WITH_GJDOC=yes;
25658 # Extract the first word of "gjdoc", so it can be a program name with args.
25659 set dummy gjdoc; ac_word=$2
25660 echo "$as_me:$LINENO: checking for $ac_word" >&5
25661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25662 if test "${ac_cv_path_GJDOC+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 else
25665 case $GJDOC in
25666 [\\/]* | ?:[\\/]*)
25667 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
25668 ;;
25669 *)
25670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25671 for as_dir in $PATH
25672 do
25673 IFS=$as_save_IFS
25674 test -z "$as_dir" && as_dir=.
25675 for ac_exec_ext in '' $ac_executable_extensions; do
25676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25677 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
25678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25679 break 2
25680 fi
25681 done
25682 done
25683
25684 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
25685 ;;
25686 esac
25687 fi
25688 GJDOC=$ac_cv_path_GJDOC
25689
25690 if test -n "$GJDOC"; then
25691 echo "$as_me:$LINENO: result: $GJDOC" >&5
25692 echo "${ECHO_T}$GJDOC" >&6
25693 else
25694 echo "$as_me:$LINENO: result: no" >&5
25695 echo "${ECHO_T}no" >&6
25696 fi
25697
25698 if test "x${GJDOC}" = xno; then
25699 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
25700 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
25701 { (exit 1); exit 1; }; };
25702 fi
25703 else
25704 WITH_GJDOC=yes
25705 GJDOC="${withval}"
25706 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
25707 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
25708 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
25709 if eval "test \"\${$as_ac_File+set}\" = set"; then
25710 echo $ECHO_N "(cached) $ECHO_C" >&6
25711 else
25712 test "$cross_compiling" = yes &&
25713 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25714 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25715 { (exit 1); exit 1; }; }
25716 if test -r "${GJDOC}"; then
25717 eval "$as_ac_File=yes"
25718 else
25719 eval "$as_ac_File=no"
25720 fi
25721 fi
25722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25723 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25724 if test `eval echo '${'$as_ac_File'}'` = yes; then
25725 :
25726 else
25727 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
25728 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
25729 { (exit 1); exit 1; }; }
25730 fi
25731
25732 fi
25733 else
25734 WITH_GJDOC=no
25735 fi;
25736
25737
25738
25739 if test "x${WITH_GJDOC}" = xyes; then
25740 CREATE_API_DOCS_TRUE=
25741 CREATE_API_DOCS_FALSE='#'
25742 else
25743 CREATE_API_DOCS_TRUE='#'
25744 CREATE_API_DOCS_FALSE=
25745 fi
25746
25747
25748
25749
25750
25751 # Check whether --with-jay or --without-jay was given.
25752 if test "${with_jay+set}" = set; then
25753 withval="$with_jay"
25754
25755 if test -d "${withval}"; then
25756 JAY_DIR_PATH="${withval}"
25757 # Extract the first word of "jay", so it can be a program name with args.
25758 set dummy jay; ac_word=$2
25759 echo "$as_me:$LINENO: checking for $ac_word" >&5
25760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25761 if test "${ac_cv_path_JAY+set}" = set; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 else
25764 case $JAY in
25765 [\\/]* | ?:[\\/]*)
25766 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
25767 ;;
25768 *)
25769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25770 for as_dir in ${JAY_DIR_PATH}
25771 do
25772 IFS=$as_save_IFS
25773 test -z "$as_dir" && as_dir=.
25774 for ac_exec_ext in '' $ac_executable_extensions; do
25775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25776 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
25777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25778 break 2
25779 fi
25780 done
25781 done
25782
25783 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
25784 ;;
25785 esac
25786 fi
25787 JAY=$ac_cv_path_JAY
25788
25789 if test -n "$JAY"; then
25790 echo "$as_me:$LINENO: result: $JAY" >&5
25791 echo "${ECHO_T}$JAY" >&6
25792 else
25793 echo "$as_me:$LINENO: result: no" >&5
25794 echo "${ECHO_T}no" >&6
25795 fi
25796
25797 if test "x${JAY}" = xno; then
25798 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
25799 echo "$as_me: error: \"jay executable not found\"" >&2;}
25800 { (exit 1); exit 1; }; };
25801 fi
25802 else
25803 JAY_DIR_PATH=`dirname "${withval}"`
25804 JAY="${withval}"
25805
25806 fi
25807 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
25808 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
25809 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
25810 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
25811 if eval "test \"\${$as_ac_File+set}\" = set"; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814 test "$cross_compiling" = yes &&
25815 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
25816 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
25817 { (exit 1); exit 1; }; }
25818 if test -r "${JAY_SKELETON}"; then
25819 eval "$as_ac_File=yes"
25820 else
25821 eval "$as_ac_File=no"
25822 fi
25823 fi
25824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
25825 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
25826 if test `eval echo '${'$as_ac_File'}'` = yes; then
25827 :
25828 else
25829 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
25830 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
25831 { (exit 1); exit 1; }; }
25832 fi
25833
25834 JAY_FOUND=yes
25835
25836 else
25837
25838 JAY_FOUND=no
25839
25840 fi;
25841
25842
25843 if test "x${JAY_FOUND}" = xyes; then
25844 REGEN_PARSERS_TRUE=
25845 REGEN_PARSERS_FALSE='#'
25846 else
25847 REGEN_PARSERS_TRUE='#'
25848 REGEN_PARSERS_FALSE=
25849 fi
25850
25851
25852
25853 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
25854 if test "${enable_portable_native_sync+set}" = set; then
25855 enableval="$enable_portable_native_sync"
25856 case "${enableval}" in
25857 yes)
25858
25859 cat >>confdefs.h <<\_ACEOF
25860 #define PORTABLE_NATIVE_SYNC 1
25861 _ACEOF
25862
25863 ;;
25864 no) ;;
25865 *)
25866 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
25867 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
25868 { (exit 1); exit 1; }; }
25869 ;;
25870 esac
25871 fi;
25872
25873 # ------ AX CREATE STDINT H -------------------------------------
25874 echo "$as_me:$LINENO: checking for stdint types" >&5
25875 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
25876 ac_stdint_h=`echo include/config-int.h`
25877 # try to shortcircuit - if the default include path of the compiler
25878 # can find a "stdint.h" header then we assume that all compilers can.
25879 if test "${ac_cv_header_stdint_t+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25881 else
25882
25883 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
25884 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
25885 old_CFLAGS="$CFLAGS" ; CFLAGS=""
25886 cat >conftest.$ac_ext <<_ACEOF
25887 /* confdefs.h. */
25888 _ACEOF
25889 cat confdefs.h >>conftest.$ac_ext
25890 cat >>conftest.$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 #include <stdint.h>
25893 int
25894 main ()
25895 {
25896 int_least32_t v = 0;
25897 ;
25898 return 0;
25899 }
25900 _ACEOF
25901 rm -f conftest.$ac_objext
25902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25903 (eval $ac_compile) 2>conftest.er1
25904 ac_status=$?
25905 grep -v '^ *+' conftest.er1 >conftest.err
25906 rm -f conftest.er1
25907 cat conftest.err >&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } &&
25910 { ac_try='test -z "$ac_c_werror_flag"
25911 || test ! -s conftest.err'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25914 ac_status=$?
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; } &&
25917 { ac_try='test -s conftest.$ac_objext'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25920 ac_status=$?
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; }; then
25923 ac_cv_stdint_result="(assuming C99 compatible system)"
25924 ac_cv_header_stdint_t="stdint.h";
25925 else
25926 echo "$as_me: failed program was:" >&5
25927 sed 's/^/| /' conftest.$ac_ext >&5
25928
25929 ac_cv_header_stdint_t=""
25930 fi
25931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25932 CXXFLAGS="$old_CXXFLAGS"
25933 CPPFLAGS="$old_CPPFLAGS"
25934 CFLAGS="$old_CFLAGS"
25935 fi
25936
25937
25938 v="... $ac_cv_header_stdint_h"
25939 if test "$ac_stdint_h" = "stdint.h" ; then
25940 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
25941 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
25942 elif test "$ac_stdint_h" = "inttypes.h" ; then
25943 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
25944 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
25945 elif test "_$ac_cv_header_stdint_t" = "_" ; then
25946 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
25947 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
25948 else
25949 ac_cv_header_stdint="$ac_cv_header_stdint_t"
25950 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
25951 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
25952 fi
25953
25954 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
25955
25956
25957 inttype_headers=`echo | sed -e 's/,/ /g'`
25958
25959 ac_cv_stdint_result="(no helpful system typedefs seen)"
25960
25961 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
25962 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
25963 if test "${ac_cv_header_stdint_x+set}" = set; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 else
25966
25967 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
25968 echo "$as_me:$LINENO: result: (..)" >&5
25969 echo "${ECHO_T}(..)" >&6
25970 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
25971 unset ac_cv_type_uintptr_t
25972 unset ac_cv_type_uint64_t
25973 echo "$as_me:$LINENO: checking for uintptr_t" >&5
25974 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
25975 if test "${ac_cv_type_uintptr_t+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25977 else
25978 cat >conftest.$ac_ext <<_ACEOF
25979 /* confdefs.h. */
25980 _ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984 #include <$i>
25985
25986 int
25987 main ()
25988 {
25989 if ((uintptr_t *) 0)
25990 return 0;
25991 if (sizeof (uintptr_t))
25992 return 0;
25993 ;
25994 return 0;
25995 }
25996 _ACEOF
25997 rm -f conftest.$ac_objext
25998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25999 (eval $ac_compile) 2>conftest.er1
26000 ac_status=$?
26001 grep -v '^ *+' conftest.er1 >conftest.err
26002 rm -f conftest.er1
26003 cat conftest.err >&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try='test -z "$ac_c_werror_flag"
26007 || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 ac_cv_type_uintptr_t=yes
26020 else
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26023
26024 ac_cv_type_uintptr_t=no
26025 fi
26026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26027 fi
26028 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26029 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26030 if test $ac_cv_type_uintptr_t = yes; then
26031 ac_cv_header_stdint_x=$i
26032 else
26033 continue
26034 fi
26035
26036 echo "$as_me:$LINENO: checking for uint64_t" >&5
26037 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26038 if test "${ac_cv_type_uint64_t+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26040 else
26041 cat >conftest.$ac_ext <<_ACEOF
26042 /* confdefs.h. */
26043 _ACEOF
26044 cat confdefs.h >>conftest.$ac_ext
26045 cat >>conftest.$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26047 #include<$i>
26048
26049 int
26050 main ()
26051 {
26052 if ((uint64_t *) 0)
26053 return 0;
26054 if (sizeof (uint64_t))
26055 return 0;
26056 ;
26057 return 0;
26058 }
26059 _ACEOF
26060 rm -f conftest.$ac_objext
26061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26062 (eval $ac_compile) 2>conftest.er1
26063 ac_status=$?
26064 grep -v '^ *+' conftest.er1 >conftest.err
26065 rm -f conftest.er1
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } &&
26069 { ac_try='test -z "$ac_c_werror_flag"
26070 || test ! -s conftest.err'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26073 ac_status=$?
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; } &&
26076 { ac_try='test -s conftest.$ac_objext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_type_uint64_t=yes
26083 else
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.$ac_ext >&5
26086
26087 ac_cv_type_uint64_t=no
26088 fi
26089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26090 fi
26091 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26092 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26093 if test $ac_cv_type_uint64_t = yes; then
26094 and64="/uint64_t"
26095 else
26096 and64=""
26097 fi
26098
26099 stdint.h inttypes.h sys/inttypes.h $inttype_headers
26100 break
26101 done
26102 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26103 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26104
26105 fi
26106 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26107 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26108
26109
26110 if test "_$ac_cv_header_stdint_x" = "_" ; then
26111
26112 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26113 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26114 if test "${ac_cv_header_stdint_o+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 else
26117
26118 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
26119 echo "$as_me:$LINENO: result: (..)" >&5
26120 echo "${ECHO_T}(..)" >&6
26121 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
26122 unset ac_cv_type_uint32_t
26123 unset ac_cv_type_uint64_t
26124 echo "$as_me:$LINENO: checking for uint32_t" >&5
26125 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26126 if test "${ac_cv_type_uint32_t+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26128 else
26129 cat >conftest.$ac_ext <<_ACEOF
26130 /* confdefs.h. */
26131 _ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26135 #include <$i>
26136
26137 int
26138 main ()
26139 {
26140 if ((uint32_t *) 0)
26141 return 0;
26142 if (sizeof (uint32_t))
26143 return 0;
26144 ;
26145 return 0;
26146 }
26147 _ACEOF
26148 rm -f conftest.$ac_objext
26149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26150 (eval $ac_compile) 2>conftest.er1
26151 ac_status=$?
26152 grep -v '^ *+' conftest.er1 >conftest.err
26153 rm -f conftest.er1
26154 cat conftest.err >&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } &&
26157 { ac_try='test -z "$ac_c_werror_flag"
26158 || test ! -s conftest.err'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; } &&
26164 { ac_try='test -s conftest.$ac_objext'
26165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166 (eval $ac_try) 2>&5
26167 ac_status=$?
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; }; then
26170 ac_cv_type_uint32_t=yes
26171 else
26172 echo "$as_me: failed program was:" >&5
26173 sed 's/^/| /' conftest.$ac_ext >&5
26174
26175 ac_cv_type_uint32_t=no
26176 fi
26177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26178 fi
26179 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26180 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26181 if test $ac_cv_type_uint32_t = yes; then
26182 ac_cv_header_stdint_o=$i
26183 else
26184 continue
26185 fi
26186
26187 echo "$as_me:$LINENO: checking for uint64_t" >&5
26188 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26189 if test "${ac_cv_type_uint64_t+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 #include<$i>
26199
26200 int
26201 main ()
26202 {
26203 if ((uint64_t *) 0)
26204 return 0;
26205 if (sizeof (uint64_t))
26206 return 0;
26207 ;
26208 return 0;
26209 }
26210 _ACEOF
26211 rm -f conftest.$ac_objext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26213 (eval $ac_compile) 2>conftest.er1
26214 ac_status=$?
26215 grep -v '^ *+' conftest.er1 >conftest.err
26216 rm -f conftest.er1
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try='test -z "$ac_c_werror_flag"
26221 || test ! -s conftest.err'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26224 ac_status=$?
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; } &&
26227 { ac_try='test -s conftest.$ac_objext'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26230 ac_status=$?
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; }; then
26233 ac_cv_type_uint64_t=yes
26234 else
26235 echo "$as_me: failed program was:" >&5
26236 sed 's/^/| /' conftest.$ac_ext >&5
26237
26238 ac_cv_type_uint64_t=no
26239 fi
26240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26241 fi
26242 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26243 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26244 if test $ac_cv_type_uint64_t = yes; then
26245 and64="/uint64_t"
26246 else
26247 and64=""
26248 fi
26249
26250 inttypes.h sys/inttypes.h stdint.h $inttype_headers
26251 break
26252 break;
26253 done
26254 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26255 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26256
26257 fi
26258 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26259 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26260
26261 fi
26262
26263 if test "_$ac_cv_header_stdint_x" = "_" ; then
26264 if test "_$ac_cv_header_stdint_o" = "_" ; then
26265
26266 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26267 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26268 if test "${ac_cv_header_stdint_u+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 else
26271
26272 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
26273 echo "$as_me:$LINENO: result: (..)" >&5
26274 echo "${ECHO_T}(..)" >&6
26275 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
26276 unset ac_cv_type_u_int32_t
26277 unset ac_cv_type_u_int64_t
26278 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26279 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26280 if test "${ac_cv_type_u_int32_t+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 else
26283 cat >conftest.$ac_ext <<_ACEOF
26284 /* confdefs.h. */
26285 _ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289 #include <$i>
26290
26291 int
26292 main ()
26293 {
26294 if ((u_int32_t *) 0)
26295 return 0;
26296 if (sizeof (u_int32_t))
26297 return 0;
26298 ;
26299 return 0;
26300 }
26301 _ACEOF
26302 rm -f conftest.$ac_objext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26304 (eval $ac_compile) 2>conftest.er1
26305 ac_status=$?
26306 grep -v '^ *+' conftest.er1 >conftest.err
26307 rm -f conftest.er1
26308 cat conftest.err >&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try='test -z "$ac_c_werror_flag"
26312 || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26315 ac_status=$?
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try='test -s conftest.$ac_objext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26321 ac_status=$?
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324 ac_cv_type_u_int32_t=yes
26325 else
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.$ac_ext >&5
26328
26329 ac_cv_type_u_int32_t=no
26330 fi
26331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26332 fi
26333 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26334 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26335 if test $ac_cv_type_u_int32_t = yes; then
26336 ac_cv_header_stdint_u=$i
26337 else
26338 continue
26339 fi
26340
26341 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26342 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26343 if test "${ac_cv_type_u_int64_t+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 else
26346 cat >conftest.$ac_ext <<_ACEOF
26347 /* confdefs.h. */
26348 _ACEOF
26349 cat confdefs.h >>conftest.$ac_ext
26350 cat >>conftest.$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26352 #include<$i>
26353
26354 int
26355 main ()
26356 {
26357 if ((u_int64_t *) 0)
26358 return 0;
26359 if (sizeof (u_int64_t))
26360 return 0;
26361 ;
26362 return 0;
26363 }
26364 _ACEOF
26365 rm -f conftest.$ac_objext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26367 (eval $ac_compile) 2>conftest.er1
26368 ac_status=$?
26369 grep -v '^ *+' conftest.er1 >conftest.err
26370 rm -f conftest.er1
26371 cat conftest.err >&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } &&
26374 { ac_try='test -z "$ac_c_werror_flag"
26375 || test ! -s conftest.err'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26378 ac_status=$?
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; } &&
26381 { ac_try='test -s conftest.$ac_objext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26384 ac_status=$?
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26387 ac_cv_type_u_int64_t=yes
26388 else
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.$ac_ext >&5
26391
26392 ac_cv_type_u_int64_t=no
26393 fi
26394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26395 fi
26396 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26397 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26398 if test $ac_cv_type_u_int64_t = yes; then
26399 and64="/u_int64_t"
26400 else
26401 and64=""
26402 fi
26403
26404 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
26405 break
26406 break;
26407 done
26408 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26409 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26410
26411 fi
26412 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26413 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26414
26415 fi fi
26416
26417 if test "_$ac_cv_header_stdint_x" = "_" ; then
26418 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26419 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26420 echo "$as_me:$LINENO: result: (..)" >&5
26421 echo "${ECHO_T}(..)" >&6
26422
26423 echo "$as_me:$LINENO: checking for char" >&5
26424 echo $ECHO_N "checking for char... $ECHO_C" >&6
26425 if test "${ac_cv_type_char+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26427 else
26428 cat >conftest.$ac_ext <<_ACEOF
26429 /* confdefs.h. */
26430 _ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26434 $ac_includes_default
26435 int
26436 main ()
26437 {
26438 if ((char *) 0)
26439 return 0;
26440 if (sizeof (char))
26441 return 0;
26442 ;
26443 return 0;
26444 }
26445 _ACEOF
26446 rm -f conftest.$ac_objext
26447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26448 (eval $ac_compile) 2>conftest.er1
26449 ac_status=$?
26450 grep -v '^ *+' conftest.er1 >conftest.err
26451 rm -f conftest.er1
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try='test -z "$ac_c_werror_flag"
26456 || test ! -s conftest.err'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try='test -s conftest.$ac_objext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26465 ac_status=$?
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 ac_cv_type_char=yes
26469 else
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473 ac_cv_type_char=no
26474 fi
26475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26476 fi
26477 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26478 echo "${ECHO_T}$ac_cv_type_char" >&6
26479
26480 echo "$as_me:$LINENO: checking size of char" >&5
26481 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26482 if test "${ac_cv_sizeof_char+set}" = set; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 else
26485 if test "$ac_cv_type_char" = yes; then
26486 # The cast to unsigned long works around a bug in the HP C Compiler
26487 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26488 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26489 # This bug is HP SR number 8606223364.
26490 if test "$cross_compiling" = yes; then
26491 # Depending upon the size, compute the lo and hi bounds.
26492 cat >conftest.$ac_ext <<_ACEOF
26493 /* confdefs.h. */
26494 _ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26498 $ac_includes_default
26499 int
26500 main ()
26501 {
26502 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
26503 test_array [0] = 0
26504
26505 ;
26506 return 0;
26507 }
26508 _ACEOF
26509 rm -f conftest.$ac_objext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26511 (eval $ac_compile) 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_c_werror_flag"
26519 || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest.$ac_objext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 ac_lo=0 ac_mid=0
26532 while :; do
26533 cat >conftest.$ac_ext <<_ACEOF
26534 /* confdefs.h. */
26535 _ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26539 $ac_includes_default
26540 int
26541 main ()
26542 {
26543 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26544 test_array [0] = 0
26545
26546 ;
26547 return 0;
26548 }
26549 _ACEOF
26550 rm -f conftest.$ac_objext
26551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26552 (eval $ac_compile) 2>conftest.er1
26553 ac_status=$?
26554 grep -v '^ *+' conftest.er1 >conftest.err
26555 rm -f conftest.er1
26556 cat conftest.err >&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } &&
26559 { ac_try='test -z "$ac_c_werror_flag"
26560 || test ! -s conftest.err'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26563 ac_status=$?
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; } &&
26566 { ac_try='test -s conftest.$ac_objext'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26569 ac_status=$?
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; }; then
26572 ac_hi=$ac_mid; break
26573 else
26574 echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.$ac_ext >&5
26576
26577 ac_lo=`expr $ac_mid + 1`
26578 if test $ac_lo -le $ac_mid; then
26579 ac_lo= ac_hi=
26580 break
26581 fi
26582 ac_mid=`expr 2 '*' $ac_mid + 1`
26583 fi
26584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26585 done
26586 else
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26589
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596 $ac_includes_default
26597 int
26598 main ()
26599 {
26600 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
26601 test_array [0] = 0
26602
26603 ;
26604 return 0;
26605 }
26606 _ACEOF
26607 rm -f conftest.$ac_objext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26609 (eval $ac_compile) 2>conftest.er1
26610 ac_status=$?
26611 grep -v '^ *+' conftest.er1 >conftest.err
26612 rm -f conftest.er1
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try='test -z "$ac_c_werror_flag"
26617 || test ! -s conftest.err'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26620 ac_status=$?
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; } &&
26623 { ac_try='test -s conftest.$ac_objext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26626 ac_status=$?
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26629 ac_hi=-1 ac_mid=-1
26630 while :; do
26631 cat >conftest.$ac_ext <<_ACEOF
26632 /* confdefs.h. */
26633 _ACEOF
26634 cat confdefs.h >>conftest.$ac_ext
26635 cat >>conftest.$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26637 $ac_includes_default
26638 int
26639 main ()
26640 {
26641 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
26642 test_array [0] = 0
26643
26644 ;
26645 return 0;
26646 }
26647 _ACEOF
26648 rm -f conftest.$ac_objext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26650 (eval $ac_compile) 2>conftest.er1
26651 ac_status=$?
26652 grep -v '^ *+' conftest.er1 >conftest.err
26653 rm -f conftest.er1
26654 cat conftest.err >&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -z "$ac_c_werror_flag"
26658 || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try='test -s conftest.$ac_objext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_lo=$ac_mid; break
26671 else
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 ac_hi=`expr '(' $ac_mid ')' - 1`
26676 if test $ac_mid -le $ac_hi; then
26677 ac_lo= ac_hi=
26678 break
26679 fi
26680 ac_mid=`expr 2 '*' $ac_mid`
26681 fi
26682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26683 done
26684 else
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26687
26688 ac_lo= ac_hi=
26689 fi
26690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26691 fi
26692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26693 # Binary search between lo and hi bounds.
26694 while test "x$ac_lo" != "x$ac_hi"; do
26695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26696 cat >conftest.$ac_ext <<_ACEOF
26697 /* confdefs.h. */
26698 _ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 $ac_includes_default
26703 int
26704 main ()
26705 {
26706 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
26707 test_array [0] = 0
26708
26709 ;
26710 return 0;
26711 }
26712 _ACEOF
26713 rm -f conftest.$ac_objext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26715 (eval $ac_compile) 2>conftest.er1
26716 ac_status=$?
26717 grep -v '^ *+' conftest.er1 >conftest.err
26718 rm -f conftest.er1
26719 cat conftest.err >&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try='test -z "$ac_c_werror_flag"
26723 || test ! -s conftest.err'
26724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26725 (eval $ac_try) 2>&5
26726 ac_status=$?
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); }; } &&
26729 { ac_try='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 ac_hi=$ac_mid
26736 else
26737 echo "$as_me: failed program was:" >&5
26738 sed 's/^/| /' conftest.$ac_ext >&5
26739
26740 ac_lo=`expr '(' $ac_mid ')' + 1`
26741 fi
26742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26743 done
26744 case $ac_lo in
26745 ?*) ac_cv_sizeof_char=$ac_lo;;
26746 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26747 See \`config.log' for more details." >&5
26748 echo "$as_me: error: cannot compute sizeof (char), 77
26749 See \`config.log' for more details." >&2;}
26750 { (exit 1); exit 1; }; } ;;
26751 esac
26752 else
26753 if test "$cross_compiling" = yes; then
26754 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26755 See \`config.log' for more details." >&5
26756 echo "$as_me: error: cannot run test program while cross compiling
26757 See \`config.log' for more details." >&2;}
26758 { (exit 1); exit 1; }; }
26759 else
26760 cat >conftest.$ac_ext <<_ACEOF
26761 /* confdefs.h. */
26762 _ACEOF
26763 cat confdefs.h >>conftest.$ac_ext
26764 cat >>conftest.$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766 $ac_includes_default
26767 long longval () { return (long) (sizeof (char)); }
26768 unsigned long ulongval () { return (long) (sizeof (char)); }
26769 #include <stdio.h>
26770 #include <stdlib.h>
26771 int
26772 main ()
26773 {
26774
26775 FILE *f = fopen ("conftest.val", "w");
26776 if (! f)
26777 exit (1);
26778 if (((long) (sizeof (char))) < 0)
26779 {
26780 long i = longval ();
26781 if (i != ((long) (sizeof (char))))
26782 exit (1);
26783 fprintf (f, "%ld\n", i);
26784 }
26785 else
26786 {
26787 unsigned long i = ulongval ();
26788 if (i != ((long) (sizeof (char))))
26789 exit (1);
26790 fprintf (f, "%lu\n", i);
26791 }
26792 exit (ferror (f) || fclose (f) != 0);
26793
26794 ;
26795 return 0;
26796 }
26797 _ACEOF
26798 rm -f conftest$ac_exeext
26799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26800 (eval $ac_link) 2>&5
26801 ac_status=$?
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_cv_sizeof_char=`cat conftest.val`
26810 else
26811 echo "$as_me: program exited with status $ac_status" >&5
26812 echo "$as_me: failed program was:" >&5
26813 sed 's/^/| /' conftest.$ac_ext >&5
26814
26815 ( exit $ac_status )
26816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
26817 See \`config.log' for more details." >&5
26818 echo "$as_me: error: cannot compute sizeof (char), 77
26819 See \`config.log' for more details." >&2;}
26820 { (exit 1); exit 1; }; }
26821 fi
26822 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26823 fi
26824 fi
26825 rm -f conftest.val
26826 else
26827 ac_cv_sizeof_char=0
26828 fi
26829 fi
26830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
26831 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
26832 cat >>confdefs.h <<_ACEOF
26833 #define SIZEOF_CHAR $ac_cv_sizeof_char
26834 _ACEOF
26835
26836
26837 echo "$as_me:$LINENO: checking for short" >&5
26838 echo $ECHO_N "checking for short... $ECHO_C" >&6
26839 if test "${ac_cv_type_short+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 else
26842 cat >conftest.$ac_ext <<_ACEOF
26843 /* confdefs.h. */
26844 _ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 $ac_includes_default
26849 int
26850 main ()
26851 {
26852 if ((short *) 0)
26853 return 0;
26854 if (sizeof (short))
26855 return 0;
26856 ;
26857 return 0;
26858 }
26859 _ACEOF
26860 rm -f conftest.$ac_objext
26861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26862 (eval $ac_compile) 2>conftest.er1
26863 ac_status=$?
26864 grep -v '^ *+' conftest.er1 >conftest.err
26865 rm -f conftest.er1
26866 cat conftest.err >&5
26867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868 (exit $ac_status); } &&
26869 { ac_try='test -z "$ac_c_werror_flag"
26870 || test ! -s conftest.err'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26873 ac_status=$?
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; } &&
26876 { ac_try='test -s conftest.$ac_objext'
26877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878 (eval $ac_try) 2>&5
26879 ac_status=$?
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); }; }; then
26882 ac_cv_type_short=yes
26883 else
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26886
26887 ac_cv_type_short=no
26888 fi
26889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26890 fi
26891 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26892 echo "${ECHO_T}$ac_cv_type_short" >&6
26893
26894 echo "$as_me:$LINENO: checking size of short" >&5
26895 echo $ECHO_N "checking size of short... $ECHO_C" >&6
26896 if test "${ac_cv_sizeof_short+set}" = set; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 else
26899 if test "$ac_cv_type_short" = yes; then
26900 # The cast to unsigned long works around a bug in the HP C Compiler
26901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26903 # This bug is HP SR number 8606223364.
26904 if test "$cross_compiling" = yes; then
26905 # Depending upon the size, compute the lo and hi bounds.
26906 cat >conftest.$ac_ext <<_ACEOF
26907 /* confdefs.h. */
26908 _ACEOF
26909 cat confdefs.h >>conftest.$ac_ext
26910 cat >>conftest.$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26912 $ac_includes_default
26913 int
26914 main ()
26915 {
26916 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
26917 test_array [0] = 0
26918
26919 ;
26920 return 0;
26921 }
26922 _ACEOF
26923 rm -f conftest.$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26926 ac_status=$?
26927 grep -v '^ *+' conftest.er1 >conftest.err
26928 rm -f conftest.er1
26929 cat conftest.err >&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try='test -z "$ac_c_werror_flag"
26933 || test ! -s conftest.err'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26936 ac_status=$?
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; } &&
26939 { ac_try='test -s conftest.$ac_objext'
26940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941 (eval $ac_try) 2>&5
26942 ac_status=$?
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); }; }; then
26945 ac_lo=0 ac_mid=0
26946 while :; do
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h. */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26953 $ac_includes_default
26954 int
26955 main ()
26956 {
26957 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
26958 test_array [0] = 0
26959
26960 ;
26961 return 0;
26962 }
26963 _ACEOF
26964 rm -f conftest.$ac_objext
26965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26967 ac_status=$?
26968 grep -v '^ *+' conftest.er1 >conftest.err
26969 rm -f conftest.er1
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try='test -z "$ac_c_werror_flag"
26974 || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_hi=$ac_mid; break
26987 else
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.$ac_ext >&5
26990
26991 ac_lo=`expr $ac_mid + 1`
26992 if test $ac_lo -le $ac_mid; then
26993 ac_lo= ac_hi=
26994 break
26995 fi
26996 ac_mid=`expr 2 '*' $ac_mid + 1`
26997 fi
26998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26999 done
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 cat >conftest.$ac_ext <<_ACEOF
27005 /* confdefs.h. */
27006 _ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 $ac_includes_default
27011 int
27012 main ()
27013 {
27014 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27015 test_array [0] = 0
27016
27017 ;
27018 return 0;
27019 }
27020 _ACEOF
27021 rm -f conftest.$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023 (eval $ac_compile) 2>conftest.er1
27024 ac_status=$?
27025 grep -v '^ *+' conftest.er1 >conftest.err
27026 rm -f conftest.er1
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } &&
27030 { ac_try='test -z "$ac_c_werror_flag"
27031 || test ! -s conftest.err'
27032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033 (eval $ac_try) 2>&5
27034 ac_status=$?
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; } &&
27037 { ac_try='test -s conftest.$ac_objext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27040 ac_status=$?
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27043 ac_hi=-1 ac_mid=-1
27044 while :; do
27045 cat >conftest.$ac_ext <<_ACEOF
27046 /* confdefs.h. */
27047 _ACEOF
27048 cat confdefs.h >>conftest.$ac_ext
27049 cat >>conftest.$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 $ac_includes_default
27052 int
27053 main ()
27054 {
27055 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27056 test_array [0] = 0
27057
27058 ;
27059 return 0;
27060 }
27061 _ACEOF
27062 rm -f conftest.$ac_objext
27063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27064 (eval $ac_compile) 2>conftest.er1
27065 ac_status=$?
27066 grep -v '^ *+' conftest.er1 >conftest.err
27067 rm -f conftest.er1
27068 cat conftest.err >&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } &&
27071 { ac_try='test -z "$ac_c_werror_flag"
27072 || test ! -s conftest.err'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27075 ac_status=$?
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; } &&
27078 { ac_try='test -s conftest.$ac_objext'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27081 ac_status=$?
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; }; then
27084 ac_lo=$ac_mid; break
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 ac_hi=`expr '(' $ac_mid ')' - 1`
27090 if test $ac_mid -le $ac_hi; then
27091 ac_lo= ac_hi=
27092 break
27093 fi
27094 ac_mid=`expr 2 '*' $ac_mid`
27095 fi
27096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27097 done
27098 else
27099 echo "$as_me: failed program was:" >&5
27100 sed 's/^/| /' conftest.$ac_ext >&5
27101
27102 ac_lo= ac_hi=
27103 fi
27104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27105 fi
27106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27107 # Binary search between lo and hi bounds.
27108 while test "x$ac_lo" != "x$ac_hi"; do
27109 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27110 cat >conftest.$ac_ext <<_ACEOF
27111 /* confdefs.h. */
27112 _ACEOF
27113 cat confdefs.h >>conftest.$ac_ext
27114 cat >>conftest.$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27116 $ac_includes_default
27117 int
27118 main ()
27119 {
27120 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27121 test_array [0] = 0
27122
27123 ;
27124 return 0;
27125 }
27126 _ACEOF
27127 rm -f conftest.$ac_objext
27128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27129 (eval $ac_compile) 2>conftest.er1
27130 ac_status=$?
27131 grep -v '^ *+' conftest.er1 >conftest.err
27132 rm -f conftest.er1
27133 cat conftest.err >&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } &&
27136 { ac_try='test -z "$ac_c_werror_flag"
27137 || test ! -s conftest.err'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27140 ac_status=$?
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; } &&
27143 { ac_try='test -s conftest.$ac_objext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27149 ac_hi=$ac_mid
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 ac_lo=`expr '(' $ac_mid ')' + 1`
27155 fi
27156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27157 done
27158 case $ac_lo in
27159 ?*) ac_cv_sizeof_short=$ac_lo;;
27160 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27161 See \`config.log' for more details." >&5
27162 echo "$as_me: error: cannot compute sizeof (short), 77
27163 See \`config.log' for more details." >&2;}
27164 { (exit 1); exit 1; }; } ;;
27165 esac
27166 else
27167 if test "$cross_compiling" = yes; then
27168 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27169 See \`config.log' for more details." >&5
27170 echo "$as_me: error: cannot run test program while cross compiling
27171 See \`config.log' for more details." >&2;}
27172 { (exit 1); exit 1; }; }
27173 else
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180 $ac_includes_default
27181 long longval () { return (long) (sizeof (short)); }
27182 unsigned long ulongval () { return (long) (sizeof (short)); }
27183 #include <stdio.h>
27184 #include <stdlib.h>
27185 int
27186 main ()
27187 {
27188
27189 FILE *f = fopen ("conftest.val", "w");
27190 if (! f)
27191 exit (1);
27192 if (((long) (sizeof (short))) < 0)
27193 {
27194 long i = longval ();
27195 if (i != ((long) (sizeof (short))))
27196 exit (1);
27197 fprintf (f, "%ld\n", i);
27198 }
27199 else
27200 {
27201 unsigned long i = ulongval ();
27202 if (i != ((long) (sizeof (short))))
27203 exit (1);
27204 fprintf (f, "%lu\n", i);
27205 }
27206 exit (ferror (f) || fclose (f) != 0);
27207
27208 ;
27209 return 0;
27210 }
27211 _ACEOF
27212 rm -f conftest$ac_exeext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27214 (eval $ac_link) 2>&5
27215 ac_status=$?
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27220 ac_status=$?
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; }; then
27223 ac_cv_sizeof_short=`cat conftest.val`
27224 else
27225 echo "$as_me: program exited with status $ac_status" >&5
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27228
27229 ( exit $ac_status )
27230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27231 See \`config.log' for more details." >&5
27232 echo "$as_me: error: cannot compute sizeof (short), 77
27233 See \`config.log' for more details." >&2;}
27234 { (exit 1); exit 1; }; }
27235 fi
27236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27237 fi
27238 fi
27239 rm -f conftest.val
27240 else
27241 ac_cv_sizeof_short=0
27242 fi
27243 fi
27244 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27245 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27246 cat >>confdefs.h <<_ACEOF
27247 #define SIZEOF_SHORT $ac_cv_sizeof_short
27248 _ACEOF
27249
27250
27251 echo "$as_me:$LINENO: checking for int" >&5
27252 echo $ECHO_N "checking for int... $ECHO_C" >&6
27253 if test "${ac_cv_type_int+set}" = set; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 else
27256 cat >conftest.$ac_ext <<_ACEOF
27257 /* confdefs.h. */
27258 _ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 $ac_includes_default
27263 int
27264 main ()
27265 {
27266 if ((int *) 0)
27267 return 0;
27268 if (sizeof (int))
27269 return 0;
27270 ;
27271 return 0;
27272 }
27273 _ACEOF
27274 rm -f conftest.$ac_objext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27276 (eval $ac_compile) 2>conftest.er1
27277 ac_status=$?
27278 grep -v '^ *+' conftest.er1 >conftest.err
27279 rm -f conftest.er1
27280 cat conftest.err >&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } &&
27283 { ac_try='test -z "$ac_c_werror_flag"
27284 || test ! -s conftest.err'
27285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286 (eval $ac_try) 2>&5
27287 ac_status=$?
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; } &&
27290 { ac_try='test -s conftest.$ac_objext'
27291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292 (eval $ac_try) 2>&5
27293 ac_status=$?
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); }; }; then
27296 ac_cv_type_int=yes
27297 else
27298 echo "$as_me: failed program was:" >&5
27299 sed 's/^/| /' conftest.$ac_ext >&5
27300
27301 ac_cv_type_int=no
27302 fi
27303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27304 fi
27305 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27306 echo "${ECHO_T}$ac_cv_type_int" >&6
27307
27308 echo "$as_me:$LINENO: checking size of int" >&5
27309 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27310 if test "${ac_cv_sizeof_int+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 else
27313 if test "$ac_cv_type_int" = yes; then
27314 # The cast to unsigned long works around a bug in the HP C Compiler
27315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27317 # This bug is HP SR number 8606223364.
27318 if test "$cross_compiling" = yes; then
27319 # Depending upon the size, compute the lo and hi bounds.
27320 cat >conftest.$ac_ext <<_ACEOF
27321 /* confdefs.h. */
27322 _ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 $ac_includes_default
27327 int
27328 main ()
27329 {
27330 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27331 test_array [0] = 0
27332
27333 ;
27334 return 0;
27335 }
27336 _ACEOF
27337 rm -f conftest.$ac_objext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27339 (eval $ac_compile) 2>conftest.er1
27340 ac_status=$?
27341 grep -v '^ *+' conftest.er1 >conftest.err
27342 rm -f conftest.er1
27343 cat conftest.err >&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try='test -z "$ac_c_werror_flag"
27347 || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27350 ac_status=$?
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27356 ac_status=$?
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 ac_lo=0 ac_mid=0
27360 while :; do
27361 cat >conftest.$ac_ext <<_ACEOF
27362 /* confdefs.h. */
27363 _ACEOF
27364 cat confdefs.h >>conftest.$ac_ext
27365 cat >>conftest.$ac_ext <<_ACEOF
27366 /* end confdefs.h. */
27367 $ac_includes_default
27368 int
27369 main ()
27370 {
27371 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27372 test_array [0] = 0
27373
27374 ;
27375 return 0;
27376 }
27377 _ACEOF
27378 rm -f conftest.$ac_objext
27379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27380 (eval $ac_compile) 2>conftest.er1
27381 ac_status=$?
27382 grep -v '^ *+' conftest.er1 >conftest.err
27383 rm -f conftest.er1
27384 cat conftest.err >&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); } &&
27387 { ac_try='test -z "$ac_c_werror_flag"
27388 || test ! -s conftest.err'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27391 ac_status=$?
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; } &&
27394 { ac_try='test -s conftest.$ac_objext'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27397 ac_status=$?
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_hi=$ac_mid; break
27401 else
27402 echo "$as_me: failed program was:" >&5
27403 sed 's/^/| /' conftest.$ac_ext >&5
27404
27405 ac_lo=`expr $ac_mid + 1`
27406 if test $ac_lo -le $ac_mid; then
27407 ac_lo= ac_hi=
27408 break
27409 fi
27410 ac_mid=`expr 2 '*' $ac_mid + 1`
27411 fi
27412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27413 done
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 cat >conftest.$ac_ext <<_ACEOF
27419 /* confdefs.h. */
27420 _ACEOF
27421 cat confdefs.h >>conftest.$ac_ext
27422 cat >>conftest.$ac_ext <<_ACEOF
27423 /* end confdefs.h. */
27424 $ac_includes_default
27425 int
27426 main ()
27427 {
27428 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
27429 test_array [0] = 0
27430
27431 ;
27432 return 0;
27433 }
27434 _ACEOF
27435 rm -f conftest.$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27438 ac_status=$?
27439 grep -v '^ *+' conftest.er1 >conftest.err
27440 rm -f conftest.er1
27441 cat conftest.err >&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27448 ac_status=$?
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27454 ac_status=$?
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 ac_hi=-1 ac_mid=-1
27458 while :; do
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 $ac_includes_default
27466 int
27467 main ()
27468 {
27469 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27470 test_array [0] = 0
27471
27472 ;
27473 return 0;
27474 }
27475 _ACEOF
27476 rm -f conftest.$ac_objext
27477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27478 (eval $ac_compile) 2>conftest.er1
27479 ac_status=$?
27480 grep -v '^ *+' conftest.er1 >conftest.err
27481 rm -f conftest.er1
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } &&
27485 { ac_try='test -z "$ac_c_werror_flag"
27486 || test ! -s conftest.err'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; } &&
27492 { ac_try='test -s conftest.$ac_objext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27495 ac_status=$?
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498 ac_lo=$ac_mid; break
27499 else
27500 echo "$as_me: failed program was:" >&5
27501 sed 's/^/| /' conftest.$ac_ext >&5
27502
27503 ac_hi=`expr '(' $ac_mid ')' - 1`
27504 if test $ac_mid -le $ac_hi; then
27505 ac_lo= ac_hi=
27506 break
27507 fi
27508 ac_mid=`expr 2 '*' $ac_mid`
27509 fi
27510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27511 done
27512 else
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27515
27516 ac_lo= ac_hi=
27517 fi
27518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27519 fi
27520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27521 # Binary search between lo and hi bounds.
27522 while test "x$ac_lo" != "x$ac_hi"; do
27523 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27524 cat >conftest.$ac_ext <<_ACEOF
27525 /* confdefs.h. */
27526 _ACEOF
27527 cat confdefs.h >>conftest.$ac_ext
27528 cat >>conftest.$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27530 $ac_includes_default
27531 int
27532 main ()
27533 {
27534 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27535 test_array [0] = 0
27536
27537 ;
27538 return 0;
27539 }
27540 _ACEOF
27541 rm -f conftest.$ac_objext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27543 (eval $ac_compile) 2>conftest.er1
27544 ac_status=$?
27545 grep -v '^ *+' conftest.er1 >conftest.err
27546 rm -f conftest.er1
27547 cat conftest.err >&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } &&
27550 { ac_try='test -z "$ac_c_werror_flag"
27551 || test ! -s conftest.err'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; } &&
27557 { ac_try='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 ac_hi=$ac_mid
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27567
27568 ac_lo=`expr '(' $ac_mid ')' + 1`
27569 fi
27570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27571 done
27572 case $ac_lo in
27573 ?*) ac_cv_sizeof_int=$ac_lo;;
27574 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27575 See \`config.log' for more details." >&5
27576 echo "$as_me: error: cannot compute sizeof (int), 77
27577 See \`config.log' for more details." >&2;}
27578 { (exit 1); exit 1; }; } ;;
27579 esac
27580 else
27581 if test "$cross_compiling" = yes; then
27582 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27583 See \`config.log' for more details." >&5
27584 echo "$as_me: error: cannot run test program while cross compiling
27585 See \`config.log' for more details." >&2;}
27586 { (exit 1); exit 1; }; }
27587 else
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 $ac_includes_default
27595 long longval () { return (long) (sizeof (int)); }
27596 unsigned long ulongval () { return (long) (sizeof (int)); }
27597 #include <stdio.h>
27598 #include <stdlib.h>
27599 int
27600 main ()
27601 {
27602
27603 FILE *f = fopen ("conftest.val", "w");
27604 if (! f)
27605 exit (1);
27606 if (((long) (sizeof (int))) < 0)
27607 {
27608 long i = longval ();
27609 if (i != ((long) (sizeof (int))))
27610 exit (1);
27611 fprintf (f, "%ld\n", i);
27612 }
27613 else
27614 {
27615 unsigned long i = ulongval ();
27616 if (i != ((long) (sizeof (int))))
27617 exit (1);
27618 fprintf (f, "%lu\n", i);
27619 }
27620 exit (ferror (f) || fclose (f) != 0);
27621
27622 ;
27623 return 0;
27624 }
27625 _ACEOF
27626 rm -f conftest$ac_exeext
27627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27628 (eval $ac_link) 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27633 (eval $ac_try) 2>&5
27634 ac_status=$?
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); }; }; then
27637 ac_cv_sizeof_int=`cat conftest.val`
27638 else
27639 echo "$as_me: program exited with status $ac_status" >&5
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 ( exit $ac_status )
27644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
27645 See \`config.log' for more details." >&5
27646 echo "$as_me: error: cannot compute sizeof (int), 77
27647 See \`config.log' for more details." >&2;}
27648 { (exit 1); exit 1; }; }
27649 fi
27650 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27651 fi
27652 fi
27653 rm -f conftest.val
27654 else
27655 ac_cv_sizeof_int=0
27656 fi
27657 fi
27658 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
27659 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
27660 cat >>confdefs.h <<_ACEOF
27661 #define SIZEOF_INT $ac_cv_sizeof_int
27662 _ACEOF
27663
27664
27665 echo "$as_me:$LINENO: checking for long" >&5
27666 echo $ECHO_N "checking for long... $ECHO_C" >&6
27667 if test "${ac_cv_type_long+set}" = set; then
27668 echo $ECHO_N "(cached) $ECHO_C" >&6
27669 else
27670 cat >conftest.$ac_ext <<_ACEOF
27671 /* confdefs.h. */
27672 _ACEOF
27673 cat confdefs.h >>conftest.$ac_ext
27674 cat >>conftest.$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27676 $ac_includes_default
27677 int
27678 main ()
27679 {
27680 if ((long *) 0)
27681 return 0;
27682 if (sizeof (long))
27683 return 0;
27684 ;
27685 return 0;
27686 }
27687 _ACEOF
27688 rm -f conftest.$ac_objext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27690 (eval $ac_compile) 2>conftest.er1
27691 ac_status=$?
27692 grep -v '^ *+' conftest.er1 >conftest.err
27693 rm -f conftest.er1
27694 cat conftest.err >&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try='test -z "$ac_c_werror_flag"
27698 || test ! -s conftest.err'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27701 ac_status=$?
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try='test -s conftest.$ac_objext'
27705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27706 (eval $ac_try) 2>&5
27707 ac_status=$?
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); }; }; then
27710 ac_cv_type_long=yes
27711 else
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.$ac_ext >&5
27714
27715 ac_cv_type_long=no
27716 fi
27717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27718 fi
27719 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
27720 echo "${ECHO_T}$ac_cv_type_long" >&6
27721
27722 echo "$as_me:$LINENO: checking size of long" >&5
27723 echo $ECHO_N "checking size of long... $ECHO_C" >&6
27724 if test "${ac_cv_sizeof_long+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27726 else
27727 if test "$ac_cv_type_long" = yes; then
27728 # The cast to unsigned long works around a bug in the HP C Compiler
27729 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27730 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27731 # This bug is HP SR number 8606223364.
27732 if test "$cross_compiling" = yes; then
27733 # Depending upon the size, compute the lo and hi bounds.
27734 cat >conftest.$ac_ext <<_ACEOF
27735 /* confdefs.h. */
27736 _ACEOF
27737 cat confdefs.h >>conftest.$ac_ext
27738 cat >>conftest.$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27740 $ac_includes_default
27741 int
27742 main ()
27743 {
27744 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
27745 test_array [0] = 0
27746
27747 ;
27748 return 0;
27749 }
27750 _ACEOF
27751 rm -f conftest.$ac_objext
27752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27753 (eval $ac_compile) 2>conftest.er1
27754 ac_status=$?
27755 grep -v '^ *+' conftest.er1 >conftest.err
27756 rm -f conftest.er1
27757 cat conftest.err >&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } &&
27760 { ac_try='test -z "$ac_c_werror_flag"
27761 || test ! -s conftest.err'
27762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27763 (eval $ac_try) 2>&5
27764 ac_status=$?
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); }; } &&
27767 { ac_try='test -s conftest.$ac_objext'
27768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27769 (eval $ac_try) 2>&5
27770 ac_status=$?
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); }; }; then
27773 ac_lo=0 ac_mid=0
27774 while :; do
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781 $ac_includes_default
27782 int
27783 main ()
27784 {
27785 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27786 test_array [0] = 0
27787
27788 ;
27789 return 0;
27790 }
27791 _ACEOF
27792 rm -f conftest.$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27795 ac_status=$?
27796 grep -v '^ *+' conftest.er1 >conftest.err
27797 rm -f conftest.er1
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try='test -z "$ac_c_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27805 ac_status=$?
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 ac_hi=$ac_mid; break
27815 else
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27818
27819 ac_lo=`expr $ac_mid + 1`
27820 if test $ac_lo -le $ac_mid; then
27821 ac_lo= ac_hi=
27822 break
27823 fi
27824 ac_mid=`expr 2 '*' $ac_mid + 1`
27825 fi
27826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27827 done
27828 else
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.$ac_ext >&5
27831
27832 cat >conftest.$ac_ext <<_ACEOF
27833 /* confdefs.h. */
27834 _ACEOF
27835 cat confdefs.h >>conftest.$ac_ext
27836 cat >>conftest.$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27838 $ac_includes_default
27839 int
27840 main ()
27841 {
27842 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
27843 test_array [0] = 0
27844
27845 ;
27846 return 0;
27847 }
27848 _ACEOF
27849 rm -f conftest.$ac_objext
27850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27851 (eval $ac_compile) 2>conftest.er1
27852 ac_status=$?
27853 grep -v '^ *+' conftest.er1 >conftest.err
27854 rm -f conftest.er1
27855 cat conftest.err >&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); } &&
27858 { ac_try='test -z "$ac_c_werror_flag"
27859 || test ! -s conftest.err'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; } &&
27865 { ac_try='test -s conftest.$ac_objext'
27866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27867 (eval $ac_try) 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; }; then
27871 ac_hi=-1 ac_mid=-1
27872 while :; do
27873 cat >conftest.$ac_ext <<_ACEOF
27874 /* confdefs.h. */
27875 _ACEOF
27876 cat confdefs.h >>conftest.$ac_ext
27877 cat >>conftest.$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879 $ac_includes_default
27880 int
27881 main ()
27882 {
27883 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
27884 test_array [0] = 0
27885
27886 ;
27887 return 0;
27888 }
27889 _ACEOF
27890 rm -f conftest.$ac_objext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27892 (eval $ac_compile) 2>conftest.er1
27893 ac_status=$?
27894 grep -v '^ *+' conftest.er1 >conftest.err
27895 rm -f conftest.er1
27896 cat conftest.err >&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } &&
27899 { ac_try='test -z "$ac_c_werror_flag"
27900 || test ! -s conftest.err'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; } &&
27906 { ac_try='test -s conftest.$ac_objext'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27909 ac_status=$?
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; }; then
27912 ac_lo=$ac_mid; break
27913 else
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27916
27917 ac_hi=`expr '(' $ac_mid ')' - 1`
27918 if test $ac_mid -le $ac_hi; then
27919 ac_lo= ac_hi=
27920 break
27921 fi
27922 ac_mid=`expr 2 '*' $ac_mid`
27923 fi
27924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27925 done
27926 else
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27929
27930 ac_lo= ac_hi=
27931 fi
27932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27933 fi
27934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27935 # Binary search between lo and hi bounds.
27936 while test "x$ac_lo" != "x$ac_hi"; do
27937 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27938 cat >conftest.$ac_ext <<_ACEOF
27939 /* confdefs.h. */
27940 _ACEOF
27941 cat confdefs.h >>conftest.$ac_ext
27942 cat >>conftest.$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944 $ac_includes_default
27945 int
27946 main ()
27947 {
27948 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
27949 test_array [0] = 0
27950
27951 ;
27952 return 0;
27953 }
27954 _ACEOF
27955 rm -f conftest.$ac_objext
27956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27957 (eval $ac_compile) 2>conftest.er1
27958 ac_status=$?
27959 grep -v '^ *+' conftest.er1 >conftest.err
27960 rm -f conftest.er1
27961 cat conftest.err >&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try='test -z "$ac_c_werror_flag"
27965 || test ! -s conftest.err'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27968 ac_status=$?
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; } &&
27971 { ac_try='test -s conftest.$ac_objext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27974 ac_status=$?
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27977 ac_hi=$ac_mid
27978 else
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.$ac_ext >&5
27981
27982 ac_lo=`expr '(' $ac_mid ')' + 1`
27983 fi
27984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27985 done
27986 case $ac_lo in
27987 ?*) ac_cv_sizeof_long=$ac_lo;;
27988 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
27989 See \`config.log' for more details." >&5
27990 echo "$as_me: error: cannot compute sizeof (long), 77
27991 See \`config.log' for more details." >&2;}
27992 { (exit 1); exit 1; }; } ;;
27993 esac
27994 else
27995 if test "$cross_compiling" = yes; then
27996 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27997 See \`config.log' for more details." >&5
27998 echo "$as_me: error: cannot run test program while cross compiling
27999 See \`config.log' for more details." >&2;}
28000 { (exit 1); exit 1; }; }
28001 else
28002 cat >conftest.$ac_ext <<_ACEOF
28003 /* confdefs.h. */
28004 _ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 $ac_includes_default
28009 long longval () { return (long) (sizeof (long)); }
28010 unsigned long ulongval () { return (long) (sizeof (long)); }
28011 #include <stdio.h>
28012 #include <stdlib.h>
28013 int
28014 main ()
28015 {
28016
28017 FILE *f = fopen ("conftest.val", "w");
28018 if (! f)
28019 exit (1);
28020 if (((long) (sizeof (long))) < 0)
28021 {
28022 long i = longval ();
28023 if (i != ((long) (sizeof (long))))
28024 exit (1);
28025 fprintf (f, "%ld\n", i);
28026 }
28027 else
28028 {
28029 unsigned long i = ulongval ();
28030 if (i != ((long) (sizeof (long))))
28031 exit (1);
28032 fprintf (f, "%lu\n", i);
28033 }
28034 exit (ferror (f) || fclose (f) != 0);
28035
28036 ;
28037 return 0;
28038 }
28039 _ACEOF
28040 rm -f conftest$ac_exeext
28041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28042 (eval $ac_link) 2>&5
28043 ac_status=$?
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28047 (eval $ac_try) 2>&5
28048 ac_status=$?
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); }; }; then
28051 ac_cv_sizeof_long=`cat conftest.val`
28052 else
28053 echo "$as_me: program exited with status $ac_status" >&5
28054 echo "$as_me: failed program was:" >&5
28055 sed 's/^/| /' conftest.$ac_ext >&5
28056
28057 ( exit $ac_status )
28058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28059 See \`config.log' for more details." >&5
28060 echo "$as_me: error: cannot compute sizeof (long), 77
28061 See \`config.log' for more details." >&2;}
28062 { (exit 1); exit 1; }; }
28063 fi
28064 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28065 fi
28066 fi
28067 rm -f conftest.val
28068 else
28069 ac_cv_sizeof_long=0
28070 fi
28071 fi
28072 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28073 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28074 cat >>confdefs.h <<_ACEOF
28075 #define SIZEOF_LONG $ac_cv_sizeof_long
28076 _ACEOF
28077
28078
28079 echo "$as_me:$LINENO: checking for void*" >&5
28080 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28081 if test "${ac_cv_type_voidp+set}" = set; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 else
28084 cat >conftest.$ac_ext <<_ACEOF
28085 /* confdefs.h. */
28086 _ACEOF
28087 cat confdefs.h >>conftest.$ac_ext
28088 cat >>conftest.$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28090 $ac_includes_default
28091 int
28092 main ()
28093 {
28094 if ((void* *) 0)
28095 return 0;
28096 if (sizeof (void*))
28097 return 0;
28098 ;
28099 return 0;
28100 }
28101 _ACEOF
28102 rm -f conftest.$ac_objext
28103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28104 (eval $ac_compile) 2>conftest.er1
28105 ac_status=$?
28106 grep -v '^ *+' conftest.er1 >conftest.err
28107 rm -f conftest.er1
28108 cat conftest.err >&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); } &&
28111 { ac_try='test -z "$ac_c_werror_flag"
28112 || test ! -s conftest.err'
28113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28114 (eval $ac_try) 2>&5
28115 ac_status=$?
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); }; } &&
28118 { ac_try='test -s conftest.$ac_objext'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; }; then
28124 ac_cv_type_voidp=yes
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 ac_cv_type_voidp=no
28130 fi
28131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28132 fi
28133 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28134 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28135
28136 echo "$as_me:$LINENO: checking size of void*" >&5
28137 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28138 if test "${ac_cv_sizeof_voidp+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 else
28141 if test "$ac_cv_type_voidp" = yes; then
28142 # The cast to unsigned long works around a bug in the HP C Compiler
28143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28145 # This bug is HP SR number 8606223364.
28146 if test "$cross_compiling" = yes; then
28147 # Depending upon the size, compute the lo and hi bounds.
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154 $ac_includes_default
28155 int
28156 main ()
28157 {
28158 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28159 test_array [0] = 0
28160
28161 ;
28162 return 0;
28163 }
28164 _ACEOF
28165 rm -f conftest.$ac_objext
28166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28167 (eval $ac_compile) 2>conftest.er1
28168 ac_status=$?
28169 grep -v '^ *+' conftest.er1 >conftest.err
28170 rm -f conftest.er1
28171 cat conftest.err >&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); } &&
28174 { ac_try='test -z "$ac_c_werror_flag"
28175 || test ! -s conftest.err'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; } &&
28181 { ac_try='test -s conftest.$ac_objext'
28182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28183 (eval $ac_try) 2>&5
28184 ac_status=$?
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); }; }; then
28187 ac_lo=0 ac_mid=0
28188 while :; do
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195 $ac_includes_default
28196 int
28197 main ()
28198 {
28199 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28200 test_array [0] = 0
28201
28202 ;
28203 return 0;
28204 }
28205 _ACEOF
28206 rm -f conftest.$ac_objext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28208 (eval $ac_compile) 2>conftest.er1
28209 ac_status=$?
28210 grep -v '^ *+' conftest.er1 >conftest.err
28211 rm -f conftest.er1
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } &&
28215 { ac_try='test -z "$ac_c_werror_flag"
28216 || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28219 ac_status=$?
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_hi=$ac_mid; break
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233 ac_lo=`expr $ac_mid + 1`
28234 if test $ac_lo -le $ac_mid; then
28235 ac_lo= ac_hi=
28236 break
28237 fi
28238 ac_mid=`expr 2 '*' $ac_mid + 1`
28239 fi
28240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28241 done
28242 else
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28245
28246 cat >conftest.$ac_ext <<_ACEOF
28247 /* confdefs.h. */
28248 _ACEOF
28249 cat confdefs.h >>conftest.$ac_ext
28250 cat >>conftest.$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28252 $ac_includes_default
28253 int
28254 main ()
28255 {
28256 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28257 test_array [0] = 0
28258
28259 ;
28260 return 0;
28261 }
28262 _ACEOF
28263 rm -f conftest.$ac_objext
28264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28265 (eval $ac_compile) 2>conftest.er1
28266 ac_status=$?
28267 grep -v '^ *+' conftest.er1 >conftest.err
28268 rm -f conftest.er1
28269 cat conftest.err >&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); } &&
28272 { ac_try='test -z "$ac_c_werror_flag"
28273 || test ! -s conftest.err'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28276 ac_status=$?
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; } &&
28279 { ac_try='test -s conftest.$ac_objext'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28282 ac_status=$?
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; }; then
28285 ac_hi=-1 ac_mid=-1
28286 while :; do
28287 cat >conftest.$ac_ext <<_ACEOF
28288 /* confdefs.h. */
28289 _ACEOF
28290 cat confdefs.h >>conftest.$ac_ext
28291 cat >>conftest.$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 $ac_includes_default
28294 int
28295 main ()
28296 {
28297 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28298 test_array [0] = 0
28299
28300 ;
28301 return 0;
28302 }
28303 _ACEOF
28304 rm -f conftest.$ac_objext
28305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28306 (eval $ac_compile) 2>conftest.er1
28307 ac_status=$?
28308 grep -v '^ *+' conftest.er1 >conftest.err
28309 rm -f conftest.er1
28310 cat conftest.err >&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); } &&
28313 { ac_try='test -z "$ac_c_werror_flag"
28314 || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try='test -s conftest.$ac_objext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28323 ac_status=$?
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 ac_lo=$ac_mid; break
28327 else
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.$ac_ext >&5
28330
28331 ac_hi=`expr '(' $ac_mid ')' - 1`
28332 if test $ac_mid -le $ac_hi; then
28333 ac_lo= ac_hi=
28334 break
28335 fi
28336 ac_mid=`expr 2 '*' $ac_mid`
28337 fi
28338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28339 done
28340 else
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28343
28344 ac_lo= ac_hi=
28345 fi
28346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28347 fi
28348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28349 # Binary search between lo and hi bounds.
28350 while test "x$ac_lo" != "x$ac_hi"; do
28351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28352 cat >conftest.$ac_ext <<_ACEOF
28353 /* confdefs.h. */
28354 _ACEOF
28355 cat confdefs.h >>conftest.$ac_ext
28356 cat >>conftest.$ac_ext <<_ACEOF
28357 /* end confdefs.h. */
28358 $ac_includes_default
28359 int
28360 main ()
28361 {
28362 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28363 test_array [0] = 0
28364
28365 ;
28366 return 0;
28367 }
28368 _ACEOF
28369 rm -f conftest.$ac_objext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28371 (eval $ac_compile) 2>conftest.er1
28372 ac_status=$?
28373 grep -v '^ *+' conftest.er1 >conftest.err
28374 rm -f conftest.er1
28375 cat conftest.err >&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } &&
28378 { ac_try='test -z "$ac_c_werror_flag"
28379 || test ! -s conftest.err'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; } &&
28385 { ac_try='test -s conftest.$ac_objext'
28386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28387 (eval $ac_try) 2>&5
28388 ac_status=$?
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); }; }; then
28391 ac_hi=$ac_mid
28392 else
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.$ac_ext >&5
28395
28396 ac_lo=`expr '(' $ac_mid ')' + 1`
28397 fi
28398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28399 done
28400 case $ac_lo in
28401 ?*) ac_cv_sizeof_voidp=$ac_lo;;
28402 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28403 See \`config.log' for more details." >&5
28404 echo "$as_me: error: cannot compute sizeof (void*), 77
28405 See \`config.log' for more details." >&2;}
28406 { (exit 1); exit 1; }; } ;;
28407 esac
28408 else
28409 if test "$cross_compiling" = yes; then
28410 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28411 See \`config.log' for more details." >&5
28412 echo "$as_me: error: cannot run test program while cross compiling
28413 See \`config.log' for more details." >&2;}
28414 { (exit 1); exit 1; }; }
28415 else
28416 cat >conftest.$ac_ext <<_ACEOF
28417 /* confdefs.h. */
28418 _ACEOF
28419 cat confdefs.h >>conftest.$ac_ext
28420 cat >>conftest.$ac_ext <<_ACEOF
28421 /* end confdefs.h. */
28422 $ac_includes_default
28423 long longval () { return (long) (sizeof (void*)); }
28424 unsigned long ulongval () { return (long) (sizeof (void*)); }
28425 #include <stdio.h>
28426 #include <stdlib.h>
28427 int
28428 main ()
28429 {
28430
28431 FILE *f = fopen ("conftest.val", "w");
28432 if (! f)
28433 exit (1);
28434 if (((long) (sizeof (void*))) < 0)
28435 {
28436 long i = longval ();
28437 if (i != ((long) (sizeof (void*))))
28438 exit (1);
28439 fprintf (f, "%ld\n", i);
28440 }
28441 else
28442 {
28443 unsigned long i = ulongval ();
28444 if (i != ((long) (sizeof (void*))))
28445 exit (1);
28446 fprintf (f, "%lu\n", i);
28447 }
28448 exit (ferror (f) || fclose (f) != 0);
28449
28450 ;
28451 return 0;
28452 }
28453 _ACEOF
28454 rm -f conftest$ac_exeext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28456 (eval $ac_link) 2>&5
28457 ac_status=$?
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 ac_cv_sizeof_voidp=`cat conftest.val`
28466 else
28467 echo "$as_me: program exited with status $ac_status" >&5
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.$ac_ext >&5
28470
28471 ( exit $ac_status )
28472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28473 See \`config.log' for more details." >&5
28474 echo "$as_me: error: cannot compute sizeof (void*), 77
28475 See \`config.log' for more details." >&2;}
28476 { (exit 1); exit 1; }; }
28477 fi
28478 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28479 fi
28480 fi
28481 rm -f conftest.val
28482 else
28483 ac_cv_sizeof_voidp=0
28484 fi
28485 fi
28486 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
28487 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
28488 cat >>confdefs.h <<_ACEOF
28489 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
28490 _ACEOF
28491
28492
28493 ac_cv_char_data_model=""
28494 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
28495 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
28496 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
28497 ac_cv_long_data_model=""
28498 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
28499 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
28500 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
28501 echo "$as_me:$LINENO: checking data model" >&5
28502 echo $ECHO_N "checking data model... $ECHO_C" >&6
28503 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
28504 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
28505 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
28506 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
28507 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
28508 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
28509 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
28510 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
28511 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
28512 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
28513 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
28514 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
28515 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
28516 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
28517 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
28518 222/*|333/*|444/*|666/*|888/*) :
28519 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
28520 *) ac_cv_data_model="none" ; n="very unusual model" ;;
28521 esac
28522 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
28523 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
28524
28525 fi
28526
28527 if test "_$ac_cv_header_stdint_x" != "_" ; then
28528 ac_cv_header_stdint="$ac_cv_header_stdint_x"
28529 elif test "_$ac_cv_header_stdint_o" != "_" ; then
28530 ac_cv_header_stdint="$ac_cv_header_stdint_o"
28531 elif test "_$ac_cv_header_stdint_u" != "_" ; then
28532 ac_cv_header_stdint="$ac_cv_header_stdint_u"
28533 else
28534 ac_cv_header_stdint="stddef.h"
28535 fi
28536
28537 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
28538 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
28539 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
28540 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
28541 unset ac_cv_type_int_least32_t
28542 unset ac_cv_type_int_fast32_t
28543 echo "$as_me:$LINENO: checking for int_least32_t" >&5
28544 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
28545 if test "${ac_cv_type_int_least32_t+set}" = set; then
28546 echo $ECHO_N "(cached) $ECHO_C" >&6
28547 else
28548 cat >conftest.$ac_ext <<_ACEOF
28549 /* confdefs.h. */
28550 _ACEOF
28551 cat confdefs.h >>conftest.$ac_ext
28552 cat >>conftest.$ac_ext <<_ACEOF
28553 /* end confdefs.h. */
28554 #include <$ac_cv_header_stdint>
28555
28556 int
28557 main ()
28558 {
28559 if ((int_least32_t *) 0)
28560 return 0;
28561 if (sizeof (int_least32_t))
28562 return 0;
28563 ;
28564 return 0;
28565 }
28566 _ACEOF
28567 rm -f conftest.$ac_objext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28569 (eval $ac_compile) 2>conftest.er1
28570 ac_status=$?
28571 grep -v '^ *+' conftest.er1 >conftest.err
28572 rm -f conftest.er1
28573 cat conftest.err >&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } &&
28576 { ac_try='test -z "$ac_c_werror_flag"
28577 || test ! -s conftest.err'
28578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28579 (eval $ac_try) 2>&5
28580 ac_status=$?
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); }; } &&
28583 { ac_try='test -s conftest.$ac_objext'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; }; then
28589 ac_cv_type_int_least32_t=yes
28590 else
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.$ac_ext >&5
28593
28594 ac_cv_type_int_least32_t=no
28595 fi
28596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28597 fi
28598 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
28599 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
28600
28601 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
28602 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
28603 if test "${ac_cv_type_int_fast32_t+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 else
28606 cat >conftest.$ac_ext <<_ACEOF
28607 /* confdefs.h. */
28608 _ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28612 #include<$ac_cv_header_stdint>
28613
28614 int
28615 main ()
28616 {
28617 if ((int_fast32_t *) 0)
28618 return 0;
28619 if (sizeof (int_fast32_t))
28620 return 0;
28621 ;
28622 return 0;
28623 }
28624 _ACEOF
28625 rm -f conftest.$ac_objext
28626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28627 (eval $ac_compile) 2>conftest.er1
28628 ac_status=$?
28629 grep -v '^ *+' conftest.er1 >conftest.err
28630 rm -f conftest.er1
28631 cat conftest.err >&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); } &&
28634 { ac_try='test -z "$ac_c_werror_flag"
28635 || test ! -s conftest.err'
28636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28637 (eval $ac_try) 2>&5
28638 ac_status=$?
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; } &&
28641 { ac_try='test -s conftest.$ac_objext'
28642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28643 (eval $ac_try) 2>&5
28644 ac_status=$?
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); }; }; then
28647 ac_cv_type_int_fast32_t=yes
28648 else
28649 echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.$ac_ext >&5
28651
28652 ac_cv_type_int_fast32_t=no
28653 fi
28654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28655 fi
28656 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
28657 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
28658
28659 echo "$as_me:$LINENO: checking for intmax_t" >&5
28660 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
28661 if test "${ac_cv_type_intmax_t+set}" = set; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28663 else
28664 cat >conftest.$ac_ext <<_ACEOF
28665 /* confdefs.h. */
28666 _ACEOF
28667 cat confdefs.h >>conftest.$ac_ext
28668 cat >>conftest.$ac_ext <<_ACEOF
28669 /* end confdefs.h. */
28670 #include <$ac_cv_header_stdint>
28671
28672 int
28673 main ()
28674 {
28675 if ((intmax_t *) 0)
28676 return 0;
28677 if (sizeof (intmax_t))
28678 return 0;
28679 ;
28680 return 0;
28681 }
28682 _ACEOF
28683 rm -f conftest.$ac_objext
28684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28685 (eval $ac_compile) 2>conftest.er1
28686 ac_status=$?
28687 grep -v '^ *+' conftest.er1 >conftest.err
28688 rm -f conftest.er1
28689 cat conftest.err >&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try='test -z "$ac_c_werror_flag"
28693 || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try='test -s conftest.$ac_objext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 ac_cv_type_intmax_t=yes
28706 else
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.$ac_ext >&5
28709
28710 ac_cv_type_intmax_t=no
28711 fi
28712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28713 fi
28714 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
28715 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
28716
28717
28718 fi # shortcircut to system "stdint.h"
28719 # ------------------ PREPARE VARIABLES ------------------------------
28720 if test "$GCC" = "yes" ; then
28721 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
28722 else
28723 ac_cv_stdint_message="using $CC"
28724 fi
28725
28726 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
28727 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
28728
28729 # ----------------- DONE inttypes.h checks START header -------------
28730 ac_config_commands="$ac_config_commands $ac_stdint_h"
28731
28732
28733
28734
28735 # Check whether --with-glibj_zip or --without-glibj_zip was given.
28736 if test "${with_glibj_zip+set}" = set; then
28737 withval="$with_glibj_zip"
28738
28739 fi;
28740
28741 case "$with_glibj_zip" in
28742 "")
28743 use_glibj_zip=false
28744 ;;
28745 "no" )
28746 use_glibj_zip=false
28747 ;;
28748 "yes")
28749 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
28750 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
28751 { (exit 1); exit 1; }; }
28752 ;;
28753 *)
28754 use_glibj_zip=true
28755 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
28756 ;;
28757 esac;
28758
28759
28760
28761 if test x$use_glibj_zip = xtrue; then
28762 USE_PREBUILT_GLIBJ_ZIP_TRUE=
28763 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
28764 else
28765 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
28766 USE_PREBUILT_GLIBJ_ZIP_FALSE=
28767 fi
28768
28769
28770
28771
28772 # Check whether --with-escher or --without-escher was given.
28773 if test "${with_escher+set}" = set; then
28774 withval="$with_escher"
28775
28776 fi;
28777 case "$with_escher" in
28778 "")
28779 use_escher=false
28780 ;;
28781 "no")
28782 use_escher=false
28783 ;;
28784 "yes")
28785 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
28786 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
28787 { (exit 1); exit 1; }; }
28788 ;;
28789 *)
28790 use_escher=true
28791 PATH_TO_ESCHER=$with_escher
28792 ;;
28793 esac
28794
28795
28796
28797 if test x$use_escher = xtrue; then
28798 USE_ESCHER_TRUE=
28799 USE_ESCHER_FALSE='#'
28800 else
28801 USE_ESCHER_TRUE='#'
28802 USE_ESCHER_FALSE=
28803 fi
28804
28805
28806
28807 # Check whether --enable-local-sockets or --disable-local-sockets was given.
28808 if test "${enable_local_sockets+set}" = set; then
28809 enableval="$enable_local_sockets"
28810 case "${enableval}" in
28811 yes)
28812 ENABLE_LOCAL_SOCKETS=yes
28813 ;;
28814 *)
28815 ENABLE_LOCAL_SOCKETS=no
28816 ;;
28817 esac
28818 fi;
28819 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
28820 then
28821 if test "${ac_cv_header_sys_un_h+set}" = set; then
28822 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28823 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28824 if test "${ac_cv_header_sys_un_h+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 fi
28827 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28828 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28829 else
28830 # Is the header compilable?
28831 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
28832 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
28833 cat >conftest.$ac_ext <<_ACEOF
28834 /* confdefs.h. */
28835 _ACEOF
28836 cat confdefs.h >>conftest.$ac_ext
28837 cat >>conftest.$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839 $ac_includes_default
28840 #include <sys/un.h>
28841 _ACEOF
28842 rm -f conftest.$ac_objext
28843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28844 (eval $ac_compile) 2>conftest.er1
28845 ac_status=$?
28846 grep -v '^ *+' conftest.er1 >conftest.err
28847 rm -f conftest.er1
28848 cat conftest.err >&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } &&
28851 { ac_try='test -z "$ac_c_werror_flag"
28852 || test ! -s conftest.err'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; } &&
28858 { ac_try='test -s conftest.$ac_objext'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; }; then
28864 ac_header_compiler=yes
28865 else
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.$ac_ext >&5
28868
28869 ac_header_compiler=no
28870 fi
28871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28873 echo "${ECHO_T}$ac_header_compiler" >&6
28874
28875 # Is the header present?
28876 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
28877 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
28878 cat >conftest.$ac_ext <<_ACEOF
28879 /* confdefs.h. */
28880 _ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28884 #include <sys/un.h>
28885 _ACEOF
28886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28888 ac_status=$?
28889 grep -v '^ *+' conftest.er1 >conftest.err
28890 rm -f conftest.er1
28891 cat conftest.err >&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); } >/dev/null; then
28894 if test -s conftest.err; then
28895 ac_cpp_err=$ac_c_preproc_warn_flag
28896 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28897 else
28898 ac_cpp_err=
28899 fi
28900 else
28901 ac_cpp_err=yes
28902 fi
28903 if test -z "$ac_cpp_err"; then
28904 ac_header_preproc=yes
28905 else
28906 echo "$as_me: failed program was:" >&5
28907 sed 's/^/| /' conftest.$ac_ext >&5
28908
28909 ac_header_preproc=no
28910 fi
28911 rm -f conftest.err conftest.$ac_ext
28912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28913 echo "${ECHO_T}$ac_header_preproc" >&6
28914
28915 # So? What about this header?
28916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28917 yes:no: )
28918 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
28919 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28920 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
28921 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
28922 ac_header_preproc=yes
28923 ;;
28924 no:yes:* )
28925 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
28926 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
28928 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
28930 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
28931 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
28932 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
28933 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
28934 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
28935 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
28936 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
28937 (
28938 cat <<\_ASBOX
28939 ## -------------------------------- ##
28940 ## Report this to classpath@gnu.org ##
28941 ## -------------------------------- ##
28942 _ASBOX
28943 ) |
28944 sed "s/^/$as_me: WARNING: /" >&2
28945 ;;
28946 esac
28947 echo "$as_me:$LINENO: checking for sys/un.h" >&5
28948 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
28949 if test "${ac_cv_header_sys_un_h+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 else
28952 ac_cv_header_sys_un_h=$ac_header_preproc
28953 fi
28954 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
28955 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
28956
28957 fi
28958
28959
28960
28961
28962
28963
28964
28965
28966 for ac_func in read write bind listen accept shutdown
28967 do
28968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969 echo "$as_me:$LINENO: checking for $ac_func" >&5
28970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 else
28974 if test x$gcc_no_link = xyes; then
28975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28977 { (exit 1); exit 1; }; }
28978 fi
28979 cat >conftest.$ac_ext <<_ACEOF
28980 /* confdefs.h. */
28981 _ACEOF
28982 cat confdefs.h >>conftest.$ac_ext
28983 cat >>conftest.$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28987 #define $ac_func innocuous_$ac_func
28988
28989 /* System header to define __stub macros and hopefully few prototypes,
28990 which can conflict with char $ac_func (); below.
28991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28992 <limits.h> exists even on freestanding compilers. */
28993
28994 #ifdef __STDC__
28995 # include <limits.h>
28996 #else
28997 # include <assert.h>
28998 #endif
28999
29000 #undef $ac_func
29001
29002 /* Override any gcc2 internal prototype to avoid an error. */
29003 #ifdef __cplusplus
29004 extern "C"
29005 {
29006 #endif
29007 /* We use char because int might match the return type of a gcc2
29008 builtin and then its argument prototype would still apply. */
29009 char $ac_func ();
29010 /* The GNU C library defines this for functions which it implements
29011 to always fail with ENOSYS. Some functions are actually named
29012 something starting with __ and the normal name is an alias. */
29013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29014 choke me
29015 #else
29016 char (*f) () = $ac_func;
29017 #endif
29018 #ifdef __cplusplus
29019 }
29020 #endif
29021
29022 int
29023 main ()
29024 {
29025 return f != $ac_func;
29026 ;
29027 return 0;
29028 }
29029 _ACEOF
29030 rm -f conftest.$ac_objext conftest$ac_exeext
29031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29032 (eval $ac_link) 2>conftest.er1
29033 ac_status=$?
29034 grep -v '^ *+' conftest.er1 >conftest.err
29035 rm -f conftest.er1
29036 cat conftest.err >&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } &&
29039 { ac_try='test -z "$ac_c_werror_flag"
29040 || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29043 ac_status=$?
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try='test -s conftest$ac_exeext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29049 ac_status=$?
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 eval "$as_ac_var=yes"
29053 else
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.$ac_ext >&5
29056
29057 eval "$as_ac_var=no"
29058 fi
29059 rm -f conftest.err conftest.$ac_objext \
29060 conftest$ac_exeext conftest.$ac_ext
29061 fi
29062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29064 if test `eval echo '${'$as_ac_var'}'` = yes; then
29065 cat >>confdefs.h <<_ACEOF
29066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29067 _ACEOF
29068
29069 else
29070 { { echo "$as_me:$LINENO: error: networking support not available" >&5
29071 echo "$as_me: error: networking support not available" >&2;}
29072 { (exit 1); exit 1; }; }
29073 fi
29074 done
29075
29076
29077 cat >>confdefs.h <<\_ACEOF
29078 #define ENABLE_LOCAL_SOCKETS 1
29079 _ACEOF
29080
29081 fi
29082
29083
29084 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
29085 ENABLE_LOCAL_SOCKETS_TRUE=
29086 ENABLE_LOCAL_SOCKETS_FALSE='#'
29087 else
29088 ENABLE_LOCAL_SOCKETS_TRUE='#'
29089 ENABLE_LOCAL_SOCKETS_FALSE=
29090 fi
29091
29092
29093
29094
29095 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-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-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 scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
29096
29097
29098 if test "x${COMPILE_WRAPPERS}" = xno
29099 then
29100 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"
29101
29102 ac_config_commands="$ac_config_commands gappletviewer"
29103
29104 ac_config_commands="$ac_config_commands gjarsigner"
29105
29106 ac_config_commands="$ac_config_commands gkeytool"
29107
29108 ac_config_commands="$ac_config_commands gjar"
29109
29110 ac_config_commands="$ac_config_commands gnative2ascii"
29111
29112 ac_config_commands="$ac_config_commands gserialver"
29113
29114 ac_config_commands="$ac_config_commands grmiregistry"
29115
29116 ac_config_commands="$ac_config_commands gtnameserv"
29117
29118 ac_config_commands="$ac_config_commands gorbd"
29119
29120 ac_config_commands="$ac_config_commands grmid"
29121
29122 ac_config_commands="$ac_config_commands grmic"
29123
29124 ac_config_commands="$ac_config_commands gjavah"
29125
29126 fi
29127
29128 ac_config_commands="$ac_config_commands gen-classlist"
29129
29130 ac_config_commands="$ac_config_commands copy-vmresources"
29131
29132 cat >confcache <<\_ACEOF
29133 # This file is a shell script that caches the results of configure
29134 # tests run on this system so they can be shared between configure
29135 # scripts and configure runs, see configure's option --config-cache.
29136 # It is not useful on other systems. If it contains results you don't
29137 # want to keep, you may remove or edit it.
29138 #
29139 # config.status only pays attention to the cache file if you give it
29140 # the --recheck option to rerun configure.
29141 #
29142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29144 # following values.
29145
29146 _ACEOF
29147
29148 # The following way of writing the cache mishandles newlines in values,
29149 # but we know of no workaround that is simple, portable, and efficient.
29150 # So, don't put newlines in cache variables' values.
29151 # Ultrix sh set writes to stderr and can't be redirected directly,
29152 # and sets the high bit in the cache file unless we assign to the vars.
29153 {
29154 (set) 2>&1 |
29155 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29156 *ac_space=\ *)
29157 # `set' does not quote correctly, so add quotes (double-quote
29158 # substitution turns \\\\ into \\, and sed turns \\ into \).
29159 sed -n \
29160 "s/'/'\\\\''/g;
29161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29162 ;;
29163 *)
29164 # `set' quotes correctly as required by POSIX, so do not add quotes.
29165 sed -n \
29166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29167 ;;
29168 esac;
29169 } |
29170 sed '
29171 t clear
29172 : clear
29173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29174 t end
29175 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29176 : end' >>confcache
29177 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29178 if test -w $cache_file; then
29179 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29180 cat confcache >$cache_file
29181 else
29182 echo "not updating unwritable cache $cache_file"
29183 fi
29184 fi
29185 rm -f confcache
29186
29187 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29188 # Let make expand exec_prefix.
29189 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29190
29191 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29192 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29193 # trailing colons and then remove the whole line if VPATH becomes empty
29194 # (actually we leave an empty line to preserve line numbers).
29195 if test "x$srcdir" = x.; then
29196 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29197 s/:*\$(srcdir):*/:/;
29198 s/:*\${srcdir}:*/:/;
29199 s/:*@srcdir@:*/:/;
29200 s/^\([^=]*=[ ]*\):*/\1/;
29201 s/:*$//;
29202 s/^[^=]*=[ ]*$//;
29203 }'
29204 fi
29205
29206 DEFS=-DHAVE_CONFIG_H
29207
29208 ac_libobjs=
29209 ac_ltlibobjs=
29210 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29211 # 1. Remove the extension, and $U if already installed.
29212 ac_i=`echo "$ac_i" |
29213 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29214 # 2. Add them.
29215 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29216 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29217 done
29218 LIBOBJS=$ac_libobjs
29219
29220 LTLIBOBJS=$ac_ltlibobjs
29221
29222
29223 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
29224 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29225 Usually this means the macro was only invoked conditionally." >&5
29226 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29227 Usually this means the macro was only invoked conditionally." >&2;}
29228 { (exit 1); exit 1; }; }
29229 fi
29230 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
29231 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
29232 Usually this means the macro was only invoked conditionally." >&5
29233 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
29234 Usually this means the macro was only invoked conditionally." >&2;}
29235 { (exit 1); exit 1; }; }
29236 fi
29237 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
29238 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29239 Usually this means the macro was only invoked conditionally." >&5
29240 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29241 Usually this means the macro was only invoked conditionally." >&2;}
29242 { (exit 1); exit 1; }; }
29243 fi
29244 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
29245 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29246 Usually this means the macro was only invoked conditionally." >&5
29247 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29248 Usually this means the macro was only invoked conditionally." >&2;}
29249 { (exit 1); exit 1; }; }
29250 fi
29251 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
29252 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29253 Usually this means the macro was only invoked conditionally." >&5
29254 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29255 Usually this means the macro was only invoked conditionally." >&2;}
29256 { (exit 1); exit 1; }; }
29257 fi
29258 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
29259 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29260 Usually this means the macro was only invoked conditionally." >&5
29261 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29262 Usually this means the macro was only invoked conditionally." >&2;}
29263 { (exit 1); exit 1; }; }
29264 fi
29265 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
29266 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29267 Usually this means the macro was only invoked conditionally." >&5
29268 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29269 Usually this means the macro was only invoked conditionally." >&2;}
29270 { (exit 1); exit 1; }; }
29271 fi
29272 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29273 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29274 Usually this means the macro was only invoked conditionally." >&5
29275 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29276 Usually this means the macro was only invoked conditionally." >&2;}
29277 { (exit 1); exit 1; }; }
29278 fi
29279 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29280 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29281 Usually this means the macro was only invoked conditionally." >&5
29282 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29283 Usually this means the macro was only invoked conditionally." >&2;}
29284 { (exit 1); exit 1; }; }
29285 fi
29286 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
29287 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29288 Usually this means the macro was only invoked conditionally." >&5
29289 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29290 Usually this means the macro was only invoked conditionally." >&2;}
29291 { (exit 1); exit 1; }; }
29292 fi
29293 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
29294 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29295 Usually this means the macro was only invoked conditionally." >&5
29296 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29297 Usually this means the macro was only invoked conditionally." >&2;}
29298 { (exit 1); exit 1; }; }
29299 fi
29300 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
29301 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29302 Usually this means the macro was only invoked conditionally." >&5
29303 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29304 Usually this means the macro was only invoked conditionally." >&2;}
29305 { (exit 1); exit 1; }; }
29306 fi
29307 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
29308 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29309 Usually this means the macro was only invoked conditionally." >&5
29310 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29311 Usually this means the macro was only invoked conditionally." >&2;}
29312 { (exit 1); exit 1; }; }
29313 fi
29314 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
29315 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
29316 Usually this means the macro was only invoked conditionally." >&5
29317 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
29318 Usually this means the macro was only invoked conditionally." >&2;}
29319 { (exit 1); exit 1; }; }
29320 fi
29321 if test -z "${FOUND_CACAO_TRUE}" && test -z "${FOUND_CACAO_FALSE}"; then
29322 { { echo "$as_me:$LINENO: error: conditional \"FOUND_CACAO\" was never defined.
29323 Usually this means the macro was only invoked conditionally." >&5
29324 echo "$as_me: error: conditional \"FOUND_CACAO\" was never defined.
29325 Usually this means the macro was only invoked conditionally." >&2;}
29326 { (exit 1); exit 1; }; }
29327 fi
29328 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
29329 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29330 Usually this means the macro was only invoked conditionally." >&5
29331 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29332 Usually this means the macro was only invoked conditionally." >&2;}
29333 { (exit 1); exit 1; }; }
29334 fi
29335 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
29336 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
29337 Usually this means the macro was only invoked conditionally." >&5
29338 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
29339 Usually this means the macro was only invoked conditionally." >&2;}
29340 { (exit 1); exit 1; }; }
29341 fi
29342 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29343 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29344 Usually this means the macro was only invoked conditionally." >&5
29345 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29346 Usually this means the macro was only invoked conditionally." >&2;}
29347 { (exit 1); exit 1; }; }
29348 fi
29349 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29350 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29351 Usually this means the macro was only invoked conditionally." >&5
29352 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29353 Usually this means the macro was only invoked conditionally." >&2;}
29354 { (exit 1); exit 1; }; }
29355 fi
29356 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29357 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29358 Usually this means the macro was only invoked conditionally." >&5
29359 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29360 Usually this means the macro was only invoked conditionally." >&2;}
29361 { (exit 1); exit 1; }; }
29362 fi
29363 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
29364 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
29365 Usually this means the macro was only invoked conditionally." >&5
29366 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
29367 Usually this means the macro was only invoked conditionally." >&2;}
29368 { (exit 1); exit 1; }; }
29369 fi
29370 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29371 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29372 Usually this means the macro was only invoked conditionally." >&5
29373 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29374 Usually this means the macro was only invoked conditionally." >&2;}
29375 { (exit 1); exit 1; }; }
29376 fi
29377 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29378 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29379 Usually this means the macro was only invoked conditionally." >&5
29380 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29381 Usually this means the macro was only invoked conditionally." >&2;}
29382 { (exit 1); exit 1; }; }
29383 fi
29384 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29385 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29386 Usually this means the macro was only invoked conditionally." >&5
29387 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29388 Usually this means the macro was only invoked conditionally." >&2;}
29389 { (exit 1); exit 1; }; }
29390 fi
29391 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29392 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29393 Usually this means the macro was only invoked conditionally." >&5
29394 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29395 Usually this means the macro was only invoked conditionally." >&2;}
29396 { (exit 1); exit 1; }; }
29397 fi
29398 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29399 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29400 Usually this means the macro was only invoked conditionally." >&5
29401 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29402 Usually this means the macro was only invoked conditionally." >&2;}
29403 { (exit 1); exit 1; }; }
29404 fi
29405 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29406 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29407 Usually this means the macro was only invoked conditionally." >&5
29408 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29409 Usually this means the macro was only invoked conditionally." >&2;}
29410 { (exit 1); exit 1; }; }
29411 fi
29412 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29413 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29414 Usually this means the macro was only invoked conditionally." >&5
29415 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29416 Usually this means the macro was only invoked conditionally." >&2;}
29417 { (exit 1); exit 1; }; }
29418 fi
29419 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29420 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29421 Usually this means the macro was only invoked conditionally." >&5
29422 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29423 Usually this means the macro was only invoked conditionally." >&2;}
29424 { (exit 1); exit 1; }; }
29425 fi
29426 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
29427 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
29428 Usually this means the macro was only invoked conditionally." >&5
29429 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
29430 Usually this means the macro was only invoked conditionally." >&2;}
29431 { (exit 1); exit 1; }; }
29432 fi
29433 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
29434 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29435 Usually this means the macro was only invoked conditionally." >&5
29436 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29437 Usually this means the macro was only invoked conditionally." >&2;}
29438 { (exit 1); exit 1; }; }
29439 fi
29440 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29441 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29442 Usually this means the macro was only invoked conditionally." >&5
29443 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29444 Usually this means the macro was only invoked conditionally." >&2;}
29445 { (exit 1); exit 1; }; }
29446 fi
29447 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
29448 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29449 Usually this means the macro was only invoked conditionally." >&5
29450 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29451 Usually this means the macro was only invoked conditionally." >&2;}
29452 { (exit 1); exit 1; }; }
29453 fi
29454 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
29455 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29456 Usually this means the macro was only invoked conditionally." >&5
29457 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29458 Usually this means the macro was only invoked conditionally." >&2;}
29459 { (exit 1); exit 1; }; }
29460 fi
29461 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
29462 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29463 Usually this means the macro was only invoked conditionally." >&5
29464 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29465 Usually this means the macro was only invoked conditionally." >&2;}
29466 { (exit 1); exit 1; }; }
29467 fi
29468 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
29469 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
29470 Usually this means the macro was only invoked conditionally." >&5
29471 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
29472 Usually this means the macro was only invoked conditionally." >&2;}
29473 { (exit 1); exit 1; }; }
29474 fi
29475 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
29476 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
29477 Usually this means the macro was only invoked conditionally." >&5
29478 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
29479 Usually this means the macro was only invoked conditionally." >&2;}
29480 { (exit 1); exit 1; }; }
29481 fi
29482 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
29483 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29484 Usually this means the macro was only invoked conditionally." >&5
29485 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
29486 Usually this means the macro was only invoked conditionally." >&2;}
29487 { (exit 1); exit 1; }; }
29488 fi
29489 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
29490 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
29491 Usually this means the macro was only invoked conditionally." >&5
29492 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
29493 Usually this means the macro was only invoked conditionally." >&2;}
29494 { (exit 1); exit 1; }; }
29495 fi
29496 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
29497 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29498 Usually this means the macro was only invoked conditionally." >&5
29499 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
29500 Usually this means the macro was only invoked conditionally." >&2;}
29501 { (exit 1); exit 1; }; }
29502 fi
29503
29504 : ${CONFIG_STATUS=./config.status}
29505 ac_clean_files_save=$ac_clean_files
29506 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29507 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29508 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29509 cat >$CONFIG_STATUS <<_ACEOF
29510 #! $SHELL
29511 # Generated by $as_me.
29512 # Run this file to recreate the current configuration.
29513 # Compiler output produced by configure, useful for debugging
29514 # configure, is in config.log if it exists.
29515
29516 debug=false
29517 ac_cs_recheck=false
29518 ac_cs_silent=false
29519 SHELL=\${CONFIG_SHELL-$SHELL}
29520 _ACEOF
29521
29522 cat >>$CONFIG_STATUS <<\_ACEOF
29523 ## --------------------- ##
29524 ## M4sh Initialization. ##
29525 ## --------------------- ##
29526
29527 # Be Bourne compatible
29528 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29529 emulate sh
29530 NULLCMD=:
29531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29532 # is contrary to our usage. Disable this feature.
29533 alias -g '${1+"$@"}'='"$@"'
29534 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29535 set -o posix
29536 fi
29537 DUALCASE=1; export DUALCASE # for MKS sh
29538
29539 # Support unset when possible.
29540 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29541 as_unset=unset
29542 else
29543 as_unset=false
29544 fi
29545
29546
29547 # Work around bugs in pre-3.0 UWIN ksh.
29548 $as_unset ENV MAIL MAILPATH
29549 PS1='$ '
29550 PS2='> '
29551 PS4='+ '
29552
29553 # NLS nuisances.
29554 for as_var in \
29555 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29556 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29557 LC_TELEPHONE LC_TIME
29558 do
29559 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29560 eval $as_var=C; export $as_var
29561 else
29562 $as_unset $as_var
29563 fi
29564 done
29565
29566 # Required to use basename.
29567 if expr a : '\(a\)' >/dev/null 2>&1; then
29568 as_expr=expr
29569 else
29570 as_expr=false
29571 fi
29572
29573 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
29574 as_basename=basename
29575 else
29576 as_basename=false
29577 fi
29578
29579
29580 # Name of the executable.
29581 as_me=`$as_basename "$0" ||
29582 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29583 X"$0" : 'X\(//\)$' \| \
29584 X"$0" : 'X\(/\)$' \| \
29585 . : '\(.\)' 2>/dev/null ||
29586 echo X/"$0" |
29587 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29588 /^X\/\(\/\/\)$/{ s//\1/; q; }
29589 /^X\/\(\/\).*/{ s//\1/; q; }
29590 s/.*/./; q'`
29591
29592
29593 # PATH needs CR, and LINENO needs CR and PATH.
29594 # Avoid depending upon Character Ranges.
29595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29598 as_cr_digits='0123456789'
29599 as_cr_alnum=$as_cr_Letters$as_cr_digits
29600
29601 # The user is always right.
29602 if test "${PATH_SEPARATOR+set}" != set; then
29603 echo "#! /bin/sh" >conf$$.sh
29604 echo "exit 0" >>conf$$.sh
29605 chmod +x conf$$.sh
29606 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29607 PATH_SEPARATOR=';'
29608 else
29609 PATH_SEPARATOR=:
29610 fi
29611 rm -f conf$$.sh
29612 fi
29613
29614
29615 as_lineno_1=$LINENO
29616 as_lineno_2=$LINENO
29617 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29618 test "x$as_lineno_1" != "x$as_lineno_2" &&
29619 test "x$as_lineno_3" = "x$as_lineno_2" || {
29620 # Find who we are. Look in the path if we contain no path at all
29621 # relative or not.
29622 case $0 in
29623 *[\\/]* ) as_myself=$0 ;;
29624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29625 for as_dir in $PATH
29626 do
29627 IFS=$as_save_IFS
29628 test -z "$as_dir" && as_dir=.
29629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29630 done
29631
29632 ;;
29633 esac
29634 # We did not find ourselves, most probably we were run as `sh COMMAND'
29635 # in which case we are not to be found in the path.
29636 if test "x$as_myself" = x; then
29637 as_myself=$0
29638 fi
29639 if test ! -f "$as_myself"; then
29640 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29641 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29642 { (exit 1); exit 1; }; }
29643 fi
29644 case $CONFIG_SHELL in
29645 '')
29646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29647 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29648 do
29649 IFS=$as_save_IFS
29650 test -z "$as_dir" && as_dir=.
29651 for as_base in sh bash ksh sh5; do
29652 case $as_dir in
29653 /*)
29654 if ("$as_dir/$as_base" -c '
29655 as_lineno_1=$LINENO
29656 as_lineno_2=$LINENO
29657 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29658 test "x$as_lineno_1" != "x$as_lineno_2" &&
29659 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
29660 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29661 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29662 CONFIG_SHELL=$as_dir/$as_base
29663 export CONFIG_SHELL
29664 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29665 fi;;
29666 esac
29667 done
29668 done
29669 ;;
29670 esac
29671
29672 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29673 # uniformly replaced by the line number. The first 'sed' inserts a
29674 # line-number line before each line; the second 'sed' does the real
29675 # work. The second script uses 'N' to pair each line-number line
29676 # with the numbered line, and appends trailing '-' during
29677 # substitution so that $LINENO is not a special case at line end.
29678 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29679 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29680 sed '=' <$as_myself |
29681 sed '
29682 N
29683 s,$,-,
29684 : loop
29685 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29686 t loop
29687 s,-$,,
29688 s,^['$as_cr_digits']*\n,,
29689 ' >$as_me.lineno &&
29690 chmod +x $as_me.lineno ||
29691 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29692 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29693 { (exit 1); exit 1; }; }
29694
29695 # Don't try to exec as it changes $[0], causing all sort of problems
29696 # (the dirname of $[0] is not the place where we might find the
29697 # original and so on. Autoconf is especially sensible to this).
29698 . ./$as_me.lineno
29699 # Exit status is that of the last command.
29700 exit
29701 }
29702
29703
29704 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29705 *c*,-n*) ECHO_N= ECHO_C='
29706 ' ECHO_T=' ' ;;
29707 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
29708 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
29709 esac
29710
29711 if expr a : '\(a\)' >/dev/null 2>&1; then
29712 as_expr=expr
29713 else
29714 as_expr=false
29715 fi
29716
29717 rm -f conf$$ conf$$.exe conf$$.file
29718 echo >conf$$.file
29719 if ln -s conf$$.file conf$$ 2>/dev/null; then
29720 # We could just check for DJGPP; but this test a) works b) is more generic
29721 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29722 if test -f conf$$.exe; then
29723 # Don't use ln at all; we don't have any links
29724 as_ln_s='cp -p'
29725 else
29726 as_ln_s='ln -s'
29727 fi
29728 elif ln conf$$.file conf$$ 2>/dev/null; then
29729 as_ln_s=ln
29730 else
29731 as_ln_s='cp -p'
29732 fi
29733 rm -f conf$$ conf$$.exe conf$$.file
29734
29735 if mkdir -p . 2>/dev/null; then
29736 as_mkdir_p=:
29737 else
29738 test -d ./-p && rmdir ./-p
29739 as_mkdir_p=false
29740 fi
29741
29742 as_executable_p="test -f"
29743
29744 # Sed expression to map a string onto a valid CPP name.
29745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29746
29747 # Sed expression to map a string onto a valid variable name.
29748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29749
29750
29751 # IFS
29752 # We need space, tab and new line, in precisely that order.
29753 as_nl='
29754 '
29755 IFS=" $as_nl"
29756
29757 # CDPATH.
29758 $as_unset CDPATH
29759
29760 exec 6>&1
29761
29762 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29763 # report actual input values of CONFIG_FILES etc. instead of their
29764 # values after options handling. Logging --version etc. is OK.
29765 exec 5>>config.log
29766 {
29767 echo
29768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29769 ## Running $as_me. ##
29770 _ASBOX
29771 } >&5
29772 cat >&5 <<_CSEOF
29773
29774 This file was extended by GNU Classpath $as_me 0.95, which was
29775 generated by GNU Autoconf 2.59. Invocation command line was
29776
29777 CONFIG_FILES = $CONFIG_FILES
29778 CONFIG_HEADERS = $CONFIG_HEADERS
29779 CONFIG_LINKS = $CONFIG_LINKS
29780 CONFIG_COMMANDS = $CONFIG_COMMANDS
29781 $ $0 $@
29782
29783 _CSEOF
29784 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29785 echo >&5
29786 _ACEOF
29787
29788 # Files that config.status was made for.
29789 if test -n "$ac_config_files"; then
29790 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29791 fi
29792
29793 if test -n "$ac_config_headers"; then
29794 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29795 fi
29796
29797 if test -n "$ac_config_links"; then
29798 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29799 fi
29800
29801 if test -n "$ac_config_commands"; then
29802 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29803 fi
29804
29805 cat >>$CONFIG_STATUS <<\_ACEOF
29806
29807 ac_cs_usage="\
29808 \`$as_me' instantiates files from templates according to the
29809 current configuration.
29810
29811 Usage: $0 [OPTIONS] [FILE]...
29812
29813 -h, --help print this help, then exit
29814 -V, --version print version number, then exit
29815 -q, --quiet do not print progress messages
29816 -d, --debug don't remove temporary files
29817 --recheck update $as_me by reconfiguring in the same conditions
29818 --file=FILE[:TEMPLATE]
29819 instantiate the configuration file FILE
29820 --header=FILE[:TEMPLATE]
29821 instantiate the configuration header FILE
29822
29823 Configuration files:
29824 $config_files
29825
29826 Configuration headers:
29827 $config_headers
29828
29829 Configuration links:
29830 $config_links
29831
29832 Configuration commands:
29833 $config_commands
29834
29835 Report bugs to <bug-autoconf@gnu.org>."
29836 _ACEOF
29837
29838 cat >>$CONFIG_STATUS <<_ACEOF
29839 ac_cs_version="\\
29840 GNU Classpath config.status 0.95
29841 configured by $0, generated by GNU Autoconf 2.59,
29842 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29843
29844 Copyright (C) 2003 Free Software Foundation, Inc.
29845 This config.status script is free software; the Free Software Foundation
29846 gives unlimited permission to copy, distribute and modify it."
29847 srcdir=$srcdir
29848 INSTALL="$INSTALL"
29849 _ACEOF
29850
29851 cat >>$CONFIG_STATUS <<\_ACEOF
29852 # If no file are specified by the user, then we need to provide default
29853 # value. By we need to know if files were specified by the user.
29854 ac_need_defaults=:
29855 while test $# != 0
29856 do
29857 case $1 in
29858 --*=*)
29859 ac_option=`expr "x$1" : 'x\([^=]*\)='`
29860 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29861 ac_shift=:
29862 ;;
29863 -*)
29864 ac_option=$1
29865 ac_optarg=$2
29866 ac_shift=shift
29867 ;;
29868 *) # This is not an option, so the user has probably given explicit
29869 # arguments.
29870 ac_option=$1
29871 ac_need_defaults=false;;
29872 esac
29873
29874 case $ac_option in
29875 # Handling of the options.
29876 _ACEOF
29877 cat >>$CONFIG_STATUS <<\_ACEOF
29878 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29879 ac_cs_recheck=: ;;
29880 --version | --vers* | -V )
29881 echo "$ac_cs_version"; exit 0 ;;
29882 --he | --h)
29883 # Conflict between --help and --header
29884 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29885 Try \`$0 --help' for more information." >&5
29886 echo "$as_me: error: ambiguous option: $1
29887 Try \`$0 --help' for more information." >&2;}
29888 { (exit 1); exit 1; }; };;
29889 --help | --hel | -h )
29890 echo "$ac_cs_usage"; exit 0 ;;
29891 --debug | --d* | -d )
29892 debug=: ;;
29893 --file | --fil | --fi | --f )
29894 $ac_shift
29895 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
29896 ac_need_defaults=false;;
29897 --header | --heade | --head | --hea )
29898 $ac_shift
29899 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29900 ac_need_defaults=false;;
29901 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29902 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29903 ac_cs_silent=: ;;
29904
29905 # This is an error.
29906 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29907 Try \`$0 --help' for more information." >&5
29908 echo "$as_me: error: unrecognized option: $1
29909 Try \`$0 --help' for more information." >&2;}
29910 { (exit 1); exit 1; }; } ;;
29911
29912 *) ac_config_targets="$ac_config_targets $1" ;;
29913
29914 esac
29915 shift
29916 done
29917
29918 ac_configure_extra_args=
29919
29920 if $ac_cs_silent; then
29921 exec 6>/dev/null
29922 ac_configure_extra_args="$ac_configure_extra_args --silent"
29923 fi
29924
29925 _ACEOF
29926 cat >>$CONFIG_STATUS <<_ACEOF
29927 if \$ac_cs_recheck; then
29928 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29929 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29930 fi
29931
29932 _ACEOF
29933
29934 cat >>$CONFIG_STATUS <<_ACEOF
29935 #
29936 # INIT-COMMANDS section.
29937 #
29938
29939
29940 srcdir="$srcdir"
29941 host="$host"
29942 target="$target"
29943 with_multisubdir="$with_multisubdir"
29944 with_multisrctop="$with_multisrctop"
29945 with_target_subdir="$with_target_subdir"
29946 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29947 multi_basedir="$multi_basedir"
29948 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29949 CC="$CC"
29950 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29951
29952
29953 # The HP-UX ksh and POSIX shell print the target directory to stdout
29954 # if CDPATH is set.
29955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29956
29957 sed_quote_subst='$sed_quote_subst'
29958 double_quote_subst='$double_quote_subst'
29959 delay_variable_subst='$delay_variable_subst'
29960 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
29961 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
29962 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
29963 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
29964 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
29965 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
29966 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
29967 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
29968 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
29969 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
29970 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
29971 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
29972 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
29973 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
29974 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
29975 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
29976 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
29977 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
29978 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
29979 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
29980 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
29981 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
29982 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
29983 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
29984 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
29985 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
29986 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
29987 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29988 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
29989 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
29990 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
29991 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29992 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
29993 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
29994 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29995 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29996 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29997 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
29998 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29999 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
30000 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
30001 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
30002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
30003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
30004 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
30005 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
30006 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
30007 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
30008 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
30009 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
30010 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
30011 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
30012 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
30013 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
30014 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
30015 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30016 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30017 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
30018 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
30019 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30020 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30021 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
30022 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30023 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30024 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30025 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30026 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30027 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30028 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
30029 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30030 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30031 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30032 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
30033 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
30034 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
30035 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
30036 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
30037 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30038 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
30039 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
30040 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
30041 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
30042 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
30043 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30044 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30045 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30046 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30047 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
30048 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
30049 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
30050 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
30051 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
30052 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30053 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30054 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
30055 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30056 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
30057 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30058 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30059 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30060 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30061 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
30062 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
30063 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30064 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30065 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
30066 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
30067 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
30068 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
30069 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
30070 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
30071 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30072 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30073 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
30074 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
30075 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
30076 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30077 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30078 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30079 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30080 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30081 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30082 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30083 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30084 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30085 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30086 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30087 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30088 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30089 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30090 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30091 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30092 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30093 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30094 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30095 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30096 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30097 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30098 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30099 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30100 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30101 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30102 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30103 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30104 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30105 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30106 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30107 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30108 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30109 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30110 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30111 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30112 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30113 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30114 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30115 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30116 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30117 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30118 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30119 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30120 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30121 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30122
30123 LTCC='$LTCC'
30124 LTCFLAGS='$LTCFLAGS'
30125 compiler='$compiler_DEFAULT'
30126
30127 # Quote evaled strings.
30128 for var in SED \
30129 GREP \
30130 EGREP \
30131 FGREP \
30132 LD \
30133 NM \
30134 LN_S \
30135 lt_SP2NL \
30136 lt_NL2SP \
30137 reload_flag \
30138 deplibs_check_method \
30139 file_magic_cmd \
30140 AR \
30141 AR_FLAGS \
30142 STRIP \
30143 RANLIB \
30144 CC \
30145 CFLAGS \
30146 compiler \
30147 lt_cv_sys_global_symbol_pipe \
30148 lt_cv_sys_global_symbol_to_cdecl \
30149 lt_cv_sys_global_symbol_to_c_name_address \
30150 SHELL \
30151 ECHO \
30152 lt_prog_compiler_no_builtin_flag \
30153 lt_prog_compiler_wl \
30154 lt_prog_compiler_pic \
30155 lt_prog_compiler_static \
30156 lt_cv_prog_compiler_c_o \
30157 need_locks \
30158 shrext_cmds \
30159 export_dynamic_flag_spec \
30160 whole_archive_flag_spec \
30161 compiler_needs_object \
30162 with_gnu_ld \
30163 allow_undefined_flag \
30164 no_undefined_flag \
30165 hardcode_libdir_flag_spec \
30166 hardcode_libdir_flag_spec_ld \
30167 hardcode_libdir_separator \
30168 fix_srcfile_path \
30169 exclude_expsyms \
30170 include_expsyms \
30171 file_list_spec \
30172 variables_saved_for_relink \
30173 libname_spec \
30174 library_names_spec \
30175 soname_spec \
30176 finish_eval \
30177 old_striplib \
30178 striplib \
30179 predep_objects \
30180 postdep_objects \
30181 predeps \
30182 postdeps \
30183 compiler_lib_search_path \
30184 LD_CXX \
30185 compiler_CXX \
30186 lt_prog_compiler_no_builtin_flag_CXX \
30187 lt_prog_compiler_wl_CXX \
30188 lt_prog_compiler_pic_CXX \
30189 lt_prog_compiler_static_CXX \
30190 lt_cv_prog_compiler_c_o_CXX \
30191 export_dynamic_flag_spec_CXX \
30192 whole_archive_flag_spec_CXX \
30193 compiler_needs_object_CXX \
30194 with_gnu_ld_CXX \
30195 allow_undefined_flag_CXX \
30196 no_undefined_flag_CXX \
30197 hardcode_libdir_flag_spec_CXX \
30198 hardcode_libdir_flag_spec_ld_CXX \
30199 hardcode_libdir_separator_CXX \
30200 fix_srcfile_path_CXX \
30201 exclude_expsyms_CXX \
30202 include_expsyms_CXX \
30203 file_list_spec_CXX \
30204 predep_objects_CXX \
30205 postdep_objects_CXX \
30206 predeps_CXX \
30207 postdeps_CXX \
30208 compiler_lib_search_path_CXX; do
30209 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30210 *[\\\\\\\`\\"\\\$]*)
30211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
30212 ;;
30213 *)
30214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30215 ;;
30216 esac
30217 done
30218
30219 # Double-quote double-evaled strings.
30220 for var in reload_cmds \
30221 old_postinstall_cmds \
30222 old_postuninstall_cmds \
30223 old_archive_cmds \
30224 extract_expsyms_cmds \
30225 old_archive_from_new_cmds \
30226 old_archive_from_expsyms_cmds \
30227 archive_cmds \
30228 archive_expsym_cmds \
30229 module_cmds \
30230 module_expsym_cmds \
30231 export_symbols_cmds \
30232 prelink_cmds \
30233 postinstall_cmds \
30234 postuninstall_cmds \
30235 finish_cmds \
30236 sys_lib_search_path_spec \
30237 sys_lib_dlsearch_path_spec \
30238 old_archive_cmds_CXX \
30239 old_archive_from_new_cmds_CXX \
30240 old_archive_from_expsyms_cmds_CXX \
30241 archive_cmds_CXX \
30242 archive_expsym_cmds_CXX \
30243 module_cmds_CXX \
30244 module_expsym_cmds_CXX \
30245 export_symbols_cmds_CXX \
30246 prelink_cmds_CXX; do
30247 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30248 *[\\\\\\\`\\"\\\$]*)
30249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
30250 ;;
30251 *)
30252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30253 ;;
30254 esac
30255 done
30256
30257 # Fix-up fallback echo if it was mangled by the above quoting rules.
30258 case \$lt_ECHO in
30259 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
30260 ;;
30261 esac
30262
30263 ac_aux_dir='$ac_aux_dir'
30264 xsi_shell='$xsi_shell'
30265 lt_shell_append='$lt_shell_append'
30266
30267 # See if we are running on zsh, and set the options which allow our
30268 # commands through without removal of \ escapes INIT.
30269 if test -n "\${ZSH_VERSION+set}" ; then
30270 setopt NO_GLOB_SUBST
30271 fi
30272
30273
30274 PACKAGE='$PACKAGE'
30275 VERSION='$VERSION'
30276 TIMESTAMP='$TIMESTAMP'
30277 RM='$RM'
30278 ofile='$ofile'
30279
30280
30281
30282
30283
30284 # variables for create stdint.h replacement
30285 PACKAGE="$PACKAGE"
30286 VERSION="$VERSION"
30287 ac_stdint_h="$ac_stdint_h"
30288 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
30289 ac_cv_stdint_message="$ac_cv_stdint_message"
30290 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
30291 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
30292 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
30293 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
30294 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
30295 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
30296 ac_cv_char_data_model="$ac_cv_char_data_model"
30297 ac_cv_long_data_model="$ac_cv_long_data_model"
30298 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
30299 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
30300 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
30301
30302
30303 _ACEOF
30304
30305
30306
30307 cat >>$CONFIG_STATUS <<\_ACEOF
30308 for ac_config_target in $ac_config_targets
30309 do
30310 case "$ac_config_target" in
30311 # Handling of arguments.
30312 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
30313 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30314 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
30315 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
30316 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
30317 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
30318 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
30319 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
30320 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
30321 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
30322 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
30323 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
30324 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
30325 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
30326 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
30327 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
30328 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
30329 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
30330 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
30331 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
30332 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
30333 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
30334 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
30335 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
30336 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
30337 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
30338 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
30339 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
30340 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
30341 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
30342 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
30343 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
30344 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
30345 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
30346 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
30347 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
30348 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
30349 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
30350 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
30351 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
30352 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
30353 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
30354 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
30355 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
30356 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
30357 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
30358 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
30359 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
30360 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
30361 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
30362 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
30363 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
30364 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
30365 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
30366 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
30367 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30368 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30369 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
30370 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
30371 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
30372 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
30373 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
30374 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
30375 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
30376 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
30377 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
30378 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
30379 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
30380 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
30381 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
30382 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
30383 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
30384 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
30385 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
30386 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30387 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30388 { (exit 1); exit 1; }; };;
30389 esac
30390 done
30391
30392 # If the user did not use the arguments to specify the items to instantiate,
30393 # then the envvar interface is used. Set only those that are not.
30394 # We use the long form for the default assignment because of an extremely
30395 # bizarre bug on SunOS 4.1.3.
30396 if $ac_need_defaults; then
30397 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30398 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30399 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
30400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30401 fi
30402
30403 # Have a temporary directory for convenience. Make it in the build tree
30404 # simply because there is no reason to put it here, and in addition,
30405 # creating and moving files from /tmp can sometimes cause problems.
30406 # Create a temporary directory, and hook for its removal unless debugging.
30407 $debug ||
30408 {
30409 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30410 trap '{ (exit 1); exit 1; }' 1 2 13 15
30411 }
30412
30413 # Create a (secure) tmp directory for tmp files.
30414
30415 {
30416 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30417 test -n "$tmp" && test -d "$tmp"
30418 } ||
30419 {
30420 tmp=./confstat$$-$RANDOM
30421 (umask 077 && mkdir $tmp)
30422 } ||
30423 {
30424 echo "$me: cannot create a temporary directory in ." >&2
30425 { (exit 1); exit 1; }
30426 }
30427
30428 _ACEOF
30429
30430 cat >>$CONFIG_STATUS <<_ACEOF
30431
30432 #
30433 # CONFIG_FILES section.
30434 #
30435
30436 # No need to generate the scripts if there are no CONFIG_FILES.
30437 # This happens for instance when ./config.status config.h
30438 if test -n "\$CONFIG_FILES"; then
30439 # Protect against being on the right side of a sed subst in config.status.
30440 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30441 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30442 s,@SHELL@,$SHELL,;t t
30443 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30444 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30445 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30446 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30447 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30448 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30449 s,@exec_prefix@,$exec_prefix,;t t
30450 s,@prefix@,$prefix,;t t
30451 s,@program_transform_name@,$program_transform_name,;t t
30452 s,@bindir@,$bindir,;t t
30453 s,@sbindir@,$sbindir,;t t
30454 s,@libexecdir@,$libexecdir,;t t
30455 s,@datadir@,$datadir,;t t
30456 s,@sysconfdir@,$sysconfdir,;t t
30457 s,@sharedstatedir@,$sharedstatedir,;t t
30458 s,@localstatedir@,$localstatedir,;t t
30459 s,@libdir@,$libdir,;t t
30460 s,@includedir@,$includedir,;t t
30461 s,@oldincludedir@,$oldincludedir,;t t
30462 s,@infodir@,$infodir,;t t
30463 s,@mandir@,$mandir,;t t
30464 s,@build_alias@,$build_alias,;t t
30465 s,@host_alias@,$host_alias,;t t
30466 s,@target_alias@,$target_alias,;t t
30467 s,@DEFS@,$DEFS,;t t
30468 s,@ECHO_C@,$ECHO_C,;t t
30469 s,@ECHO_N@,$ECHO_N,;t t
30470 s,@ECHO_T@,$ECHO_T,;t t
30471 s,@LIBS@,$LIBS,;t t
30472 s,@build@,$build,;t t
30473 s,@build_cpu@,$build_cpu,;t t
30474 s,@build_vendor@,$build_vendor,;t t
30475 s,@build_os@,$build_os,;t t
30476 s,@host@,$host,;t t
30477 s,@host_cpu@,$host_cpu,;t t
30478 s,@host_vendor@,$host_vendor,;t t
30479 s,@host_os@,$host_os,;t t
30480 s,@target@,$target,;t t
30481 s,@target_cpu@,$target_cpu,;t t
30482 s,@target_vendor@,$target_vendor,;t t
30483 s,@target_os@,$target_os,;t t
30484 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
30485 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
30486 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
30487 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
30488 s,@multi_basedir@,$multi_basedir,;t t
30489 s,@LIBVERSION@,$LIBVERSION,;t t
30490 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
30491 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
30492 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30493 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30494 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30495 s,@CYGPATH_W@,$CYGPATH_W,;t t
30496 s,@PACKAGE@,$PACKAGE,;t t
30497 s,@VERSION@,$VERSION,;t t
30498 s,@ACLOCAL@,$ACLOCAL,;t t
30499 s,@AUTOCONF@,$AUTOCONF,;t t
30500 s,@AUTOMAKE@,$AUTOMAKE,;t t
30501 s,@AUTOHEADER@,$AUTOHEADER,;t t
30502 s,@MAKEINFO@,$MAKEINFO,;t t
30503 s,@install_sh@,$install_sh,;t t
30504 s,@STRIP@,$STRIP,;t t
30505 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30506 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30507 s,@mkdir_p@,$mkdir_p,;t t
30508 s,@AWK@,$AWK,;t t
30509 s,@SET_MAKE@,$SET_MAKE,;t t
30510 s,@am__leading_dot@,$am__leading_dot,;t t
30511 s,@AMTAR@,$AMTAR,;t t
30512 s,@am__tar@,$am__tar,;t t
30513 s,@am__untar@,$am__untar,;t t
30514 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
30515 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
30516 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
30517 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
30518 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
30519 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
30520 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
30521 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
30522 s,@default_toolkit@,$default_toolkit,;t t
30523 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
30524 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
30525 s,@CC@,$CC,;t t
30526 s,@CFLAGS@,$CFLAGS,;t t
30527 s,@LDFLAGS@,$LDFLAGS,;t t
30528 s,@CPPFLAGS@,$CPPFLAGS,;t t
30529 s,@ac_ct_CC@,$ac_ct_CC,;t t
30530 s,@EXEEXT@,$EXEEXT,;t t
30531 s,@OBJEXT@,$OBJEXT,;t t
30532 s,@DEPDIR@,$DEPDIR,;t t
30533 s,@am__include@,$am__include,;t t
30534 s,@am__quote@,$am__quote,;t t
30535 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30536 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30537 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30538 s,@CCDEPMODE@,$CCDEPMODE,;t t
30539 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30540 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30541 s,@CPP@,$CPP,;t t
30542 s,@EGREP@,$EGREP,;t t
30543 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
30544 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
30545 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
30546 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
30547 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
30548 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
30549 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
30550 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
30551 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
30552 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
30553 s,@toolexeclibdir@,$toolexeclibdir,;t t
30554 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
30555 s,@glibjdir@,$glibjdir,;t t
30556 s,@VM_BINARY@,$VM_BINARY,;t t
30557 s,@FOUND_CACAO_TRUE@,$FOUND_CACAO_TRUE,;t t
30558 s,@FOUND_CACAO_FALSE@,$FOUND_CACAO_FALSE,;t t
30559 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
30560 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
30561 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
30562 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
30563 s,@LN_S@,$LN_S,;t t
30564 s,@LIBTOOL@,$LIBTOOL,;t t
30565 s,@SED@,$SED,;t t
30566 s,@FGREP@,$FGREP,;t t
30567 s,@GREP@,$GREP,;t t
30568 s,@LD@,$LD,;t t
30569 s,@DUMPBIN@,$DUMPBIN,;t t
30570 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
30571 s,@NM@,$NM,;t t
30572 s,@AR@,$AR,;t t
30573 s,@ac_ct_AR@,$ac_ct_AR,;t t
30574 s,@RANLIB@,$RANLIB,;t t
30575 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30576 s,@lt_ECHO@,$lt_ECHO,;t t
30577 s,@CXX@,$CXX,;t t
30578 s,@CXXFLAGS@,$CXXFLAGS,;t t
30579 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30580 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30581 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30582 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30583 s,@CXXCPP@,$CXXCPP,;t t
30584 s,@PERL@,$PERL,;t t
30585 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
30586 s,@LIBMAGIC@,$LIBMAGIC,;t t
30587 s,@LIBICONV@,$LIBICONV,;t t
30588 s,@LTLIBICONV@,$LTLIBICONV,;t t
30589 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
30590 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
30591 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
30592 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
30593 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
30594 s,@XML_LIBS@,$XML_LIBS,;t t
30595 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
30596 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
30597 s,@X_CFLAGS@,$X_CFLAGS,;t t
30598 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
30599 s,@X_LIBS@,$X_LIBS,;t t
30600 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
30601 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
30602 s,@GTK_LIBS@,$GTK_LIBS,;t t
30603 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
30604 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
30605 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
30606 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
30607 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
30608 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
30609 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
30610 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
30611 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
30612 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
30613 s,@GDK_LIBS@,$GDK_LIBS,;t t
30614 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
30615 s,@QT_LIBS@,$QT_LIBS,;t t
30616 s,@MOC@,$MOC,;t t
30617 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
30618 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
30619 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
30620 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
30621 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
30622 s,@USER_JAVAH@,$USER_JAVAH,;t t
30623 s,@USER_SPECIFIED_JAVAH_TRUE@,$USER_SPECIFIED_JAVAH_TRUE,;t t
30624 s,@USER_SPECIFIED_JAVAH_FALSE@,$USER_SPECIFIED_JAVAH_FALSE,;t t
30625 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
30626 s,@GCJ@,$GCJ,;t t
30627 s,@JIKES@,$JIKES,;t t
30628 s,@JIKESENCODING@,$JIKESENCODING,;t t
30629 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
30630 s,@KJC@,$KJC,;t t
30631 s,@ECJ@,$ECJ,;t t
30632 s,@JAVAC@,$JAVAC,;t t
30633 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
30634 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
30635 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
30636 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
30637 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
30638 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
30639 s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t
30640 s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t
30641 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
30642 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
30643 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
30644 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
30645 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
30646 s,@vm_classes@,$vm_classes,;t t
30647 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30648 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30649 s,@MAINT@,$MAINT,;t t
30650 s,@LIBDEBUG@,$LIBDEBUG,;t t
30651 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
30652 s,@ECJ_JAR@,$ECJ_JAR,;t t
30653 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
30654 s,@REMOVE@,$REMOVE,;t t
30655 s,@MKDIR@,$MKDIR,;t t
30656 s,@CP@,$CP,;t t
30657 s,@DATE@,$DATE,;t t
30658 s,@FIND@,$FIND,;t t
30659 s,@ZIP@,$ZIP,;t t
30660 s,@FASTJAR@,$FASTJAR,;t t
30661 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
30662 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
30663 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
30664 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
30665 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
30666 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
30667 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
30668 s,@GJDOC@,$GJDOC,;t t
30669 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
30670 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
30671 s,@JAY@,$JAY,;t t
30672 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
30673 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
30674 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
30675 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
30676 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
30677 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
30678 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
30679 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
30680 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
30681 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
30682 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
30683 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
30684 s,@LIBOBJS@,$LIBOBJS,;t t
30685 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30686 CEOF
30687
30688 _ACEOF
30689
30690 cat >>$CONFIG_STATUS <<\_ACEOF
30691 # Split the substitutions into bite-sized pieces for seds with
30692 # small command number limits, like on Digital OSF/1 and HP-UX.
30693 ac_max_sed_lines=48
30694 ac_sed_frag=1 # Number of current file.
30695 ac_beg=1 # First line for current file.
30696 ac_end=$ac_max_sed_lines # Line after last line for current file.
30697 ac_more_lines=:
30698 ac_sed_cmds=
30699 while $ac_more_lines; do
30700 if test $ac_beg -gt 1; then
30701 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30702 else
30703 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30704 fi
30705 if test ! -s $tmp/subs.frag; then
30706 ac_more_lines=false
30707 else
30708 # The purpose of the label and of the branching condition is to
30709 # speed up the sed processing (if there are no `@' at all, there
30710 # is no need to browse any of the substitutions).
30711 # These are the two extra sed commands mentioned above.
30712 (echo ':t
30713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
30714 if test -z "$ac_sed_cmds"; then
30715 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
30716 else
30717 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30718 fi
30719 ac_sed_frag=`expr $ac_sed_frag + 1`
30720 ac_beg=$ac_end
30721 ac_end=`expr $ac_end + $ac_max_sed_lines`
30722 fi
30723 done
30724 if test -z "$ac_sed_cmds"; then
30725 ac_sed_cmds=cat
30726 fi
30727 fi # test -n "$CONFIG_FILES"
30728
30729 _ACEOF
30730 cat >>$CONFIG_STATUS <<\_ACEOF
30731 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
30732 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30733 case $ac_file in
30734 - | *:- | *:-:* ) # input from stdin
30735 cat >$tmp/stdin
30736 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30737 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30738 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30739 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30740 * ) ac_file_in=$ac_file.in ;;
30741 esac
30742
30743 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30744 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30746 X"$ac_file" : 'X\(//\)[^/]' \| \
30747 X"$ac_file" : 'X\(//\)$' \| \
30748 X"$ac_file" : 'X\(/\)' \| \
30749 . : '\(.\)' 2>/dev/null ||
30750 echo X"$ac_file" |
30751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30753 /^X\(\/\/\)$/{ s//\1/; q; }
30754 /^X\(\/\).*/{ s//\1/; q; }
30755 s/.*/./; q'`
30756 { if $as_mkdir_p; then
30757 mkdir -p "$ac_dir"
30758 else
30759 as_dir="$ac_dir"
30760 as_dirs=
30761 while test ! -d "$as_dir"; do
30762 as_dirs="$as_dir $as_dirs"
30763 as_dir=`(dirname "$as_dir") 2>/dev/null ||
30764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30765 X"$as_dir" : 'X\(//\)[^/]' \| \
30766 X"$as_dir" : 'X\(//\)$' \| \
30767 X"$as_dir" : 'X\(/\)' \| \
30768 . : '\(.\)' 2>/dev/null ||
30769 echo X"$as_dir" |
30770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30772 /^X\(\/\/\)$/{ s//\1/; q; }
30773 /^X\(\/\).*/{ s//\1/; q; }
30774 s/.*/./; q'`
30775 done
30776 test ! -n "$as_dirs" || mkdir $as_dirs
30777 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30778 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30779 { (exit 1); exit 1; }; }; }
30780
30781 ac_builddir=.
30782
30783 if test "$ac_dir" != .; then
30784 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30785 # A "../" for each directory in $ac_dir_suffix.
30786 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30787 else
30788 ac_dir_suffix= ac_top_builddir=
30789 fi
30790
30791 case $srcdir in
30792 .) # No --srcdir option. We are building in place.
30793 ac_srcdir=.
30794 if test -z "$ac_top_builddir"; then
30795 ac_top_srcdir=.
30796 else
30797 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30798 fi ;;
30799 [\\/]* | ?:[\\/]* ) # Absolute path.
30800 ac_srcdir=$srcdir$ac_dir_suffix;
30801 ac_top_srcdir=$srcdir ;;
30802 *) # Relative path.
30803 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30804 ac_top_srcdir=$ac_top_builddir$srcdir ;;
30805 esac
30806
30807 # Do not use `cd foo && pwd` to compute absolute paths, because
30808 # the directories may not exist.
30809 case `pwd` in
30810 .) ac_abs_builddir="$ac_dir";;
30811 *)
30812 case "$ac_dir" in
30813 .) ac_abs_builddir=`pwd`;;
30814 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30815 *) ac_abs_builddir=`pwd`/"$ac_dir";;
30816 esac;;
30817 esac
30818 case $ac_abs_builddir in
30819 .) ac_abs_top_builddir=${ac_top_builddir}.;;
30820 *)
30821 case ${ac_top_builddir}. in
30822 .) ac_abs_top_builddir=$ac_abs_builddir;;
30823 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30824 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30825 esac;;
30826 esac
30827 case $ac_abs_builddir in
30828 .) ac_abs_srcdir=$ac_srcdir;;
30829 *)
30830 case $ac_srcdir in
30831 .) ac_abs_srcdir=$ac_abs_builddir;;
30832 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30833 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30834 esac;;
30835 esac
30836 case $ac_abs_builddir in
30837 .) ac_abs_top_srcdir=$ac_top_srcdir;;
30838 *)
30839 case $ac_top_srcdir in
30840 .) ac_abs_top_srcdir=$ac_abs_builddir;;
30841 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30842 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30843 esac;;
30844 esac
30845
30846
30847 case $INSTALL in
30848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30849 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
30850 esac
30851
30852 if test x"$ac_file" != x-; then
30853 { echo "$as_me:$LINENO: creating $ac_file" >&5
30854 echo "$as_me: creating $ac_file" >&6;}
30855 rm -f "$ac_file"
30856 fi
30857 # Let's still pretend it is `configure' which instantiates (i.e., don't
30858 # use $as_me), people would be surprised to read:
30859 # /* config.h. Generated by config.status. */
30860 if test x"$ac_file" = x-; then
30861 configure_input=
30862 else
30863 configure_input="$ac_file. "
30864 fi
30865 configure_input=$configure_input"Generated from `echo $ac_file_in |
30866 sed 's,.*/,,'` by configure."
30867
30868 # First look for the input files in the build tree, otherwise in the
30869 # src tree.
30870 ac_file_inputs=`IFS=:
30871 for f in $ac_file_in; do
30872 case $f in
30873 -) echo $tmp/stdin ;;
30874 [\\/$]*)
30875 # Absolute (can't be DOS-style, as IFS=:)
30876 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30877 echo "$as_me: error: cannot find input file: $f" >&2;}
30878 { (exit 1); exit 1; }; }
30879 echo "$f";;
30880 *) # Relative
30881 if test -f "$f"; then
30882 # Build tree
30883 echo "$f"
30884 elif test -f "$srcdir/$f"; then
30885 # Source tree
30886 echo "$srcdir/$f"
30887 else
30888 # /dev/null tree
30889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30890 echo "$as_me: error: cannot find input file: $f" >&2;}
30891 { (exit 1); exit 1; }; }
30892 fi;;
30893 esac
30894 done` || { (exit 1); exit 1; }
30895 _ACEOF
30896 cat >>$CONFIG_STATUS <<_ACEOF
30897 sed "$ac_vpsub
30898 $extrasub
30899 _ACEOF
30900 cat >>$CONFIG_STATUS <<\_ACEOF
30901 :t
30902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30903 s,@configure_input@,$configure_input,;t t
30904 s,@srcdir@,$ac_srcdir,;t t
30905 s,@abs_srcdir@,$ac_abs_srcdir,;t t
30906 s,@top_srcdir@,$ac_top_srcdir,;t t
30907 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
30908 s,@builddir@,$ac_builddir,;t t
30909 s,@abs_builddir@,$ac_abs_builddir,;t t
30910 s,@top_builddir@,$ac_top_builddir,;t t
30911 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
30912 s,@INSTALL@,$ac_INSTALL,;t t
30913 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30914 rm -f $tmp/stdin
30915 if test x"$ac_file" != x-; then
30916 mv $tmp/out $ac_file
30917 else
30918 cat $tmp/out
30919 rm -f $tmp/out
30920 fi
30921
30922 done
30923 _ACEOF
30924 cat >>$CONFIG_STATUS <<\_ACEOF
30925
30926 #
30927 # CONFIG_HEADER section.
30928 #
30929
30930 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30931 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30932 #
30933 # ac_d sets the value in "#define NAME VALUE" lines.
30934 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30935 ac_dB='[ ].*$,\1#\2'
30936 ac_dC=' '
30937 ac_dD=',;t'
30938 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30939 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30940 ac_uB='$,\1#\2define\3'
30941 ac_uC=' '
30942 ac_uD=',;t'
30943
30944 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30945 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30946 case $ac_file in
30947 - | *:- | *:-:* ) # input from stdin
30948 cat >$tmp/stdin
30949 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30951 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30952 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30953 * ) ac_file_in=$ac_file.in ;;
30954 esac
30955
30956 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30957 echo "$as_me: creating $ac_file" >&6;}
30958
30959 # First look for the input files in the build tree, otherwise in the
30960 # src tree.
30961 ac_file_inputs=`IFS=:
30962 for f in $ac_file_in; do
30963 case $f in
30964 -) echo $tmp/stdin ;;
30965 [\\/$]*)
30966 # Absolute (can't be DOS-style, as IFS=:)
30967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30968 echo "$as_me: error: cannot find input file: $f" >&2;}
30969 { (exit 1); exit 1; }; }
30970 # Do quote $f, to prevent DOS paths from being IFS'd.
30971 echo "$f";;
30972 *) # Relative
30973 if test -f "$f"; then
30974 # Build tree
30975 echo "$f"
30976 elif test -f "$srcdir/$f"; then
30977 # Source tree
30978 echo "$srcdir/$f"
30979 else
30980 # /dev/null tree
30981 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30982 echo "$as_me: error: cannot find input file: $f" >&2;}
30983 { (exit 1); exit 1; }; }
30984 fi;;
30985 esac
30986 done` || { (exit 1); exit 1; }
30987 # Remove the trailing spaces.
30988 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30989
30990 _ACEOF
30991
30992 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30993 # `conftest.undefs', that substitutes the proper values into
30994 # config.h.in to produce config.h. The first handles `#define'
30995 # templates, and the second `#undef' templates.
30996 # And first: Protect against being on the right side of a sed subst in
30997 # config.status. Protect against being in an unquoted here document
30998 # in config.status.
30999 rm -f conftest.defines conftest.undefs
31000 # Using a here document instead of a string reduces the quoting nightmare.
31001 # Putting comments in sed scripts is not portable.
31002 #
31003 # `end' is used to avoid that the second main sed command (meant for
31004 # 0-ary CPP macros) applies to n-ary macro definitions.
31005 # See the Autoconf documentation for `clear'.
31006 cat >confdef2sed.sed <<\_ACEOF
31007 s/[\\&,]/\\&/g
31008 s,[\\$`],\\&,g
31009 t clear
31010 : clear
31011 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31012 t end
31013 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31014 : end
31015 _ACEOF
31016 # If some macros were called several times there might be several times
31017 # the same #defines, which is useless. Nevertheless, we may not want to
31018 # sort them, since we want the *last* AC-DEFINE to be honored.
31019 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31020 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31021 rm -f confdef2sed.sed
31022
31023 # This sed command replaces #undef with comments. This is necessary, for
31024 # example, in the case of _POSIX_SOURCE, which is predefined and required
31025 # on some systems where configure will not decide to define it.
31026 cat >>conftest.undefs <<\_ACEOF
31027 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31028 _ACEOF
31029
31030 # Break up conftest.defines because some shells have a limit on the size
31031 # of here documents, and old seds have small limits too (100 cmds).
31032 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31033 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31034 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31035 echo ' :' >>$CONFIG_STATUS
31036 rm -f conftest.tail
31037 while grep . conftest.defines >/dev/null
31038 do
31039 # Write a limited-size here document to $tmp/defines.sed.
31040 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31041 # Speed up: don't consider the non `#define' lines.
31042 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31043 # Work around the forget-to-reset-the-flag bug.
31044 echo 't clr' >>$CONFIG_STATUS
31045 echo ': clr' >>$CONFIG_STATUS
31046 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
31047 echo 'CEOF
31048 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31049 rm -f $tmp/in
31050 mv $tmp/out $tmp/in
31051 ' >>$CONFIG_STATUS
31052 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
31053 rm -f conftest.defines
31054 mv conftest.tail conftest.defines
31055 done
31056 rm -f conftest.defines
31057 echo ' fi # grep' >>$CONFIG_STATUS
31058 echo >>$CONFIG_STATUS
31059
31060 # Break up conftest.undefs because some shells have a limit on the size
31061 # of here documents, and old seds have small limits too (100 cmds).
31062 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31063 rm -f conftest.tail
31064 while grep . conftest.undefs >/dev/null
31065 do
31066 # Write a limited-size here document to $tmp/undefs.sed.
31067 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31068 # Speed up: don't consider the non `#undef'
31069 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31070 # Work around the forget-to-reset-the-flag bug.
31071 echo 't clr' >>$CONFIG_STATUS
31072 echo ': clr' >>$CONFIG_STATUS
31073 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31074 echo 'CEOF
31075 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31076 rm -f $tmp/in
31077 mv $tmp/out $tmp/in
31078 ' >>$CONFIG_STATUS
31079 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31080 rm -f conftest.undefs
31081 mv conftest.tail conftest.undefs
31082 done
31083 rm -f conftest.undefs
31084
31085 cat >>$CONFIG_STATUS <<\_ACEOF
31086 # Let's still pretend it is `configure' which instantiates (i.e., don't
31087 # use $as_me), people would be surprised to read:
31088 # /* config.h. Generated by config.status. */
31089 if test x"$ac_file" = x-; then
31090 echo "/* Generated by configure. */" >$tmp/config.h
31091 else
31092 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31093 fi
31094 cat $tmp/in >>$tmp/config.h
31095 rm -f $tmp/in
31096 if test x"$ac_file" != x-; then
31097 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
31098 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31099 echo "$as_me: $ac_file is unchanged" >&6;}
31100 else
31101 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31103 X"$ac_file" : 'X\(//\)[^/]' \| \
31104 X"$ac_file" : 'X\(//\)$' \| \
31105 X"$ac_file" : 'X\(/\)' \| \
31106 . : '\(.\)' 2>/dev/null ||
31107 echo X"$ac_file" |
31108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31110 /^X\(\/\/\)$/{ s//\1/; q; }
31111 /^X\(\/\).*/{ s//\1/; q; }
31112 s/.*/./; q'`
31113 { if $as_mkdir_p; then
31114 mkdir -p "$ac_dir"
31115 else
31116 as_dir="$ac_dir"
31117 as_dirs=
31118 while test ! -d "$as_dir"; do
31119 as_dirs="$as_dir $as_dirs"
31120 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31122 X"$as_dir" : 'X\(//\)[^/]' \| \
31123 X"$as_dir" : 'X\(//\)$' \| \
31124 X"$as_dir" : 'X\(/\)' \| \
31125 . : '\(.\)' 2>/dev/null ||
31126 echo X"$as_dir" |
31127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31129 /^X\(\/\/\)$/{ s//\1/; q; }
31130 /^X\(\/\).*/{ s//\1/; q; }
31131 s/.*/./; q'`
31132 done
31133 test ! -n "$as_dirs" || mkdir $as_dirs
31134 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31136 { (exit 1); exit 1; }; }; }
31137
31138 rm -f $ac_file
31139 mv $tmp/config.h $ac_file
31140 fi
31141 else
31142 cat $tmp/config.h
31143 rm -f $tmp/config.h
31144 fi
31145 # Compute $ac_file's index in $config_headers.
31146 _am_stamp_count=1
31147 for _am_header in $config_headers :; do
31148 case $_am_header in
31149 $ac_file | $ac_file:* )
31150 break ;;
31151 * )
31152 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31153 esac
31154 done
31155 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31156 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31157 X$ac_file : 'X\(//\)[^/]' \| \
31158 X$ac_file : 'X\(//\)$' \| \
31159 X$ac_file : 'X\(/\)' \| \
31160 . : '\(.\)' 2>/dev/null ||
31161 echo X$ac_file |
31162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31164 /^X\(\/\/\)$/{ s//\1/; q; }
31165 /^X\(\/\).*/{ s//\1/; q; }
31166 s/.*/./; q'`/stamp-h$_am_stamp_count
31167 done
31168 _ACEOF
31169 cat >>$CONFIG_STATUS <<\_ACEOF
31170
31171 #
31172 # CONFIG_LINKS section.
31173 #
31174
31175 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
31176 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31177 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31178
31179 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
31180 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
31181
31182 if test ! -r $srcdir/$ac_source; then
31183 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
31184 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
31185 { (exit 1); exit 1; }; }
31186 fi
31187 rm -f $ac_dest
31188
31189 # Make relative symlinks.
31190 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
31191 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31192 X"$ac_dest" : 'X\(//\)[^/]' \| \
31193 X"$ac_dest" : 'X\(//\)$' \| \
31194 X"$ac_dest" : 'X\(/\)' \| \
31195 . : '\(.\)' 2>/dev/null ||
31196 echo X"$ac_dest" |
31197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31199 /^X\(\/\/\)$/{ s//\1/; q; }
31200 /^X\(\/\).*/{ s//\1/; q; }
31201 s/.*/./; q'`
31202 { if $as_mkdir_p; then
31203 mkdir -p "$ac_dest_dir"
31204 else
31205 as_dir="$ac_dest_dir"
31206 as_dirs=
31207 while test ! -d "$as_dir"; do
31208 as_dirs="$as_dir $as_dirs"
31209 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31211 X"$as_dir" : 'X\(//\)[^/]' \| \
31212 X"$as_dir" : 'X\(//\)$' \| \
31213 X"$as_dir" : 'X\(/\)' \| \
31214 . : '\(.\)' 2>/dev/null ||
31215 echo X"$as_dir" |
31216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31218 /^X\(\/\/\)$/{ s//\1/; q; }
31219 /^X\(\/\).*/{ s//\1/; q; }
31220 s/.*/./; q'`
31221 done
31222 test ! -n "$as_dirs" || mkdir $as_dirs
31223 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
31224 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
31225 { (exit 1); exit 1; }; }; }
31226
31227 ac_builddir=.
31228
31229 if test "$ac_dest_dir" != .; then
31230 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
31231 # A "../" for each directory in $ac_dir_suffix.
31232 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31233 else
31234 ac_dir_suffix= ac_top_builddir=
31235 fi
31236
31237 case $srcdir in
31238 .) # No --srcdir option. We are building in place.
31239 ac_srcdir=.
31240 if test -z "$ac_top_builddir"; then
31241 ac_top_srcdir=.
31242 else
31243 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31244 fi ;;
31245 [\\/]* | ?:[\\/]* ) # Absolute path.
31246 ac_srcdir=$srcdir$ac_dir_suffix;
31247 ac_top_srcdir=$srcdir ;;
31248 *) # Relative path.
31249 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31250 ac_top_srcdir=$ac_top_builddir$srcdir ;;
31251 esac
31252
31253 # Do not use `cd foo && pwd` to compute absolute paths, because
31254 # the directories may not exist.
31255 case `pwd` in
31256 .) ac_abs_builddir="$ac_dest_dir";;
31257 *)
31258 case "$ac_dest_dir" in
31259 .) ac_abs_builddir=`pwd`;;
31260 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
31261 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
31262 esac;;
31263 esac
31264 case $ac_abs_builddir in
31265 .) ac_abs_top_builddir=${ac_top_builddir}.;;
31266 *)
31267 case ${ac_top_builddir}. in
31268 .) ac_abs_top_builddir=$ac_abs_builddir;;
31269 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31270 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31271 esac;;
31272 esac
31273 case $ac_abs_builddir in
31274 .) ac_abs_srcdir=$ac_srcdir;;
31275 *)
31276 case $ac_srcdir in
31277 .) ac_abs_srcdir=$ac_abs_builddir;;
31278 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31279 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31280 esac;;
31281 esac
31282 case $ac_abs_builddir in
31283 .) ac_abs_top_srcdir=$ac_top_srcdir;;
31284 *)
31285 case $ac_top_srcdir in
31286 .) ac_abs_top_srcdir=$ac_abs_builddir;;
31287 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31288 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31289 esac;;
31290 esac
31291
31292
31293 case $srcdir in
31294 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
31295 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
31296 esac
31297
31298 # Try a symlink, then a hard link, then a copy.
31299 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
31300 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
31301 cp -p $srcdir/$ac_source $ac_dest ||
31302 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
31303 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
31304 { (exit 1); exit 1; }; }
31305 done
31306 _ACEOF
31307 cat >>$CONFIG_STATUS <<\_ACEOF
31308
31309 #
31310 # CONFIG_COMMANDS section.
31311 #
31312 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
31313 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31314 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31315 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
31316 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31317 X"$ac_dest" : 'X\(//\)[^/]' \| \
31318 X"$ac_dest" : 'X\(//\)$' \| \
31319 X"$ac_dest" : 'X\(/\)' \| \
31320 . : '\(.\)' 2>/dev/null ||
31321 echo X"$ac_dest" |
31322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31323 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31324 /^X\(\/\/\)$/{ s//\1/; q; }
31325 /^X\(\/\).*/{ s//\1/; q; }
31326 s/.*/./; q'`
31327 { if $as_mkdir_p; then
31328 mkdir -p "$ac_dir"
31329 else
31330 as_dir="$ac_dir"
31331 as_dirs=
31332 while test ! -d "$as_dir"; do
31333 as_dirs="$as_dir $as_dirs"
31334 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31336 X"$as_dir" : 'X\(//\)[^/]' \| \
31337 X"$as_dir" : 'X\(//\)$' \| \
31338 X"$as_dir" : 'X\(/\)' \| \
31339 . : '\(.\)' 2>/dev/null ||
31340 echo X"$as_dir" |
31341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31342 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31343 /^X\(\/\/\)$/{ s//\1/; q; }
31344 /^X\(\/\).*/{ s//\1/; q; }
31345 s/.*/./; q'`
31346 done
31347 test ! -n "$as_dirs" || mkdir $as_dirs
31348 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31349 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31350 { (exit 1); exit 1; }; }; }
31351
31352 ac_builddir=.
31353
31354 if test "$ac_dir" != .; then
31355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31356 # A "../" for each directory in $ac_dir_suffix.
31357 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31358 else
31359 ac_dir_suffix= ac_top_builddir=
31360 fi
31361
31362 case $srcdir in
31363 .) # No --srcdir option. We are building in place.
31364 ac_srcdir=.
31365 if test -z "$ac_top_builddir"; then
31366 ac_top_srcdir=.
31367 else
31368 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31369 fi ;;
31370 [\\/]* | ?:[\\/]* ) # Absolute path.
31371 ac_srcdir=$srcdir$ac_dir_suffix;
31372 ac_top_srcdir=$srcdir ;;
31373 *) # Relative path.
31374 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31375 ac_top_srcdir=$ac_top_builddir$srcdir ;;
31376 esac
31377
31378 # Do not use `cd foo && pwd` to compute absolute paths, because
31379 # the directories may not exist.
31380 case `pwd` in
31381 .) ac_abs_builddir="$ac_dir";;
31382 *)
31383 case "$ac_dir" in
31384 .) ac_abs_builddir=`pwd`;;
31385 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31386 *) ac_abs_builddir=`pwd`/"$ac_dir";;
31387 esac;;
31388 esac
31389 case $ac_abs_builddir in
31390 .) ac_abs_top_builddir=${ac_top_builddir}.;;
31391 *)
31392 case ${ac_top_builddir}. in
31393 .) ac_abs_top_builddir=$ac_abs_builddir;;
31394 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31395 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31396 esac;;
31397 esac
31398 case $ac_abs_builddir in
31399 .) ac_abs_srcdir=$ac_srcdir;;
31400 *)
31401 case $ac_srcdir in
31402 .) ac_abs_srcdir=$ac_abs_builddir;;
31403 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31404 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31405 esac;;
31406 esac
31407 case $ac_abs_builddir in
31408 .) ac_abs_top_srcdir=$ac_top_srcdir;;
31409 *)
31410 case $ac_top_srcdir in
31411 .) ac_abs_top_srcdir=$ac_abs_builddir;;
31412 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31413 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31414 esac;;
31415 esac
31416
31417
31418 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31419 echo "$as_me: executing $ac_dest commands" >&6;}
31420 case $ac_dest in
31421 default-1 )
31422 # Only add multilib support code if we just rebuilt the top-level
31423 # Makefile.
31424 case " $CONFIG_FILES " in
31425 *" Makefile "*)
31426 ac_file=Makefile . ${multi_basedir}/config-ml.in
31427 ;;
31428 esac ;;
31429 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31430 # Strip MF so we end up with the name of the file.
31431 mf=`echo "$mf" | sed -e 's/:.*$//'`
31432 # Check whether this is an Automake generated Makefile or not.
31433 # We used to match only the files named `Makefile.in', but
31434 # some people rename them; so instead we look at the file content.
31435 # Grep'ing the first line is not enough: some people post-process
31436 # each Makefile.in and add a new line on top of each file to say so.
31437 # So let's grep whole file.
31438 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
31439 dirpart=`(dirname "$mf") 2>/dev/null ||
31440 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31441 X"$mf" : 'X\(//\)[^/]' \| \
31442 X"$mf" : 'X\(//\)$' \| \
31443 X"$mf" : 'X\(/\)' \| \
31444 . : '\(.\)' 2>/dev/null ||
31445 echo X"$mf" |
31446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31448 /^X\(\/\/\)$/{ s//\1/; q; }
31449 /^X\(\/\).*/{ s//\1/; q; }
31450 s/.*/./; q'`
31451 else
31452 continue
31453 fi
31454 # Extract the definition of DEPDIR, am__include, and am__quote
31455 # from the Makefile without running `make'.
31456 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31457 test -z "$DEPDIR" && continue
31458 am__include=`sed -n 's/^am__include = //p' < "$mf"`
31459 test -z "am__include" && continue
31460 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
31461 # When using ansi2knr, U may be empty or an underscore; expand it
31462 U=`sed -n 's/^U = //p' < "$mf"`
31463 # Find all dependency output files, they are included files with
31464 # $(DEPDIR) in their names. We invoke sed twice because it is the
31465 # simplest approach to changing $(DEPDIR) to its actual value in the
31466 # expansion.
31467 for file in `sed -n "
31468 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31469 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31470 # Make sure the directory exists.
31471 test -f "$dirpart/$file" && continue
31472 fdir=`(dirname "$file") 2>/dev/null ||
31473 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31474 X"$file" : 'X\(//\)[^/]' \| \
31475 X"$file" : 'X\(//\)$' \| \
31476 X"$file" : 'X\(/\)' \| \
31477 . : '\(.\)' 2>/dev/null ||
31478 echo X"$file" |
31479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31481 /^X\(\/\/\)$/{ s//\1/; q; }
31482 /^X\(\/\).*/{ s//\1/; q; }
31483 s/.*/./; q'`
31484 { if $as_mkdir_p; then
31485 mkdir -p $dirpart/$fdir
31486 else
31487 as_dir=$dirpart/$fdir
31488 as_dirs=
31489 while test ! -d "$as_dir"; do
31490 as_dirs="$as_dir $as_dirs"
31491 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31493 X"$as_dir" : 'X\(//\)[^/]' \| \
31494 X"$as_dir" : 'X\(//\)$' \| \
31495 X"$as_dir" : 'X\(/\)' \| \
31496 . : '\(.\)' 2>/dev/null ||
31497 echo X"$as_dir" |
31498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31500 /^X\(\/\/\)$/{ s//\1/; q; }
31501 /^X\(\/\).*/{ s//\1/; q; }
31502 s/.*/./; q'`
31503 done
31504 test ! -n "$as_dirs" || mkdir $as_dirs
31505 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
31506 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
31507 { (exit 1); exit 1; }; }; }
31508
31509 # echo "creating $dirpart/$file"
31510 echo '# dummy' > "$dirpart/$file"
31511 done
31512 done
31513 ;;
31514 libtool )
31515
31516 # See if we are running on zsh, and set the options which allow our
31517 # commands through without removal of \ escapes.
31518 if test -n "${ZSH_VERSION+set}" ; then
31519 setopt NO_GLOB_SUBST
31520 fi
31521
31522 cfgfile="${ofile}T"
31523 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31524 $RM "$cfgfile"
31525
31526 cat <<_LT_EOF >> "$cfgfile"
31527 #! $SHELL
31528
31529 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
31530 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
31531 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31532 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31533 #
31534 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
31535 # 2006, 2007 Free Software Foundation, Inc.
31536 #
31537 # This file is part of GNU Libtool:
31538 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31539 #
31540 # This program is free software; you can redistribute it and/or modify
31541 # it under the terms of the GNU General Public License as published by
31542 # the Free Software Foundation; either version 2 of the License, or
31543 # (at your option) any later version.
31544 #
31545 # This program is distributed in the hope that it will be useful, but
31546 # WITHOUT ANY WARRANTY; without even the implied warranty of
31547 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31548 # General Public License for more details.
31549 #
31550 # You should have received a copy of the GNU General Public License
31551 # along with this program; if not, a copy can be downloaded from
31552 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
31553 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
31554 # MA 02110-1301, USA.
31555 #
31556 # As a special exception to the GNU General Public License, if you
31557 # distribute this file as part of a program that contains a
31558 # configuration script generated by Autoconf, you may include it under
31559 # the same distribution terms that you use for the rest of that program.
31560
31561
31562 # The names of the tagged configurations supported by this script.
31563 available_tags="CXX "
31564
31565 # ### BEGIN LIBTOOL CONFIG
31566
31567 # Whether or not to build static libraries.
31568 build_old_libs=$enable_static
31569
31570 # Which release of libtool.m4 was used?
31571 macro_version=$macro_version
31572 macro_revision=$macro_revision
31573
31574 # Whether or not to build shared libraries.
31575 build_libtool_libs=$enable_shared
31576
31577 # What type of objects to build.
31578 pic_mode=$pic_mode
31579
31580 # Whether or not to optimize for fast installation.
31581 fast_install=$enable_fast_install
31582
31583 # The host system.
31584 host_alias=$host_alias
31585 host=$host
31586 host_os=$host_os
31587
31588 # The build system.
31589 build_alias=$build_alias
31590 build=$build
31591 build_os=$build_os
31592
31593 # A sed program that does not truncate output.
31594 SED=$lt_SED
31595
31596 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31597 Xsed="\$SED -e 1s/^X//"
31598
31599 # A grep program that handles long lines.
31600 GREP=$lt_GREP
31601
31602 # An ERE matcher.
31603 EGREP=$lt_EGREP
31604
31605 # A literal string matcher.
31606 FGREP=$lt_FGREP
31607
31608 # A BSD- or MS-compatible name lister.
31609 NM=$lt_NM
31610
31611 # Whether we need soft or hard links.
31612 LN_S=$lt_LN_S
31613
31614 # What is the maximum length of a command?
31615 max_cmd_len=$max_cmd_len
31616
31617 # Object file suffix (normally "o").
31618 objext=$ac_objext
31619
31620 # Executable file suffix (normally "").
31621 exeext=$exeext
31622
31623 # whether the shell understands "unset".
31624 lt_unset=$lt_unset
31625
31626 # turn spaces into newlines.
31627 SP2NL=$lt_lt_SP2NL
31628
31629 # turn newlines into spaces.
31630 NL2SP=$lt_lt_NL2SP
31631
31632 # How to create reloadable object files.
31633 reload_flag=$lt_reload_flag
31634 reload_cmds=$lt_reload_cmds
31635
31636 # Method to check whether dependent libraries are shared objects.
31637 deplibs_check_method=$lt_deplibs_check_method
31638
31639 # Command to use when deplibs_check_method == "file_magic".
31640 file_magic_cmd=$lt_file_magic_cmd
31641
31642 # The archiver.
31643 AR=$lt_AR
31644 AR_FLAGS=$lt_AR_FLAGS
31645
31646 # A symbol stripping program.
31647 STRIP=$lt_STRIP
31648
31649 # Commands used to install an old-style archive.
31650 RANLIB=$lt_RANLIB
31651 old_postinstall_cmds=$lt_old_postinstall_cmds
31652 old_postuninstall_cmds=$lt_old_postuninstall_cmds
31653
31654 # A C compiler.
31655 LTCC=$lt_CC
31656
31657 # LTCC compiler flags.
31658 LTCFLAGS=$lt_CFLAGS
31659
31660 # Take the output of nm and produce a listing of raw symbols and C names.
31661 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
31662
31663 # Transform the output of nm in a proper C declaration.
31664 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
31665
31666 # Transform the output of nm in a C name address pair.
31667 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
31668
31669 # The name of the directory that contains temporary libtool files.
31670 objdir=$objdir
31671
31672 # Shell to use when invoking shell scripts.
31673 SHELL=$lt_SHELL
31674
31675 # An echo program that does not interpret backslashes.
31676 ECHO=$lt_ECHO
31677
31678 # Used to examine libraries when file_magic_cmd begins with "file".
31679 MAGIC_CMD=$MAGIC_CMD
31680
31681 # Must we lock files when doing compilation?
31682 need_locks=$lt_need_locks
31683
31684 # Old archive suffix (normally "a").
31685 libext=$libext
31686
31687 # Shared library suffix (normally ".so").
31688 shrext_cmds=$lt_shrext_cmds
31689
31690 # The commands to extract the exported symbol list from a shared archive.
31691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
31692
31693 # Variables whose values should be saved in libtool wrapper scripts and
31694 # restored at link time.
31695 variables_saved_for_relink=$lt_variables_saved_for_relink
31696
31697 # Do we need the "lib" prefix for modules?
31698 need_lib_prefix=$need_lib_prefix
31699
31700 # Do we need a version for libraries?
31701 need_version=$need_version
31702
31703 # Library versioning type.
31704 version_type=$version_type
31705
31706 # Shared library runtime path variable.
31707 runpath_var=$runpath_var
31708
31709 # Shared library path variable.
31710 shlibpath_var=$shlibpath_var
31711
31712 # Is shlibpath searched before the hard-coded library search path?
31713 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31714
31715 # Format of library name prefix.
31716 libname_spec=$lt_libname_spec
31717
31718 # List of archive names. First name is the real one, the rest are links.
31719 # The last name is the one that the linker finds with -lNAME
31720 library_names_spec=$lt_library_names_spec
31721
31722 # The coded name of the library, if different from the real name.
31723 soname_spec=$lt_soname_spec
31724
31725 # Command to use after installation of a shared archive.
31726 postinstall_cmds=$lt_postinstall_cmds
31727
31728 # Command to use after uninstallation of a shared archive.
31729 postuninstall_cmds=$lt_postuninstall_cmds
31730
31731 # Commands used to finish a libtool library installation in a directory.
31732 finish_cmds=$lt_finish_cmds
31733
31734 # As "finish_cmds", except a single script fragment to be evaled but
31735 # not shown.
31736 finish_eval=$lt_finish_eval
31737
31738 # Whether we should hardcode library paths into libraries.
31739 hardcode_into_libs=$hardcode_into_libs
31740
31741 # Compile-time system search path for libraries.
31742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31743
31744 # Run-time system search path for libraries.
31745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
31746
31747 # Whether dlopen is supported.
31748 dlopen_support=$enable_dlopen
31749
31750 # Whether dlopen of programs is supported.
31751 dlopen_self=$enable_dlopen_self
31752
31753 # Whether dlopen of statically linked programs is supported.
31754 dlopen_self_static=$enable_dlopen_self_static
31755
31756 # Commands to strip libraries.
31757 old_striplib=$lt_old_striplib
31758 striplib=$lt_striplib
31759
31760
31761 # The linker used to build libraries.
31762 LD=$lt_LD
31763
31764 # Commands used to build an old-style archive.
31765 old_archive_cmds=$lt_old_archive_cmds
31766
31767 # A language specific compiler.
31768 CC=$lt_compiler
31769
31770 # Is the compiler the GNU compiler?
31771 with_gcc=$GCC
31772
31773 # Compiler flag to turn off builtin functions.
31774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31775
31776 # How to pass a linker flag through the compiler.
31777 wl=$lt_lt_prog_compiler_wl
31778
31779 # Additional compiler flags for building library objects.
31780 pic_flag=$lt_lt_prog_compiler_pic
31781
31782 # Compiler flag to prevent dynamic linking.
31783 link_static_flag=$lt_lt_prog_compiler_static
31784
31785 # Does compiler simultaneously support -c and -o options?
31786 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31787
31788 # Whether or not to add -lc for building shared libraries.
31789 build_libtool_need_lc=$archive_cmds_need_lc
31790
31791 # Whether or not to disallow shared libs when runtime libs are static.
31792 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31793
31794 # Compiler flag to allow reflexive dlopens.
31795 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31796
31797 # Compiler flag to generate shared objects directly from archives.
31798 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31799
31800 # Whether the compiler copes with passing no objects directly.
31801 compiler_needs_object=$lt_compiler_needs_object
31802
31803 # Create an old-style archive from a shared archive.
31804 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31805
31806 # Create a temporary old-style archive to link instead of a shared archive.
31807 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31808
31809 # Commands used to build a shared archive.
31810 archive_cmds=$lt_archive_cmds
31811 archive_expsym_cmds=$lt_archive_expsym_cmds
31812
31813 # Commands used to build a loadable module if different from building
31814 # a shared archive.
31815 module_cmds=$lt_module_cmds
31816 module_expsym_cmds=$lt_module_expsym_cmds
31817
31818 # Whether we are building with GNU ld or not.
31819 with_gnu_ld=$lt_with_gnu_ld
31820
31821 # Flag that allows shared libraries with undefined symbols to be built.
31822 allow_undefined_flag=$lt_allow_undefined_flag
31823
31824 # Flag that enforces no undefined symbols.
31825 no_undefined_flag=$lt_no_undefined_flag
31826
31827 # Flag to hardcode \$libdir into a binary during linking.
31828 # This must work even if \$libdir does not exist
31829 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31830
31831 # If ld is used when linking, flag to hardcode \$libdir into a binary
31832 # during linking. This must work even if \$libdir does not exist.
31833 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
31834
31835 # Whether we need a single "-rpath" flag with a separated argument.
31836 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31837
31838 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31839 # DIR into the resulting binary.
31840 hardcode_direct=$hardcode_direct
31841
31842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31843 # DIR into the resulting binary and the resulting library dependency is
31844 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31845 # library is relocated.
31846 hardcode_direct_absolute=$hardcode_direct_absolute
31847
31848 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31849 # into the resulting binary.
31850 hardcode_minus_L=$hardcode_minus_L
31851
31852 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31853 # into the resulting binary.
31854 hardcode_shlibpath_var=$hardcode_shlibpath_var
31855
31856 # Set to "yes" if building a shared library automatically hardcodes DIR
31857 # into the library and all subsequent libraries and executables linked
31858 # against it.
31859 hardcode_automatic=$hardcode_automatic
31860
31861 # Set to yes if linker adds runtime paths of dependent libraries
31862 # to runtime path list.
31863 inherit_rpath=$inherit_rpath
31864
31865 # Whether libtool must link a program against all its dependency libraries.
31866 link_all_deplibs=$link_all_deplibs
31867
31868 # Fix the shell variable \$srcfile for the compiler.
31869 fix_srcfile_path=$lt_fix_srcfile_path
31870
31871 # Set to "yes" if exported symbols are required.
31872 always_export_symbols=$always_export_symbols
31873
31874 # The commands to list exported symbols.
31875 export_symbols_cmds=$lt_export_symbols_cmds
31876
31877 # Symbols that should not be listed in the preloaded symbols.
31878 exclude_expsyms=$lt_exclude_expsyms
31879
31880 # Symbols that must always be exported.
31881 include_expsyms=$lt_include_expsyms
31882
31883 # Commands necessary for linking programs (against libraries) with templates.
31884 prelink_cmds=$lt_prelink_cmds
31885
31886 # Specify filename containing input files.
31887 file_list_spec=$lt_file_list_spec
31888
31889 # How to hardcode a shared library path into an executable.
31890 hardcode_action=$hardcode_action
31891
31892 # Dependencies to place before and after the objects being linked to
31893 # create a shared library.
31894 predep_objects=$lt_predep_objects
31895 postdep_objects=$lt_postdep_objects
31896 predeps=$lt_predeps
31897 postdeps=$lt_postdeps
31898
31899 # The library search path used internally by the compiler when linking
31900 # a shared library.
31901 compiler_lib_search_path=$lt_compiler_lib_search_path
31902
31903 # ### END LIBTOOL CONFIG
31904
31905 _LT_EOF
31906
31907 case $host_os in
31908 aix3*)
31909 cat <<\_LT_EOF >> "$cfgfile"
31910 # AIX sometimes has problems with the GCC collect2 program. For some
31911 # reason, if we set the COLLECT_NAMES environment variable, the problems
31912 # vanish in a puff of smoke.
31913 if test "X${COLLECT_NAMES+set}" != Xset; then
31914 COLLECT_NAMES=
31915 export COLLECT_NAMES
31916 fi
31917 _LT_EOF
31918 ;;
31919 esac
31920
31921
31922 ltmain="$ac_aux_dir/ltmain.sh"
31923
31924
31925 # We use sed instead of cat because bash on DJGPP gets confused if
31926 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31927 # text mode, it properly converts lines to CR/LF. This bash problem
31928 # is reportedly fixed, but why not run on old versions too?
31929 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
31930 || (rm -f "$cfgfile"; exit 1)
31931
31932 case $xsi_shell in
31933 yes)
31934 cat << \_LT_EOF >> "$cfgfile"
31935 # func_dirname file append nondir_replacement
31936 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31937 # otherwise set result to NONDIR_REPLACEMENT.
31938 func_dirname ()
31939 {
31940 case ${1} in
31941 */*) func_dirname_result="${1%/*}${2}" ;;
31942 * ) func_dirname_result="${3}" ;;
31943 esac
31944 }
31945
31946 # func_basename file
31947 func_basename ()
31948 {
31949 func_basename_result="${1##*/}"
31950 }
31951
31952 # func_stripname prefix suffix name
31953 # strip PREFIX and SUFFIX off of NAME.
31954 # PREFIX and SUFFIX must not contain globbing or regex special
31955 # characters, hashes, percent signs, but SUFFIX may contain a leading
31956 # dot (in which case that matches only a dot).
31957 func_stripname ()
31958 {
31959 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31960 # positional parameters, so assign one to ordinary parameter first.
31961 func_stripname_result=${3}
31962 func_stripname_result=${func_stripname_result#"${1}"}
31963 func_stripname_result=${func_stripname_result%"${2}"}
31964 }
31965
31966 # func_opt_split
31967 func_opt_split ()
31968 {
31969 func_opt_split_opt=${1%%=*}
31970 func_opt_split_arg=${1#*=}
31971 }
31972
31973 # func_lo2o object
31974 func_lo2o ()
31975 {
31976 case ${1} in
31977 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
31978 *) func_lo2o_result=${1} ;;
31979 esac
31980 }
31981 _LT_EOF
31982 ;;
31983 *) # Bourne compatible functions.
31984 cat << \_LT_EOF >> "$cfgfile"
31985 # func_dirname file append nondir_replacement
31986 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31987 # otherwise set result to NONDIR_REPLACEMENT.
31988 func_dirname ()
31989 {
31990 # Extract subdirectory from the argument.
31991 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31992 if test "X$func_dirname_result" = "X${1}"; then
31993 func_dirname_result="${3}"
31994 else
31995 func_dirname_result="$func_dirname_result${2}"
31996 fi
31997 }
31998
31999 # func_basename file
32000 func_basename ()
32001 {
32002 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
32003 }
32004
32005 # func_stripname prefix suffix name
32006 # strip PREFIX and SUFFIX off of NAME.
32007 # PREFIX and SUFFIX must not contain globbing or regex special
32008 # characters, hashes, percent signs, but SUFFIX may contain a leading
32009 # dot (in which case that matches only a dot).
32010 # func_strip_suffix prefix name
32011 func_stripname ()
32012 {
32013 case ${2} in
32014 .*) func_stripname_result=`$ECHO "X${3}" \
32015 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
32016 *) func_stripname_result=`$ECHO "X${3}" \
32017 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
32018 esac
32019 }
32020
32021 # sed scripts:
32022 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
32023 my_sed_long_arg='1s/^-[^=]*=//'
32024
32025 # func_opt_split
32026 func_opt_split ()
32027 {
32028 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
32029 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
32030 }
32031
32032 # func_lo2o object
32033 func_lo2o ()
32034 {
32035 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
32036 }
32037 _LT_EOF
32038 esac
32039
32040 case $lt_shell_append in
32041 yes)
32042 cat << \_LT_EOF >> "$cfgfile"
32043
32044 # func_append var value
32045 # Append VALUE to the end of shell variable VAR.
32046 func_append ()
32047 {
32048 eval "$1+=\$2"
32049 }
32050 _LT_EOF
32051 ;;
32052 *)
32053 cat << \_LT_EOF >> "$cfgfile"
32054
32055 # func_append var value
32056 # Append VALUE to the end of shell variable VAR.
32057 func_append ()
32058 {
32059 eval "$1=\$$1\$2"
32060 }
32061 _LT_EOF
32062 ;;
32063 esac
32064
32065
32066 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
32067 || (rm -f "$cfgfile"; exit 1)
32068
32069 mv -f "$cfgfile" "$ofile" ||
32070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32071 chmod +x "$ofile"
32072
32073
32074 cat <<_LT_EOF >> "$ofile"
32075
32076 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32077
32078 # The linker used to build libraries.
32079 LD=$lt_LD_CXX
32080
32081 # Commands used to build an old-style archive.
32082 old_archive_cmds=$lt_old_archive_cmds_CXX
32083
32084 # A language specific compiler.
32085 CC=$lt_compiler_CXX
32086
32087 # Is the compiler the GNU compiler?
32088 with_gcc=$GCC_CXX
32089
32090 # Compiler flag to turn off builtin functions.
32091 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32092
32093 # How to pass a linker flag through the compiler.
32094 wl=$lt_lt_prog_compiler_wl_CXX
32095
32096 # Additional compiler flags for building library objects.
32097 pic_flag=$lt_lt_prog_compiler_pic_CXX
32098
32099 # Compiler flag to prevent dynamic linking.
32100 link_static_flag=$lt_lt_prog_compiler_static_CXX
32101
32102 # Does compiler simultaneously support -c and -o options?
32103 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32104
32105 # Whether or not to add -lc for building shared libraries.
32106 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32107
32108 # Whether or not to disallow shared libs when runtime libs are static.
32109 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32110
32111 # Compiler flag to allow reflexive dlopens.
32112 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32113
32114 # Compiler flag to generate shared objects directly from archives.
32115 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32116
32117 # Whether the compiler copes with passing no objects directly.
32118 compiler_needs_object=$lt_compiler_needs_object_CXX
32119
32120 # Create an old-style archive from a shared archive.
32121 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32122
32123 # Create a temporary old-style archive to link instead of a shared archive.
32124 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32125
32126 # Commands used to build a shared archive.
32127 archive_cmds=$lt_archive_cmds_CXX
32128 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32129
32130 # Commands used to build a loadable module if different from building
32131 # a shared archive.
32132 module_cmds=$lt_module_cmds_CXX
32133 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32134
32135 # Whether we are building with GNU ld or not.
32136 with_gnu_ld=$lt_with_gnu_ld_CXX
32137
32138 # Flag that allows shared libraries with undefined symbols to be built.
32139 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32140
32141 # Flag that enforces no undefined symbols.
32142 no_undefined_flag=$lt_no_undefined_flag_CXX
32143
32144 # Flag to hardcode \$libdir into a binary during linking.
32145 # This must work even if \$libdir does not exist
32146 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32147
32148 # If ld is used when linking, flag to hardcode \$libdir into a binary
32149 # during linking. This must work even if \$libdir does not exist.
32150 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
32151
32152 # Whether we need a single "-rpath" flag with a separated argument.
32153 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32154
32155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32156 # DIR into the resulting binary.
32157 hardcode_direct=$hardcode_direct_CXX
32158
32159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32160 # DIR into the resulting binary and the resulting library dependency is
32161 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32162 # library is relocated.
32163 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32164
32165 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32166 # into the resulting binary.
32167 hardcode_minus_L=$hardcode_minus_L_CXX
32168
32169 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32170 # into the resulting binary.
32171 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32172
32173 # Set to "yes" if building a shared library automatically hardcodes DIR
32174 # into the library and all subsequent libraries and executables linked
32175 # against it.
32176 hardcode_automatic=$hardcode_automatic_CXX
32177
32178 # Set to yes if linker adds runtime paths of dependent libraries
32179 # to runtime path list.
32180 inherit_rpath=$inherit_rpath_CXX
32181
32182 # Whether libtool must link a program against all its dependency libraries.
32183 link_all_deplibs=$link_all_deplibs_CXX
32184
32185 # Fix the shell variable \$srcfile for the compiler.
32186 fix_srcfile_path=$lt_fix_srcfile_path_CXX
32187
32188 # Set to "yes" if exported symbols are required.
32189 always_export_symbols=$always_export_symbols_CXX
32190
32191 # The commands to list exported symbols.
32192 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32193
32194 # Symbols that should not be listed in the preloaded symbols.
32195 exclude_expsyms=$lt_exclude_expsyms_CXX
32196
32197 # Symbols that must always be exported.
32198 include_expsyms=$lt_include_expsyms_CXX
32199
32200 # Commands necessary for linking programs (against libraries) with templates.
32201 prelink_cmds=$lt_prelink_cmds_CXX
32202
32203 # Specify filename containing input files.
32204 file_list_spec=$lt_file_list_spec_CXX
32205
32206 # How to hardcode a shared library path into an executable.
32207 hardcode_action=$hardcode_action_CXX
32208
32209 # Dependencies to place before and after the objects being linked to
32210 # create a shared library.
32211 predep_objects=$lt_predep_objects_CXX
32212 postdep_objects=$lt_postdep_objects_CXX
32213 predeps=$lt_predeps_CXX
32214 postdeps=$lt_postdeps_CXX
32215
32216 # The library search path used internally by the compiler when linking
32217 # a shared library.
32218 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32219
32220 # ### END LIBTOOL TAG CONFIG: CXX
32221 _LT_EOF
32222
32223 ;;
32224 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
32225 $ac_stdint_h )
32226 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
32227 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
32228 ac_stdint=$tmp/_stdint.h
32229
32230 echo "#ifndef" $_ac_stdint_h >$ac_stdint
32231 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
32232 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
32233 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
32234 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
32235 if test "_$ac_cv_header_stdint_t" != "_" ; then
32236 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
32237 echo "#include <stdint.h>" >>$ac_stdint
32238 echo "#endif" >>$ac_stdint
32239 echo "#endif" >>$ac_stdint
32240 else
32241
32242 cat >>$ac_stdint <<STDINT_EOF
32243
32244 /* ................... shortcircuit part ........................... */
32245
32246 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
32247 #include <stdint.h>
32248 #else
32249 #include <stddef.h>
32250
32251 /* .................... configured part ............................ */
32252
32253 STDINT_EOF
32254
32255 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
32256 if test "_$ac_cv_header_stdint_x" != "_" ; then
32257 ac_header="$ac_cv_header_stdint_x"
32258 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
32259 else
32260 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
32261 fi
32262
32263 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
32264 if test "_$ac_cv_header_stdint_o" != "_" ; then
32265 ac_header="$ac_cv_header_stdint_o"
32266 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
32267 else
32268 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
32269 fi
32270
32271 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
32272 if test "_$ac_cv_header_stdint_u" != "_" ; then
32273 ac_header="$ac_cv_header_stdint_u"
32274 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
32275 else
32276 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
32277 fi
32278
32279 echo "" >>$ac_stdint
32280
32281 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
32282 echo "#include <$ac_header>" >>$ac_stdint
32283 echo "" >>$ac_stdint
32284 fi fi
32285
32286 echo "/* which 64bit typedef has been found */" >>$ac_stdint
32287 if test "$ac_cv_type_uint64_t" = "yes" ; then
32288 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
32289 else
32290 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
32291 fi
32292 if test "$ac_cv_type_u_int64_t" = "yes" ; then
32293 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
32294 else
32295 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
32296 fi
32297 echo "" >>$ac_stdint
32298
32299 echo "/* which type model has been detected */" >>$ac_stdint
32300 if test "_$ac_cv_char_data_model" != "_" ; then
32301 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
32302 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
32303 else
32304 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
32305 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
32306 fi
32307 echo "" >>$ac_stdint
32308
32309 echo "/* whether int_least types were detected */" >>$ac_stdint
32310 if test "$ac_cv_type_int_least32_t" = "yes"; then
32311 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
32312 else
32313 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
32314 fi
32315 echo "/* whether int_fast types were detected */" >>$ac_stdint
32316 if test "$ac_cv_type_int_fast32_t" = "yes"; then
32317 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
32318 else
32319 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
32320 fi
32321 echo "/* whether intmax_t type was detected */" >>$ac_stdint
32322 if test "$ac_cv_type_intmax_t" = "yes"; then
32323 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
32324 else
32325 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
32326 fi
32327 echo "" >>$ac_stdint
32328
32329 cat >>$ac_stdint <<STDINT_EOF
32330 /* .................... detections part ............................ */
32331
32332 /* whether we need to define bitspecific types from compiler base types */
32333 #ifndef _STDINT_HEADER_INTPTR
32334 #ifndef _STDINT_HEADER_UINT32
32335 #ifndef _STDINT_HEADER_U_INT32
32336 #define _STDINT_NEED_INT_MODEL_T
32337 #else
32338 #define _STDINT_HAVE_U_INT_TYPES
32339 #endif
32340 #endif
32341 #endif
32342
32343 #ifdef _STDINT_HAVE_U_INT_TYPES
32344 #undef _STDINT_NEED_INT_MODEL_T
32345 #endif
32346
32347 #ifdef _STDINT_CHAR_MODEL
32348 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
32349 #ifndef _STDINT_BYTE_MODEL
32350 #define _STDINT_BYTE_MODEL 12
32351 #endif
32352 #endif
32353 #endif
32354
32355 #ifndef _STDINT_HAVE_INT_LEAST32_T
32356 #define _STDINT_NEED_INT_LEAST_T
32357 #endif
32358
32359 #ifndef _STDINT_HAVE_INT_FAST32_T
32360 #define _STDINT_NEED_INT_FAST_T
32361 #endif
32362
32363 #ifndef _STDINT_HEADER_INTPTR
32364 #define _STDINT_NEED_INTPTR_T
32365 #ifndef _STDINT_HAVE_INTMAX_T
32366 #define _STDINT_NEED_INTMAX_T
32367 #endif
32368 #endif
32369
32370
32371 /* .................... definition part ............................ */
32372
32373 /* some system headers have good uint64_t */
32374 #ifndef _HAVE_UINT64_T
32375 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
32376 #define _HAVE_UINT64_T
32377 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
32378 #define _HAVE_UINT64_T
32379 typedef u_int64_t uint64_t;
32380 #endif
32381 #endif
32382
32383 #ifndef _HAVE_UINT64_T
32384 /* .. here are some common heuristics using compiler runtime specifics */
32385 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
32386 #define _HAVE_UINT64_T
32387 #define _HAVE_LONGLONG_UINT64_T
32388 typedef long long int64_t;
32389 typedef unsigned long long uint64_t;
32390
32391 #elif !defined __STRICT_ANSI__
32392 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
32393 #define _HAVE_UINT64_T
32394 typedef __int64 int64_t;
32395 typedef unsigned __int64 uint64_t;
32396
32397 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
32398 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
32399 #if !defined _NO_LONGLONG
32400 #define _HAVE_UINT64_T
32401 #define _HAVE_LONGLONG_UINT64_T
32402 typedef long long int64_t;
32403 typedef unsigned long long uint64_t;
32404 #endif
32405
32406 #elif defined __alpha || (defined __mips && defined _ABIN32)
32407 #if !defined _NO_LONGLONG
32408 typedef long int64_t;
32409 typedef unsigned long uint64_t;
32410 #endif
32411 /* compiler/cpu type to define int64_t */
32412 #endif
32413 #endif
32414 #endif
32415
32416 #if defined _STDINT_HAVE_U_INT_TYPES
32417 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
32418 typedef u_int8_t uint8_t;
32419 typedef u_int16_t uint16_t;
32420 typedef u_int32_t uint32_t;
32421
32422 /* glibc compatibility */
32423 #ifndef __int8_t_defined
32424 #define __int8_t_defined
32425 #endif
32426 #endif
32427
32428 #ifdef _STDINT_NEED_INT_MODEL_T
32429 /* we must guess all the basic types. Apart from byte-adressable system, */
32430 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
32431 /* (btw, those nibble-addressable systems are way off, or so we assume) */
32432
32433
32434 #if defined _STDINT_BYTE_MODEL
32435 #if _STDINT_LONG_MODEL+0 == 242
32436 /* 2:4:2 = IP16 = a normal 16-bit system */
32437 typedef unsigned char uint8_t;
32438 typedef unsigned short uint16_t;
32439 typedef unsigned long uint32_t;
32440 #ifndef __int8_t_defined
32441 #define __int8_t_defined
32442 typedef char int8_t;
32443 typedef short int16_t;
32444 typedef long int32_t;
32445 #endif
32446 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
32447 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
32448 /* 4:4:4 = ILP32 = a normal 32-bit system */
32449 typedef unsigned char uint8_t;
32450 typedef unsigned short uint16_t;
32451 typedef unsigned int uint32_t;
32452 #ifndef __int8_t_defined
32453 #define __int8_t_defined
32454 typedef char int8_t;
32455 typedef short int16_t;
32456 typedef int int32_t;
32457 #endif
32458 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
32459 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
32460 /* 4:8:8 = LP64 = a normal 64-bit system */
32461 typedef unsigned char uint8_t;
32462 typedef unsigned short uint16_t;
32463 typedef unsigned int uint32_t;
32464 #ifndef __int8_t_defined
32465 #define __int8_t_defined
32466 typedef char int8_t;
32467 typedef short int16_t;
32468 typedef int int32_t;
32469 #endif
32470 /* this system has a "long" of 64bit */
32471 #ifndef _HAVE_UINT64_T
32472 #define _HAVE_UINT64_T
32473 typedef unsigned long uint64_t;
32474 typedef long int64_t;
32475 #endif
32476 #elif _STDINT_LONG_MODEL+0 == 448
32477 /* LLP64 a 64-bit system derived from a 32-bit system */
32478 typedef unsigned char uint8_t;
32479 typedef unsigned short uint16_t;
32480 typedef unsigned int uint32_t;
32481 #ifndef __int8_t_defined
32482 #define __int8_t_defined
32483 typedef char int8_t;
32484 typedef short int16_t;
32485 typedef int int32_t;
32486 #endif
32487 /* assuming the system has a "long long" */
32488 #ifndef _HAVE_UINT64_T
32489 #define _HAVE_UINT64_T
32490 #define _HAVE_LONGLONG_UINT64_T
32491 typedef unsigned long long uint64_t;
32492 typedef long long int64_t;
32493 #endif
32494 #else
32495 #define _STDINT_NO_INT32_T
32496 #endif
32497 #else
32498 #define _STDINT_NO_INT8_T
32499 #define _STDINT_NO_INT32_T
32500 #endif
32501 #endif
32502
32503 /*
32504 * quote from SunOS-5.8 sys/inttypes.h:
32505 * Use at your own risk. As of February 1996, the committee is squarely
32506 * behind the fixed sized types; the "least" and "fast" types are still being
32507 * discussed. The probability that the "fast" types may be removed before
32508 * the standard is finalized is high enough that they are not currently
32509 * implemented.
32510 */
32511
32512 #if defined _STDINT_NEED_INT_LEAST_T
32513 typedef int8_t int_least8_t;
32514 typedef int16_t int_least16_t;
32515 typedef int32_t int_least32_t;
32516 #ifdef _HAVE_UINT64_T
32517 typedef int64_t int_least64_t;
32518 #endif
32519
32520 typedef uint8_t uint_least8_t;
32521 typedef uint16_t uint_least16_t;
32522 typedef uint32_t uint_least32_t;
32523 #ifdef _HAVE_UINT64_T
32524 typedef uint64_t uint_least64_t;
32525 #endif
32526 /* least types */
32527 #endif
32528
32529 #if defined _STDINT_NEED_INT_FAST_T
32530 typedef int8_t int_fast8_t;
32531 typedef int int_fast16_t;
32532 typedef int32_t int_fast32_t;
32533 #ifdef _HAVE_UINT64_T
32534 typedef int64_t int_fast64_t;
32535 #endif
32536
32537 typedef uint8_t uint_fast8_t;
32538 typedef unsigned uint_fast16_t;
32539 typedef uint32_t uint_fast32_t;
32540 #ifdef _HAVE_UINT64_T
32541 typedef uint64_t uint_fast64_t;
32542 #endif
32543 /* fast types */
32544 #endif
32545
32546 #ifdef _STDINT_NEED_INTMAX_T
32547 #ifdef _HAVE_UINT64_T
32548 typedef int64_t intmax_t;
32549 typedef uint64_t uintmax_t;
32550 #else
32551 typedef long intmax_t;
32552 typedef unsigned long uintmax_t;
32553 #endif
32554 #endif
32555
32556 #ifdef _STDINT_NEED_INTPTR_T
32557 #ifndef __intptr_t_defined
32558 #define __intptr_t_defined
32559 /* we encourage using "long" to store pointer values, never use "int" ! */
32560 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
32561 typedef unsigned int uintptr_t;
32562 typedef int intptr_t;
32563 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
32564 typedef unsigned long uintptr_t;
32565 typedef long intptr_t;
32566 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
32567 typedef uint64_t uintptr_t;
32568 typedef int64_t intptr_t;
32569 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
32570 typedef unsigned long uintptr_t;
32571 typedef long intptr_t;
32572 #endif
32573 #endif
32574 #endif
32575
32576 /* The ISO C99 standard specifies that in C++ implementations these
32577 should only be defined if explicitly requested. */
32578 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
32579 #ifndef UINT32_C
32580
32581 /* Signed. */
32582 # define INT8_C(c) c
32583 # define INT16_C(c) c
32584 # define INT32_C(c) c
32585 # ifdef _HAVE_LONGLONG_UINT64_T
32586 # define INT64_C(c) c ## L
32587 # else
32588 # define INT64_C(c) c ## LL
32589 # endif
32590
32591 /* Unsigned. */
32592 # define UINT8_C(c) c ## U
32593 # define UINT16_C(c) c ## U
32594 # define UINT32_C(c) c ## U
32595 # ifdef _HAVE_LONGLONG_UINT64_T
32596 # define UINT64_C(c) c ## UL
32597 # else
32598 # define UINT64_C(c) c ## ULL
32599 # endif
32600
32601 /* Maximal type. */
32602 # ifdef _HAVE_LONGLONG_UINT64_T
32603 # define INTMAX_C(c) c ## L
32604 # define UINTMAX_C(c) c ## UL
32605 # else
32606 # define INTMAX_C(c) c ## LL
32607 # define UINTMAX_C(c) c ## ULL
32608 # endif
32609
32610 /* literalnumbers */
32611 #endif
32612 #endif
32613
32614 /* These limits are merily those of a two complement byte-oriented system */
32615
32616 /* Minimum of signed integral types. */
32617 #ifndef INT8_MIN
32618 # define INT8_MIN (-128)
32619 #endif
32620 #ifndef INT16_MIN
32621 # define INT16_MIN (-32767-1)
32622 #endif
32623 #ifndef INT32_MIN
32624 # define INT32_MIN (-2147483647-1)
32625 #endif
32626 #ifndef INT64_MIN
32627 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
32628 #endif
32629
32630 /* Maximum of signed integral types. */
32631 #ifndef INT8_MAX
32632 # define INT8_MAX (127)
32633 #endif
32634 #ifndef INT16_MAX
32635 # define INT16_MAX (32767)
32636 #endif
32637 #ifndef INT32_MAX
32638 # define INT32_MAX (2147483647)
32639 #endif
32640 #ifndef INT64_MAX
32641 # define INT64_MAX (__INT64_C(9223372036854775807))
32642 #endif
32643
32644 /* Maximum of unsigned integral types. */
32645 #ifndef UINT8_MAX
32646 # define UINT8_MAX (255)
32647 #endif
32648 #ifndef UINT16_MAX
32649 # define UINT16_MAX (65535)
32650 #endif
32651 #ifndef UINT32_MAX
32652 # define UINT32_MAX (4294967295U)
32653 #endif
32654 #ifndef UINT64_MAX
32655 # define UINT64_MAX (__UINT64_C(18446744073709551615))
32656 #endif
32657
32658 /* Minimum of signed integral types having a minimum size. */
32659 # define INT_LEAST8_MIN INT8_MIN
32660 # define INT_LEAST16_MIN INT16_MIN
32661 # define INT_LEAST32_MIN INT32_MIN
32662 # define INT_LEAST64_MIN INT64_MIN
32663 /* Maximum of signed integral types having a minimum size. */
32664 # define INT_LEAST8_MAX INT8_MAX
32665 # define INT_LEAST16_MAX INT16_MAX
32666 # define INT_LEAST32_MAX INT32_MAX
32667 # define INT_LEAST64_MAX INT64_MAX
32668
32669 /* Maximum of unsigned integral types having a minimum size. */
32670 # define UINT_LEAST8_MAX UINT8_MAX
32671 # define UINT_LEAST16_MAX UINT16_MAX
32672 # define UINT_LEAST32_MAX UINT32_MAX
32673 # define UINT_LEAST64_MAX UINT64_MAX
32674
32675 /* shortcircuit*/
32676 #endif
32677 /* once */
32678 #endif
32679 #endif
32680 STDINT_EOF
32681 fi
32682 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
32683 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
32684 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
32685 else
32686 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
32687 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32688 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
32689 X"$ac_stdint_h" : 'X\(//\)$' \| \
32690 X"$ac_stdint_h" : 'X\(/\)' \| \
32691 . : '\(.\)' 2>/dev/null ||
32692 echo X"$ac_stdint_h" |
32693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32695 /^X\(\/\/\)$/{ s//\1/; q; }
32696 /^X\(\/\).*/{ s//\1/; q; }
32697 s/.*/./; q'`
32698 { if $as_mkdir_p; then
32699 mkdir -p "$ac_dir"
32700 else
32701 as_dir="$ac_dir"
32702 as_dirs=
32703 while test ! -d "$as_dir"; do
32704 as_dirs="$as_dir $as_dirs"
32705 as_dir=`(dirname "$as_dir") 2>/dev/null ||
32706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32707 X"$as_dir" : 'X\(//\)[^/]' \| \
32708 X"$as_dir" : 'X\(//\)$' \| \
32709 X"$as_dir" : 'X\(/\)' \| \
32710 . : '\(.\)' 2>/dev/null ||
32711 echo X"$as_dir" |
32712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32714 /^X\(\/\/\)$/{ s//\1/; q; }
32715 /^X\(\/\).*/{ s//\1/; q; }
32716 s/.*/./; q'`
32717 done
32718 test ! -n "$as_dirs" || mkdir $as_dirs
32719 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32720 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32721 { (exit 1); exit 1; }; }; }
32722
32723 rm -f $ac_stdint_h
32724 mv $ac_stdint $ac_stdint_h
32725 fi
32726 ;;
32727 gappletviewer ) chmod 755 tools/gappletviewer ;;
32728 gjarsigner ) chmod 755 tools/gjarsigner ;;
32729 gkeytool ) chmod 755 tools/gkeytool ;;
32730 gjar ) chmod 755 tools/gjar ;;
32731 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
32732 gserialver ) chmod 755 tools/gserialver ;;
32733 grmiregistry ) chmod 755 tools/grmiregistry ;;
32734 gtnameserv ) chmod 755 tools/gtnameserv ;;
32735 gorbd ) chmod 755 tools/gorbd ;;
32736 grmid ) chmod 755 tools/grmid ;;
32737 grmic ) chmod 755 tools/grmic ;;
32738 gjavah ) chmod 755 tools/gjavah ;;
32739 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
32740 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
32741 esac
32742 done
32743 _ACEOF
32744
32745 cat >>$CONFIG_STATUS <<\_ACEOF
32746
32747 { (exit 0); exit 0; }
32748 _ACEOF
32749 chmod +x $CONFIG_STATUS
32750 ac_clean_files=$ac_clean_files_save
32751
32752
32753 # configure is writing to config.log, and then calls config.status.
32754 # config.status does its own redirection, appending to config.log.
32755 # Unfortunately, on DOS this fails, as config.log is still kept open
32756 # by configure, so config.status won't be able to write to it; its
32757 # output is simply discarded. So we exec the FD to /dev/null,
32758 # effectively closing config.log, so it can be properly (re)opened and
32759 # appended to by config.status. When coming back to configure, we
32760 # need to make the FD available again.
32761 if test "$no_create" != yes; then
32762 ac_cs_success=:
32763 ac_config_status_args=
32764 test "$silent" = yes &&
32765 ac_config_status_args="$ac_config_status_args --quiet"
32766 exec 5>/dev/null
32767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
32768 exec 5>>config.log
32769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32770 # would make configure fail if this is the last instruction.
32771 $ac_cs_success || { (exit 1); exit 1; }
32772 fi
32773
32774
32775 # Create standard.omit based on decisions we just made.
32776 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
32777 if test x$use_escher != xtrue; then
32778 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
32779 fi