]> git.ipfire.org Git - thirdparty/gcc.git/blob - libjava/classpath/configure
Makefile.am, [...] (AM_CFLAGS): Add @EXTRA_CFLAGS@.
[thirdparty/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.96-pre.
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.96-pre'
422 PACKAGE_STRING='GNU Classpath 0.96-pre'
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 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE CREATE_GSTREAMER_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 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 EXTRA_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 GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH 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 ac_pwd=`pwd`
467
468 # Initialize some variables set by options.
469 ac_init_help=
470 ac_init_version=false
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
473 cache_file=/dev/null
474 exec_prefix=NONE
475 no_create=
476 no_recursion=
477 prefix=NONE
478 program_prefix=NONE
479 program_suffix=NONE
480 program_transform_name=s,x,x,
481 silent=
482 site=
483 srcdir=
484 verbose=
485 x_includes=NONE
486 x_libraries=NONE
487
488 # Installation directory options.
489 # These are left unexpanded so users can "make install exec_prefix=/foo"
490 # and all the variables that are supposed to be based on exec_prefix
491 # by default will actually change.
492 # Use braces instead of parens because sh, perl, etc. also accept them.
493 bindir='${exec_prefix}/bin'
494 sbindir='${exec_prefix}/sbin'
495 libexecdir='${exec_prefix}/libexec'
496 datadir='${prefix}/share'
497 sysconfdir='${prefix}/etc'
498 sharedstatedir='${prefix}/com'
499 localstatedir='${prefix}/var'
500 libdir='${exec_prefix}/lib'
501 includedir='${prefix}/include'
502 oldincludedir='/usr/include'
503 infodir='${prefix}/info'
504 mandir='${prefix}/man'
505
506 ac_prev=
507 for ac_option
508 do
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
512 ac_prev=
513 continue
514 fi
515
516 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
517
518 # Accept the important Cygnus configure options, so we can diagnose typos.
519
520 case $ac_option in
521
522 -bindir | --bindir | --bindi | --bind | --bin | --bi)
523 ac_prev=bindir ;;
524 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
525 bindir=$ac_optarg ;;
526
527 -build | --build | --buil | --bui | --bu)
528 ac_prev=build_alias ;;
529 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
530 build_alias=$ac_optarg ;;
531
532 -cache-file | --cache-file | --cache-fil | --cache-fi \
533 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
534 ac_prev=cache_file ;;
535 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
536 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
537 cache_file=$ac_optarg ;;
538
539 --config-cache | -C)
540 cache_file=config.cache ;;
541
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
543 ac_prev=datadir ;;
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545 | --da=*)
546 datadir=$ac_optarg ;;
547
548 -disable-* | --disable-*)
549 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
556
557 -enable-* | --enable-*)
558 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
564 case $ac_option in
565 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 *) ac_optarg=yes ;;
567 esac
568 eval "enable_$ac_feature='$ac_optarg'" ;;
569
570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
572 | --exec | --exe | --ex)
573 ac_prev=exec_prefix ;;
574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
576 | --exec=* | --exe=* | --ex=*)
577 exec_prefix=$ac_optarg ;;
578
579 -gas | --gas | --ga | --g)
580 # Obsolete; use --with-gas.
581 with_gas=yes ;;
582
583 -help | --help | --hel | --he | -h)
584 ac_init_help=long ;;
585 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
586 ac_init_help=recursive ;;
587 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
588 ac_init_help=short ;;
589
590 -host | --host | --hos | --ho)
591 ac_prev=host_alias ;;
592 -host=* | --host=* | --hos=* | --ho=*)
593 host_alias=$ac_optarg ;;
594
595 -includedir | --includedir | --includedi | --included | --include \
596 | --includ | --inclu | --incl | --inc)
597 ac_prev=includedir ;;
598 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
599 | --includ=* | --inclu=* | --incl=* | --inc=*)
600 includedir=$ac_optarg ;;
601
602 -infodir | --infodir | --infodi | --infod | --info | --inf)
603 ac_prev=infodir ;;
604 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
605 infodir=$ac_optarg ;;
606
607 -libdir | --libdir | --libdi | --libd)
608 ac_prev=libdir ;;
609 -libdir=* | --libdir=* | --libdi=* | --libd=*)
610 libdir=$ac_optarg ;;
611
612 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
613 | --libexe | --libex | --libe)
614 ac_prev=libexecdir ;;
615 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
616 | --libexe=* | --libex=* | --libe=*)
617 libexecdir=$ac_optarg ;;
618
619 -localstatedir | --localstatedir | --localstatedi | --localstated \
620 | --localstate | --localstat | --localsta | --localst \
621 | --locals | --local | --loca | --loc | --lo)
622 ac_prev=localstatedir ;;
623 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
624 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
625 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
626 localstatedir=$ac_optarg ;;
627
628 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
629 ac_prev=mandir ;;
630 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 mandir=$ac_optarg ;;
632
633 -nfp | --nfp | --nf)
634 # Obsolete; use --without-fp.
635 with_fp=no ;;
636
637 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
638 | --no-cr | --no-c | -n)
639 no_create=yes ;;
640
641 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
642 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
643 no_recursion=yes ;;
644
645 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
646 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
647 | --oldin | --oldi | --old | --ol | --o)
648 ac_prev=oldincludedir ;;
649 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
650 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
651 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
652 oldincludedir=$ac_optarg ;;
653
654 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
655 ac_prev=prefix ;;
656 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
657 prefix=$ac_optarg ;;
658
659 -program-prefix | --program-prefix | --program-prefi | --program-pref \
660 | --program-pre | --program-pr | --program-p)
661 ac_prev=program_prefix ;;
662 -program-prefix=* | --program-prefix=* | --program-prefi=* \
663 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
664 program_prefix=$ac_optarg ;;
665
666 -program-suffix | --program-suffix | --program-suffi | --program-suff \
667 | --program-suf | --program-su | --program-s)
668 ac_prev=program_suffix ;;
669 -program-suffix=* | --program-suffix=* | --program-suffi=* \
670 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
671 program_suffix=$ac_optarg ;;
672
673 -program-transform-name | --program-transform-name \
674 | --program-transform-nam | --program-transform-na \
675 | --program-transform-n | --program-transform- \
676 | --program-transform | --program-transfor \
677 | --program-transfo | --program-transf \
678 | --program-trans | --program-tran \
679 | --progr-tra | --program-tr | --program-t)
680 ac_prev=program_transform_name ;;
681 -program-transform-name=* | --program-transform-name=* \
682 | --program-transform-nam=* | --program-transform-na=* \
683 | --program-transform-n=* | --program-transform-=* \
684 | --program-transform=* | --program-transfor=* \
685 | --program-transfo=* | --program-transf=* \
686 | --program-trans=* | --program-tran=* \
687 | --progr-tra=* | --program-tr=* | --program-t=*)
688 program_transform_name=$ac_optarg ;;
689
690 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
691 | -silent | --silent | --silen | --sile | --sil)
692 silent=yes ;;
693
694 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
695 ac_prev=sbindir ;;
696 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
697 | --sbi=* | --sb=*)
698 sbindir=$ac_optarg ;;
699
700 -sharedstatedir | --sharedstatedir | --sharedstatedi \
701 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
702 | --sharedst | --shareds | --shared | --share | --shar \
703 | --sha | --sh)
704 ac_prev=sharedstatedir ;;
705 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
706 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
707 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
708 | --sha=* | --sh=*)
709 sharedstatedir=$ac_optarg ;;
710
711 -site | --site | --sit)
712 ac_prev=site ;;
713 -site=* | --site=* | --sit=*)
714 site=$ac_optarg ;;
715
716 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
717 ac_prev=srcdir ;;
718 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
719 srcdir=$ac_optarg ;;
720
721 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
722 | --syscon | --sysco | --sysc | --sys | --sy)
723 ac_prev=sysconfdir ;;
724 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
725 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
726 sysconfdir=$ac_optarg ;;
727
728 -target | --target | --targe | --targ | --tar | --ta | --t)
729 ac_prev=target_alias ;;
730 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
731 target_alias=$ac_optarg ;;
732
733 -v | -verbose | --verbose | --verbos | --verbo | --verb)
734 verbose=yes ;;
735
736 -version | --version | --versio | --versi | --vers | -V)
737 ac_init_version=: ;;
738
739 -with-* | --with-*)
740 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package=`echo $ac_package| sed 's/-/_/g'`
746 case $ac_option in
747 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 *) ac_optarg=yes ;;
749 esac
750 eval "with_$ac_package='$ac_optarg'" ;;
751
752 -without-* | --without-*)
753 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
760
761 --x)
762 # Obsolete; use --with-x.
763 with_x=yes ;;
764
765 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
766 | --x-incl | --x-inc | --x-in | --x-i)
767 ac_prev=x_includes ;;
768 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
769 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
770 x_includes=$ac_optarg ;;
771
772 -x-libraries | --x-libraries | --x-librarie | --x-librari \
773 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
774 ac_prev=x_libraries ;;
775 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
776 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
777 x_libraries=$ac_optarg ;;
778
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
782 ;;
783
784 *=*)
785 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
792 export $ac_envvar ;;
793
794 *)
795 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
800 ;;
801
802 esac
803 done
804
805 if test -n "$ac_prev"; then
806 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
809 fi
810
811 # Be sure to have absolute paths.
812 for ac_var in exec_prefix prefix
813 do
814 eval ac_val=$`echo $ac_var`
815 case $ac_val in
816 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
819 esac
820 done
821
822 # Be sure to have absolute paths.
823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
825 do
826 eval ac_val=$`echo $ac_var`
827 case $ac_val in
828 [\\/$]* | ?:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
831 esac
832 done
833
834 # There might be people who depend on the old broken behavior: `$host'
835 # used to hold the argument of --host etc.
836 # FIXME: To remove some day.
837 build=$build_alias
838 host=$host_alias
839 target=$target_alias
840
841 # FIXME: To remove some day.
842 if test "x$host_alias" != x; then
843 if test "x$build_alias" = x; then
844 cross_compiling=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
847 elif test "x$build_alias" != "x$host_alias"; then
848 cross_compiling=yes
849 fi
850 fi
851
852 ac_tool_prefix=
853 test -n "$host_alias" && ac_tool_prefix=$host_alias-
854
855 test "$silent" = yes && exec 6>/dev/null
856
857
858 # Find the source files, if location was not specified.
859 if test -z "$srcdir"; then
860 ac_srcdir_defaulted=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
868 echo X"$0" |
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
873 s/.*/./; q'`
874 srcdir=$ac_confdir
875 if test ! -r $srcdir/$ac_unique_file; then
876 srcdir=..
877 fi
878 else
879 ac_srcdir_defaulted=no
880 fi
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
885 else
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
888 fi
889 fi
890 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set=${build_alias+set}
895 ac_env_build_alias_value=$build_alias
896 ac_cv_env_build_alias_set=${build_alias+set}
897 ac_cv_env_build_alias_value=$build_alias
898 ac_env_host_alias_set=${host_alias+set}
899 ac_env_host_alias_value=$host_alias
900 ac_cv_env_host_alias_set=${host_alias+set}
901 ac_cv_env_host_alias_value=$host_alias
902 ac_env_target_alias_set=${target_alias+set}
903 ac_env_target_alias_value=$target_alias
904 ac_cv_env_target_alias_set=${target_alias+set}
905 ac_cv_env_target_alias_value=$target_alias
906 ac_env_CC_set=${CC+set}
907 ac_env_CC_value=$CC
908 ac_cv_env_CC_set=${CC+set}
909 ac_cv_env_CC_value=$CC
910 ac_env_CFLAGS_set=${CFLAGS+set}
911 ac_env_CFLAGS_value=$CFLAGS
912 ac_cv_env_CFLAGS_set=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value=$CFLAGS
914 ac_env_LDFLAGS_set=${LDFLAGS+set}
915 ac_env_LDFLAGS_value=$LDFLAGS
916 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value=$LDFLAGS
918 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
922 ac_env_CPP_set=${CPP+set}
923 ac_env_CPP_value=$CPP
924 ac_cv_env_CPP_set=${CPP+set}
925 ac_cv_env_CPP_value=$CPP
926 ac_env_CXX_set=${CXX+set}
927 ac_env_CXX_value=$CXX
928 ac_cv_env_CXX_set=${CXX+set}
929 ac_cv_env_CXX_value=$CXX
930 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
934 ac_env_CXXCPP_set=${CXXCPP+set}
935 ac_env_CXXCPP_value=$CXXCPP
936 ac_cv_env_CXXCPP_set=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value=$CXXCPP
938
939 #
940 # Report the --help message.
941 #
942 if test "$ac_init_help" = "long"; then
943 # Omit some internal or obsolete options to make the list less imposing.
944 # This message is too long to be a string in the A/UX 3.1 sh.
945 cat <<_ACEOF
946 \`configure' configures GNU Classpath 0.96-pre to adapt to many kinds of systems.
947
948 Usage: $0 [OPTION]... [VAR=VALUE]...
949
950 To assign environment variables (e.g., CC, CFLAGS...), specify them as
951 VAR=VALUE. See below for descriptions of some of the useful variables.
952
953 Defaults for the options are specified in brackets.
954
955 Configuration:
956 -h, --help display this help and exit
957 --help=short display options specific to this package
958 --help=recursive display the short help of all the included packages
959 -V, --version display version information and exit
960 -q, --quiet, --silent do not print \`checking...' messages
961 --cache-file=FILE cache test results in FILE [disabled]
962 -C, --config-cache alias for \`--cache-file=config.cache'
963 -n, --no-create do not create output files
964 --srcdir=DIR find the sources in DIR [configure dir or \`..']
965
966 _ACEOF
967
968 cat <<_ACEOF
969 Installation directories:
970 --prefix=PREFIX install architecture-independent files in PREFIX
971 [$ac_default_prefix]
972 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
973 [PREFIX]
974
975 By default, \`make install' will install all the files in
976 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
977 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
978 for instance \`--prefix=\$HOME'.
979
980 For better control, use the options below.
981
982 Fine tuning of the installation directories:
983 --bindir=DIR user executables [EPREFIX/bin]
984 --sbindir=DIR system admin executables [EPREFIX/sbin]
985 --libexecdir=DIR program executables [EPREFIX/libexec]
986 --datadir=DIR read-only architecture-independent data [PREFIX/share]
987 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
988 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
989 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
990 --libdir=DIR object code libraries [EPREFIX/lib]
991 --includedir=DIR C header files [PREFIX/include]
992 --oldincludedir=DIR C header files for non-gcc [/usr/include]
993 --infodir=DIR info documentation [PREFIX/info]
994 --mandir=DIR man documentation [PREFIX/man]
995 _ACEOF
996
997 cat <<\_ACEOF
998
999 Program names:
1000 --program-prefix=PREFIX prepend PREFIX to installed program names
1001 --program-suffix=SUFFIX append SUFFIX to installed program names
1002 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1003
1004 X features:
1005 --x-includes=DIR X include files are in DIR
1006 --x-libraries=DIR X library files are in DIR
1007
1008 System types:
1009 --build=BUILD configure for building on BUILD [guessed]
1010 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1011 --target=TARGET configure for building compilers for TARGET [HOST]
1012 _ACEOF
1013 fi
1014
1015 if test -n "$ac_init_help"; then
1016 case $ac_init_help in
1017 short | recursive ) echo "Configuration of GNU Classpath 0.96-pre:";;
1018 esac
1019 cat <<\_ACEOF
1020
1021 Optional Features:
1022 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1023 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1024 --enable-java-maintainer-mode
1025 allow rebuilding of .class and .h files
1026 --enable-generated-files-in-srcdir
1027 put copies of generated files in source dir
1028 intended for creating source tarballs for users
1029 without texinfo, perl, bison or flex.
1030 --enable-multilib build many library versions (default)
1031 --enable-collections create collections.jar default=no
1032 --enable-jni compile JNI source default=yes
1033 --enable-core-jni compile JNI sources for core default=yes
1034 --enable-default-preferences-peer[=peer type or class name]
1035 specify one of: "gconf" [default] for a GConf based
1036 backend, "file" for a file based one, "memory" for a
1037 transient one, or a fully qualified class name
1038 implementing java.util.prefs.PreferencesFactory
1039 --disable-gconf-peer compile GConf native peers (disabled by
1040 --disable-jni) default=yes
1041
1042 --enable-gstreamer-peer compile GStreamer native peers (disabled by
1043 --disable-jni) default=no
1044 --enable-Werror whether to compile C code with -Werror which turns
1045 any compiler warning into a compilation failure
1046 default=no
1047 --enable-default-toolkit
1048 fully qualified class name of default AWT toolkit
1049 --enable-xmlj compile native libxml/xslt library default=no
1050 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1051 default=yes
1052 --disable-dependency-tracking speeds up one-time build
1053 --enable-dependency-tracking do not reject slow dependency extractors
1054 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1055 default=yes
1056 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1057 default=yes
1058 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1059 default=no
1060 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1061 default=yes
1062 --enable-regen-headers automatically regenerate JNI headers default=no
1063 --enable-tool-wrappers create tool wrapper binaries default=no
1064 --enable-static[=PKGS]
1065 build static libraries [default=no]
1066 --enable-shared[=PKGS]
1067 build shared libraries [default=yes]
1068 --enable-fast-install[=PKGS]
1069 optimize for fast installation [default=yes]
1070 --disable-libtool-lock avoid locking (might break parallel builds)
1071 --disable-rpath do not hardcode runtime library paths
1072 --enable-maintainer-mode enable make rules and dependencies not useful
1073 (and sometimes confusing) to the casual installer
1074 --enable-debug enable runtime debugging code
1075 --enable-load-library enable to use JNI native methods default=yes
1076 --enable-java-lang-system-explicit-initialization
1077 will the VM explicitly invoke java.lang.System's
1078 static initialization methods default=no
1079 --enable-examples enable build of the examples default=yes
1080 --enable-portable-native-sync
1081 synchronize VM threads portably
1082 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1083
1084 Optional Packages:
1085 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1086 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1087 --with-native-libdir sets the installation directory for native libraries
1088 default='${libdir}/${PACKAGE}'
1089 --with-glibj-dir sets the installation directory for glibj.zip
1090 default='${libdir}/${PACKAGE}'
1091 --with-vm sets the VM binary name
1092 default='${prefix}/bin/jamvm'
1093 --with-pic try to use only PIC/non-PIC objects [default=use
1094 both]
1095 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1096 --with-gnu-ld assume the C compiler uses GNU ld default=no
1097 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1098 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1099 --with-x use the X Window System
1100 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1101 systems use pkg-config.
1102 --with-javah specify path or name of a javah-like program
1103 --with-gcj bytecode compilation with gcj
1104 --with-jikes bytecode compilation with jikes
1105 --with-kjc bytecode compilation with kjc
1106 --with-ecj bytecode compilation with ecj
1107 --with-javac bytecode compilation with javac
1108 --with-classpath specify path to a classes.zip like file
1109 --with-vm-classes specify path to VM override source files
1110 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1111 Compiler
1112 --with-fastjar=PATH define to use a fastjar style tool
1113 --with-glibj define what to install (zip|flat|both|none|build)
1114 [default=zip]
1115 --with-gjdoc generate documentation using gjdoc (default is NO)
1116 --with-jay Regenerate the parsers with jay must be given the
1117 path to the jay executable
1118 --with-glibj-zip=ABS.PATH
1119 use prebuilt glibj.zip class library
1120 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1121
1122 Some influential environment variables:
1123 CC C compiler command
1124 CFLAGS C compiler flags
1125 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1126 nonstandard directory <lib dir>
1127 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1128 headers in a nonstandard directory <include dir>
1129 CPP C preprocessor
1130 CXX C++ compiler command
1131 CXXFLAGS C++ compiler flags
1132 CXXCPP C++ preprocessor
1133
1134 Use these variables to override the choices made by `configure' or to help
1135 it to find libraries and programs with nonstandard names/locations.
1136
1137 Report bugs to <classpath@gnu.org>.
1138 _ACEOF
1139 fi
1140
1141 if test "$ac_init_help" = "recursive"; then
1142 # If there are subdirs, report their specific --help.
1143 ac_popdir=`pwd`
1144 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1145 test -d $ac_dir || continue
1146 ac_builddir=.
1147
1148 if test "$ac_dir" != .; then
1149 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1150 # A "../" for each directory in $ac_dir_suffix.
1151 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1152 else
1153 ac_dir_suffix= ac_top_builddir=
1154 fi
1155
1156 case $srcdir in
1157 .) # No --srcdir option. We are building in place.
1158 ac_srcdir=.
1159 if test -z "$ac_top_builddir"; then
1160 ac_top_srcdir=.
1161 else
1162 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1163 fi ;;
1164 [\\/]* | ?:[\\/]* ) # Absolute path.
1165 ac_srcdir=$srcdir$ac_dir_suffix;
1166 ac_top_srcdir=$srcdir ;;
1167 *) # Relative path.
1168 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1169 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1170 esac
1171
1172 # Do not use `cd foo && pwd` to compute absolute paths, because
1173 # the directories may not exist.
1174 case `pwd` in
1175 .) ac_abs_builddir="$ac_dir";;
1176 *)
1177 case "$ac_dir" in
1178 .) ac_abs_builddir=`pwd`;;
1179 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1180 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1181 esac;;
1182 esac
1183 case $ac_abs_builddir in
1184 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1185 *)
1186 case ${ac_top_builddir}. in
1187 .) ac_abs_top_builddir=$ac_abs_builddir;;
1188 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1189 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1190 esac;;
1191 esac
1192 case $ac_abs_builddir in
1193 .) ac_abs_srcdir=$ac_srcdir;;
1194 *)
1195 case $ac_srcdir in
1196 .) ac_abs_srcdir=$ac_abs_builddir;;
1197 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1198 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1199 esac;;
1200 esac
1201 case $ac_abs_builddir in
1202 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1203 *)
1204 case $ac_top_srcdir in
1205 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1206 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1207 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1208 esac;;
1209 esac
1210
1211 cd $ac_dir
1212 # Check for guested configure; otherwise get Cygnus style configure.
1213 if test -f $ac_srcdir/configure.gnu; then
1214 echo
1215 $SHELL $ac_srcdir/configure.gnu --help=recursive
1216 elif test -f $ac_srcdir/configure; then
1217 echo
1218 $SHELL $ac_srcdir/configure --help=recursive
1219 elif test -f $ac_srcdir/configure.ac ||
1220 test -f $ac_srcdir/configure.in; then
1221 echo
1222 $ac_configure --help
1223 else
1224 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1225 fi
1226 cd $ac_popdir
1227 done
1228 fi
1229
1230 test -n "$ac_init_help" && exit 0
1231 if $ac_init_version; then
1232 cat <<\_ACEOF
1233 GNU Classpath configure 0.96-pre
1234 generated by GNU Autoconf 2.59
1235
1236 Copyright (C) 2003 Free Software Foundation, Inc.
1237 This configure script is free software; the Free Software Foundation
1238 gives unlimited permission to copy, distribute and modify it.
1239 _ACEOF
1240 exit 0
1241 fi
1242 exec 5>config.log
1243 cat >&5 <<_ACEOF
1244 This file contains any messages produced by compilers while
1245 running configure, to aid debugging if configure makes a mistake.
1246
1247 It was created by GNU Classpath $as_me 0.96-pre, which was
1248 generated by GNU Autoconf 2.59. Invocation command line was
1249
1250 $ $0 $@
1251
1252 _ACEOF
1253 {
1254 cat <<_ASUNAME
1255 ## --------- ##
1256 ## Platform. ##
1257 ## --------- ##
1258
1259 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1260 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1261 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1262 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1263 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1264
1265 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1266 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1267
1268 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1269 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1270 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1271 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1272 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1273 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1274 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1275
1276 _ASUNAME
1277
1278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1279 for as_dir in $PATH
1280 do
1281 IFS=$as_save_IFS
1282 test -z "$as_dir" && as_dir=.
1283 echo "PATH: $as_dir"
1284 done
1285
1286 } >&5
1287
1288 cat >&5 <<_ACEOF
1289
1290
1291 ## ----------- ##
1292 ## Core tests. ##
1293 ## ----------- ##
1294
1295 _ACEOF
1296
1297
1298 # Keep a trace of the command line.
1299 # Strip out --no-create and --no-recursion so they do not pile up.
1300 # Strip out --silent because we don't want to record it for future runs.
1301 # Also quote any args containing shell meta-characters.
1302 # Make two passes to allow for proper duplicate-argument suppression.
1303 ac_configure_args=
1304 ac_configure_args0=
1305 ac_configure_args1=
1306 ac_sep=
1307 ac_must_keep_next=false
1308 for ac_pass in 1 2
1309 do
1310 for ac_arg
1311 do
1312 case $ac_arg in
1313 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1315 | -silent | --silent | --silen | --sile | --sil)
1316 continue ;;
1317 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1319 esac
1320 case $ac_pass in
1321 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1322 2)
1323 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1324 if test $ac_must_keep_next = true; then
1325 ac_must_keep_next=false # Got value, back to normal.
1326 else
1327 case $ac_arg in
1328 *=* | --config-cache | -C | -disable-* | --disable-* \
1329 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1330 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1331 | -with-* | --with-* | -without-* | --without-* | --x)
1332 case "$ac_configure_args0 " in
1333 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1334 esac
1335 ;;
1336 -* ) ac_must_keep_next=true ;;
1337 esac
1338 fi
1339 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1340 # Get rid of the leading space.
1341 ac_sep=" "
1342 ;;
1343 esac
1344 done
1345 done
1346 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1347 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1348
1349 # When interrupted or exit'd, cleanup temporary files, and complete
1350 # config.log. We remove comments because anyway the quotes in there
1351 # would cause problems or look ugly.
1352 # WARNING: Be sure not to use single quotes in there, as some shells,
1353 # such as our DU 5.0 friend, will then `close' the trap.
1354 trap 'exit_status=$?
1355 # Save into config.log some information that might help in debugging.
1356 {
1357 echo
1358
1359 cat <<\_ASBOX
1360 ## ---------------- ##
1361 ## Cache variables. ##
1362 ## ---------------- ##
1363 _ASBOX
1364 echo
1365 # The following way of writing the cache mishandles newlines in values,
1366 {
1367 (set) 2>&1 |
1368 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1369 *ac_space=\ *)
1370 sed -n \
1371 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1373 ;;
1374 *)
1375 sed -n \
1376 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1377 ;;
1378 esac;
1379 }
1380 echo
1381
1382 cat <<\_ASBOX
1383 ## ----------------- ##
1384 ## Output variables. ##
1385 ## ----------------- ##
1386 _ASBOX
1387 echo
1388 for ac_var in $ac_subst_vars
1389 do
1390 eval ac_val=$`echo $ac_var`
1391 echo "$ac_var='"'"'$ac_val'"'"'"
1392 done | sort
1393 echo
1394
1395 if test -n "$ac_subst_files"; then
1396 cat <<\_ASBOX
1397 ## ------------- ##
1398 ## Output files. ##
1399 ## ------------- ##
1400 _ASBOX
1401 echo
1402 for ac_var in $ac_subst_files
1403 do
1404 eval ac_val=$`echo $ac_var`
1405 echo "$ac_var='"'"'$ac_val'"'"'"
1406 done | sort
1407 echo
1408 fi
1409
1410 if test -s confdefs.h; then
1411 cat <<\_ASBOX
1412 ## ----------- ##
1413 ## confdefs.h. ##
1414 ## ----------- ##
1415 _ASBOX
1416 echo
1417 sed "/^$/d" confdefs.h | sort
1418 echo
1419 fi
1420 test "$ac_signal" != 0 &&
1421 echo "$as_me: caught signal $ac_signal"
1422 echo "$as_me: exit $exit_status"
1423 } >&5
1424 rm -f core *.core &&
1425 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1426 exit $exit_status
1427 ' 0
1428 for ac_signal in 1 2 13 15; do
1429 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1430 done
1431 ac_signal=0
1432
1433 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1434 rm -rf conftest* confdefs.h
1435 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1436 echo >confdefs.h
1437
1438 # Predefined preprocessor variables.
1439
1440 cat >>confdefs.h <<_ACEOF
1441 #define PACKAGE_NAME "$PACKAGE_NAME"
1442 _ACEOF
1443
1444
1445 cat >>confdefs.h <<_ACEOF
1446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1447 _ACEOF
1448
1449
1450 cat >>confdefs.h <<_ACEOF
1451 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1452 _ACEOF
1453
1454
1455 cat >>confdefs.h <<_ACEOF
1456 #define PACKAGE_STRING "$PACKAGE_STRING"
1457 _ACEOF
1458
1459
1460 cat >>confdefs.h <<_ACEOF
1461 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1462 _ACEOF
1463
1464
1465 # Let the site file select an alternate cache file if it wants to.
1466 # Prefer explicitly selected file to automatically selected ones.
1467 if test -z "$CONFIG_SITE"; then
1468 if test "x$prefix" != xNONE; then
1469 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1470 else
1471 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1472 fi
1473 fi
1474 for ac_site_file in $CONFIG_SITE; do
1475 if test -r "$ac_site_file"; then
1476 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1477 echo "$as_me: loading site script $ac_site_file" >&6;}
1478 sed 's/^/| /' "$ac_site_file" >&5
1479 . "$ac_site_file"
1480 fi
1481 done
1482
1483 if test -r "$cache_file"; then
1484 # Some versions of bash will fail to source /dev/null (special
1485 # files actually), so we avoid doing that.
1486 if test -f "$cache_file"; then
1487 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1488 echo "$as_me: loading cache $cache_file" >&6;}
1489 case $cache_file in
1490 [\\/]* | ?:[\\/]* ) . $cache_file;;
1491 *) . ./$cache_file;;
1492 esac
1493 fi
1494 else
1495 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1496 echo "$as_me: creating cache $cache_file" >&6;}
1497 >$cache_file
1498 fi
1499
1500 # Check that the precious variables saved in the cache have kept the same
1501 # value.
1502 ac_cache_corrupted=false
1503 for ac_var in `(set) 2>&1 |
1504 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1505 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1506 eval ac_new_set=\$ac_env_${ac_var}_set
1507 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1508 eval ac_new_val="\$ac_env_${ac_var}_value"
1509 case $ac_old_set,$ac_new_set in
1510 set,)
1511 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1512 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1513 ac_cache_corrupted=: ;;
1514 ,set)
1515 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1516 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1517 ac_cache_corrupted=: ;;
1518 ,);;
1519 *)
1520 if test "x$ac_old_val" != "x$ac_new_val"; then
1521 # differences in whitespace do not lead to failure.
1522 ac_old_val_w=`echo x $ac_old_val`
1523 ac_new_val_w=`echo x $ac_new_val`
1524 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1525 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1526 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1527 ac_cache_corrupted=:
1528 else
1529 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1530 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1531 eval $ac_var=\$ac_old_val
1532 fi
1533 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1534 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1535 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1536 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1537 fi;;
1538 esac
1539 # Pass precious variables to config.status.
1540 if test "$ac_new_set" = set; then
1541 case $ac_new_val in
1542 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1543 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 *) ac_arg=$ac_var=$ac_new_val ;;
1545 esac
1546 case " $ac_configure_args " in
1547 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1548 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1549 esac
1550 fi
1551 done
1552 if $ac_cache_corrupted; then
1553 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1554 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1555 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1556 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1557 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1558 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1559 { (exit 1); exit 1; }; }
1560 fi
1561
1562 ac_ext=c
1563 ac_cpp='$CPP $CPPFLAGS'
1564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599 ac_aux_dir=
1600 for ac_dir in ../.. $srcdir/../..; do
1601 if test -f $ac_dir/install-sh; then
1602 ac_aux_dir=$ac_dir
1603 ac_install_sh="$ac_aux_dir/install-sh -c"
1604 break
1605 elif test -f $ac_dir/install.sh; then
1606 ac_aux_dir=$ac_dir
1607 ac_install_sh="$ac_aux_dir/install.sh -c"
1608 break
1609 elif test -f $ac_dir/shtool; then
1610 ac_aux_dir=$ac_dir
1611 ac_install_sh="$ac_aux_dir/shtool install -c"
1612 break
1613 fi
1614 done
1615 if test -z "$ac_aux_dir"; then
1616 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1617 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1618 { (exit 1); exit 1; }; }
1619 fi
1620 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1621 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1622 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1623
1624
1625 # Make sure we can run config.sub.
1626 $ac_config_sub sun4 >/dev/null 2>&1 ||
1627 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1628 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631 echo "$as_me:$LINENO: checking build system type" >&5
1632 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1633 if test "${ac_cv_build+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 else
1636 ac_cv_build_alias=$build_alias
1637 test -z "$ac_cv_build_alias" &&
1638 ac_cv_build_alias=`$ac_config_guess`
1639 test -z "$ac_cv_build_alias" &&
1640 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1641 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1642 { (exit 1); exit 1; }; }
1643 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1644 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1645 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1646 { (exit 1); exit 1; }; }
1647
1648 fi
1649 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1650 echo "${ECHO_T}$ac_cv_build" >&6
1651 build=$ac_cv_build
1652 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1653 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1654 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655
1656
1657 echo "$as_me:$LINENO: checking host system type" >&5
1658 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1659 if test "${ac_cv_host+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 else
1662 ac_cv_host_alias=$host_alias
1663 test -z "$ac_cv_host_alias" &&
1664 ac_cv_host_alias=$ac_cv_build_alias
1665 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1666 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1667 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1668 { (exit 1); exit 1; }; }
1669
1670 fi
1671 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1672 echo "${ECHO_T}$ac_cv_host" >&6
1673 host=$ac_cv_host
1674 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1675 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1676 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1677
1678
1679 echo "$as_me:$LINENO: checking target system type" >&5
1680 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1681 if test "${ac_cv_target+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 else
1684 ac_cv_target_alias=$target_alias
1685 test "x$ac_cv_target_alias" = "x" &&
1686 ac_cv_target_alias=$ac_cv_host_alias
1687 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1688 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1689 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1690 { (exit 1); exit 1; }; }
1691
1692 fi
1693 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1694 echo "${ECHO_T}$ac_cv_target" >&6
1695 target=$ac_cv_target
1696 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1697 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1698 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1699
1700
1701 # The aliases save the names the user supplied, while $host etc.
1702 # will get canonicalized.
1703 test -n "$target_alias" &&
1704 test "$program_prefix$program_suffix$program_transform_name" = \
1705 NONENONEs,x,x, &&
1706 program_prefix=${target_alias}-
1707
1708 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1709 if test "${enable_java_maintainer_mode+set}" = set; then
1710 enableval="$enable_java_maintainer_mode"
1711
1712 fi;
1713
1714
1715 if test "$enable_java_maintainer_mode" = yes; then
1716 JAVA_MAINTAINER_MODE_TRUE=
1717 JAVA_MAINTAINER_MODE_FALSE='#'
1718 else
1719 JAVA_MAINTAINER_MODE_TRUE='#'
1720 JAVA_MAINTAINER_MODE_FALSE=
1721 fi
1722
1723
1724 # We would like to our source tree to be readonly. However when releases or
1725 # pre-releases are generated, the man pages need to be included as they are
1726 # converted from the texi files via perl which we don't require end users to
1727 # have installed.
1728 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1729
1730 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1731 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1732 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1733 if test "${enable_generated_files_in_srcdir+set}" = set; then
1734 enableval="$enable_generated_files_in_srcdir"
1735 generated_files_in_srcdir=$enableval
1736 else
1737 generated_files_in_srcdir=no
1738 fi;
1739
1740 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1741 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1742
1743
1744 if test x$generated_files_in_srcdir = xyes; then
1745 GENINSRC_TRUE=
1746 GENINSRC_FALSE='#'
1747 else
1748 GENINSRC_TRUE='#'
1749 GENINSRC_FALSE=
1750 fi
1751
1752
1753 # Find the rest of the source tree framework.
1754 # Default to --enable-multilib
1755 # Check whether --enable-multilib or --disable-multilib was given.
1756 if test "${enable_multilib+set}" = set; then
1757 enableval="$enable_multilib"
1758 case "$enableval" in
1759 yes) multilib=yes ;;
1760 no) multilib=no ;;
1761 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1762 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1763 { (exit 1); exit 1; }; } ;;
1764 esac
1765 else
1766 multilib=yes
1767 fi;
1768
1769 # We may get other options which we leave undocumented:
1770 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1771 # See config-ml.in if you want the gory details.
1772
1773 if test "$srcdir" = "."; then
1774 if test "$with_target_subdir" != "."; then
1775 multi_basedir="$srcdir/$with_multisrctop../../.."
1776 else
1777 multi_basedir="$srcdir/$with_multisrctop../.."
1778 fi
1779 else
1780 multi_basedir="$srcdir/../.."
1781 fi
1782
1783
1784 # Even if the default multilib is not a cross compilation,
1785 # it may be that some of the other multilibs are.
1786 if test $cross_compiling = no && test $multilib = yes \
1787 && test "x${with_multisubdir}" != x ; then
1788 cross_compiling=maybe
1789 fi
1790
1791 ac_config_commands="$ac_config_commands default-1"
1792
1793
1794 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1795
1796 LIBVERSION="0:0:0"
1797
1798 case "$host_os" in
1799 darwin*)
1800 cp_module=""
1801 ;;
1802 *)
1803 cp_module="-module"
1804 ;;
1805 esac
1806
1807 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1808
1809
1810 CLASSPATH_CONVENIENCE="-no-undefined"
1811
1812
1813
1814 am__api_version="1.9"
1815 # Find a good install program. We prefer a C program (faster),
1816 # so one script is as good as another. But avoid the broken or
1817 # incompatible versions:
1818 # SysV /etc/install, /usr/sbin/install
1819 # SunOS /usr/etc/install
1820 # IRIX /sbin/install
1821 # AIX /bin/install
1822 # AmigaOS /C/install, which installs bootblocks on floppy discs
1823 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1824 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1825 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1826 # OS/2's system install, which has a completely different semantic
1827 # ./install, which can be erroneously created by make from ./install.sh.
1828 # Reject install programs that cannot install multiple files.
1829 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1830 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1831 if test -z "$INSTALL"; then
1832 if test "${ac_cv_path_install+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 else
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836 for as_dir in $PATH
1837 do
1838 IFS=$as_save_IFS
1839 test -z "$as_dir" && as_dir=.
1840 # Account for people who put trailing slashes in PATH elements.
1841 case $as_dir/ in
1842 ./ | .// | /cC/* | \
1843 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1844 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1845 /usr/ucb/* ) ;;
1846 *)
1847 # OSF1 and SCO ODT 3.0 have their own names for install.
1848 # Don't use installbsd from OSF since it installs stuff as root
1849 # by default.
1850 for ac_prog in ginstall scoinst install; do
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1853 if test $ac_prog = install &&
1854 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1855 # AIX install. It has an incompatible calling convention.
1856 :
1857 elif test $ac_prog = install &&
1858 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1859 # program-specific install script used by HP pwplus--don't use.
1860 :
1861 else
1862 rm -rf conftest.one conftest.two conftest.dir
1863 echo one > conftest.one
1864 echo two > conftest.two
1865 mkdir conftest.dir
1866 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1867 test -s conftest.one && test -s conftest.two &&
1868 test -s conftest.dir/conftest.one &&
1869 test -s conftest.dir/conftest.two
1870 then
1871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1872 break 3
1873 fi
1874 fi
1875 fi
1876 done
1877 done
1878 ;;
1879 esac
1880 done
1881
1882 rm -rf conftest.one conftest.two conftest.dir
1883
1884 fi
1885 if test "${ac_cv_path_install+set}" = set; then
1886 INSTALL=$ac_cv_path_install
1887 else
1888 # As a last resort, use the slow shell script. Don't cache a
1889 # value for INSTALL within a source directory, because that will
1890 # break other packages using the cache if that directory is
1891 # removed, or if the value is a relative name.
1892 INSTALL=$ac_install_sh
1893 fi
1894 fi
1895 echo "$as_me:$LINENO: result: $INSTALL" >&5
1896 echo "${ECHO_T}$INSTALL" >&6
1897
1898 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1899 # It thinks the first close brace ends the variable substitution.
1900 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1901
1902 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1903
1904 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1905
1906 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1907 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1908 # Just in case
1909 sleep 1
1910 echo timestamp > conftest.file
1911 # Do `set' in a subshell so we don't clobber the current shell's
1912 # arguments. Must try -L first in case configure is actually a
1913 # symlink; some systems play weird games with the mod time of symlinks
1914 # (eg FreeBSD returns the mod time of the symlink's containing
1915 # directory).
1916 if (
1917 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1918 if test "$*" = "X"; then
1919 # -L didn't work.
1920 set X `ls -t $srcdir/configure conftest.file`
1921 fi
1922 rm -f conftest.file
1923 if test "$*" != "X $srcdir/configure conftest.file" \
1924 && test "$*" != "X conftest.file $srcdir/configure"; then
1925
1926 # If neither matched, then we have a broken ls. This can happen
1927 # if, for instance, CONFIG_SHELL is bash and it inherits a
1928 # broken ls alias from the environment. This has actually
1929 # happened. Such a system could not be considered "sane".
1930 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1931 alias in your environment" >&5
1932 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1933 alias in your environment" >&2;}
1934 { (exit 1); exit 1; }; }
1935 fi
1936
1937 test "$2" = conftest.file
1938 )
1939 then
1940 # Ok.
1941 :
1942 else
1943 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1944 Check your system clock" >&5
1945 echo "$as_me: error: newly created file is older than distributed files!
1946 Check your system clock" >&2;}
1947 { (exit 1); exit 1; }; }
1948 fi
1949 echo "$as_me:$LINENO: result: yes" >&5
1950 echo "${ECHO_T}yes" >&6
1951 test "$program_prefix" != NONE &&
1952 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1953 # Use a double $ so make ignores it.
1954 test "$program_suffix" != NONE &&
1955 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1956 # Double any \ or $. echo might interpret backslashes.
1957 # By default was `s,x,x', remove it if useless.
1958 cat <<\_ACEOF >conftest.sed
1959 s/[\\$]/&&/g;s/;s,x,x,$//
1960 _ACEOF
1961 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1962 rm conftest.sed
1963
1964 # expand $ac_aux_dir to an absolute path
1965 am_aux_dir=`cd $ac_aux_dir && pwd`
1966
1967 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1968 # Use eval to expand $SHELL
1969 if eval "$MISSING --run true"; then
1970 am_missing_run="$MISSING --run "
1971 else
1972 am_missing_run=
1973 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1974 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1975 fi
1976
1977 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1978 # We used to keeping the `.' as first argument, in order to
1979 # allow $(mkdir_p) to be used without argument. As in
1980 # $(mkdir_p) $(somedir)
1981 # where $(somedir) is conditionally defined. However this is wrong
1982 # for two reasons:
1983 # 1. if the package is installed by a user who cannot write `.'
1984 # make install will fail,
1985 # 2. the above comment should most certainly read
1986 # $(mkdir_p) $(DESTDIR)$(somedir)
1987 # so it does not work when $(somedir) is undefined and
1988 # $(DESTDIR) is not.
1989 # To support the latter case, we have to write
1990 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1991 # so the `.' trick is pointless.
1992 mkdir_p='mkdir -p --'
1993 else
1994 # On NextStep and OpenStep, the `mkdir' command does not
1995 # recognize any option. It will interpret all options as
1996 # directories to create, and then abort because `.' already
1997 # exists.
1998 for d in ./-p ./--version;
1999 do
2000 test -d $d && rmdir $d
2001 done
2002 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2003 if test -f "$ac_aux_dir/mkinstalldirs"; then
2004 mkdir_p='$(mkinstalldirs)'
2005 else
2006 mkdir_p='$(install_sh) -d'
2007 fi
2008 fi
2009
2010 for ac_prog in gawk mawk nawk awk
2011 do
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
2013 set dummy $ac_prog; ac_word=$2
2014 echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2016 if test "${ac_cv_prog_AWK+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019 if test -n "$AWK"; then
2020 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2024 do
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_AWK="$ac_prog"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2
2032 fi
2033 done
2034 done
2035
2036 fi
2037 fi
2038 AWK=$ac_cv_prog_AWK
2039 if test -n "$AWK"; then
2040 echo "$as_me:$LINENO: result: $AWK" >&5
2041 echo "${ECHO_T}$AWK" >&6
2042 else
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2045 fi
2046
2047 test -n "$AWK" && break
2048 done
2049
2050 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2051 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2052 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2053 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 else
2056 cat >conftest.make <<\_ACEOF
2057 all:
2058 @echo 'ac_maketemp="$(MAKE)"'
2059 _ACEOF
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2061 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2062 if test -n "$ac_maketemp"; then
2063 eval ac_cv_prog_make_${ac_make}_set=yes
2064 else
2065 eval ac_cv_prog_make_${ac_make}_set=no
2066 fi
2067 rm -f conftest.make
2068 fi
2069 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2070 echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6
2072 SET_MAKE=
2073 else
2074 echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6
2076 SET_MAKE="MAKE=${MAKE-make}"
2077 fi
2078
2079 rm -rf .tst 2>/dev/null
2080 mkdir .tst 2>/dev/null
2081 if test -d .tst; then
2082 am__leading_dot=.
2083 else
2084 am__leading_dot=_
2085 fi
2086 rmdir .tst 2>/dev/null
2087
2088 # test to see if srcdir already configured
2089 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2090 test -f $srcdir/config.status; then
2091 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2092 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2093 { (exit 1); exit 1; }; }
2094 fi
2095
2096 # test whether we have cygpath
2097 if test -z "$CYGPATH_W"; then
2098 if (cygpath --version) >/dev/null 2>/dev/null; then
2099 CYGPATH_W='cygpath -w'
2100 else
2101 CYGPATH_W=echo
2102 fi
2103 fi
2104
2105
2106 # Define the identity of the package.
2107 PACKAGE='classpath'
2108 VERSION='0.96-pre'
2109
2110
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE "$PACKAGE"
2113 _ACEOF
2114
2115
2116 cat >>confdefs.h <<_ACEOF
2117 #define VERSION "$VERSION"
2118 _ACEOF
2119
2120 # Some tools Automake needs.
2121
2122 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2123
2124
2125 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2126
2127
2128 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2129
2130
2131 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2132
2133
2134 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2135
2136 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2137
2138 # Installed binaries are usually stripped using `strip' when the user
2139 # run `make install-strip'. However `strip' might not be the right
2140 # tool to use in cross-compilation environments, therefore Automake
2141 # will honor the `STRIP' environment variable to overrule this program.
2142 if test "$cross_compiling" != no; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2145 set dummy ${ac_tool_prefix}strip; ac_word=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_STRIP+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 else
2151 if test -n "$STRIP"; then
2152 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2153 else
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2156 do
2157 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 break 2
2164 fi
2165 done
2166 done
2167
2168 fi
2169 fi
2170 STRIP=$ac_cv_prog_STRIP
2171 if test -n "$STRIP"; then
2172 echo "$as_me:$LINENO: result: $STRIP" >&5
2173 echo "${ECHO_T}$STRIP" >&6
2174 else
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2177 fi
2178
2179 fi
2180 if test -z "$ac_cv_prog_STRIP"; then
2181 ac_ct_STRIP=$STRIP
2182 # Extract the first word of "strip", so it can be a program name with args.
2183 set dummy strip; ac_word=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$ac_ct_STRIP"; then
2190 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2191 else
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2194 do
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2199 ac_cv_prog_ac_ct_STRIP="strip"
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 break 2
2202 fi
2203 done
2204 done
2205
2206 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2207 fi
2208 fi
2209 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2210 if test -n "$ac_ct_STRIP"; then
2211 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2212 echo "${ECHO_T}$ac_ct_STRIP" >&6
2213 else
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2216 fi
2217
2218 STRIP=$ac_ct_STRIP
2219 else
2220 STRIP="$ac_cv_prog_STRIP"
2221 fi
2222
2223 fi
2224 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2225
2226 # We need awk for the "check" target. The system "awk" is bad on
2227 # some platforms.
2228 # Always define AMTAR for backward compatibility.
2229
2230 AMTAR=${AMTAR-"${am_missing_run}tar"}
2231
2232
2233 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2234 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2235 # Loop over all known methods to create a tar archive until one works.
2236 _am_tools='gnutar plaintar pax cpio none'
2237 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2238 # Do not fold the above two line into one, because Tru64 sh and
2239 # Solaris sh will not grok spaces in the rhs of `-'.
2240 for _am_tool in $_am_tools
2241 do
2242 case $_am_tool in
2243 gnutar)
2244 for _am_tar in tar gnutar gtar;
2245 do
2246 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2247 ($_am_tar --version) >&5 2>&5
2248 ac_status=$?
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } && break
2251 done
2252 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2253 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2254 am__untar="$_am_tar -xf -"
2255 ;;
2256 plaintar)
2257 # Must skip GNU tar: if it does not support --format= it doesn't create
2258 # ustar tarball either.
2259 (tar --version) >/dev/null 2>&1 && continue
2260 am__tar='tar chf - "$$tardir"'
2261 am__tar_='tar chf - "$tardir"'
2262 am__untar='tar xf -'
2263 ;;
2264 pax)
2265 am__tar='pax -L -x ustar -w "$$tardir"'
2266 am__tar_='pax -L -x ustar -w "$tardir"'
2267 am__untar='pax -r'
2268 ;;
2269 cpio)
2270 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2271 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2272 am__untar='cpio -i -H ustar -d'
2273 ;;
2274 none)
2275 am__tar=false
2276 am__tar_=false
2277 am__untar=false
2278 ;;
2279 esac
2280
2281 # If the value was cached, stop now. We just wanted to have am__tar
2282 # and am__untar set.
2283 test -n "${am_cv_prog_tar_ustar}" && break
2284
2285 # tar/untar a dummy directory, and stop if the command works
2286 rm -rf conftest.dir
2287 mkdir conftest.dir
2288 echo GrepMe > conftest.dir/file
2289 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2290 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2291 ac_status=$?
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }
2294 rm -rf conftest.dir
2295 if test -s conftest.tar; then
2296 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2297 ($am__untar <conftest.tar) >&5 2>&5
2298 ac_status=$?
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }
2301 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2302 fi
2303 done
2304 rm -rf conftest.dir
2305
2306 if test "${am_cv_prog_tar_ustar+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 else
2309 am_cv_prog_tar_ustar=$_am_tool
2310 fi
2311
2312 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2313 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2314
2315
2316
2317
2318
2319 ac_config_headers="$ac_config_headers include/config.h"
2320
2321
2322
2323
2324
2325 # Check whether --enable-collections or --disable-collections was given.
2326 if test "${enable_collections+set}" = set; then
2327 enableval="$enable_collections"
2328 case x"${enableval}" in
2329 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2330 xno) COMPILE_COLLECTIONS=no ;;
2331 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2332 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2333 esac
2334 else
2335 COMPILE_COLLECTIONS=no
2336 fi;
2337
2338
2339 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2340 CREATE_COLLECTIONS_TRUE=
2341 CREATE_COLLECTIONS_FALSE='#'
2342 else
2343 CREATE_COLLECTIONS_TRUE='#'
2344 CREATE_COLLECTIONS_FALSE=
2345 fi
2346
2347
2348 # Check whether --enable-jni or --disable-jni was given.
2349 if test "${enable_jni+set}" = set; then
2350 enableval="$enable_jni"
2351 case "${enableval}" in
2352 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2353 no) COMPILE_JNI=no ;;
2354 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2355 esac
2356 else
2357 COMPILE_JNI=yes
2358 fi;
2359
2360
2361 if test "x${COMPILE_JNI}" = xyes; then
2362 CREATE_JNI_LIBRARIES_TRUE=
2363 CREATE_JNI_LIBRARIES_FALSE='#'
2364 else
2365 CREATE_JNI_LIBRARIES_TRUE='#'
2366 CREATE_JNI_LIBRARIES_FALSE=
2367 fi
2368
2369
2370 # Check whether --enable-core-jni or --disable-core-jni was given.
2371 if test "${enable_core_jni+set}" = set; then
2372 enableval="$enable_core_jni"
2373 case "${enableval}" in
2374 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2375 no) COMPILE_CORE_JNI=no ;;
2376 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2377 esac
2378 else
2379 COMPILE_CORE_JNI=yes
2380 fi;
2381
2382
2383 if test "x${COMPILE_CORE_JNI}" = xyes; then
2384 CREATE_CORE_JNI_LIBRARIES_TRUE=
2385 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2386 else
2387 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2388 CREATE_CORE_JNI_LIBRARIES_FALSE=
2389 fi
2390
2391
2392 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2393 if test "${enable_default_preferences_peer+set}" = set; then
2394 enableval="$enable_default_preferences_peer"
2395 case "${enableval}" in
2396 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2397 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2398 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2399 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2400 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2401 { (exit 1); exit 1; }; } ;;
2402 *) DEFAULT_PREFS_PEER=${enableval} ;;
2403 esac
2404 else
2405 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2406 fi;
2407
2408 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2409 if test "${enable_gconf_peer+set}" = set; then
2410 enableval="$enable_gconf_peer"
2411 case "${enableval}" in
2412 yes) COMPILE_GCONF_PEER=yes ;;
2413 no) COMPILE_GCONF_PEER=no ;;
2414 *) COMPILE_GCONF_PEER=yes ;;
2415 esac
2416 else
2417 COMPILE_GCONF_PEER=yes
2418 fi;
2419
2420
2421 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2422 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2423 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2424 else
2425 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2426 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2427 fi
2428
2429
2430 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2431 if test "${enable_gconf_peers+set}" = set; then
2432 enableval="$enable_gconf_peers"
2433 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2434 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2435 { (exit 1); exit 1; }; }
2436 fi;
2437
2438 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2439 if test "${enable_gstreamer_peer+set}" = set; then
2440 enableval="$enable_gstreamer_peer"
2441 case "${enableval}" in
2442 yes) COMPILE_GSTREAMER_PEER=yes ;;
2443 no) COMPILE_GSTREAMER_PEER=no ;;
2444 *) COMPILE_GSTREAMER_PEER=default ;;
2445 esac
2446 else
2447 COMPILE_GSTREAMER_PEER=default
2448 fi;
2449
2450
2451 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
2452 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE=
2453 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE='#'
2454 else
2455 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
2456 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=
2457 fi
2458
2459
2460 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2461 if test "${enable_gstreamer_peers+set}" = set; then
2462 enableval="$enable_gstreamer_peers"
2463 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2464 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2465 { (exit 1); exit 1; }; }
2466 fi;
2467
2468 # Check whether --enable-Werror or --disable-Werror was given.
2469 if test "${enable_Werror+set}" = set; then
2470 enableval="$enable_Werror"
2471 case "${enableval}" in
2472 yes) ENABLE_WERROR=yes ;;
2473 no) ENABLE_WERROR=no ;;
2474 *) ENABLE_WERROR=default ;;
2475 esac
2476 else
2477 ENABLE_WERROR=default
2478 fi;
2479
2480 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2481 if test "${enable_default_toolkit+set}" = set; then
2482 enableval="$enable_default_toolkit"
2483
2484 fi;
2485 default_toolkit=$enable_default_toolkit
2486 if test "$default_toolkit" = ""; then
2487 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2488 fi
2489
2490
2491 # Check whether --enable-xmlj or --disable-xmlj was given.
2492 if test "${enable_xmlj+set}" = set; then
2493 enableval="$enable_xmlj"
2494 case "${enableval}" in
2495 yes) COMPILE_XMLJ=yes ;;
2496 no) COMPILE_XMLJ=no ;;
2497 *) COMPILE_XMLJ=no ;;
2498 esac
2499 else
2500 COMPILE_XMLJ=no
2501 fi;
2502
2503
2504 if test "x${COMPILE_XMLJ}" = xyes; then
2505 CREATE_XMLJ_LIBRARY_TRUE=
2506 CREATE_XMLJ_LIBRARY_FALSE='#'
2507 else
2508 CREATE_XMLJ_LIBRARY_TRUE='#'
2509 CREATE_XMLJ_LIBRARY_FALSE=
2510 fi
2511
2512
2513 DEPDIR="${am__leading_dot}deps"
2514
2515 ac_config_commands="$ac_config_commands depfiles"
2516
2517
2518 am_make=${MAKE-make}
2519 cat > confinc << 'END'
2520 am__doit:
2521 @echo done
2522 .PHONY: am__doit
2523 END
2524 # If we don't find an include directive, just comment out the code.
2525 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2526 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2527 am__include="#"
2528 am__quote=
2529 _am_result=none
2530 # First try GNU make style include.
2531 echo "include confinc" > confmf
2532 # We grep out `Entering directory' and `Leaving directory'
2533 # messages which can occur if `w' ends up in MAKEFLAGS.
2534 # In particular we don't look at `^make:' because GNU make might
2535 # be invoked under some other name (usually "gmake"), in which
2536 # case it prints its new name instead of `make'.
2537 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2538 am__include=include
2539 am__quote=
2540 _am_result=GNU
2541 fi
2542 # Now try BSD make style include.
2543 if test "$am__include" = "#"; then
2544 echo '.include "confinc"' > confmf
2545 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2546 am__include=.include
2547 am__quote="\""
2548 _am_result=BSD
2549 fi
2550 fi
2551
2552
2553 echo "$as_me:$LINENO: result: $_am_result" >&5
2554 echo "${ECHO_T}$_am_result" >&6
2555 rm -f confinc confmf
2556
2557 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2558 if test "${enable_dependency_tracking+set}" = set; then
2559 enableval="$enable_dependency_tracking"
2560
2561 fi;
2562 if test "x$enable_dependency_tracking" != xno; then
2563 am_depcomp="$ac_aux_dir/depcomp"
2564 AMDEPBACKSLASH='\'
2565 fi
2566
2567
2568 if test "x$enable_dependency_tracking" != xno; then
2569 AMDEP_TRUE=
2570 AMDEP_FALSE='#'
2571 else
2572 AMDEP_TRUE='#'
2573 AMDEP_FALSE=
2574 fi
2575
2576
2577
2578 ac_ext=c
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2583 if test -n "$ac_tool_prefix"; then
2584 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2585 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2586 echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2588 if test "${ac_cv_prog_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 else
2591 if test -n "$CC"; then
2592 ac_cv_prog_CC="$CC" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2596 do
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 break 2
2604 fi
2605 done
2606 done
2607
2608 fi
2609 fi
2610 CC=$ac_cv_prog_CC
2611 if test -n "$CC"; then
2612 echo "$as_me:$LINENO: result: $CC" >&5
2613 echo "${ECHO_T}$CC" >&6
2614 else
2615 echo "$as_me:$LINENO: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2617 fi
2618
2619 fi
2620 if test -z "$ac_cv_prog_CC"; then
2621 ac_ct_CC=$CC
2622 # Extract the first word of "gcc", so it can be a program name with args.
2623 set dummy gcc; ac_word=$2
2624 echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 else
2629 if test -n "$ac_ct_CC"; then
2630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2631 else
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 for as_dir in $PATH
2634 do
2635 IFS=$as_save_IFS
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_ac_ct_CC="gcc"
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 break 2
2642 fi
2643 done
2644 done
2645
2646 fi
2647 fi
2648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2649 if test -n "$ac_ct_CC"; then
2650 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2651 echo "${ECHO_T}$ac_ct_CC" >&6
2652 else
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2655 fi
2656
2657 CC=$ac_ct_CC
2658 else
2659 CC="$ac_cv_prog_CC"
2660 fi
2661
2662 if test -z "$CC"; then
2663 if test -n "$ac_tool_prefix"; then
2664 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2665 set dummy ${ac_tool_prefix}cc; ac_word=$2
2666 echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2668 if test "${ac_cv_prog_CC+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 else
2671 if test -n "$CC"; then
2672 ac_cv_prog_CC="$CC" # Let the user override the test.
2673 else
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 for as_dir in $PATH
2676 do
2677 IFS=$as_save_IFS
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681 ac_cv_prog_CC="${ac_tool_prefix}cc"
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 break 2
2684 fi
2685 done
2686 done
2687
2688 fi
2689 fi
2690 CC=$ac_cv_prog_CC
2691 if test -n "$CC"; then
2692 echo "$as_me:$LINENO: result: $CC" >&5
2693 echo "${ECHO_T}$CC" >&6
2694 else
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2697 fi
2698
2699 fi
2700 if test -z "$ac_cv_prog_CC"; then
2701 ac_ct_CC=$CC
2702 # Extract the first word of "cc", so it can be a program name with args.
2703 set dummy cc; ac_word=$2
2704 echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 else
2709 if test -n "$ac_ct_CC"; then
2710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2711 else
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 for as_dir in $PATH
2714 do
2715 IFS=$as_save_IFS
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_ac_ct_CC="cc"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 break 2
2722 fi
2723 done
2724 done
2725
2726 fi
2727 fi
2728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2731 echo "${ECHO_T}$ac_ct_CC" >&6
2732 else
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2735 fi
2736
2737 CC=$ac_ct_CC
2738 else
2739 CC="$ac_cv_prog_CC"
2740 fi
2741
2742 fi
2743 if test -z "$CC"; then
2744 # Extract the first word of "cc", so it can be a program name with args.
2745 set dummy cc; ac_word=$2
2746 echo "$as_me:$LINENO: checking for $ac_word" >&5
2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2748 if test "${ac_cv_prog_CC+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 else
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC="$CC" # Let the user override the test.
2753 else
2754 ac_prog_rejected=no
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH
2757 do
2758 IFS=$as_save_IFS
2759 test -z "$as_dir" && as_dir=.
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2763 ac_prog_rejected=yes
2764 continue
2765 fi
2766 ac_cv_prog_CC="cc"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 2
2769 fi
2770 done
2771 done
2772
2773 if test $ac_prog_rejected = yes; then
2774 # We found a bogon in the path, so make sure we never use it.
2775 set dummy $ac_cv_prog_CC
2776 shift
2777 if test $# != 0; then
2778 # We chose a different compiler from the bogus one.
2779 # However, it has the same basename, so the bogon will be chosen
2780 # first if we set CC to just the basename; use the full file name.
2781 shift
2782 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2783 fi
2784 fi
2785 fi
2786 fi
2787 CC=$ac_cv_prog_CC
2788 if test -n "$CC"; then
2789 echo "$as_me:$LINENO: result: $CC" >&5
2790 echo "${ECHO_T}$CC" >&6
2791 else
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 fi
2795
2796 fi
2797 if test -z "$CC"; then
2798 if test -n "$ac_tool_prefix"; then
2799 for ac_prog in cl
2800 do
2801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2803 echo "$as_me:$LINENO: checking for $ac_word" >&5
2804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2805 if test "${ac_cv_prog_CC+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 else
2808 if test -n "$CC"; then
2809 ac_cv_prog_CC="$CC" # Let the user override the test.
2810 else
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 for as_dir in $PATH
2813 do
2814 IFS=$as_save_IFS
2815 test -z "$as_dir" && as_dir=.
2816 for ac_exec_ext in '' $ac_executable_extensions; do
2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 break 2
2821 fi
2822 done
2823 done
2824
2825 fi
2826 fi
2827 CC=$ac_cv_prog_CC
2828 if test -n "$CC"; then
2829 echo "$as_me:$LINENO: result: $CC" >&5
2830 echo "${ECHO_T}$CC" >&6
2831 else
2832 echo "$as_me:$LINENO: result: no" >&5
2833 echo "${ECHO_T}no" >&6
2834 fi
2835
2836 test -n "$CC" && break
2837 done
2838 fi
2839 if test -z "$CC"; then
2840 ac_ct_CC=$CC
2841 for ac_prog in cl
2842 do
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy $ac_prog; ac_word=$2
2845 echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 else
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2852 else
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2855 do
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_ac_ct_CC="$ac_prog"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 break 2
2863 fi
2864 done
2865 done
2866
2867 fi
2868 fi
2869 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2870 if test -n "$ac_ct_CC"; then
2871 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2872 echo "${ECHO_T}$ac_ct_CC" >&6
2873 else
2874 echo "$as_me:$LINENO: result: no" >&5
2875 echo "${ECHO_T}no" >&6
2876 fi
2877
2878 test -n "$ac_ct_CC" && break
2879 done
2880
2881 CC=$ac_ct_CC
2882 fi
2883
2884 fi
2885
2886
2887 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2888 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2889 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }; }
2894
2895 # Provide some information about the compiler.
2896 echo "$as_me:$LINENO:" \
2897 "checking for C compiler version" >&5
2898 ac_compiler=`set X $ac_compile; echo $2`
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2900 (eval $ac_compiler --version </dev/null >&5) 2>&5
2901 ac_status=$?
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2905 (eval $ac_compiler -v </dev/null >&5) 2>&5
2906 ac_status=$?
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2910 (eval $ac_compiler -V </dev/null >&5) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }
2914
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2921
2922 int
2923 main ()
2924 {
2925
2926 ;
2927 return 0;
2928 }
2929 _ACEOF
2930 # FIXME: Cleanup?
2931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2932 (eval $ac_link) 2>&5
2933 ac_status=$?
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; then
2936 gcc_no_link=no
2937 else
2938 gcc_no_link=yes
2939 fi
2940
2941 if test x$gcc_no_link = xyes; then
2942 # Setting cross_compile will disable run tests; it will
2943 # also disable AC_CHECK_FILE but that's generally
2944 # correct if we can't link.
2945 cross_compiling=yes
2946 EXEEXT=
2947 else
2948 cat >conftest.$ac_ext <<_ACEOF
2949 /* confdefs.h. */
2950 _ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2954
2955 int
2956 main ()
2957 {
2958
2959 ;
2960 return 0;
2961 }
2962 _ACEOF
2963 ac_clean_files_save=$ac_clean_files
2964 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2965 # Try to create an executable without -o first, disregard a.out.
2966 # It will help us diagnose broken compilers, and finding out an intuition
2967 # of exeext.
2968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2970 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2972 (eval $ac_link_default) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; then
2976 # Find the output, starting from the most likely. This scheme is
2977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2978 # resort.
2979
2980 # Be careful to initialize this variable, since it used to be cached.
2981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2982 ac_cv_exeext=
2983 # b.out is created by i960 compilers.
2984 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2985 do
2986 test -f "$ac_file" || continue
2987 case $ac_file in
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2989 ;;
2990 conftest.$ac_ext )
2991 # This is the source file.
2992 ;;
2993 [ab].out )
2994 # We found the default executable, but exeext='' is most
2995 # certainly right.
2996 break;;
2997 *.* )
2998 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999 # FIXME: I believe we export ac_cv_exeext for Libtool,
3000 # but it would be cool to find out if it's true. Does anybody
3001 # maintain Libtool? --akim.
3002 export ac_cv_exeext
3003 break;;
3004 * )
3005 break;;
3006 esac
3007 done
3008 else
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3011
3012 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3015 See \`config.log' for more details." >&5
3016 echo "$as_me: error: C compiler cannot create executables
3017 See \`config.log' for more details." >&2;}
3018 { (exit 77); exit 77; }; }; }
3019 fi
3020
3021 ac_exeext=$ac_cv_exeext
3022 echo "$as_me:$LINENO: result: $ac_file" >&5
3023 echo "${ECHO_T}$ac_file" >&6
3024
3025 # Check the compiler produces executables we can run. If not, either
3026 # the compiler is broken, or we cross compile.
3027 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3030 # If not cross compiling, check that we can run a simple program.
3031 if test "$cross_compiling" != yes; then
3032 if { ac_try='./$ac_file'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 (eval $ac_try) 2>&5
3035 ac_status=$?
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3038 cross_compiling=no
3039 else
3040 if test "$cross_compiling" = maybe; then
3041 cross_compiling=yes
3042 else
3043 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3044 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3046 If you meant to cross compile, use \`--host'.
3047 See \`config.log' for more details." >&5
3048 echo "$as_me: error: cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details." >&2;}
3051 { (exit 1); exit 1; }; }; }
3052 fi
3053 fi
3054 fi
3055 echo "$as_me:$LINENO: result: yes" >&5
3056 echo "${ECHO_T}yes" >&6
3057
3058 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3059 ac_clean_files=$ac_clean_files_save
3060 # Check the compiler produces executables we can run. If not, either
3061 # the compiler is broken, or we cross compile.
3062 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3063 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3064 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3065 echo "${ECHO_T}$cross_compiling" >&6
3066
3067 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3068 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3070 (eval $ac_link) 2>&5
3071 ac_status=$?
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; then
3074 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3075 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3076 # work properly (i.e., refer to `conftest.exe'), while it won't with
3077 # `rm'.
3078 for ac_file in conftest.exe conftest conftest.*; do
3079 test -f "$ac_file" || continue
3080 case $ac_file in
3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3082 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083 export ac_cv_exeext
3084 break;;
3085 * ) break;;
3086 esac
3087 done
3088 else
3089 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3090 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3092 See \`config.log' for more details." >&5
3093 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3094 See \`config.log' for more details." >&2;}
3095 { (exit 1); exit 1; }; }; }
3096 fi
3097
3098 rm -f conftest$ac_cv_exeext
3099 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3100 echo "${ECHO_T}$ac_cv_exeext" >&6
3101
3102 rm -f conftest.$ac_ext
3103 EXEEXT=$ac_cv_exeext
3104 ac_exeext=$EXEEXT
3105 fi
3106 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3107 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3108 if test "${ac_cv_objext+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117
3118 int
3119 main ()
3120 {
3121
3122 ;
3123 return 0;
3124 }
3125 _ACEOF
3126 rm -f conftest.o conftest.obj
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3129 ac_status=$?
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3132 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3133 case $ac_file in
3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3136 break;;
3137 esac
3138 done
3139 else
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3142
3143 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3144 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3146 See \`config.log' for more details." >&5
3147 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3148 See \`config.log' for more details." >&2;}
3149 { (exit 1); exit 1; }; }; }
3150 fi
3151
3152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3153 fi
3154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3155 echo "${ECHO_T}$ac_cv_objext" >&6
3156 OBJEXT=$ac_cv_objext
3157 ac_objext=$OBJEXT
3158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3160 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3169
3170 int
3171 main ()
3172 {
3173 #ifndef __GNUC__
3174 choke me
3175 #endif
3176
3177 ;
3178 return 0;
3179 }
3180 _ACEOF
3181 rm -f conftest.$ac_objext
3182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3183 (eval $ac_compile) 2>conftest.er1
3184 ac_status=$?
3185 grep -v '^ *+' conftest.er1 >conftest.err
3186 rm -f conftest.er1
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } &&
3190 { ac_try='test -z "$ac_c_werror_flag"
3191 || test ! -s conftest.err'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 (eval $ac_try) 2>&5
3194 ac_status=$?
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; } &&
3197 { ac_try='test -s conftest.$ac_objext'
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 (eval $ac_try) 2>&5
3200 ac_status=$?
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }; }; then
3203 ac_compiler_gnu=yes
3204 else
3205 echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3207
3208 ac_compiler_gnu=no
3209 fi
3210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3212
3213 fi
3214 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3215 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3216 GCC=`test $ac_compiler_gnu = yes && echo yes`
3217 ac_test_CFLAGS=${CFLAGS+set}
3218 ac_save_CFLAGS=$CFLAGS
3219 CFLAGS="-g"
3220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3222 if test "${ac_cv_prog_cc_g+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 else
3225 cat >conftest.$ac_ext <<_ACEOF
3226 /* confdefs.h. */
3227 _ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231
3232 int
3233 main ()
3234 {
3235
3236 ;
3237 return 0;
3238 }
3239 _ACEOF
3240 rm -f conftest.$ac_objext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242 (eval $ac_compile) 2>conftest.er1
3243 ac_status=$?
3244 grep -v '^ *+' conftest.er1 >conftest.err
3245 rm -f conftest.er1
3246 cat conftest.err >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try='test -z "$ac_c_werror_flag"
3250 || test ! -s conftest.err'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 (eval $ac_try) 2>&5
3253 ac_status=$?
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; } &&
3256 { ac_try='test -s conftest.$ac_objext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 (eval $ac_try) 2>&5
3259 ac_status=$?
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3262 ac_cv_prog_cc_g=yes
3263 else
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3266
3267 ac_cv_prog_cc_g=no
3268 fi
3269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3270 fi
3271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3273 if test "$ac_test_CFLAGS" = set; then
3274 CFLAGS=$ac_save_CFLAGS
3275 elif test $ac_cv_prog_cc_g = yes; then
3276 if test "$GCC" = yes; then
3277 CFLAGS="-g -O2"
3278 else
3279 CFLAGS="-g"
3280 fi
3281 else
3282 if test "$GCC" = yes; then
3283 CFLAGS="-O2"
3284 else
3285 CFLAGS=
3286 fi
3287 fi
3288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3290 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293 ac_cv_prog_cc_stdc=no
3294 ac_save_CC=$CC
3295 cat >conftest.$ac_ext <<_ACEOF
3296 /* confdefs.h. */
3297 _ACEOF
3298 cat confdefs.h >>conftest.$ac_ext
3299 cat >>conftest.$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3301 #include <stdarg.h>
3302 #include <stdio.h>
3303 #include <sys/types.h>
3304 #include <sys/stat.h>
3305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3306 struct buf { int x; };
3307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3308 static char *e (p, i)
3309 char **p;
3310 int i;
3311 {
3312 return p[i];
3313 }
3314 static char *f (char * (*g) (char **, int), char **p, ...)
3315 {
3316 char *s;
3317 va_list v;
3318 va_start (v,p);
3319 s = g (p, va_arg (v,int));
3320 va_end (v);
3321 return s;
3322 }
3323
3324 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3325 function prototypes and stuff, but not '\xHH' hex character constants.
3326 These don't provoke an error unfortunately, instead are silently treated
3327 as 'x'. The following induces an error, until -std1 is added to get
3328 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3329 array size at least. It's necessary to write '\x00'==0 to get something
3330 that's true only with -std1. */
3331 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3332
3333 int test (int i, double x);
3334 struct s1 {int (*f) (int a);};
3335 struct s2 {int (*f) (double a);};
3336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3337 int argc;
3338 char **argv;
3339 int
3340 main ()
3341 {
3342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3343 ;
3344 return 0;
3345 }
3346 _ACEOF
3347 # Don't try gcc -ansi; that turns off useful extensions and
3348 # breaks some systems' header files.
3349 # AIX -qlanglvl=ansi
3350 # Ultrix and OSF/1 -std1
3351 # HP-UX 10.20 and later -Ae
3352 # HP-UX older versions -Aa -D_HPUX_SOURCE
3353 # SVR4 -Xc -D__EXTENSIONS__
3354 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3355 do
3356 CC="$ac_save_CC $ac_arg"
3357 rm -f conftest.$ac_objext
3358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>conftest.er1
3360 ac_status=$?
3361 grep -v '^ *+' conftest.er1 >conftest.err
3362 rm -f conftest.er1
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try='test -z "$ac_c_werror_flag"
3367 || test ! -s conftest.err'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3369 (eval $ac_try) 2>&5
3370 ac_status=$?
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; } &&
3373 { ac_try='test -s conftest.$ac_objext'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 (eval $ac_try) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3379 ac_cv_prog_cc_stdc=$ac_arg
3380 break
3381 else
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3384
3385 fi
3386 rm -f conftest.err conftest.$ac_objext
3387 done
3388 rm -f conftest.$ac_ext conftest.$ac_objext
3389 CC=$ac_save_CC
3390
3391 fi
3392
3393 case "x$ac_cv_prog_cc_stdc" in
3394 x|xno)
3395 echo "$as_me:$LINENO: result: none needed" >&5
3396 echo "${ECHO_T}none needed" >&6 ;;
3397 *)
3398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3399 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3400 CC="$CC $ac_cv_prog_cc_stdc" ;;
3401 esac
3402
3403 # Some people use a C++ compiler to compile C. Since we use `exit',
3404 # in C++ we need to declare it. In case someone uses the same compiler
3405 # for both compiling C and C++ we need to have the C++ compiler decide
3406 # the declaration of exit, since it's the most demanding environment.
3407 cat >conftest.$ac_ext <<_ACEOF
3408 #ifndef __cplusplus
3409 choke me
3410 #endif
3411 _ACEOF
3412 rm -f conftest.$ac_objext
3413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3414 (eval $ac_compile) 2>conftest.er1
3415 ac_status=$?
3416 grep -v '^ *+' conftest.er1 >conftest.err
3417 rm -f conftest.er1
3418 cat conftest.err >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } &&
3421 { ac_try='test -z "$ac_c_werror_flag"
3422 || test ! -s conftest.err'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 (eval $ac_try) 2>&5
3425 ac_status=$?
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; } &&
3428 { ac_try='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 (eval $ac_try) 2>&5
3431 ac_status=$?
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 for ac_declaration in \
3435 '' \
3436 'extern "C" void std::exit (int) throw (); using std::exit;' \
3437 'extern "C" void std::exit (int); using std::exit;' \
3438 'extern "C" void exit (int) throw ();' \
3439 'extern "C" void exit (int);' \
3440 'void exit (int);'
3441 do
3442 cat >conftest.$ac_ext <<_ACEOF
3443 /* confdefs.h. */
3444 _ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 $ac_declaration
3449 #include <stdlib.h>
3450 int
3451 main ()
3452 {
3453 exit (42);
3454 ;
3455 return 0;
3456 }
3457 _ACEOF
3458 rm -f conftest.$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3461 ac_status=$?
3462 grep -v '^ *+' conftest.er1 >conftest.err
3463 rm -f conftest.er1
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 (eval $ac_try) 2>&5
3471 ac_status=$?
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 (eval $ac_try) 2>&5
3477 ac_status=$?
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 :
3481 else
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3484
3485 continue
3486 fi
3487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3488 cat >conftest.$ac_ext <<_ACEOF
3489 /* confdefs.h. */
3490 _ACEOF
3491 cat confdefs.h >>conftest.$ac_ext
3492 cat >>conftest.$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3494 $ac_declaration
3495 int
3496 main ()
3497 {
3498 exit (42);
3499 ;
3500 return 0;
3501 }
3502 _ACEOF
3503 rm -f conftest.$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 (eval $ac_try) 2>&5
3516 ac_status=$?
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; } &&
3519 { ac_try='test -s conftest.$ac_objext'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 (eval $ac_try) 2>&5
3522 ac_status=$?
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3525 break
3526 else
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3529
3530 fi
3531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3532 done
3533 rm -f conftest*
3534 if test -n "$ac_declaration"; then
3535 echo '#ifdef __cplusplus' >>confdefs.h
3536 echo $ac_declaration >>confdefs.h
3537 echo '#endif' >>confdefs.h
3538 fi
3539
3540 else
3541 echo "$as_me: failed program was:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3543
3544 fi
3545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3546 ac_ext=c
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551
3552 depcc="$CC" am_compiler_list=
3553
3554 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3555 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3556 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 else
3559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3560 # We make a subdir and do the tests there. Otherwise we can end up
3561 # making bogus files that we don't know about and never remove. For
3562 # instance it was reported that on HP-UX the gcc test will end up
3563 # making a dummy file named `D' -- because `-MD' means `put the output
3564 # in D'.
3565 mkdir conftest.dir
3566 # Copy depcomp to subdir because otherwise we won't find it if we're
3567 # using a relative directory.
3568 cp "$am_depcomp" conftest.dir
3569 cd conftest.dir
3570 # We will build objects and dependencies in a subdirectory because
3571 # it helps to detect inapplicable dependency modes. For instance
3572 # both Tru64's cc and ICC support -MD to output dependencies as a
3573 # side effect of compilation, but ICC will put the dependencies in
3574 # the current directory while Tru64 will put them in the object
3575 # directory.
3576 mkdir sub
3577
3578 am_cv_CC_dependencies_compiler_type=none
3579 if test "$am_compiler_list" = ""; then
3580 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3581 fi
3582 for depmode in $am_compiler_list; do
3583 # Setup a source with many dependencies, because some compilers
3584 # like to wrap large dependency lists on column 80 (with \), and
3585 # we should not choose a depcomp mode which is confused by this.
3586 #
3587 # We need to recreate these files for each test, as the compiler may
3588 # overwrite some of them when testing with obscure command lines.
3589 # This happens at least with the AIX C compiler.
3590 : > sub/conftest.c
3591 for i in 1 2 3 4 5 6; do
3592 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3593 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3594 # Solaris 8's {/usr,}/bin/sh.
3595 touch sub/conftst$i.h
3596 done
3597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3598
3599 case $depmode in
3600 nosideeffect)
3601 # after this tag, mechanisms are not by side-effect, so they'll
3602 # only be used when explicitly requested
3603 if test "x$enable_dependency_tracking" = xyes; then
3604 continue
3605 else
3606 break
3607 fi
3608 ;;
3609 none) break ;;
3610 esac
3611 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3612 # mode. It turns out that the SunPro C++ compiler does not properly
3613 # handle `-M -o', and we need to detect this.
3614 if depmode=$depmode \
3615 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3616 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3617 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3618 >/dev/null 2>conftest.err &&
3619 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3620 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3621 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3622 # icc doesn't choke on unknown options, it will just issue warnings
3623 # or remarks (even with -Werror). So we grep stderr for any message
3624 # that says an option was ignored or not supported.
3625 # When given -MP, icc 7.0 and 7.1 complain thusly:
3626 # icc: Command line warning: ignoring option '-M'; no argument required
3627 # The diagnosis changed in icc 8.0:
3628 # icc: Command line remark: option '-MP' not supported
3629 if (grep 'ignoring option' conftest.err ||
3630 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3631 am_cv_CC_dependencies_compiler_type=$depmode
3632 break
3633 fi
3634 fi
3635 done
3636
3637 cd ..
3638 rm -rf conftest.dir
3639 else
3640 am_cv_CC_dependencies_compiler_type=none
3641 fi
3642
3643 fi
3644 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3645 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3646 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3647
3648
3649
3650 if
3651 test "x$enable_dependency_tracking" != xno \
3652 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3653 am__fastdepCC_TRUE=
3654 am__fastdepCC_FALSE='#'
3655 else
3656 am__fastdepCC_TRUE='#'
3657 am__fastdepCC_FALSE=
3658 fi
3659
3660
3661
3662 ac_ext=c
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3669 # On Suns, sometimes $CPP names a directory.
3670 if test -n "$CPP" && test -d "$CPP"; then
3671 CPP=
3672 fi
3673 if test -z "$CPP"; then
3674 if test "${ac_cv_prog_CPP+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 else
3677 # Double quotes because CPP needs to be expanded
3678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3679 do
3680 ac_preproc_ok=false
3681 for ac_c_preproc_warn_flag in '' yes
3682 do
3683 # Use a header file that comes with gcc, so configuring glibc
3684 # with a fresh cross-compiler works.
3685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3686 # <limits.h> exists even on freestanding compilers.
3687 # On the NeXT, cc -E runs the code through the compiler's parser,
3688 # not just through cpp. "Syntax error" is here to catch this case.
3689 cat >conftest.$ac_ext <<_ACEOF
3690 /* confdefs.h. */
3691 _ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3695 #ifdef __STDC__
3696 # include <limits.h>
3697 #else
3698 # include <assert.h>
3699 #endif
3700 Syntax error
3701 _ACEOF
3702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3704 ac_status=$?
3705 grep -v '^ *+' conftest.er1 >conftest.err
3706 rm -f conftest.er1
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } >/dev/null; then
3710 if test -s conftest.err; then
3711 ac_cpp_err=$ac_c_preproc_warn_flag
3712 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3713 else
3714 ac_cpp_err=
3715 fi
3716 else
3717 ac_cpp_err=yes
3718 fi
3719 if test -z "$ac_cpp_err"; then
3720 :
3721 else
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.$ac_ext >&5
3724
3725 # Broken: fails on valid input.
3726 continue
3727 fi
3728 rm -f conftest.err conftest.$ac_ext
3729
3730 # OK, works on sane cases. Now check whether non-existent headers
3731 # can be detected and how.
3732 cat >conftest.$ac_ext <<_ACEOF
3733 /* confdefs.h. */
3734 _ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
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 # Broken: success on invalid input.
3759 continue
3760 else
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3763
3764 # Passes both tests.
3765 ac_preproc_ok=:
3766 break
3767 fi
3768 rm -f conftest.err conftest.$ac_ext
3769
3770 done
3771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3772 rm -f conftest.err conftest.$ac_ext
3773 if $ac_preproc_ok; then
3774 break
3775 fi
3776
3777 done
3778 ac_cv_prog_CPP=$CPP
3779
3780 fi
3781 CPP=$ac_cv_prog_CPP
3782 else
3783 ac_cv_prog_CPP=$CPP
3784 fi
3785 echo "$as_me:$LINENO: result: $CPP" >&5
3786 echo "${ECHO_T}$CPP" >&6
3787 ac_preproc_ok=false
3788 for ac_c_preproc_warn_flag in '' yes
3789 do
3790 # Use a header file that comes with gcc, so configuring glibc
3791 # with a fresh cross-compiler works.
3792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3793 # <limits.h> exists even on freestanding compilers.
3794 # On the NeXT, cc -E runs the code through the compiler's parser,
3795 # not just through cpp. "Syntax error" is here to catch this case.
3796 cat >conftest.$ac_ext <<_ACEOF
3797 /* confdefs.h. */
3798 _ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 #ifdef __STDC__
3803 # include <limits.h>
3804 #else
3805 # include <assert.h>
3806 #endif
3807 Syntax error
3808 _ACEOF
3809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3811 ac_status=$?
3812 grep -v '^ *+' conftest.er1 >conftest.err
3813 rm -f conftest.er1
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } >/dev/null; then
3817 if test -s conftest.err; then
3818 ac_cpp_err=$ac_c_preproc_warn_flag
3819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3820 else
3821 ac_cpp_err=
3822 fi
3823 else
3824 ac_cpp_err=yes
3825 fi
3826 if test -z "$ac_cpp_err"; then
3827 :
3828 else
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3831
3832 # Broken: fails on valid input.
3833 continue
3834 fi
3835 rm -f conftest.err conftest.$ac_ext
3836
3837 # OK, works on sane cases. Now check whether non-existent headers
3838 # can be detected and how.
3839 cat >conftest.$ac_ext <<_ACEOF
3840 /* confdefs.h. */
3841 _ACEOF
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3845 #include <ac_nonexistent.h>
3846 _ACEOF
3847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3849 ac_status=$?
3850 grep -v '^ *+' conftest.er1 >conftest.err
3851 rm -f conftest.er1
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev/null; then
3855 if test -s conftest.err; then
3856 ac_cpp_err=$ac_c_preproc_warn_flag
3857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3858 else
3859 ac_cpp_err=
3860 fi
3861 else
3862 ac_cpp_err=yes
3863 fi
3864 if test -z "$ac_cpp_err"; then
3865 # Broken: success on invalid input.
3866 continue
3867 else
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3870
3871 # Passes both tests.
3872 ac_preproc_ok=:
3873 break
3874 fi
3875 rm -f conftest.err conftest.$ac_ext
3876
3877 done
3878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3879 rm -f conftest.err conftest.$ac_ext
3880 if $ac_preproc_ok; then
3881 :
3882 else
3883 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3884 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3886 See \`config.log' for more details." >&5
3887 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3888 See \`config.log' for more details." >&2;}
3889 { (exit 1); exit 1; }; }; }
3890 fi
3891
3892 ac_ext=c
3893 ac_cpp='$CPP $CPPFLAGS'
3894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3897
3898
3899 echo "$as_me:$LINENO: checking for egrep" >&5
3900 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3901 if test "${ac_cv_prog_egrep+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 else
3904 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3905 then ac_cv_prog_egrep='grep -E'
3906 else ac_cv_prog_egrep='egrep'
3907 fi
3908 fi
3909 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3910 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3911 EGREP=$ac_cv_prog_egrep
3912
3913
3914 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3915 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3916 if test "${ac_cv_header_stdc+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 else
3919 cat >conftest.$ac_ext <<_ACEOF
3920 /* confdefs.h. */
3921 _ACEOF
3922 cat confdefs.h >>conftest.$ac_ext
3923 cat >>conftest.$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <stdlib.h>
3926 #include <stdarg.h>
3927 #include <string.h>
3928 #include <float.h>
3929
3930 int
3931 main ()
3932 {
3933
3934 ;
3935 return 0;
3936 }
3937 _ACEOF
3938 rm -f conftest.$ac_objext
3939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940 (eval $ac_compile) 2>conftest.er1
3941 ac_status=$?
3942 grep -v '^ *+' conftest.er1 >conftest.err
3943 rm -f conftest.er1
3944 cat conftest.err >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); } &&
3947 { ac_try='test -z "$ac_c_werror_flag"
3948 || test ! -s conftest.err'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 (eval $ac_try) 2>&5
3951 ac_status=$?
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; } &&
3954 { ac_try='test -s conftest.$ac_objext'
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 (eval $ac_try) 2>&5
3957 ac_status=$?
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }; }; then
3960 ac_cv_header_stdc=yes
3961 else
3962 echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3964
3965 ac_cv_header_stdc=no
3966 fi
3967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3968
3969 if test $ac_cv_header_stdc = yes; then
3970 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3971 cat >conftest.$ac_ext <<_ACEOF
3972 /* confdefs.h. */
3973 _ACEOF
3974 cat confdefs.h >>conftest.$ac_ext
3975 cat >>conftest.$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3977 #include <string.h>
3978
3979 _ACEOF
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981 $EGREP "memchr" >/dev/null 2>&1; then
3982 :
3983 else
3984 ac_cv_header_stdc=no
3985 fi
3986 rm -f conftest*
3987
3988 fi
3989
3990 if test $ac_cv_header_stdc = yes; then
3991 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3992 cat >conftest.$ac_ext <<_ACEOF
3993 /* confdefs.h. */
3994 _ACEOF
3995 cat confdefs.h >>conftest.$ac_ext
3996 cat >>conftest.$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 #include <stdlib.h>
3999
4000 _ACEOF
4001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4002 $EGREP "free" >/dev/null 2>&1; then
4003 :
4004 else
4005 ac_cv_header_stdc=no
4006 fi
4007 rm -f conftest*
4008
4009 fi
4010
4011 if test $ac_cv_header_stdc = yes; then
4012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4013 if test "$cross_compiling" = yes; then
4014 :
4015 else
4016 cat >conftest.$ac_ext <<_ACEOF
4017 /* confdefs.h. */
4018 _ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4022 #include <ctype.h>
4023 #if ((' ' & 0x0FF) == 0x020)
4024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4026 #else
4027 # define ISLOWER(c) \
4028 (('a' <= (c) && (c) <= 'i') \
4029 || ('j' <= (c) && (c) <= 'r') \
4030 || ('s' <= (c) && (c) <= 'z'))
4031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4032 #endif
4033
4034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4035 int
4036 main ()
4037 {
4038 int i;
4039 for (i = 0; i < 256; i++)
4040 if (XOR (islower (i), ISLOWER (i))
4041 || toupper (i) != TOUPPER (i))
4042 exit(2);
4043 exit (0);
4044 }
4045 _ACEOF
4046 rm -f conftest$ac_exeext
4047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4048 (eval $ac_link) 2>&5
4049 ac_status=$?
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 (eval $ac_try) 2>&5
4054 ac_status=$?
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 :
4058 else
4059 echo "$as_me: program exited with status $ac_status" >&5
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.$ac_ext >&5
4062
4063 ( exit $ac_status )
4064 ac_cv_header_stdc=no
4065 fi
4066 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4067 fi
4068 fi
4069 fi
4070 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4071 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4072 if test $ac_cv_header_stdc = yes; then
4073
4074 cat >>confdefs.h <<\_ACEOF
4075 #define STDC_HEADERS 1
4076 _ACEOF
4077
4078 fi
4079
4080 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4091 inttypes.h stdint.h unistd.h
4092 do
4093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 echo "$as_me:$LINENO: checking for $ac_header" >&5
4095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 else
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 $ac_includes_default
4106
4107 #include <$ac_header>
4108 _ACEOF
4109 rm -f conftest.$ac_objext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 (eval $ac_compile) 2>conftest.er1
4112 ac_status=$?
4113 grep -v '^ *+' conftest.er1 >conftest.err
4114 rm -f conftest.er1
4115 cat conftest.err >&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try='test -z "$ac_c_werror_flag"
4119 || test ! -s conftest.err'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121 (eval $ac_try) 2>&5
4122 ac_status=$?
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; } &&
4125 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
4131 eval "$as_ac_Header=yes"
4132 else
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4135
4136 eval "$as_ac_Header=no"
4137 fi
4138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4139 fi
4140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4143 cat >>confdefs.h <<_ACEOF
4144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4145 _ACEOF
4146
4147 fi
4148
4149 done
4150
4151
4152 # Check whether --enable-alsa or --disable-alsa was given.
4153 if test "${enable_alsa+set}" = set; then
4154 enableval="$enable_alsa"
4155 case "${enableval}" in
4156 yes) COMPILE_ALSA=yes ;;
4157 no) COMPILE_ALSA=no ;;
4158 *) COMPILE_ALSA=yes ;;
4159 esac
4160 else
4161
4162 for ac_header in alsa/asoundlib.h
4163 do
4164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4166 echo "$as_me:$LINENO: checking for $ac_header" >&5
4167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 fi
4171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4173 else
4174 # Is the header compilable?
4175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4177 cat >conftest.$ac_ext <<_ACEOF
4178 /* confdefs.h. */
4179 _ACEOF
4180 cat confdefs.h >>conftest.$ac_ext
4181 cat >>conftest.$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4183 $ac_includes_default
4184 #include <$ac_header>
4185 _ACEOF
4186 rm -f conftest.$ac_objext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188 (eval $ac_compile) 2>conftest.er1
4189 ac_status=$?
4190 grep -v '^ *+' conftest.er1 >conftest.err
4191 rm -f conftest.er1
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try='test -z "$ac_c_werror_flag"
4196 || test ! -s conftest.err'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 (eval $ac_try) 2>&5
4199 ac_status=$?
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try='test -s conftest.$ac_objext'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4204 (eval $ac_try) 2>&5
4205 ac_status=$?
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4208 ac_header_compiler=yes
4209 else
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4212
4213 ac_header_compiler=no
4214 fi
4215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4217 echo "${ECHO_T}$ac_header_compiler" >&6
4218
4219 # Is the header present?
4220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4222 cat >conftest.$ac_ext <<_ACEOF
4223 /* confdefs.h. */
4224 _ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 #include <$ac_header>
4229 _ACEOF
4230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4232 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } >/dev/null; then
4238 if test -s conftest.err; then
4239 ac_cpp_err=$ac_c_preproc_warn_flag
4240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4241 else
4242 ac_cpp_err=
4243 fi
4244 else
4245 ac_cpp_err=yes
4246 fi
4247 if test -z "$ac_cpp_err"; then
4248 ac_header_preproc=yes
4249 else
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.$ac_ext >&5
4252
4253 ac_header_preproc=no
4254 fi
4255 rm -f conftest.err conftest.$ac_ext
4256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4257 echo "${ECHO_T}$ac_header_preproc" >&6
4258
4259 # So? What about this header?
4260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4261 yes:no: )
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4266 ac_header_preproc=yes
4267 ;;
4268 no:yes:* )
4269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4281 (
4282 cat <<\_ASBOX
4283 ## -------------------------------- ##
4284 ## Report this to classpath@gnu.org ##
4285 ## -------------------------------- ##
4286 _ASBOX
4287 ) |
4288 sed "s/^/$as_me: WARNING: /" >&2
4289 ;;
4290 esac
4291 echo "$as_me:$LINENO: checking for $ac_header" >&5
4292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 else
4296 eval "$as_ac_Header=\$ac_header_preproc"
4297 fi
4298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4300
4301 fi
4302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4303 cat >>confdefs.h <<_ACEOF
4304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4305 _ACEOF
4306 echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4307 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6
4308 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311 ac_check_lib_save_LIBS=$LIBS
4312 LIBS="-lasound $LIBS"
4313 if test x$gcc_no_link = xyes; then
4314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4316 { (exit 1); exit 1; }; }
4317 fi
4318 cat >conftest.$ac_ext <<_ACEOF
4319 /* confdefs.h. */
4320 _ACEOF
4321 cat confdefs.h >>conftest.$ac_ext
4322 cat >>conftest.$ac_ext <<_ACEOF
4323 /* end confdefs.h. */
4324
4325 /* Override any gcc2 internal prototype to avoid an error. */
4326 #ifdef __cplusplus
4327 extern "C"
4328 #endif
4329 /* We use char because int might match the return type of a gcc2
4330 builtin and then its argument prototype would still apply. */
4331 char snd_seq_open ();
4332 int
4333 main ()
4334 {
4335 snd_seq_open ();
4336 ;
4337 return 0;
4338 }
4339 _ACEOF
4340 rm -f conftest.$ac_objext conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4343 ac_status=$?
4344 grep -v '^ *+' conftest.er1 >conftest.err
4345 rm -f conftest.er1
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try='test -z "$ac_c_werror_flag"
4350 || test ! -s conftest.err'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 (eval $ac_try) 2>&5
4353 ac_status=$?
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; } &&
4356 { ac_try='test -s conftest$ac_exeext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 (eval $ac_try) 2>&5
4359 ac_status=$?
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; }; then
4362 ac_cv_lib_asound_snd_seq_open=yes
4363 else
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4366
4367 ac_cv_lib_asound_snd_seq_open=no
4368 fi
4369 rm -f conftest.err conftest.$ac_objext \
4370 conftest$ac_exeext conftest.$ac_ext
4371 LIBS=$ac_check_lib_save_LIBS
4372 fi
4373 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4374 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6
4375 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4376 COMPILE_ALSA=yes
4377 else
4378 COMPILE_ALSA=no
4379 fi
4380
4381 else
4382 COMPILE_ALSA=no
4383 fi
4384
4385 done
4386
4387 fi;
4388
4389
4390 if test "x${COMPILE_ALSA}" = xyes; then
4391 CREATE_ALSA_LIBRARIES_TRUE=
4392 CREATE_ALSA_LIBRARIES_FALSE='#'
4393 else
4394 CREATE_ALSA_LIBRARIES_TRUE='#'
4395 CREATE_ALSA_LIBRARIES_FALSE=
4396 fi
4397
4398
4399 # Check whether --enable-dssi or --disable-dssi was given.
4400 if test "${enable_dssi+set}" = set; then
4401 enableval="$enable_dssi"
4402 case "${enableval}" in
4403 yes) COMPILE_DSSI=yes ;;
4404 no) COMPILE_DSSI=no ;;
4405 *) COMPILE_DSSI=yes ;;
4406 esac
4407 else
4408 COMPILE_DSSI=no
4409
4410 for ac_header in dssi.h
4411 do
4412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4414 echo "$as_me:$LINENO: checking for $ac_header" >&5
4415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 fi
4419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4421 else
4422 # Is the header compilable?
4423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4425 cat >conftest.$ac_ext <<_ACEOF
4426 /* confdefs.h. */
4427 _ACEOF
4428 cat confdefs.h >>conftest.$ac_ext
4429 cat >>conftest.$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4432 #include <$ac_header>
4433 _ACEOF
4434 rm -f conftest.$ac_objext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>conftest.er1
4437 ac_status=$?
4438 grep -v '^ *+' conftest.er1 >conftest.err
4439 rm -f conftest.er1
4440 cat conftest.err >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); } &&
4443 { ac_try='test -z "$ac_c_werror_flag"
4444 || test ! -s conftest.err'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446 (eval $ac_try) 2>&5
4447 ac_status=$?
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; } &&
4450 { ac_try='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452 (eval $ac_try) 2>&5
4453 ac_status=$?
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 ac_header_compiler=yes
4457 else
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4460
4461 ac_header_compiler=no
4462 fi
4463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4465 echo "${ECHO_T}$ac_header_compiler" >&6
4466
4467 # Is the header present?
4468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 #include <$ac_header>
4477 _ACEOF
4478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4480 ac_status=$?
4481 grep -v '^ *+' conftest.er1 >conftest.err
4482 rm -f conftest.er1
4483 cat conftest.err >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } >/dev/null; then
4486 if test -s conftest.err; then
4487 ac_cpp_err=$ac_c_preproc_warn_flag
4488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4489 else
4490 ac_cpp_err=
4491 fi
4492 else
4493 ac_cpp_err=yes
4494 fi
4495 if test -z "$ac_cpp_err"; then
4496 ac_header_preproc=yes
4497 else
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.$ac_ext >&5
4500
4501 ac_header_preproc=no
4502 fi
4503 rm -f conftest.err conftest.$ac_ext
4504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4505 echo "${ECHO_T}$ac_header_preproc" >&6
4506
4507 # So? What about this header?
4508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4509 yes:no: )
4510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4514 ac_header_preproc=yes
4515 ;;
4516 no:yes:* )
4517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4529 (
4530 cat <<\_ASBOX
4531 ## -------------------------------- ##
4532 ## Report this to classpath@gnu.org ##
4533 ## -------------------------------- ##
4534 _ASBOX
4535 ) |
4536 sed "s/^/$as_me: WARNING: /" >&2
4537 ;;
4538 esac
4539 echo "$as_me:$LINENO: checking for $ac_header" >&5
4540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 else
4544 eval "$as_ac_Header=\$ac_header_preproc"
4545 fi
4546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4548
4549 fi
4550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4551 cat >>confdefs.h <<_ACEOF
4552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4553 _ACEOF
4554
4555
4556 for ac_header in jack/jack.h
4557 do
4558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4560 echo "$as_me:$LINENO: checking for $ac_header" >&5
4561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 fi
4565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4567 else
4568 # Is the header compilable?
4569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4571 cat >conftest.$ac_ext <<_ACEOF
4572 /* confdefs.h. */
4573 _ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 $ac_includes_default
4578 #include <$ac_header>
4579 _ACEOF
4580 rm -f conftest.$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 (eval $ac_try) 2>&5
4593 ac_status=$?
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 (eval $ac_try) 2>&5
4599 ac_status=$?
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_header_compiler=yes
4603 else
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4606
4607 ac_header_compiler=no
4608 fi
4609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4611 echo "${ECHO_T}$ac_header_compiler" >&6
4612
4613 # Is the header present?
4614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4616 cat >conftest.$ac_ext <<_ACEOF
4617 /* confdefs.h. */
4618 _ACEOF
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <$ac_header>
4623 _ACEOF
4624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4626 ac_status=$?
4627 grep -v '^ *+' conftest.er1 >conftest.err
4628 rm -f conftest.er1
4629 cat conftest.err >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } >/dev/null; then
4632 if test -s conftest.err; then
4633 ac_cpp_err=$ac_c_preproc_warn_flag
4634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4635 else
4636 ac_cpp_err=
4637 fi
4638 else
4639 ac_cpp_err=yes
4640 fi
4641 if test -z "$ac_cpp_err"; then
4642 ac_header_preproc=yes
4643 else
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4646
4647 ac_header_preproc=no
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4651 echo "${ECHO_T}$ac_header_preproc" >&6
4652
4653 # So? What about this header?
4654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4655 yes:no: )
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4660 ac_header_preproc=yes
4661 ;;
4662 no:yes:* )
4663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4675 (
4676 cat <<\_ASBOX
4677 ## -------------------------------- ##
4678 ## Report this to classpath@gnu.org ##
4679 ## -------------------------------- ##
4680 _ASBOX
4681 ) |
4682 sed "s/^/$as_me: WARNING: /" >&2
4683 ;;
4684 esac
4685 echo "$as_me:$LINENO: checking for $ac_header" >&5
4686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 else
4690 eval "$as_ac_Header=\$ac_header_preproc"
4691 fi
4692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4694
4695 fi
4696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4697 cat >>confdefs.h <<_ACEOF
4698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4699 _ACEOF
4700 COMPILE_DSSI=yes
4701 fi
4702
4703 done
4704
4705 fi
4706
4707 done
4708
4709 fi;
4710
4711
4712 if test "x${COMPILE_DSSI}" = xyes; then
4713 CREATE_DSSI_LIBRARIES_TRUE=
4714 CREATE_DSSI_LIBRARIES_FALSE='#'
4715 else
4716 CREATE_DSSI_LIBRARIES_TRUE='#'
4717 CREATE_DSSI_LIBRARIES_FALSE=
4718 fi
4719
4720
4721 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
4722 if test "${enable_gtk_peer+set}" = set; then
4723 enableval="$enable_gtk_peer"
4724 case "${enableval}" in
4725 yes) COMPILE_GTK_PEER=yes ;;
4726 no) COMPILE_GTK_PEER=no ;;
4727 *) COMPILE_GTK_PEER=yes ;;
4728 esac
4729 else
4730 COMPILE_GTK_PEER=yes
4731 fi;
4732
4733
4734 if test "x${COMPILE_GTK_PEER}" = xyes; then
4735 CREATE_GTK_PEER_LIBRARIES_TRUE=
4736 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
4737 else
4738 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
4739 CREATE_GTK_PEER_LIBRARIES_FALSE=
4740 fi
4741
4742
4743 # Check whether --enable-gtk-peers or --disable-gtk-peers was given.
4744 if test "${enable_gtk_peers+set}" = set; then
4745 enableval="$enable_gtk_peers"
4746 { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4747 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4748 { (exit 1); exit 1; }; }
4749 fi;
4750
4751 # Check whether --enable-qt-peer or --disable-qt-peer was given.
4752 if test "${enable_qt_peer+set}" = set; then
4753 enableval="$enable_qt_peer"
4754 case "${enableval}" in
4755 yes) COMPILE_QT_PEER=yes ;;
4756 no) COMPILE_QT_PEER=no ;;
4757 *) COMPILE_QT_PEER=yes ;;
4758 esac
4759 else
4760 COMPILE_QT_PEER=no
4761 fi;
4762
4763
4764 if test "x${COMPILE_QT_PEER}" = xyes; then
4765 CREATE_QT_PEER_LIBRARIES_TRUE=
4766 CREATE_QT_PEER_LIBRARIES_FALSE='#'
4767 else
4768 CREATE_QT_PEER_LIBRARIES_TRUE='#'
4769 CREATE_QT_PEER_LIBRARIES_FALSE=
4770 fi
4771
4772
4773 # Check whether --enable-plugin or --disable-plugin was given.
4774 if test "${enable_plugin+set}" = set; then
4775 enableval="$enable_plugin"
4776 case "${enableval}" in
4777 yes) COMPILE_PLUGIN=yes ;;
4778 no) COMPILE_PLUGIN=no ;;
4779 *) COMPILE_PLUGIN=yes ;;
4780 esac
4781 else
4782 COMPILE_PLUGIN=yes
4783 fi;
4784
4785
4786 if test "x${COMPILE_PLUGIN}" = xyes; then
4787 CREATE_PLUGIN_TRUE=
4788 CREATE_PLUGIN_FALSE='#'
4789 else
4790 CREATE_PLUGIN_TRUE='#'
4791 CREATE_PLUGIN_FALSE=
4792 fi
4793
4794
4795
4796 multi_os_directory=`$CC -print-multi-os-directory`
4797 case $multi_os_directory in
4798 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
4799 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
4800 esac
4801
4802
4803
4804
4805 # Check whether --with-native-libdir or --without-native-libdir was given.
4806 if test "${with_native_libdir+set}" = set; then
4807 withval="$with_native_libdir"
4808
4809 nativeexeclibdir=${withval}
4810
4811 else
4812
4813 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/../libtool-version`
4814
4815 fi;
4816
4817
4818
4819
4820 # Check whether --with-glibj-dir or --without-glibj-dir was given.
4821 if test "${with_glibj_dir+set}" = set; then
4822 withval="$with_glibj_dir"
4823
4824 glibjdir=${withval}
4825
4826 else
4827
4828 glibjdir='${datadir}/${PACKAGE}'
4829
4830 fi;
4831
4832
4833
4834
4835 # Check whether --with-vm or --without-vm was given.
4836 if test "${with_vm+set}" = set; then
4837 withval="$with_vm"
4838
4839 VM_BINARY=${withval}
4840
4841 else
4842
4843 VM_BINARY='${prefix}/bin/jamvm'
4844
4845 fi;
4846
4847
4848
4849 # Check whether --enable-regen-headers or --disable-regen-headers was given.
4850 if test "${enable_regen_headers+set}" = set; then
4851 enableval="$enable_regen_headers"
4852 case "${enableval}" in
4853 yes) REGENERATE_JNI_HEADERS=yes ;;
4854 no) REGENERATE_JNI_HEADERS=no ;;
4855 *) REGENERATE_JNI_HEADERS=no ;;
4856 esac
4857 else
4858 REGENERATE_JNI_HEADERS=no
4859 fi;
4860
4861
4862 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
4863 CREATE_JNI_HEADERS_TRUE=
4864 CREATE_JNI_HEADERS_FALSE='#'
4865 else
4866 CREATE_JNI_HEADERS_TRUE='#'
4867 CREATE_JNI_HEADERS_FALSE=
4868 fi
4869
4870
4871 # Check whether --enable-tool-wrappers or --disable-tool-wrappers was given.
4872 if test "${enable_tool_wrappers+set}" = set; then
4873 enableval="$enable_tool_wrappers"
4874 case x"${enableval}" in
4875 xyes)
4876 COMPILE_WRAPPERS=yes;
4877
4878 for ac_header in ltdl.h
4879 do
4880 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4882 echo "$as_me:$LINENO: checking for $ac_header" >&5
4883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 fi
4887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4889 else
4890 # Is the header compilable?
4891 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4892 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4893 cat >conftest.$ac_ext <<_ACEOF
4894 /* confdefs.h. */
4895 _ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 $ac_includes_default
4900 #include <$ac_header>
4901 _ACEOF
4902 rm -f conftest.$ac_objext
4903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904 (eval $ac_compile) 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } &&
4911 { ac_try='test -z "$ac_c_werror_flag"
4912 || test ! -s conftest.err'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 (eval $ac_try) 2>&5
4915 ac_status=$?
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; } &&
4918 { ac_try='test -s conftest.$ac_objext'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 (eval $ac_try) 2>&5
4921 ac_status=$?
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; }; then
4924 ac_header_compiler=yes
4925 else
4926 echo "$as_me: failed program was:" >&5
4927 sed 's/^/| /' conftest.$ac_ext >&5
4928
4929 ac_header_compiler=no
4930 fi
4931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4933 echo "${ECHO_T}$ac_header_compiler" >&6
4934
4935 # Is the header present?
4936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4938 cat >conftest.$ac_ext <<_ACEOF
4939 /* confdefs.h. */
4940 _ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 #include <$ac_header>
4945 _ACEOF
4946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4948 ac_status=$?
4949 grep -v '^ *+' conftest.er1 >conftest.err
4950 rm -f conftest.er1
4951 cat conftest.err >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } >/dev/null; then
4954 if test -s conftest.err; then
4955 ac_cpp_err=$ac_c_preproc_warn_flag
4956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4957 else
4958 ac_cpp_err=
4959 fi
4960 else
4961 ac_cpp_err=yes
4962 fi
4963 if test -z "$ac_cpp_err"; then
4964 ac_header_preproc=yes
4965 else
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4968
4969 ac_header_preproc=no
4970 fi
4971 rm -f conftest.err conftest.$ac_ext
4972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4973 echo "${ECHO_T}$ac_header_preproc" >&6
4974
4975 # So? What about this header?
4976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4977 yes:no: )
4978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4982 ac_header_preproc=yes
4983 ;;
4984 no:yes:* )
4985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4997 (
4998 cat <<\_ASBOX
4999 ## -------------------------------- ##
5000 ## Report this to classpath@gnu.org ##
5001 ## -------------------------------- ##
5002 _ASBOX
5003 ) |
5004 sed "s/^/$as_me: WARNING: /" >&2
5005 ;;
5006 esac
5007 echo "$as_me:$LINENO: checking for $ac_header" >&5
5008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 else
5012 eval "$as_ac_Header=\$ac_header_preproc"
5013 fi
5014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5016
5017 fi
5018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5019 cat >>confdefs.h <<_ACEOF
5020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5021 _ACEOF
5022
5023 else
5024 { { echo "$as_me:$LINENO: error: cannot find ltdl.h" >&5
5025 echo "$as_me: error: cannot find ltdl.h" >&2;}
5026 { (exit 1); exit 1; }; }
5027 fi
5028
5029 done
5030
5031
5032 echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
5033 echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6
5034 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 else
5037 ac_check_lib_save_LIBS=$LIBS
5038 LIBS="-lltdl $LIBS"
5039 if test x$gcc_no_link = xyes; then
5040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5042 { (exit 1); exit 1; }; }
5043 fi
5044 cat >conftest.$ac_ext <<_ACEOF
5045 /* confdefs.h. */
5046 _ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050
5051 /* Override any gcc2 internal prototype to avoid an error. */
5052 #ifdef __cplusplus
5053 extern "C"
5054 #endif
5055 /* We use char because int might match the return type of a gcc2
5056 builtin and then its argument prototype would still apply. */
5057 char lt_dlopen ();
5058 int
5059 main ()
5060 {
5061 lt_dlopen ();
5062 ;
5063 return 0;
5064 }
5065 _ACEOF
5066 rm -f conftest.$ac_objext conftest$ac_exeext
5067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5068 (eval $ac_link) 2>conftest.er1
5069 ac_status=$?
5070 grep -v '^ *+' conftest.er1 >conftest.err
5071 rm -f conftest.er1
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try='test -z "$ac_c_werror_flag"
5076 || test ! -s conftest.err'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 (eval $ac_try) 2>&5
5079 ac_status=$?
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; } &&
5082 { ac_try='test -s conftest$ac_exeext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 (eval $ac_try) 2>&5
5085 ac_status=$?
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_lib_ltdl_lt_dlopen=yes
5089 else
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5092
5093 ac_cv_lib_ltdl_lt_dlopen=no
5094 fi
5095 rm -f conftest.err conftest.$ac_objext \
5096 conftest$ac_exeext conftest.$ac_ext
5097 LIBS=$ac_check_lib_save_LIBS
5098 fi
5099 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5100 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6
5101 if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
5102 cat >>confdefs.h <<_ACEOF
5103 #define HAVE_LIBLTDL 1
5104 _ACEOF
5105
5106 LIBS="-lltdl $LIBS"
5107
5108 else
5109 { { echo "$as_me:$LINENO: error: cannot find libltdl" >&5
5110 echo "$as_me: error: cannot find libltdl" >&2;}
5111 { (exit 1); exit 1; }; }
5112 fi
5113
5114 ;;
5115 xno) COMPILE_WRAPPERS=no ;;
5116 x) COMPILE_WRAPPERS=yes ;;
5117 *) COMPILE_WRAPPERS=yes ;;
5118 esac
5119 else
5120 COMPILE_WRAPPERS=no
5121 fi;
5122
5123
5124 if test "x${COMPILE_WRAPPERS}" = xyes; then
5125 CREATE_WRAPPERS_TRUE=
5126 CREATE_WRAPPERS_FALSE='#'
5127 else
5128 CREATE_WRAPPERS_TRUE='#'
5129 CREATE_WRAPPERS_FALSE=
5130 fi
5131
5132
5133 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5134 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5135 LN_S=$as_ln_s
5136 if test "$LN_S" = "ln -s"; then
5137 echo "$as_me:$LINENO: result: yes" >&5
5138 echo "${ECHO_T}yes" >&6
5139 else
5140 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5141 echo "${ECHO_T}no, using $LN_S" >&6
5142 fi
5143
5144 # Find a good install program. We prefer a C program (faster),
5145 # so one script is as good as another. But avoid the broken or
5146 # incompatible versions:
5147 # SysV /etc/install, /usr/sbin/install
5148 # SunOS /usr/etc/install
5149 # IRIX /sbin/install
5150 # AIX /bin/install
5151 # AmigaOS /C/install, which installs bootblocks on floppy discs
5152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5155 # OS/2's system install, which has a completely different semantic
5156 # ./install, which can be erroneously created by make from ./install.sh.
5157 # Reject install programs that cannot install multiple files.
5158 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5160 if test -z "$INSTALL"; then
5161 if test "${ac_cv_path_install+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5166 do
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 # Account for people who put trailing slashes in PATH elements.
5170 case $as_dir/ in
5171 ./ | .// | /cC/* | \
5172 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5173 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5174 /usr/ucb/* ) ;;
5175 *)
5176 # OSF1 and SCO ODT 3.0 have their own names for install.
5177 # Don't use installbsd from OSF since it installs stuff as root
5178 # by default.
5179 for ac_prog in ginstall scoinst install; do
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5182 if test $ac_prog = install &&
5183 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5184 # AIX install. It has an incompatible calling convention.
5185 :
5186 elif test $ac_prog = install &&
5187 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5188 # program-specific install script used by HP pwplus--don't use.
5189 :
5190 else
5191 rm -rf conftest.one conftest.two conftest.dir
5192 echo one > conftest.one
5193 echo two > conftest.two
5194 mkdir conftest.dir
5195 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5196 test -s conftest.one && test -s conftest.two &&
5197 test -s conftest.dir/conftest.one &&
5198 test -s conftest.dir/conftest.two
5199 then
5200 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5201 break 3
5202 fi
5203 fi
5204 fi
5205 done
5206 done
5207 ;;
5208 esac
5209 done
5210
5211 rm -rf conftest.one conftest.two conftest.dir
5212
5213 fi
5214 if test "${ac_cv_path_install+set}" = set; then
5215 INSTALL=$ac_cv_path_install
5216 else
5217 # As a last resort, use the slow shell script. Don't cache a
5218 # value for INSTALL within a source directory, because that will
5219 # break other packages using the cache if that directory is
5220 # removed, or if the value is a relative name.
5221 INSTALL=$ac_install_sh
5222 fi
5223 fi
5224 echo "$as_me:$LINENO: result: $INSTALL" >&5
5225 echo "${ECHO_T}$INSTALL" >&6
5226
5227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5228 # It thinks the first close brace ends the variable substitution.
5229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5230
5231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5232
5233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5234
5235
5236
5237 # Check whether --enable-static or --disable-static was given.
5238 if test "${enable_static+set}" = set; then
5239 enableval="$enable_static"
5240 p=${PACKAGE-default}
5241 case $enableval in
5242 yes) enable_static=yes ;;
5243 no) enable_static=no ;;
5244 *)
5245 enable_static=no
5246 # Look at the argument we got. We use all the common list separators.
5247 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5248 for pkg in $enableval; do
5249 IFS="$lt_save_ifs"
5250 if test "X$pkg" = "X$p"; then
5251 enable_static=yes
5252 fi
5253 done
5254 IFS="$lt_save_ifs"
5255 ;;
5256 esac
5257 else
5258 enable_static=no
5259 fi;
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270 macro_version='2.1a'
5271 macro_revision='1.2435'
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284 ltmain="$ac_aux_dir/ltmain.sh"
5285
5286 # Set options
5287
5288 enable_dlopen=no
5289
5290
5291 enable_win32_dll=no
5292
5293
5294 # Check whether --enable-shared or --disable-shared was given.
5295 if test "${enable_shared+set}" = set; then
5296 enableval="$enable_shared"
5297 p=${PACKAGE-default}
5298 case $enableval in
5299 yes) enable_shared=yes ;;
5300 no) enable_shared=no ;;
5301 *)
5302 enable_shared=no
5303 # Look at the argument we got. We use all the common list separators.
5304 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5305 for pkg in $enableval; do
5306 IFS="$lt_save_ifs"
5307 if test "X$pkg" = "X$p"; then
5308 enable_shared=yes
5309 fi
5310 done
5311 IFS="$lt_save_ifs"
5312 ;;
5313 esac
5314 else
5315 enable_shared=yes
5316 fi;
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 # Check whether --with-pic or --without-pic was given.
5328 if test "${with_pic+set}" = set; then
5329 withval="$with_pic"
5330 pic_mode="$withval"
5331 else
5332 pic_mode=default
5333 fi;
5334
5335 test -z "$pic_mode" && pic_mode=default
5336
5337
5338
5339
5340
5341
5342
5343 # Check whether --enable-fast-install or --disable-fast-install was given.
5344 if test "${enable_fast_install+set}" = set; then
5345 enableval="$enable_fast_install"
5346 p=${PACKAGE-default}
5347 case $enableval in
5348 yes) enable_fast_install=yes ;;
5349 no) enable_fast_install=no ;;
5350 *)
5351 enable_fast_install=no
5352 # Look at the argument we got. We use all the common list separators.
5353 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5354 for pkg in $enableval; do
5355 IFS="$lt_save_ifs"
5356 if test "X$pkg" = "X$p"; then
5357 enable_fast_install=yes
5358 fi
5359 done
5360 IFS="$lt_save_ifs"
5361 ;;
5362 esac
5363 else
5364 enable_fast_install=yes
5365 fi;
5366
5367
5368
5369
5370
5371
5372
5373
5374 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5375 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5376 if test "${lt_cv_path_SED+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 else
5379 # Loop through the user's path and test for sed and gsed.
5380 # Then use that list of sed's as ones to test for truncation.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5383 do
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for lt_ac_prog in sed gsed; do
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5389 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5390 fi
5391 done
5392 done
5393 done
5394 IFS=$as_save_IFS
5395 lt_ac_max=0
5396 lt_ac_count=0
5397 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5398 # along with /bin/sed that truncates output.
5399 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5400 test ! -f $lt_ac_sed && continue
5401 cat /dev/null > conftest.in
5402 lt_ac_count=0
5403 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5404 # Check for GNU sed and select it if it is found.
5405 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5406 lt_cv_path_SED=$lt_ac_sed
5407 break
5408 fi
5409 while true; do
5410 cat conftest.in conftest.in >conftest.tmp
5411 mv conftest.tmp conftest.in
5412 cp conftest.in conftest.nl
5413 echo >>conftest.nl
5414 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5415 cmp -s conftest.out conftest.nl || break
5416 # 10000 chars as input seems more than enough
5417 test $lt_ac_count -gt 10 && break
5418 lt_ac_count=`expr $lt_ac_count + 1`
5419 if test $lt_ac_count -gt $lt_ac_max; then
5420 lt_ac_max=$lt_ac_count
5421 lt_cv_path_SED=$lt_ac_sed
5422 fi
5423 done
5424 done
5425
5426 fi
5427
5428 SED=$lt_cv_path_SED
5429
5430 echo "$as_me:$LINENO: result: $SED" >&5
5431 echo "${ECHO_T}$SED" >&6
5432
5433 test -z "$SED" && SED=sed
5434 Xsed="$SED -e 1s/^X//"
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446 echo "$as_me:$LINENO: checking for fgrep" >&5
5447 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5448 if test "${ac_cv_prog_fgrep+set}" = set; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 else
5451 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5452 then ac_cv_prog_fgrep='grep -F'
5453 else ac_cv_prog_fgrep='fgrep'
5454 fi
5455 fi
5456 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5457 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5458 FGREP=$ac_cv_prog_fgrep
5459
5460
5461 test -z "$GREP" && GREP=grep
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5482 if test "${with_gnu_ld+set}" = set; then
5483 withval="$with_gnu_ld"
5484 test "$withval" = no || with_gnu_ld=yes
5485 else
5486 with_gnu_ld=no
5487 fi;
5488 ac_prog=ld
5489 if test "$GCC" = yes; then
5490 # Check if gcc -print-prog-name=ld gives a path.
5491 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5492 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5493 case $host in
5494 *-*-mingw*)
5495 # gcc leaves a trailing carriage return which upsets mingw
5496 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5497 *)
5498 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5499 esac
5500 case $ac_prog in
5501 # Accept absolute paths.
5502 [\\/]* | ?:[\\/]*)
5503 re_direlt='/[^/][^/]*/\.\./'
5504 # Canonicalize the pathname of ld
5505 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5506 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5507 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5508 done
5509 test -z "$LD" && LD="$ac_prog"
5510 ;;
5511 "")
5512 # If it fails, then pretend we aren't using GCC.
5513 ac_prog=ld
5514 ;;
5515 *)
5516 # If it is relative, then search for the first ld in PATH.
5517 with_gnu_ld=unknown
5518 ;;
5519 esac
5520 elif test "$with_gnu_ld" = yes; then
5521 echo "$as_me:$LINENO: checking for GNU ld" >&5
5522 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5523 else
5524 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5525 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5526 fi
5527 if test "${lt_cv_path_LD+set}" = set; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 else
5530 if test -z "$LD"; then
5531 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5532 for ac_dir in $PATH; do
5533 IFS="$lt_save_ifs"
5534 test -z "$ac_dir" && ac_dir=.
5535 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5536 lt_cv_path_LD="$ac_dir/$ac_prog"
5537 # Check to see if the program is GNU ld. I'd rather use --version,
5538 # but apparently some variants of GNU ld only accept -v.
5539 # Break only if it was the GNU/non-GNU ld that we prefer.
5540 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5541 *GNU* | *'with BFD'*)
5542 test "$with_gnu_ld" != no && break
5543 ;;
5544 *)
5545 test "$with_gnu_ld" != yes && break
5546 ;;
5547 esac
5548 fi
5549 done
5550 IFS="$lt_save_ifs"
5551 else
5552 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5553 fi
5554 fi
5555
5556 LD="$lt_cv_path_LD"
5557 if test -n "$LD"; then
5558 echo "$as_me:$LINENO: result: $LD" >&5
5559 echo "${ECHO_T}$LD" >&6
5560 else
5561 echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6
5563 fi
5564 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5565 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5566 { (exit 1); exit 1; }; }
5567 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5568 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5569 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 else
5572 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5573 case `$LD -v 2>&1 </dev/null` in
5574 *GNU* | *'with BFD'*)
5575 lt_cv_prog_gnu_ld=yes
5576 ;;
5577 *)
5578 lt_cv_prog_gnu_ld=no
5579 ;;
5580 esac
5581 fi
5582 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5583 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5584 with_gnu_ld=$lt_cv_prog_gnu_ld
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5596 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5597 if test "${lt_cv_path_NM+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 else
5600 if test -n "$NM"; then
5601 # Let the user override the test.
5602 lt_cv_path_NM="$NM"
5603 else
5604 lt_nm_to_check="${ac_tool_prefix}nm"
5605 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5606 lt_nm_to_check="$lt_nm_to_check nm"
5607 fi
5608 for lt_tmp_nm in $lt_nm_to_check; do
5609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5610 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5611 IFS="$lt_save_ifs"
5612 test -z "$ac_dir" && ac_dir=.
5613 tmp_nm="$ac_dir/$lt_tmp_nm"
5614 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5615 # Check to see if the nm accepts a BSD-compat flag.
5616 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5617 # nm: unknown option "B" ignored
5618 # Tru64's nm complains that /dev/null is an invalid object file
5619 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5620 */dev/null* | *'Invalid file or object type'*)
5621 lt_cv_path_NM="$tmp_nm -B"
5622 break
5623 ;;
5624 *)
5625 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5626 */dev/null*)
5627 lt_cv_path_NM="$tmp_nm -p"
5628 break
5629 ;;
5630 *)
5631 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5632 continue # so that we can try to find one that supports BSD flags
5633 ;;
5634 esac
5635 ;;
5636 esac
5637 fi
5638 done
5639 IFS="$lt_save_ifs"
5640 done
5641 : ${lt_cv_path_NM=no}
5642 fi
5643 fi
5644 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5645 echo "${ECHO_T}$lt_cv_path_NM" >&6
5646 if test "$lt_cv_path_NM" != "no"; then
5647 NM="$lt_cv_path_NM"
5648 else
5649 # Didn't find any BSD compatible name lister, look for dumpbin.
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5652 do
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5655 echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5657 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 else
5660 if test -n "$DUMPBIN"; then
5661 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5665 do
5666 IFS=$as_save_IFS
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 break 2
5673 fi
5674 done
5675 done
5676
5677 fi
5678 fi
5679 DUMPBIN=$ac_cv_prog_DUMPBIN
5680 if test -n "$DUMPBIN"; then
5681 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5682 echo "${ECHO_T}$DUMPBIN" >&6
5683 else
5684 echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6
5686 fi
5687
5688 test -n "$DUMPBIN" && break
5689 done
5690 fi
5691 if test -z "$DUMPBIN"; then
5692 ac_ct_DUMPBIN=$DUMPBIN
5693 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5694 do
5695 # Extract the first word of "$ac_prog", so it can be a program name with args.
5696 set dummy $ac_prog; ac_word=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 else
5702 if test -n "$ac_ct_DUMPBIN"; then
5703 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5704 else
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 for as_dir in $PATH
5707 do
5708 IFS=$as_save_IFS
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 break 2
5715 fi
5716 done
5717 done
5718
5719 fi
5720 fi
5721 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5722 if test -n "$ac_ct_DUMPBIN"; then
5723 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5724 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5725 else
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5728 fi
5729
5730 test -n "$ac_ct_DUMPBIN" && break
5731 done
5732 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5733
5734 DUMPBIN=$ac_ct_DUMPBIN
5735 fi
5736
5737
5738 if test "$DUMPBIN" != ":"; then
5739 NM="$DUMPBIN"
5740 fi
5741 fi
5742 test -z "$NM" && NM=nm
5743
5744
5745
5746
5747
5748
5749 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5750 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5751 if test "${lt_cv_nm_interface+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 else
5754 lt_cv_nm_interface="BSD nm"
5755 echo "int some_variable = 0;" > conftest.$ac_ext
5756 (eval echo "\"\$as_me:5756: $ac_compile\"" >&5)
5757 (eval "$ac_compile" 2>conftest.err)
5758 cat conftest.err >&5
5759 (eval echo "\"\$as_me:5759: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5760 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5761 cat conftest.err >&5
5762 (eval echo "\"\$as_me:5762: output\"" >&5)
5763 cat conftest.out >&5
5764 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5765 lt_cv_nm_interface="MS dumpbin"
5766 fi
5767 rm -f conftest*
5768 fi
5769 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5770 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5771
5772 # find the maximum length of command line arguments
5773 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5774 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5775 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 else
5778 i=0
5779 teststring="ABCD"
5780
5781 case $build_os in
5782 msdosdjgpp*)
5783 # On DJGPP, this test can blow up pretty badly due to problems in libc
5784 # (any single argument exceeding 2000 bytes causes a buffer overrun
5785 # during glob expansion). Even if it were fixed, the result of this
5786 # check would be larger than it should be.
5787 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5788 ;;
5789
5790 gnu*)
5791 # Under GNU Hurd, this test is not required because there is
5792 # no limit to the length of command line arguments.
5793 # Libtool will interpret -1 as no limit whatsoever
5794 lt_cv_sys_max_cmd_len=-1;
5795 ;;
5796
5797 cygwin* | mingw*)
5798 # On Win9x/ME, this test blows up -- it succeeds, but takes
5799 # about 5 minutes as the teststring grows exponentially.
5800 # Worse, since 9x/ME are not pre-emptively multitasking,
5801 # you end up with a "frozen" computer, even though with patience
5802 # the test eventually succeeds (with a max line length of 256k).
5803 # Instead, let's just punt: use the minimum linelength reported by
5804 # all of the supported platforms: 8192 (on NT/2K/XP).
5805 lt_cv_sys_max_cmd_len=8192;
5806 ;;
5807
5808 amigaos*)
5809 # On AmigaOS with pdksh, this test takes hours, literally.
5810 # So we just punt and use a minimum line length of 8192.
5811 lt_cv_sys_max_cmd_len=8192;
5812 ;;
5813
5814 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5815 # This has been around since 386BSD, at least. Likely further.
5816 if test -x /sbin/sysctl; then
5817 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5818 elif test -x /usr/sbin/sysctl; then
5819 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5820 else
5821 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5822 fi
5823 # And add a safety zone
5824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5826 ;;
5827
5828 interix*)
5829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5830 lt_cv_sys_max_cmd_len=196608
5831 ;;
5832
5833 osf*)
5834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5836 # nice to cause kernel panics so lets avoid the loop below.
5837 # First set a reasonable default.
5838 lt_cv_sys_max_cmd_len=16384
5839 #
5840 if test -x /sbin/sysconfig; then
5841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5842 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5843 esac
5844 fi
5845 ;;
5846 sco3.2v5*)
5847 lt_cv_sys_max_cmd_len=102400
5848 ;;
5849 sysv5* | sco5v6* | sysv4.2uw2*)
5850 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5851 if test -n "$kargmax"; then
5852 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5853 else
5854 lt_cv_sys_max_cmd_len=32768
5855 fi
5856 ;;
5857 *)
5858 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
5859 if test -n $lt_cv_sys_max_cmd_len; then
5860 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5861 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5862 else
5863 # Make teststring a little bigger before we do anything with it.
5864 # a 1K string should be a reasonable start.
5865 for i in 1 2 3 4 5 6 7 8 ; do
5866 teststring=$teststring$teststring
5867 done
5868 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5869 # If test is not a shell built-in, we'll probably end up computing a
5870 # maximum length that is only half of the actual maximum length, but
5871 # we can't tell.
5872 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5873 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5874 test $i != 17 # 1/2 MB should be enough
5875 do
5876 i=`expr $i + 1`
5877 teststring=$teststring$teststring
5878 done
5879 # Only check the string length outside the loop.
5880 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5881 teststring=
5882 # Add a significant safety factor because C++ compilers can tack on
5883 # massive amounts of additional arguments before passing them to the
5884 # linker. It appears as though 1/2 is a usable value.
5885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5886 fi
5887 ;;
5888 esac
5889
5890 fi
5891
5892 if test -n $lt_cv_sys_max_cmd_len ; then
5893 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5894 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5895 else
5896 echo "$as_me:$LINENO: result: none" >&5
5897 echo "${ECHO_T}none" >&6
5898 fi
5899 max_cmd_len=$lt_cv_sys_max_cmd_len
5900
5901
5902
5903
5904
5905
5906
5907 : ${CP="cp -f"}
5908 : ${MV="mv -f"}
5909 : ${RM="rm -f"}
5910
5911 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5912 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5913 # Try some XSI features
5914 xsi_shell=no
5915 ( _lt_dummy="a/b/c"
5916 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5917 = c,a/b,, ) >/dev/null 2>&1 \
5918 && xsi_shell=yes
5919 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5920 echo "${ECHO_T}$xsi_shell" >&6
5921
5922
5923 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5924 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5925 lt_shell_append=no
5926 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5927 >/dev/null 2>&1 \
5928 && lt_shell_append=yes
5929 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5930 echo "${ECHO_T}$lt_shell_append" >&6
5931
5932
5933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5934 lt_unset=unset
5935 else
5936 lt_unset=false
5937 fi
5938
5939
5940
5941
5942
5943 # test EBCDIC or ASCII
5944 case `echo X|tr X '\101'` in
5945 A) # ASCII based system
5946 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5947 lt_SP2NL='tr \040 \012'
5948 lt_NL2SP='tr \015\012 \040\040'
5949 ;;
5950 *) # EBCDIC based system
5951 lt_SP2NL='tr \100 \n'
5952 lt_NL2SP='tr \r\n \100\100'
5953 ;;
5954 esac
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5965 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5966 if test "${lt_cv_ld_reload_flag+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 else
5969 lt_cv_ld_reload_flag='-r'
5970 fi
5971 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5972 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5973 reload_flag=$lt_cv_ld_reload_flag
5974 case $reload_flag in
5975 "" | " "*) ;;
5976 *) reload_flag=" $reload_flag" ;;
5977 esac
5978 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5979 case $host_os in
5980 darwin*)
5981 if test "$GCC" = yes; then
5982 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5983 else
5984 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5985 fi
5986 ;;
5987 esac
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5999 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
6000 if test "${lt_cv_deplibs_check_method+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 lt_cv_file_magic_cmd='$MAGIC_CMD'
6004 lt_cv_file_magic_test_file=
6005 lt_cv_deplibs_check_method='unknown'
6006 # Need to set the preceding variable on all platforms that support
6007 # interlibrary dependencies.
6008 # 'none' -- dependencies not supported.
6009 # `unknown' -- same as none, but documents that we really don't know.
6010 # 'pass_all' -- all dependencies passed with no checks.
6011 # 'test_compile' -- check by making test program.
6012 # 'file_magic [[regex]]' -- check by looking for files in library path
6013 # which responds to the $file_magic_cmd with a given extended regex.
6014 # If you have `file' or equivalent on your system and you're not sure
6015 # whether `pass_all' will *always* work, you probably want this one.
6016
6017 case $host_os in
6018 aix[4-9]*)
6019 lt_cv_deplibs_check_method=pass_all
6020 ;;
6021
6022 beos*)
6023 lt_cv_deplibs_check_method=pass_all
6024 ;;
6025
6026 bsdi[45]*)
6027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6028 lt_cv_file_magic_cmd='/usr/bin/file -L'
6029 lt_cv_file_magic_test_file=/shlib/libc.so
6030 ;;
6031
6032 cygwin*)
6033 # func_win32_libid is a shell function defined in ltmain.sh
6034 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6035 lt_cv_file_magic_cmd='func_win32_libid'
6036 ;;
6037
6038 mingw* | pw32*)
6039 # Base MSYS/MinGW do not provide the 'file' command needed by
6040 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6041 # unless we find 'file', for example because we are cross-compiling.
6042 if ( file / ) >/dev/null 2>&1; then
6043 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6044 lt_cv_file_magic_cmd='func_win32_libid'
6045 else
6046 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6047 lt_cv_file_magic_cmd='$OBJDUMP -f'
6048 fi
6049 ;;
6050
6051 darwin* | rhapsody*)
6052 lt_cv_deplibs_check_method=pass_all
6053 ;;
6054
6055 freebsd* | dragonfly*)
6056 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6057 case $host_cpu in
6058 i*86 )
6059 # Not sure whether the presence of OpenBSD here was a mistake.
6060 # Let's accept both of them until this is cleared up.
6061 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6062 lt_cv_file_magic_cmd=/usr/bin/file
6063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6064 ;;
6065 esac
6066 else
6067 lt_cv_deplibs_check_method=pass_all
6068 fi
6069 ;;
6070
6071 gnu*)
6072 lt_cv_deplibs_check_method=pass_all
6073 ;;
6074
6075 hpux10.20* | hpux11*)
6076 lt_cv_file_magic_cmd=/usr/bin/file
6077 case $host_cpu in
6078 ia64*)
6079 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6080 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6081 ;;
6082 hppa*64*)
6083 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]'
6084 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6085 ;;
6086 *)
6087 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6088 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6089 ;;
6090 esac
6091 ;;
6092
6093 interix[3-9]*)
6094 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6096 ;;
6097
6098 irix5* | irix6* | nonstopux*)
6099 case $LD in
6100 *-32|*"-32 ") libmagic=32-bit;;
6101 *-n32|*"-n32 ") libmagic=N32;;
6102 *-64|*"-64 ") libmagic=64-bit;;
6103 *) libmagic=never-match;;
6104 esac
6105 lt_cv_deplibs_check_method=pass_all
6106 ;;
6107
6108 # This must be Linux ELF.
6109 linux* | k*bsd*-gnu)
6110 lt_cv_deplibs_check_method=pass_all
6111 ;;
6112
6113 netbsd*)
6114 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6115 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6116 else
6117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6118 fi
6119 ;;
6120
6121 newos6*)
6122 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6123 lt_cv_file_magic_cmd=/usr/bin/file
6124 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6125 ;;
6126
6127 *nto* | *qnx*)
6128 lt_cv_deplibs_check_method=pass_all
6129 ;;
6130
6131 openbsd*)
6132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6134 else
6135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6136 fi
6137 ;;
6138
6139 osf3* | osf4* | osf5*)
6140 lt_cv_deplibs_check_method=pass_all
6141 ;;
6142
6143 rdos*)
6144 lt_cv_deplibs_check_method=pass_all
6145 ;;
6146
6147 solaris*)
6148 lt_cv_deplibs_check_method=pass_all
6149 ;;
6150
6151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6152 lt_cv_deplibs_check_method=pass_all
6153 ;;
6154
6155 sysv4 | sysv4.3*)
6156 case $host_vendor in
6157 motorola)
6158 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]'
6159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6160 ;;
6161 ncr)
6162 lt_cv_deplibs_check_method=pass_all
6163 ;;
6164 sequent)
6165 lt_cv_file_magic_cmd='/bin/file'
6166 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6167 ;;
6168 sni)
6169 lt_cv_file_magic_cmd='/bin/file'
6170 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6171 lt_cv_file_magic_test_file=/lib/libc.so
6172 ;;
6173 siemens)
6174 lt_cv_deplibs_check_method=pass_all
6175 ;;
6176 pc)
6177 lt_cv_deplibs_check_method=pass_all
6178 ;;
6179 esac
6180 ;;
6181
6182 tpf*)
6183 lt_cv_deplibs_check_method=pass_all
6184 ;;
6185 esac
6186
6187 fi
6188 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6189 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6190 file_magic_cmd=$lt_cv_file_magic_cmd
6191 deplibs_check_method=$lt_cv_deplibs_check_method
6192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6207 set dummy ${ac_tool_prefix}ar; ac_word=$2
6208 echo "$as_me:$LINENO: checking for $ac_word" >&5
6209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6210 if test "${ac_cv_prog_AR+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 else
6213 if test -n "$AR"; then
6214 ac_cv_prog_AR="$AR" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6218 do
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_AR="${ac_tool_prefix}ar"
6224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6226 fi
6227 done
6228 done
6229
6230 fi
6231 fi
6232 AR=$ac_cv_prog_AR
6233 if test -n "$AR"; then
6234 echo "$as_me:$LINENO: result: $AR" >&5
6235 echo "${ECHO_T}$AR" >&6
6236 else
6237 echo "$as_me:$LINENO: result: no" >&5
6238 echo "${ECHO_T}no" >&6
6239 fi
6240
6241 fi
6242 if test -z "$ac_cv_prog_AR"; then
6243 ac_ct_AR=$AR
6244 # Extract the first word of "ar", so it can be a program name with args.
6245 set dummy ar; ac_word=$2
6246 echo "$as_me:$LINENO: checking for $ac_word" >&5
6247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6248 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 else
6251 if test -n "$ac_ct_AR"; then
6252 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6253 else
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH
6256 do
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_ac_ct_AR="ar"
6262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 break 2
6264 fi
6265 done
6266 done
6267
6268 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6269 fi
6270 fi
6271 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6272 if test -n "$ac_ct_AR"; then
6273 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6274 echo "${ECHO_T}$ac_ct_AR" >&6
6275 else
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6278 fi
6279
6280 AR=$ac_ct_AR
6281 else
6282 AR="$ac_cv_prog_AR"
6283 fi
6284
6285 test -z "$AR" && AR=ar
6286 test -z "$AR_FLAGS" && AR_FLAGS=cru
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}strip; ac_word=$2
6301 echo "$as_me:$LINENO: checking for $ac_word" >&5
6302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6303 if test "${ac_cv_prog_STRIP+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 if test -n "$STRIP"; then
6307 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6318 break 2
6319 fi
6320 done
6321 done
6322
6323 fi
6324 fi
6325 STRIP=$ac_cv_prog_STRIP
6326 if test -n "$STRIP"; then
6327 echo "$as_me:$LINENO: result: $STRIP" >&5
6328 echo "${ECHO_T}$STRIP" >&6
6329 else
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6332 fi
6333
6334 fi
6335 if test -z "$ac_cv_prog_STRIP"; then
6336 ac_ct_STRIP=$STRIP
6337 # Extract the first word of "strip", so it can be a program name with args.
6338 set dummy strip; ac_word=$2
6339 echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6341 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 if test -n "$ac_ct_STRIP"; then
6345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6349 do
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_STRIP="strip"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 break 2
6357 fi
6358 done
6359 done
6360
6361 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6362 fi
6363 fi
6364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6365 if test -n "$ac_ct_STRIP"; then
6366 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6367 echo "${ECHO_T}$ac_ct_STRIP" >&6
6368 else
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6371 fi
6372
6373 STRIP=$ac_ct_STRIP
6374 else
6375 STRIP="$ac_cv_prog_STRIP"
6376 fi
6377
6378 test -z "$STRIP" && STRIP=:
6379
6380
6381
6382
6383
6384
6385 if test -n "$ac_tool_prefix"; then
6386 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6387 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6388 echo "$as_me:$LINENO: checking for $ac_word" >&5
6389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6390 if test "${ac_cv_prog_RANLIB+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 else
6393 if test -n "$RANLIB"; then
6394 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6395 else
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 for as_dir in $PATH
6398 do
6399 IFS=$as_save_IFS
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 break 2
6406 fi
6407 done
6408 done
6409
6410 fi
6411 fi
6412 RANLIB=$ac_cv_prog_RANLIB
6413 if test -n "$RANLIB"; then
6414 echo "$as_me:$LINENO: result: $RANLIB" >&5
6415 echo "${ECHO_T}$RANLIB" >&6
6416 else
6417 echo "$as_me:$LINENO: result: no" >&5
6418 echo "${ECHO_T}no" >&6
6419 fi
6420
6421 fi
6422 if test -z "$ac_cv_prog_RANLIB"; then
6423 ac_ct_RANLIB=$RANLIB
6424 # Extract the first word of "ranlib", so it can be a program name with args.
6425 set dummy ranlib; ac_word=$2
6426 echo "$as_me:$LINENO: checking for $ac_word" >&5
6427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6428 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 else
6431 if test -n "$ac_ct_RANLIB"; then
6432 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6436 do
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_RANLIB="ranlib"
6442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6444 fi
6445 done
6446 done
6447
6448 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6449 fi
6450 fi
6451 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6452 if test -n "$ac_ct_RANLIB"; then
6453 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6454 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6455 else
6456 echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6
6458 fi
6459
6460 RANLIB=$ac_ct_RANLIB
6461 else
6462 RANLIB="$ac_cv_prog_RANLIB"
6463 fi
6464
6465 test -z "$RANLIB" && RANLIB=:
6466
6467
6468
6469
6470
6471
6472 # Determine commands to create old-style static archives.
6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6474 old_postinstall_cmds='chmod 644 $oldlib'
6475 old_postuninstall_cmds=
6476
6477 if test -n "$RANLIB"; then
6478 case $host_os in
6479 openbsd*)
6480 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6481 ;;
6482 *)
6483 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6484 ;;
6485 esac
6486 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6487 fi
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522 # If no C compiler was specified, use CC.
6523 LTCC=${LTCC-"$CC"}
6524
6525 # If no C compiler flags were specified, use CFLAGS.
6526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6527
6528 # Allow CC to be a program name with arguments.
6529 compiler=$CC
6530
6531
6532 # Check for command to grab the raw symbol name followed by C symbol from nm.
6533 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6534 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6535 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 else
6538
6539 # These are sane defaults that work on at least a few old systems.
6540 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6541
6542 # Character class describing NM global symbol codes.
6543 symcode='[BCDEGRST]'
6544
6545 # Regexp to match symbols that can be accessed directly from C.
6546 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6547
6548 # Define system-specific variables.
6549 case $host_os in
6550 aix*)
6551 symcode='[BCDT]'
6552 ;;
6553 cygwin* | mingw* | pw32*)
6554 symcode='[ABCDGISTW]'
6555 ;;
6556 hpux*)
6557 if test "$host_cpu" = ia64; then
6558 symcode='[ABCDEGRST]'
6559 fi
6560 ;;
6561 irix* | nonstopux*)
6562 symcode='[BCDEGRST]'
6563 ;;
6564 osf*)
6565 symcode='[BCDEGQRST]'
6566 ;;
6567 solaris*)
6568 symcode='[BDRT]'
6569 ;;
6570 sco3.2v5*)
6571 symcode='[DT]'
6572 ;;
6573 sysv4.2uw2*)
6574 symcode='[DT]'
6575 ;;
6576 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6577 symcode='[ABDT]'
6578 ;;
6579 sysv4)
6580 symcode='[DFNSTU]'
6581 ;;
6582 esac
6583
6584 # If we're using GNU nm, then use its standard symbol codes.
6585 case `$NM -V 2>&1` in
6586 *GNU* | *'with BFD'*)
6587 symcode='[ABCDGIRSTW]' ;;
6588 esac
6589
6590 # Transform an extracted symbol line into a proper C declaration.
6591 # Some systems (esp. on ia64) link data and code symbols differently,
6592 # so use this general approach.
6593 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6594
6595 # Transform an extracted symbol line into symbol name and symbol address
6596 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6597
6598 # Handle CRLF in mingw tool chain
6599 opt_cr=
6600 case $build_os in
6601 mingw*)
6602 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6603 ;;
6604 esac
6605
6606 # Try without a prefix underscore, then with it.
6607 for ac_symprfx in "" "_"; do
6608
6609 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6610 symxfrm="\\1 $ac_symprfx\\2 \\2"
6611
6612 # Write the raw and C identifiers.
6613 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6614 # Fake it for dumpbin and say T for any non-static function
6615 # and D for any global variable.
6616 # Also find C++ and __fastcall symbols from MSVC++,
6617 # which start with @ or ?.
6618 lt_cv_sys_global_symbol_pipe="$AWK '"\
6619 " {last_section=section; section=\$ 3};"\
6620 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6621 " \$ 0!~/External *\|/{next};"\
6622 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6623 " {if(hide[section]) next};"\
6624 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6625 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6626 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6627 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6628 " ' prfx=^$ac_symprfx"
6629 else
6630 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6631 fi
6632
6633 # Check to see that the pipe works correctly.
6634 pipe_works=no
6635
6636 rm -f conftest*
6637 cat > conftest.$ac_ext <<_LT_EOF
6638 #ifdef __cplusplus
6639 extern "C" {
6640 #endif
6641 char nm_test_var;
6642 void nm_test_func(void);
6643 void nm_test_func(void){}
6644 #ifdef __cplusplus
6645 }
6646 #endif
6647 int main(){nm_test_var='a';nm_test_func();return(0);}
6648 _LT_EOF
6649
6650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6651 (eval $ac_compile) 2>&5
6652 ac_status=$?
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; then
6655 # Now try to grab the symbols.
6656 nlist=conftest.nm
6657 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6658 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6659 ac_status=$?
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); } && test -s "$nlist"; then
6662 # Try sorting and uniquifying the output.
6663 if sort "$nlist" | uniq > "$nlist"T; then
6664 mv -f "$nlist"T "$nlist"
6665 else
6666 rm -f "$nlist"T
6667 fi
6668
6669 # Make sure that we snagged all the symbols we need.
6670 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6671 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6672 cat <<_LT_EOF > conftest.$ac_ext
6673 #ifdef __cplusplus
6674 extern "C" {
6675 #endif
6676
6677 _LT_EOF
6678 # Now generate the symbol file.
6679 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6680
6681 cat <<_LT_EOF >> conftest.$ac_ext
6682
6683 /* The mapping between symbol names and symbols. */
6684 const struct {
6685 const char *name;
6686 void *address;
6687 }
6688 lt__PROGRAM__LTX_preloaded_symbols[] =
6689 {
6690 { "@PROGRAM@", (void *) 0 },
6691 _LT_EOF
6692 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6693 cat <<\_LT_EOF >> conftest.$ac_ext
6694 {0, (void *) 0}
6695 };
6696
6697 /* This works around a problem in FreeBSD linker */
6698 #ifdef FREEBSD_WORKAROUND
6699 static const void *lt_preloaded_setup() {
6700 return lt__PROGRAM__LTX_preloaded_symbols;
6701 }
6702 #endif
6703
6704 #ifdef __cplusplus
6705 }
6706 #endif
6707 _LT_EOF
6708 # Now try linking the two files.
6709 mv conftest.$ac_objext conftstm.$ac_objext
6710 lt_save_LIBS="$LIBS"
6711 lt_save_CFLAGS="$CFLAGS"
6712 LIBS="conftstm.$ac_objext"
6713 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6715 (eval $ac_link) 2>&5
6716 ac_status=$?
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6719 pipe_works=yes
6720 fi
6721 LIBS="$lt_save_LIBS"
6722 CFLAGS="$lt_save_CFLAGS"
6723 else
6724 echo "cannot find nm_test_func in $nlist" >&5
6725 fi
6726 else
6727 echo "cannot find nm_test_var in $nlist" >&5
6728 fi
6729 else
6730 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6731 fi
6732 else
6733 echo "$progname: failed program was:" >&5
6734 cat conftest.$ac_ext >&5
6735 fi
6736 rm -f conftest* conftst*
6737
6738 # Do not use the global_symbol_pipe unless it works.
6739 if test "$pipe_works" = yes; then
6740 break
6741 else
6742 lt_cv_sys_global_symbol_pipe=
6743 fi
6744 done
6745
6746 fi
6747
6748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6749 lt_cv_sys_global_symbol_to_cdecl=
6750 fi
6751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6752 echo "$as_me:$LINENO: result: failed" >&5
6753 echo "${ECHO_T}failed" >&6
6754 else
6755 echo "$as_me:$LINENO: result: ok" >&5
6756 echo "${ECHO_T}ok" >&6
6757 fi
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6776 if test "${enable_libtool_lock+set}" = set; then
6777 enableval="$enable_libtool_lock"
6778
6779 fi;
6780 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6781
6782 # Some flags need to be propagated to the compiler or linker for good
6783 # libtool support.
6784 case $host in
6785 ia64-*-hpux*)
6786 # Find out which ABI we are using.
6787 echo 'int i;' > conftest.$ac_ext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>&5
6790 ac_status=$?
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); }; then
6793 case `/usr/bin/file conftest.$ac_objext` in
6794 *ELF-32*)
6795 HPUX_IA64_MODE="32"
6796 ;;
6797 *ELF-64*)
6798 HPUX_IA64_MODE="64"
6799 ;;
6800 esac
6801 fi
6802 rm -rf conftest*
6803 ;;
6804 *-*-irix6*)
6805 # Find out which ABI we are using.
6806 echo '#line 6806 "configure"' > conftest.$ac_ext
6807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 (eval $ac_compile) 2>&5
6809 ac_status=$?
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; then
6812 if test "$lt_cv_prog_gnu_ld" = yes; then
6813 case `/usr/bin/file conftest.$ac_objext` in
6814 *32-bit*)
6815 LD="${LD-ld} -melf32bsmip"
6816 ;;
6817 *N32*)
6818 LD="${LD-ld} -melf32bmipn32"
6819 ;;
6820 *64-bit*)
6821 LD="${LD-ld} -melf64bmip"
6822 ;;
6823 esac
6824 else
6825 case `/usr/bin/file conftest.$ac_objext` in
6826 *32-bit*)
6827 LD="${LD-ld} -32"
6828 ;;
6829 *N32*)
6830 LD="${LD-ld} -n32"
6831 ;;
6832 *64-bit*)
6833 LD="${LD-ld} -64"
6834 ;;
6835 esac
6836 fi
6837 fi
6838 rm -rf conftest*
6839 ;;
6840
6841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6843 # Find out which ABI we are using.
6844 echo 'int i;' > conftest.$ac_ext
6845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6846 (eval $ac_compile) 2>&5
6847 ac_status=$?
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; then
6850 case `/usr/bin/file conftest.o` in
6851 *32-bit*)
6852 case $host in
6853 x86_64-*kfreebsd*-gnu)
6854 LD="${LD-ld} -m elf_i386_fbsd"
6855 ;;
6856 x86_64-*linux*)
6857 LD="${LD-ld} -m elf_i386"
6858 ;;
6859 ppc64-*linux*|powerpc64-*linux*)
6860 LD="${LD-ld} -m elf32ppclinux"
6861 ;;
6862 s390x-*linux*)
6863 LD="${LD-ld} -m elf_s390"
6864 ;;
6865 sparc64-*linux*)
6866 LD="${LD-ld} -m elf32_sparc"
6867 ;;
6868 esac
6869 ;;
6870 *64-bit*)
6871 case $host in
6872 x86_64-*kfreebsd*-gnu)
6873 LD="${LD-ld} -m elf_x86_64_fbsd"
6874 ;;
6875 x86_64-*linux*)
6876 LD="${LD-ld} -m elf_x86_64"
6877 ;;
6878 ppc*-*linux*|powerpc*-*linux*)
6879 LD="${LD-ld} -m elf64ppc"
6880 ;;
6881 s390*-*linux*|s390*-*tpf*)
6882 LD="${LD-ld} -m elf64_s390"
6883 ;;
6884 sparc*-*linux*)
6885 LD="${LD-ld} -m elf64_sparc"
6886 ;;
6887 esac
6888 ;;
6889 esac
6890 fi
6891 rm -rf conftest*
6892 ;;
6893
6894 *-*-sco3.2v5*)
6895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6896 SAVE_CFLAGS="$CFLAGS"
6897 CFLAGS="$CFLAGS -belf"
6898 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6899 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6900 if test "${lt_cv_cc_needs_belf+set}" = set; then
6901 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 else
6903 ac_ext=c
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908
6909 if test x$gcc_no_link = xyes; then
6910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6912 { (exit 1); exit 1; }; }
6913 fi
6914 cat >conftest.$ac_ext <<_ACEOF
6915 /* confdefs.h. */
6916 _ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920
6921 int
6922 main ()
6923 {
6924
6925 ;
6926 return 0;
6927 }
6928 _ACEOF
6929 rm -f conftest.$ac_objext conftest$ac_exeext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6931 (eval $ac_link) 2>conftest.er1
6932 ac_status=$?
6933 grep -v '^ *+' conftest.er1 >conftest.err
6934 rm -f conftest.er1
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try='test -s conftest$ac_exeext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 (eval $ac_try) 2>&5
6948 ac_status=$?
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 lt_cv_cc_needs_belf=yes
6952 else
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6955
6956 lt_cv_cc_needs_belf=no
6957 fi
6958 rm -f conftest.err conftest.$ac_objext \
6959 conftest$ac_exeext conftest.$ac_ext
6960 ac_ext=c
6961 ac_cpp='$CPP $CPPFLAGS'
6962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6965
6966 fi
6967 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6968 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6969 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6970 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6971 CFLAGS="$SAVE_CFLAGS"
6972 fi
6973 ;;
6974 sparc*-*solaris*)
6975 # Find out which ABI we are using.
6976 echo 'int i;' > conftest.$ac_ext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6979 ac_status=$?
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; then
6982 case `/usr/bin/file conftest.o` in
6983 *64-bit*)
6984 case $lt_cv_prog_gnu_ld in
6985 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6986 *) LD="${LD-ld} -64" ;;
6987 esac
6988 ;;
6989 esac
6990 fi
6991 rm -rf conftest*
6992 ;;
6993 esac
6994
6995 need_locks="$enable_libtool_lock"
6996
6997
6998 for ac_header in dlfcn.h
6999 do
7000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7001 echo "$as_me:$LINENO: checking for $ac_header" >&5
7002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 else
7006 cat >conftest.$ac_ext <<_ACEOF
7007 /* confdefs.h. */
7008 _ACEOF
7009 cat confdefs.h >>conftest.$ac_ext
7010 cat >>conftest.$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 $ac_includes_default
7013
7014 #include <$ac_header>
7015 _ACEOF
7016 rm -f conftest.$ac_objext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>conftest.er1
7019 ac_status=$?
7020 grep -v '^ *+' conftest.er1 >conftest.err
7021 rm -f conftest.er1
7022 cat conftest.err >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } &&
7025 { ac_try='test -z "$ac_c_werror_flag"
7026 || test ! -s conftest.err'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 (eval $ac_try) 2>&5
7029 ac_status=$?
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; } &&
7032 { ac_try='test -s conftest.$ac_objext'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 (eval $ac_try) 2>&5
7035 ac_status=$?
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; }; then
7038 eval "$as_ac_Header=yes"
7039 else
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.$ac_ext >&5
7042
7043 eval "$as_ac_Header=no"
7044 fi
7045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7046 fi
7047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7050 cat >>confdefs.h <<_ACEOF
7051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7052 _ACEOF
7053
7054 fi
7055
7056 done
7057
7058
7059
7060 # This can be used to rebuild libtool when needed
7061 LIBTOOL_DEPS="$ltmain"
7062
7063 # Always use our own libtool.
7064 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090 test -z "$LN_S" && LN_S="ln -s"
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105 if test -n "${ZSH_VERSION+set}" ; then
7106 setopt NO_GLOB_SUBST
7107 fi
7108
7109 echo "$as_me:$LINENO: checking for objdir" >&5
7110 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7111 if test "${lt_cv_objdir+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 else
7114 rm -f .libs 2>/dev/null
7115 mkdir .libs 2>/dev/null
7116 if test -d .libs; then
7117 lt_cv_objdir=.libs
7118 else
7119 # MS-DOS does not allow filenames that begin with a dot.
7120 lt_cv_objdir=_libs
7121 fi
7122 rmdir .libs 2>/dev/null
7123 fi
7124 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7125 echo "${ECHO_T}$lt_cv_objdir" >&6
7126 objdir=$lt_cv_objdir
7127
7128
7129
7130
7131
7132 cat >>confdefs.h <<_ACEOF
7133 #define LT_OBJDIR "$lt_cv_objdir/"
7134 _ACEOF
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152 case $host_os in
7153 aix3*)
7154 # AIX sometimes has problems with the GCC collect2 program. For some
7155 # reason, if we set the COLLECT_NAMES environment variable, the problems
7156 # vanish in a puff of smoke.
7157 if test "X${COLLECT_NAMES+set}" != Xset; then
7158 COLLECT_NAMES=
7159 export COLLECT_NAMES
7160 fi
7161 ;;
7162 esac
7163
7164 # Sed substitution that helps us do robust quoting. It backslashifies
7165 # metacharacters that are still active within double-quoted strings.
7166 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7167
7168 # Same as above, but do not quote variable references.
7169 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7170
7171 # Sed substitution to delay expansion of an escaped shell variable in a
7172 # double_quote_subst'ed string.
7173 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7174
7175 # Sed substitution to delay expansion of an escaped single quote.
7176 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7177
7178 # Sed substitution to avoid accidental globbing in evaled expressions
7179 no_glob_subst='s/\*/\\\*/g'
7180
7181 # Global variables:
7182 ofile=libtool
7183 can_build_shared=yes
7184
7185 # All known linkers require a `.a' archive for static linking (except MSVC,
7186 # which needs '.lib').
7187 libext=a
7188
7189 with_gnu_ld="$lt_cv_prog_gnu_ld"
7190
7191 old_CC="$CC"
7192 old_CFLAGS="$CFLAGS"
7193
7194 # Set sane defaults for various variables
7195 test -z "$CC" && CC=cc
7196 test -z "$LTCC" && LTCC=$CC
7197 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7198 test -z "$LD" && LD=ld
7199 test -z "$ac_objext" && ac_objext=o
7200
7201 for cc_temp in $compiler""; do
7202 case $cc_temp in
7203 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7204 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7205 \-*) ;;
7206 *) break;;
7207 esac
7208 done
7209 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7210
7211
7212 # Only perform the check for file, if the check method requires it
7213 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7214 case $deplibs_check_method in
7215 file_magic*)
7216 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7217 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7218 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7219 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7220 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 else
7222 case $MAGIC_CMD in
7223 [\\/*] | ?:[\\/]*)
7224 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7225 ;;
7226 *)
7227 lt_save_MAGIC_CMD="$MAGIC_CMD"
7228 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7229 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7230 for ac_dir in $ac_dummy; do
7231 IFS="$lt_save_ifs"
7232 test -z "$ac_dir" && ac_dir=.
7233 if test -f $ac_dir/${ac_tool_prefix}file; then
7234 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7235 if test -n "$file_magic_test_file"; then
7236 case $deplibs_check_method in
7237 "file_magic "*)
7238 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7239 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7240 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7241 $EGREP "$file_magic_regex" > /dev/null; then
7242 :
7243 else
7244 cat <<_LT_EOF 1>&2
7245
7246 *** Warning: the command libtool uses to detect shared libraries,
7247 *** $file_magic_cmd, produces output that libtool cannot recognize.
7248 *** The result is that libtool may fail to recognize shared libraries
7249 *** as such. This will affect the creation of libtool libraries that
7250 *** depend on shared libraries, but programs linked with such libtool
7251 *** libraries will work regardless of this problem. Nevertheless, you
7252 *** may want to report the problem to your system manager and/or to
7253 *** bug-libtool@gnu.org
7254
7255 _LT_EOF
7256 fi ;;
7257 esac
7258 fi
7259 break
7260 fi
7261 done
7262 IFS="$lt_save_ifs"
7263 MAGIC_CMD="$lt_save_MAGIC_CMD"
7264 ;;
7265 esac
7266 fi
7267
7268 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7269 if test -n "$MAGIC_CMD"; then
7270 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7271 echo "${ECHO_T}$MAGIC_CMD" >&6
7272 else
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7275 fi
7276
7277
7278
7279
7280
7281 if test -z "$lt_cv_path_MAGIC_CMD"; then
7282 if test -n "$ac_tool_prefix"; then
7283 echo "$as_me:$LINENO: checking for file" >&5
7284 echo $ECHO_N "checking for file... $ECHO_C" >&6
7285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 else
7288 case $MAGIC_CMD in
7289 [\\/*] | ?:[\\/]*)
7290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7291 ;;
7292 *)
7293 lt_save_MAGIC_CMD="$MAGIC_CMD"
7294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7295 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7296 for ac_dir in $ac_dummy; do
7297 IFS="$lt_save_ifs"
7298 test -z "$ac_dir" && ac_dir=.
7299 if test -f $ac_dir/file; then
7300 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7301 if test -n "$file_magic_test_file"; then
7302 case $deplibs_check_method in
7303 "file_magic "*)
7304 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7306 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7307 $EGREP "$file_magic_regex" > /dev/null; then
7308 :
7309 else
7310 cat <<_LT_EOF 1>&2
7311
7312 *** Warning: the command libtool uses to detect shared libraries,
7313 *** $file_magic_cmd, produces output that libtool cannot recognize.
7314 *** The result is that libtool may fail to recognize shared libraries
7315 *** as such. This will affect the creation of libtool libraries that
7316 *** depend on shared libraries, but programs linked with such libtool
7317 *** libraries will work regardless of this problem. Nevertheless, you
7318 *** may want to report the problem to your system manager and/or to
7319 *** bug-libtool@gnu.org
7320
7321 _LT_EOF
7322 fi ;;
7323 esac
7324 fi
7325 break
7326 fi
7327 done
7328 IFS="$lt_save_ifs"
7329 MAGIC_CMD="$lt_save_MAGIC_CMD"
7330 ;;
7331 esac
7332 fi
7333
7334 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7335 if test -n "$MAGIC_CMD"; then
7336 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7337 echo "${ECHO_T}$MAGIC_CMD" >&6
7338 else
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7341 fi
7342
7343
7344 else
7345 MAGIC_CMD=:
7346 fi
7347 fi
7348
7349 fi
7350 ;;
7351 esac
7352
7353 # Use C for the default configuration in the libtool script
7354
7355 lt_save_CC="$CC"
7356 ac_ext=c
7357 ac_cpp='$CPP $CPPFLAGS'
7358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7361
7362
7363 # Source file extension for C test sources.
7364 ac_ext=c
7365
7366 # Object file extension for compiled C test sources.
7367 objext=o
7368 objext=$objext
7369
7370 # Code to be used in simple compile tests
7371 lt_simple_compile_test_code="int some_variable = 0;"
7372
7373 # Code to be used in simple link tests
7374 lt_simple_link_test_code='int main(){return(0);}'
7375
7376
7377
7378
7379
7380
7381
7382 # If no C compiler was specified, use CC.
7383 LTCC=${LTCC-"$CC"}
7384
7385 # If no C compiler flags were specified, use CFLAGS.
7386 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7387
7388 # Allow CC to be a program name with arguments.
7389 compiler=$CC
7390
7391 # Save the default compiler, since it gets overwritten when the other
7392 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7393 compiler_DEFAULT=$CC
7394
7395 # save warnings/boilerplate of simple test code
7396 ac_outfile=conftest.$ac_objext
7397 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7398 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7399 _lt_compiler_boilerplate=`cat conftest.err`
7400 $RM conftest*
7401
7402 ac_outfile=conftest.$ac_objext
7403 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7404 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7405 _lt_linker_boilerplate=`cat conftest.err`
7406 $RM conftest*
7407
7408
7409 ## CAVEAT EMPTOR:
7410 ## There is no encapsulation within the following macros, do not change
7411 ## the running order or otherwise move them around unless you know exactly
7412 ## what you are doing...
7413 if test -n "$compiler"; then
7414
7415 lt_prog_compiler_no_builtin_flag=
7416
7417 if test "$GCC" = yes; then
7418 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7419
7420 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7421 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7422 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 else
7425 lt_cv_prog_compiler_rtti_exceptions=no
7426 ac_outfile=conftest.$ac_objext
7427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7428 lt_compiler_flag="-fno-rtti -fno-exceptions"
7429 # Insert the option either (1) after the last *FLAGS variable, or
7430 # (2) before a word containing "conftest.", or (3) at the end.
7431 # Note that $ac_compile itself does not contain backslashes and begins
7432 # with a dollar sign (not a hyphen), so the echo should work correctly.
7433 # The option is referenced via a variable to avoid confusing sed.
7434 lt_compile=`echo "$ac_compile" | $SED \
7435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7437 -e 's:$: $lt_compiler_flag:'`
7438 (eval echo "\"\$as_me:7438: $lt_compile\"" >&5)
7439 (eval "$lt_compile" 2>conftest.err)
7440 ac_status=$?
7441 cat conftest.err >&5
7442 echo "$as_me:7442: \$? = $ac_status" >&5
7443 if (exit $ac_status) && test -s "$ac_outfile"; then
7444 # The compiler can only warn and ignore the option if not recognized
7445 # So say no if there are warnings other than the usual output.
7446 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7449 lt_cv_prog_compiler_rtti_exceptions=yes
7450 fi
7451 fi
7452 $RM conftest*
7453
7454 fi
7455 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7456 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7457
7458 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7459 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7460 else
7461 :
7462 fi
7463
7464 fi
7465
7466
7467
7468
7469
7470
7471 lt_prog_compiler_wl=
7472 lt_prog_compiler_pic=
7473 lt_prog_compiler_static=
7474
7475 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7476 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7477
7478 if test "$GCC" = yes; then
7479 lt_prog_compiler_wl='-Wl,'
7480 lt_prog_compiler_static='-static'
7481
7482 case $host_os in
7483 aix*)
7484 # All AIX code is PIC.
7485 if test "$host_cpu" = ia64; then
7486 # AIX 5 now supports IA64 processor
7487 lt_prog_compiler_static='-Bstatic'
7488 fi
7489 ;;
7490
7491 amigaos*)
7492 if test "$host_cpu" = m68k; then
7493 # FIXME: we need at least 68020 code to build shared libraries, but
7494 # adding the `-m68020' flag to GCC prevents building anything better,
7495 # like `-m68040'.
7496 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7497 fi
7498 ;;
7499
7500 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7501 # PIC is the default for these OSes.
7502 ;;
7503
7504 mingw* | cygwin* | pw32* | os2*)
7505 # This hack is so that the source file can tell whether it is being
7506 # built for inclusion in a dll (and should export symbols for example).
7507 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7508 # (--disable-auto-import) libraries
7509 lt_prog_compiler_pic='-DDLL_EXPORT'
7510 ;;
7511
7512 darwin* | rhapsody*)
7513 # PIC is the default on this platform
7514 # Common symbols not allowed in MH_DYLIB files
7515 lt_prog_compiler_pic='-fno-common'
7516 ;;
7517
7518 hpux*)
7519 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7520 # not for PA HP-UX.
7521 case $host_cpu in
7522 hppa*64*|ia64*)
7523 # +Z the default
7524 ;;
7525 *)
7526 lt_prog_compiler_pic='-fPIC'
7527 ;;
7528 esac
7529 ;;
7530
7531 interix[3-9]*)
7532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7533 # Instead, we relocate shared libraries at runtime.
7534 ;;
7535
7536 msdosdjgpp*)
7537 # Just because we use GCC doesn't mean we suddenly get shared libraries
7538 # on systems that don't support them.
7539 lt_prog_compiler_can_build_shared=no
7540 enable_shared=no
7541 ;;
7542
7543 *nto* | *qnx*)
7544 # QNX uses GNU C++, but need to define -shared option too, otherwise
7545 # it will coredump.
7546 lt_prog_compiler_pic='-fPIC -shared'
7547 ;;
7548
7549 sysv4*MP*)
7550 if test -d /usr/nec; then
7551 lt_prog_compiler_pic=-Kconform_pic
7552 fi
7553 ;;
7554
7555 *)
7556 lt_prog_compiler_pic='-fPIC'
7557 ;;
7558 esac
7559 else
7560 # PORTME Check for flag to pass linker flags through the system compiler.
7561 case $host_os in
7562 aix*)
7563 lt_prog_compiler_wl='-Wl,'
7564 if test "$host_cpu" = ia64; then
7565 # AIX 5 now supports IA64 processor
7566 lt_prog_compiler_static='-Bstatic'
7567 else
7568 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7569 fi
7570 ;;
7571 darwin*)
7572 # PIC is the default on this platform
7573 # Common symbols not allowed in MH_DYLIB files
7574 case $cc_basename in
7575 xlc*)
7576 lt_prog_compiler_pic='-qnocommon'
7577 lt_prog_compiler_wl='-Wl,'
7578 ;;
7579 esac
7580 ;;
7581
7582 mingw* | cygwin* | pw32* | os2*)
7583 # This hack is so that the source file can tell whether it is being
7584 # built for inclusion in a dll (and should export symbols for example).
7585 lt_prog_compiler_pic='-DDLL_EXPORT'
7586 ;;
7587
7588 hpux9* | hpux10* | hpux11*)
7589 lt_prog_compiler_wl='-Wl,'
7590 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7591 # not for PA HP-UX.
7592 case $host_cpu in
7593 hppa*64*|ia64*)
7594 # +Z the default
7595 ;;
7596 *)
7597 lt_prog_compiler_pic='+Z'
7598 ;;
7599 esac
7600 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7601 lt_prog_compiler_static='${wl}-a ${wl}archive'
7602 ;;
7603
7604 irix5* | irix6* | nonstopux*)
7605 lt_prog_compiler_wl='-Wl,'
7606 # PIC (with -KPIC) is the default.
7607 lt_prog_compiler_static='-non_shared'
7608 ;;
7609
7610 linux* | k*bsd*-gnu)
7611 case $cc_basename in
7612 icc* | ecc*)
7613 lt_prog_compiler_wl='-Wl,'
7614 lt_prog_compiler_pic='-KPIC'
7615 lt_prog_compiler_static='-static'
7616 ;;
7617 pgcc* | pgf77* | pgf90* | pgf95*)
7618 # Portland Group compilers (*not* the Pentium gcc compiler,
7619 # which looks to be a dead project)
7620 lt_prog_compiler_wl='-Wl,'
7621 lt_prog_compiler_pic='-fpic'
7622 lt_prog_compiler_static='-Bstatic'
7623 ;;
7624 ccc*)
7625 lt_prog_compiler_wl='-Wl,'
7626 # All Alpha code is PIC.
7627 lt_prog_compiler_static='-non_shared'
7628 ;;
7629 *)
7630 case `$CC -V 2>&1 | sed 5q` in
7631 *Sun\ C*)
7632 # Sun C 5.9
7633 lt_prog_compiler_pic='-KPIC'
7634 lt_prog_compiler_static='-Bstatic'
7635 lt_prog_compiler_wl='-Wl,'
7636 ;;
7637 *Sun\ F*)
7638 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7639 lt_prog_compiler_pic='-KPIC'
7640 lt_prog_compiler_static='-Bstatic'
7641 lt_prog_compiler_wl=''
7642 ;;
7643 esac
7644 ;;
7645 esac
7646 ;;
7647
7648 newsos6)
7649 lt_prog_compiler_pic='-KPIC'
7650 lt_prog_compiler_static='-Bstatic'
7651 ;;
7652
7653 *nto* | *qnx*)
7654 # QNX uses GNU C++, but need to define -shared option too, otherwise
7655 # it will coredump.
7656 lt_prog_compiler_pic='-fPIC -shared'
7657 ;;
7658
7659 osf3* | osf4* | osf5*)
7660 lt_prog_compiler_wl='-Wl,'
7661 # All OSF/1 code is PIC.
7662 lt_prog_compiler_static='-non_shared'
7663 ;;
7664
7665 rdos*)
7666 lt_prog_compiler_static='-non_shared'
7667 ;;
7668
7669 solaris*)
7670 lt_prog_compiler_pic='-KPIC'
7671 lt_prog_compiler_static='-Bstatic'
7672 case $cc_basename in
7673 f77* | f90* | f95*)
7674 lt_prog_compiler_wl='-Qoption ld ';;
7675 *)
7676 lt_prog_compiler_wl='-Wl,';;
7677 esac
7678 ;;
7679
7680 sunos4*)
7681 lt_prog_compiler_wl='-Qoption ld '
7682 lt_prog_compiler_pic='-PIC'
7683 lt_prog_compiler_static='-Bstatic'
7684 ;;
7685
7686 sysv4 | sysv4.2uw2* | sysv4.3*)
7687 lt_prog_compiler_wl='-Wl,'
7688 lt_prog_compiler_pic='-KPIC'
7689 lt_prog_compiler_static='-Bstatic'
7690 ;;
7691
7692 sysv4*MP*)
7693 if test -d /usr/nec ;then
7694 lt_prog_compiler_pic='-Kconform_pic'
7695 lt_prog_compiler_static='-Bstatic'
7696 fi
7697 ;;
7698
7699 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7700 lt_prog_compiler_wl='-Wl,'
7701 lt_prog_compiler_pic='-KPIC'
7702 lt_prog_compiler_static='-Bstatic'
7703 ;;
7704
7705 unicos*)
7706 lt_prog_compiler_wl='-Wl,'
7707 lt_prog_compiler_can_build_shared=no
7708 ;;
7709
7710 uts4*)
7711 lt_prog_compiler_pic='-pic'
7712 lt_prog_compiler_static='-Bstatic'
7713 ;;
7714
7715 *)
7716 lt_prog_compiler_can_build_shared=no
7717 ;;
7718 esac
7719 fi
7720
7721 case $host_os in
7722 # For platforms which do not support PIC, -DPIC is meaningless:
7723 *djgpp*)
7724 lt_prog_compiler_pic=
7725 ;;
7726 *)
7727 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7728 ;;
7729 esac
7730 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7731 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7732
7733
7734
7735
7736
7737
7738 #
7739 # Check to make sure the PIC flag actually works.
7740 #
7741 if test -n "$lt_prog_compiler_pic"; then
7742 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7743 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7744 if test "${lt_prog_compiler_pic_works+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 else
7747 lt_prog_compiler_pic_works=no
7748 ac_outfile=conftest.$ac_objext
7749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7750 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7751 # Insert the option either (1) after the last *FLAGS variable, or
7752 # (2) before a word containing "conftest.", or (3) at the end.
7753 # Note that $ac_compile itself does not contain backslashes and begins
7754 # with a dollar sign (not a hyphen), so the echo should work correctly.
7755 # The option is referenced via a variable to avoid confusing sed.
7756 lt_compile=`echo "$ac_compile" | $SED \
7757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7759 -e 's:$: $lt_compiler_flag:'`
7760 (eval echo "\"\$as_me:7760: $lt_compile\"" >&5)
7761 (eval "$lt_compile" 2>conftest.err)
7762 ac_status=$?
7763 cat conftest.err >&5
7764 echo "$as_me:7764: \$? = $ac_status" >&5
7765 if (exit $ac_status) && test -s "$ac_outfile"; then
7766 # The compiler can only warn and ignore the option if not recognized
7767 # So say no if there are warnings other than the usual output.
7768 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7771 lt_prog_compiler_pic_works=yes
7772 fi
7773 fi
7774 $RM conftest*
7775
7776 fi
7777 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7778 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7779
7780 if test x"$lt_prog_compiler_pic_works" = xyes; then
7781 case $lt_prog_compiler_pic in
7782 "" | " "*) ;;
7783 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7784 esac
7785 else
7786 lt_prog_compiler_pic=
7787 lt_prog_compiler_can_build_shared=no
7788 fi
7789
7790 fi
7791
7792
7793
7794
7795
7796
7797 #
7798 # Check to make sure the static flag actually works.
7799 #
7800 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7801 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7802 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7803 if test "${lt_prog_compiler_static_works+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7805 else
7806 lt_prog_compiler_static_works=no
7807 save_LDFLAGS="$LDFLAGS"
7808 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7809 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7810 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7811 # The linker can only warn and ignore the option if not recognized
7812 # So say no if there are warnings
7813 if test -s conftest.err; then
7814 # Append any errors to the config.log.
7815 cat conftest.err 1>&5
7816 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7817 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7818 if diff conftest.exp conftest.er2 >/dev/null; then
7819 lt_prog_compiler_static_works=yes
7820 fi
7821 else
7822 lt_prog_compiler_static_works=yes
7823 fi
7824 fi
7825 $RM conftest*
7826 LDFLAGS="$save_LDFLAGS"
7827
7828 fi
7829 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7830 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7831
7832 if test x"$lt_prog_compiler_static_works" = xyes; then
7833 :
7834 else
7835 lt_prog_compiler_static=
7836 fi
7837
7838
7839
7840
7841
7842
7843
7844 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7845 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7846 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 else
7849 lt_cv_prog_compiler_c_o=no
7850 $RM -r conftest 2>/dev/null
7851 mkdir conftest
7852 cd conftest
7853 mkdir out
7854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7855
7856 lt_compiler_flag="-o out/conftest2.$ac_objext"
7857 # Insert the option either (1) after the last *FLAGS variable, or
7858 # (2) before a word containing "conftest.", or (3) at the end.
7859 # Note that $ac_compile itself does not contain backslashes and begins
7860 # with a dollar sign (not a hyphen), so the echo should work correctly.
7861 lt_compile=`echo "$ac_compile" | $SED \
7862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7864 -e 's:$: $lt_compiler_flag:'`
7865 (eval echo "\"\$as_me:7865: $lt_compile\"" >&5)
7866 (eval "$lt_compile" 2>out/conftest.err)
7867 ac_status=$?
7868 cat out/conftest.err >&5
7869 echo "$as_me:7869: \$? = $ac_status" >&5
7870 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7871 then
7872 # The compiler can only warn and ignore the option if not recognized
7873 # So say no if there are warnings
7874 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7875 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7876 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7877 lt_cv_prog_compiler_c_o=yes
7878 fi
7879 fi
7880 chmod u+w . 2>&5
7881 $RM conftest*
7882 # SGI C++ compiler will create directory out/ii_files/ for
7883 # template instantiation
7884 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7885 $RM out/* && rmdir out
7886 cd ..
7887 $RM -r conftest
7888 $RM conftest*
7889
7890 fi
7891 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7892 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7893
7894
7895
7896
7897
7898
7899 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7900 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7901 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 else
7904 lt_cv_prog_compiler_c_o=no
7905 $RM -r conftest 2>/dev/null
7906 mkdir conftest
7907 cd conftest
7908 mkdir out
7909 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7910
7911 lt_compiler_flag="-o out/conftest2.$ac_objext"
7912 # Insert the option either (1) after the last *FLAGS variable, or
7913 # (2) before a word containing "conftest.", or (3) at the end.
7914 # Note that $ac_compile itself does not contain backslashes and begins
7915 # with a dollar sign (not a hyphen), so the echo should work correctly.
7916 lt_compile=`echo "$ac_compile" | $SED \
7917 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7918 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7919 -e 's:$: $lt_compiler_flag:'`
7920 (eval echo "\"\$as_me:7920: $lt_compile\"" >&5)
7921 (eval "$lt_compile" 2>out/conftest.err)
7922 ac_status=$?
7923 cat out/conftest.err >&5
7924 echo "$as_me:7924: \$? = $ac_status" >&5
7925 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7926 then
7927 # The compiler can only warn and ignore the option if not recognized
7928 # So say no if there are warnings
7929 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7930 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7931 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7932 lt_cv_prog_compiler_c_o=yes
7933 fi
7934 fi
7935 chmod u+w . 2>&5
7936 $RM conftest*
7937 # SGI C++ compiler will create directory out/ii_files/ for
7938 # template instantiation
7939 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7940 $RM out/* && rmdir out
7941 cd ..
7942 $RM -r conftest
7943 $RM conftest*
7944
7945 fi
7946 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7947 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7948
7949
7950
7951
7952 hard_links="nottested"
7953 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7954 # do not overwrite the value of need_locks provided by the user
7955 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7956 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7957 hard_links=yes
7958 $RM conftest*
7959 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7960 touch conftest.a
7961 ln conftest.a conftest.b 2>&5 || hard_links=no
7962 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7963 echo "$as_me:$LINENO: result: $hard_links" >&5
7964 echo "${ECHO_T}$hard_links" >&6
7965 if test "$hard_links" = no; then
7966 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7967 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7968 need_locks=warn
7969 fi
7970 else
7971 need_locks=no
7972 fi
7973
7974
7975
7976
7977
7978
7979 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7980 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7981
7982 runpath_var=
7983 allow_undefined_flag=
7984 always_export_symbols=no
7985 archive_cmds=
7986 archive_expsym_cmds=
7987 compiler_needs_object=no
7988 enable_shared_with_static_runtimes=no
7989 export_dynamic_flag_spec=
7990 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7991 hardcode_automatic=no
7992 hardcode_direct=no
7993 hardcode_direct_absolute=no
7994 hardcode_libdir_flag_spec=
7995 hardcode_libdir_flag_spec_ld=
7996 hardcode_libdir_separator=
7997 hardcode_minus_L=no
7998 hardcode_shlibpath_var=unsupported
7999 inherit_rpath=no
8000 link_all_deplibs=unknown
8001 module_cmds=
8002 module_expsym_cmds=
8003 old_archive_from_new_cmds=
8004 old_archive_from_expsyms_cmds=
8005 thread_safe_flag_spec=
8006 whole_archive_flag_spec=
8007 # include_expsyms should be a list of space-separated symbols to be *always*
8008 # included in the symbol list
8009 include_expsyms=
8010 # exclude_expsyms can be an extended regexp of symbols to exclude
8011 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8012 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8013 # as well as any symbol that contains `d'.
8014 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8015 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8016 # platforms (ab)use it in PIC code, but their linkers get confused if
8017 # the symbol is explicitly referenced. Since portable code cannot
8018 # rely on this symbol name, it's probably fine to never include it in
8019 # preloaded symbol tables.
8020 extract_expsyms_cmds=
8021
8022 case $host_os in
8023 cygwin* | mingw* | pw32*)
8024 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8025 # When not using gcc, we currently assume that we are using
8026 # Microsoft Visual C++.
8027 if test "$GCC" != yes; then
8028 with_gnu_ld=no
8029 fi
8030 ;;
8031 interix*)
8032 # we just hope/assume this is gcc and not c89 (= MSVC++)
8033 with_gnu_ld=yes
8034 ;;
8035 openbsd*)
8036 with_gnu_ld=no
8037 ;;
8038 esac
8039
8040 ld_shlibs=yes
8041 if test "$with_gnu_ld" = yes; then
8042 # If archive_cmds runs LD, not CC, wlarc should be empty
8043 wlarc='${wl}'
8044
8045 # Set some defaults for GNU ld with shared library support. These
8046 # are reset later if shared libraries are not supported. Putting them
8047 # here allows them to be overridden if necessary.
8048 runpath_var=LD_RUN_PATH
8049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8050 export_dynamic_flag_spec='${wl}--export-dynamic'
8051 # ancient GNU ld didn't support --whole-archive et. al.
8052 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8053 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8054 else
8055 whole_archive_flag_spec=
8056 fi
8057 supports_anon_versioning=no
8058 case `$LD -v 2>&1` in
8059 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8060 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8061 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8062 *\ 2.11.*) ;; # other 2.11 versions
8063 *) supports_anon_versioning=yes ;;
8064 esac
8065
8066 # See if GNU ld supports shared libraries.
8067 case $host_os in
8068 aix[3-9]*)
8069 # On AIX/PPC, the GNU linker is very broken
8070 if test "$host_cpu" != ia64; then
8071 ld_shlibs=no
8072 cat <<_LT_EOF 1>&2
8073
8074 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8075 *** to be unable to reliably create shared libraries on AIX.
8076 *** Therefore, libtool is disabling shared libraries support. If you
8077 *** really care for shared libraries, you may want to modify your PATH
8078 *** so that a non-GNU linker is found, and then restart.
8079
8080 _LT_EOF
8081 fi
8082 ;;
8083
8084 amigaos*)
8085 if test "$host_cpu" = m68k; then
8086 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)'
8087 hardcode_libdir_flag_spec='-L$libdir'
8088 hardcode_minus_L=yes
8089 fi
8090
8091 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8092 # that the semantics of dynamic libraries on AmigaOS, at least up
8093 # to version 4, is to share data among multiple programs linked
8094 # with the same dynamic library. Since this doesn't match the
8095 # behavior of shared libraries on other platforms, we can't use
8096 # them.
8097 ld_shlibs=no
8098 ;;
8099
8100 beos*)
8101 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8102 allow_undefined_flag=unsupported
8103 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8104 # support --undefined. This deserves some investigation. FIXME
8105 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8106 else
8107 ld_shlibs=no
8108 fi
8109 ;;
8110
8111 cygwin* | mingw* | pw32*)
8112 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8113 # as there is no search path for DLLs.
8114 hardcode_libdir_flag_spec='-L$libdir'
8115 allow_undefined_flag=unsupported
8116 always_export_symbols=no
8117 enable_shared_with_static_runtimes=yes
8118 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8119
8120 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8122 # If the export-symbols file already is a .def file (1st line
8123 # is EXPORTS), use it as is; otherwise, prepend...
8124 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8125 cp $export_symbols $output_objdir/$soname.def;
8126 else
8127 echo EXPORTS > $output_objdir/$soname.def;
8128 cat $export_symbols >> $output_objdir/$soname.def;
8129 fi~
8130 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8131 else
8132 ld_shlibs=no
8133 fi
8134 ;;
8135
8136 interix[3-9]*)
8137 hardcode_direct=no
8138 hardcode_shlibpath_var=no
8139 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8140 export_dynamic_flag_spec='${wl}-E'
8141 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8142 # Instead, shared libraries are loaded at an image base (0x10000000 by
8143 # default) and relocated if they conflict, which is a slow very memory
8144 # consuming and fragmenting process. To avoid this, we pick a random,
8145 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8146 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8147 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8148 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'
8149 ;;
8150
8151 gnu* | linux* | tpf* | k*bsd*-gnu)
8152 tmp_diet=no
8153 if test "$host_os" = linux-dietlibc; then
8154 case $cc_basename in
8155 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8156 esac
8157 fi
8158 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8159 && test "$tmp_diet" = no
8160 then
8161 tmp_addflag=
8162 case $cc_basename,$host_cpu in
8163 pgcc*) # Portland Group C compiler
8164 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'
8165 tmp_addflag=' $pic_flag'
8166 ;;
8167 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8168 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'
8169 tmp_addflag=' $pic_flag -Mnomain' ;;
8170 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8171 tmp_addflag=' -i_dynamic' ;;
8172 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8173 tmp_addflag=' -i_dynamic -nofor_main' ;;
8174 ifc* | ifort*) # Intel Fortran compiler
8175 tmp_addflag=' -nofor_main' ;;
8176 esac
8177 case `$CC -V 2>&1 | sed 5q` in
8178 *Sun\ C*) # Sun C 5.9
8179 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'
8180 compiler_needs_object=yes
8181 tmp_sharedflag='-G' ;;
8182 *Sun\ F*) # Sun Fortran 8.3
8183 tmp_sharedflag='-G' ;;
8184 *)
8185 tmp_sharedflag='-shared' ;;
8186 esac
8187 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8188
8189 if test "x$supports_anon_versioning" = xyes; then
8190 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8192 echo "local: *; };" >> $output_objdir/$libname.ver~
8193 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8194 fi
8195 else
8196 ld_shlibs=no
8197 fi
8198 ;;
8199
8200 netbsd*)
8201 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8202 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8203 wlarc=
8204 else
8205 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8207 fi
8208 ;;
8209
8210 solaris*)
8211 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8212 ld_shlibs=no
8213 cat <<_LT_EOF 1>&2
8214
8215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8216 *** create shared libraries on Solaris systems. Therefore, libtool
8217 *** is disabling shared libraries support. We urge you to upgrade GNU
8218 *** binutils to release 2.9.1 or newer. Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8221
8222 _LT_EOF
8223 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8226 else
8227 ld_shlibs=no
8228 fi
8229 ;;
8230
8231 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8232 case `$LD -v 2>&1` in
8233 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8234 ld_shlibs=no
8235 cat <<_LT_EOF 1>&2
8236
8237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8238 *** reliably create shared libraries on SCO systems. Therefore, libtool
8239 *** is disabling shared libraries support. We urge you to upgrade GNU
8240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8241 *** your PATH or compiler configuration so that the native linker is
8242 *** used, and then restart.
8243
8244 _LT_EOF
8245 ;;
8246 *)
8247 # For security reasons, it is highly recommended that you always
8248 # use absolute paths for naming shared libraries, and exclude the
8249 # DT_RUNPATH tag from executables and libraries. But doing so
8250 # requires that you compile everything twice, which is a pain.
8251 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8252 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8253 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8255 else
8256 ld_shlibs=no
8257 fi
8258 ;;
8259 esac
8260 ;;
8261
8262 sunos4*)
8263 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8264 wlarc=
8265 hardcode_direct=yes
8266 hardcode_shlibpath_var=no
8267 ;;
8268
8269 *)
8270 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8271 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8272 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8273 else
8274 ld_shlibs=no
8275 fi
8276 ;;
8277 esac
8278
8279 if test "$ld_shlibs" = no; then
8280 runpath_var=
8281 hardcode_libdir_flag_spec=
8282 export_dynamic_flag_spec=
8283 whole_archive_flag_spec=
8284 fi
8285 else
8286 # PORTME fill in a description of your system's linker (not GNU ld)
8287 case $host_os in
8288 aix3*)
8289 allow_undefined_flag=unsupported
8290 always_export_symbols=yes
8291 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'
8292 # Note: this linker hardcodes the directories in LIBPATH if there
8293 # are no directories specified by -L.
8294 hardcode_minus_L=yes
8295 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8296 # Neither direct hardcoding nor static linking is supported with a
8297 # broken collect2.
8298 hardcode_direct=unsupported
8299 fi
8300 ;;
8301
8302 aix[4-9]*)
8303 if test "$host_cpu" = ia64; then
8304 # On IA64, the linker does run time linking by default, so we don't
8305 # have to do anything special.
8306 aix_use_runtimelinking=no
8307 exp_sym_flag='-Bexport'
8308 no_entry_flag=""
8309 else
8310 # If we're using GNU nm, then we don't want the "-C" option.
8311 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8312 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8313 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'
8314 else
8315 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'
8316 fi
8317 aix_use_runtimelinking=no
8318
8319 # Test if we are trying to use run time linking or normal
8320 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8321 # need to do runtime linking.
8322 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8323 for ld_flag in $LDFLAGS; do
8324 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8325 aix_use_runtimelinking=yes
8326 break
8327 fi
8328 done
8329 ;;
8330 esac
8331
8332 exp_sym_flag='-bexport'
8333 no_entry_flag='-bnoentry'
8334 fi
8335
8336 # When large executables or shared objects are built, AIX ld can
8337 # have problems creating the table of contents. If linking a library
8338 # or program results in "error TOC overflow" add -mminimal-toc to
8339 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8340 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8341
8342 archive_cmds=''
8343 hardcode_direct=yes
8344 hardcode_direct_absolute=yes
8345 hardcode_libdir_separator=':'
8346 link_all_deplibs=yes
8347 file_list_spec='${wl}-f,'
8348
8349 if test "$GCC" = yes; then
8350 case $host_os in aix4.[012]|aix4.[012].*)
8351 # We only want to do this on AIX 4.2 and lower, the check
8352 # below for broken collect2 doesn't work under 4.3+
8353 collect2name=`${CC} -print-prog-name=collect2`
8354 if test -f "$collect2name" &&
8355 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8356 then
8357 # We have reworked collect2
8358 :
8359 else
8360 # We have old collect2
8361 hardcode_direct=unsupported
8362 # It fails to find uninstalled libraries when the uninstalled
8363 # path is not listed in the libpath. Setting hardcode_minus_L
8364 # to unsupported forces relinking
8365 hardcode_minus_L=yes
8366 hardcode_libdir_flag_spec='-L$libdir'
8367 hardcode_libdir_separator=
8368 fi
8369 ;;
8370 esac
8371 shared_flag='-shared'
8372 if test "$aix_use_runtimelinking" = yes; then
8373 shared_flag="$shared_flag "'${wl}-G'
8374 fi
8375 else
8376 # not using gcc
8377 if test "$host_cpu" = ia64; then
8378 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8379 # chokes on -Wl,-G. The following line is correct:
8380 shared_flag='-G'
8381 else
8382 if test "$aix_use_runtimelinking" = yes; then
8383 shared_flag='${wl}-G'
8384 else
8385 shared_flag='${wl}-bM:SRE'
8386 fi
8387 fi
8388 fi
8389
8390 # It seems that -bexpall does not export symbols beginning with
8391 # underscore (_), so it is better to generate a list of symbols to export.
8392 always_export_symbols=yes
8393 if test "$aix_use_runtimelinking" = yes; then
8394 # Warning - without using the other runtime loading flags (-brtl),
8395 # -berok will link without error, but may produce a broken library.
8396 allow_undefined_flag='-berok'
8397 # Determine the default libpath from the value encoded in an
8398 # empty executable.
8399 if test x$gcc_no_link = xyes; then
8400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8402 { (exit 1); exit 1; }; }
8403 fi
8404 cat >conftest.$ac_ext <<_ACEOF
8405 /* confdefs.h. */
8406 _ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8410
8411 int
8412 main ()
8413 {
8414
8415 ;
8416 return 0;
8417 }
8418 _ACEOF
8419 rm -f conftest.$ac_objext conftest$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>conftest.er1
8422 ac_status=$?
8423 grep -v '^ *+' conftest.er1 >conftest.err
8424 rm -f conftest.er1
8425 cat conftest.err >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } &&
8428 { ac_try='test -z "$ac_c_werror_flag"
8429 || test ! -s conftest.err'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 (eval $ac_try) 2>&5
8432 ac_status=$?
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; } &&
8435 { ac_try='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 (eval $ac_try) 2>&5
8438 ac_status=$?
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441
8442 lt_aix_libpath_sed='
8443 /Import File Strings/,/^$/ {
8444 /^0/ {
8445 s/^0 *\(.*\)$/\1/
8446 p
8447 }
8448 }'
8449 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8450 # Check for a 64-bit object if we didn't find anything.
8451 if test -z "$aix_libpath"; then
8452 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8453 fi
8454 else
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.$ac_ext >&5
8457
8458 fi
8459 rm -f conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8462
8463 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8464 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"
8465 else
8466 if test "$host_cpu" = ia64; then
8467 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8468 allow_undefined_flag="-z nodefs"
8469 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"
8470 else
8471 # Determine the default libpath from the value encoded in an
8472 # empty executable.
8473 if test x$gcc_no_link = xyes; then
8474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8476 { (exit 1); exit 1; }; }
8477 fi
8478 cat >conftest.$ac_ext <<_ACEOF
8479 /* confdefs.h. */
8480 _ACEOF
8481 cat confdefs.h >>conftest.$ac_ext
8482 cat >>conftest.$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8484
8485 int
8486 main ()
8487 {
8488
8489 ;
8490 return 0;
8491 }
8492 _ACEOF
8493 rm -f conftest.$ac_objext conftest$ac_exeext
8494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8495 (eval $ac_link) 2>conftest.er1
8496 ac_status=$?
8497 grep -v '^ *+' conftest.er1 >conftest.err
8498 rm -f conftest.er1
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } &&
8502 { ac_try='test -z "$ac_c_werror_flag"
8503 || test ! -s conftest.err'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505 (eval $ac_try) 2>&5
8506 ac_status=$?
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; } &&
8509 { ac_try='test -s conftest$ac_exeext'
8510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8511 (eval $ac_try) 2>&5
8512 ac_status=$?
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8515
8516 lt_aix_libpath_sed='
8517 /Import File Strings/,/^$/ {
8518 /^0/ {
8519 s/^0 *\(.*\)$/\1/
8520 p
8521 }
8522 }'
8523 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8524 # Check for a 64-bit object if we didn't find anything.
8525 if test -z "$aix_libpath"; then
8526 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8527 fi
8528 else
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8531
8532 fi
8533 rm -f conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8535 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8536
8537 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8538 # Warning - without using the other run time loading flags,
8539 # -berok will link without error, but may produce a broken library.
8540 no_undefined_flag=' ${wl}-bernotok'
8541 allow_undefined_flag=' ${wl}-berok'
8542 # Exported symbols can be pulled into shared objects from archives
8543 whole_archive_flag_spec='$convenience'
8544 archive_cmds_need_lc=yes
8545 # This is similar to how AIX traditionally builds its shared libraries.
8546 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'
8547 fi
8548 fi
8549 ;;
8550
8551 amigaos*)
8552 if test "$host_cpu" = m68k; then
8553 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)'
8554 hardcode_libdir_flag_spec='-L$libdir'
8555 hardcode_minus_L=yes
8556 fi
8557 # see comment about different semantics on the GNU ld section
8558 ld_shlibs=no
8559 ;;
8560
8561 bsdi[45]*)
8562 export_dynamic_flag_spec=-rdynamic
8563 ;;
8564
8565 cygwin* | mingw* | pw32*)
8566 # When not using gcc, we currently assume that we are using
8567 # Microsoft Visual C++.
8568 # hardcode_libdir_flag_spec is actually meaningless, as there is
8569 # no search path for DLLs.
8570 hardcode_libdir_flag_spec=' '
8571 allow_undefined_flag=unsupported
8572 # Tell ltmain to make .lib files, not .a files.
8573 libext=lib
8574 # Tell ltmain to make .dll files, not .so files.
8575 shrext_cmds=".dll"
8576 # FIXME: Setting linknames here is a bad hack.
8577 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8578 # The linker will automatically build a .lib file if we build a DLL.
8579 old_archive_from_new_cmds='true'
8580 # FIXME: Should let the user specify the lib program.
8581 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8582 fix_srcfile_path='`cygpath -w "$srcfile"`'
8583 enable_shared_with_static_runtimes=yes
8584 ;;
8585
8586 darwin* | rhapsody*)
8587 case $host_os in
8588 rhapsody* | darwin1.[012])
8589 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8590 ;;
8591 *) # Darwin 1.3 on
8592 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8593 10.[012])
8594 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8595 ;;
8596 10.*)
8597 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8598 ;;
8599 esac
8600 ;;
8601 esac
8602 archive_cmds_need_lc=no
8603 hardcode_direct=no
8604 hardcode_automatic=yes
8605 hardcode_shlibpath_var=unsupported
8606 whole_archive_flag_spec=''
8607 link_all_deplibs=yes
8608 if test "$GCC" = yes ; then
8609 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 else
8612 lt_cv_apple_cc_single_mod=no
8613 if test -z "${LT_MULTI_MODULE}"; then
8614 # By default we will add the -single_module flag. You can override
8615 # by either setting the environment variable LT_MULTI_MODULE
8616 # non-empty at configure time, or by adding -multi-module to the
8617 # link flags.
8618 echo "int foo(void){return 1;}" > conftest.c
8619 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8620 -dynamiclib ${wl}-single_module conftest.c
8621 if test -f libconftest.dylib; then
8622 lt_cv_apple_cc_single_mod=yes
8623 rm libconftest.dylib
8624 fi
8625 rm conftest.$ac_ext
8626 fi
8627 fi
8628
8629 output_verbose_link_cmd=echo
8630 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8631 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8632 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}'
8633 else
8634 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8635 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}'
8636 fi
8637 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8638 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}'
8639 else
8640 case $cc_basename in
8641 xlc*)
8642 output_verbose_link_cmd=echo
8643 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8644 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8645 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8646 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}'
8647 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}'
8648 ;;
8649 *)
8650 ld_shlibs=no
8651 ;;
8652 esac
8653 fi
8654 ;;
8655
8656 dgux*)
8657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8658 hardcode_libdir_flag_spec='-L$libdir'
8659 hardcode_shlibpath_var=no
8660 ;;
8661
8662 freebsd1*)
8663 ld_shlibs=no
8664 ;;
8665
8666 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8667 # support. Future versions do this automatically, but an explicit c++rt0.o
8668 # does not break anything, and helps significantly (at the cost of a little
8669 # extra space).
8670 freebsd2.2*)
8671 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8672 hardcode_libdir_flag_spec='-R$libdir'
8673 hardcode_direct=yes
8674 hardcode_shlibpath_var=no
8675 ;;
8676
8677 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8678 freebsd2*)
8679 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8680 hardcode_direct=yes
8681 hardcode_minus_L=yes
8682 hardcode_shlibpath_var=no
8683 ;;
8684
8685 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8686 freebsd* | dragonfly*)
8687 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8688 hardcode_libdir_flag_spec='-R$libdir'
8689 hardcode_direct=yes
8690 hardcode_shlibpath_var=no
8691 ;;
8692
8693 hpux9*)
8694 if test "$GCC" = yes; then
8695 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'
8696 else
8697 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'
8698 fi
8699 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8700 hardcode_libdir_separator=:
8701 hardcode_direct=yes
8702
8703 # hardcode_minus_L: Not really in the search PATH,
8704 # but as the default location of the library.
8705 hardcode_minus_L=yes
8706 export_dynamic_flag_spec='${wl}-E'
8707 ;;
8708
8709 hpux10*)
8710 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8711 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8712 else
8713 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8714 fi
8715 if test "$with_gnu_ld" = no; then
8716 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8717 hardcode_libdir_flag_spec_ld='+b $libdir'
8718 hardcode_libdir_separator=:
8719 hardcode_direct=yes
8720 hardcode_direct_absolute=yes
8721 export_dynamic_flag_spec='${wl}-E'
8722 # hardcode_minus_L: Not really in the search PATH,
8723 # but as the default location of the library.
8724 hardcode_minus_L=yes
8725 fi
8726 ;;
8727
8728 hpux11*)
8729 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8730 case $host_cpu in
8731 hppa*64*)
8732 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 ;;
8734 ia64*)
8735 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8736 ;;
8737 *)
8738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8739 ;;
8740 esac
8741 else
8742 case $host_cpu in
8743 hppa*64*)
8744 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8745 ;;
8746 ia64*)
8747 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8748 ;;
8749 *)
8750 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8751 ;;
8752 esac
8753 fi
8754 if test "$with_gnu_ld" = no; then
8755 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8756 hardcode_libdir_separator=:
8757
8758 case $host_cpu in
8759 hppa*64*|ia64*)
8760 hardcode_direct=no
8761 hardcode_shlibpath_var=no
8762 ;;
8763 *)
8764 hardcode_direct=yes
8765 hardcode_direct_absolute=yes
8766 export_dynamic_flag_spec='${wl}-E'
8767
8768 # hardcode_minus_L: Not really in the search PATH,
8769 # but as the default location of the library.
8770 hardcode_minus_L=yes
8771 ;;
8772 esac
8773 fi
8774 ;;
8775
8776 irix5* | irix6* | nonstopux*)
8777 if test "$GCC" = yes; then
8778 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'
8779 # Try to use the -exported_symbol ld option, if it does not
8780 # work, assume that -exports_file does not work either and
8781 # implicitly export all symbols.
8782 save_LDFLAGS="$LDFLAGS"
8783 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8784 if test x$gcc_no_link = xyes; then
8785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8787 { (exit 1); exit 1; }; }
8788 fi
8789 cat >conftest.$ac_ext <<_ACEOF
8790 int foo(void) {}
8791 _ACEOF
8792 rm -f conftest.$ac_objext conftest$ac_exeext
8793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8794 (eval $ac_link) 2>conftest.er1
8795 ac_status=$?
8796 grep -v '^ *+' conftest.er1 >conftest.err
8797 rm -f conftest.er1
8798 cat conftest.err >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } &&
8801 { ac_try='test -z "$ac_c_werror_flag"
8802 || test ! -s conftest.err'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804 (eval $ac_try) 2>&5
8805 ac_status=$?
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; } &&
8808 { ac_try='test -s conftest$ac_exeext'
8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8810 (eval $ac_try) 2>&5
8811 ac_status=$?
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; }; then
8814 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'
8815
8816 else
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8819
8820 fi
8821 rm -f conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 LDFLAGS="$save_LDFLAGS"
8824 else
8825 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'
8826 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'
8827 fi
8828 archive_cmds_need_lc='no'
8829 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8830 hardcode_libdir_separator=:
8831 inherit_rpath=yes
8832 link_all_deplibs=yes
8833 ;;
8834
8835 netbsd*)
8836 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8837 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8838 else
8839 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8840 fi
8841 hardcode_libdir_flag_spec='-R$libdir'
8842 hardcode_direct=yes
8843 hardcode_shlibpath_var=no
8844 ;;
8845
8846 newsos6)
8847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8848 hardcode_direct=yes
8849 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8850 hardcode_libdir_separator=:
8851 hardcode_shlibpath_var=no
8852 ;;
8853
8854 *nto* | *qnx*)
8855 ;;
8856
8857 openbsd*)
8858 hardcode_direct=yes
8859 hardcode_shlibpath_var=no
8860 hardcode_direct_absolute=yes
8861 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8862 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8863 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8864 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8865 export_dynamic_flag_spec='${wl}-E'
8866 else
8867 case $host_os in
8868 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8869 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8870 hardcode_libdir_flag_spec='-R$libdir'
8871 ;;
8872 *)
8873 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8874 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8875 ;;
8876 esac
8877 fi
8878 ;;
8879
8880 os2*)
8881 hardcode_libdir_flag_spec='-L$libdir'
8882 hardcode_minus_L=yes
8883 allow_undefined_flag=unsupported
8884 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'
8885 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8886 ;;
8887
8888 osf3*)
8889 if test "$GCC" = yes; then
8890 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8891 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'
8892 else
8893 allow_undefined_flag=' -expect_unresolved \*'
8894 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'
8895 fi
8896 archive_cmds_need_lc='no'
8897 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8898 hardcode_libdir_separator=:
8899 ;;
8900
8901 osf4* | osf5*) # as osf3* with the addition of -msym flag
8902 if test "$GCC" = yes; then
8903 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8904 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'
8905 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8906 else
8907 allow_undefined_flag=' -expect_unresolved \*'
8908 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'
8909 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~
8910 $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'
8911
8912 # Both c and cxx compiler support -rpath directly
8913 hardcode_libdir_flag_spec='-rpath $libdir'
8914 fi
8915 archive_cmds_need_lc='no'
8916 hardcode_libdir_separator=:
8917 ;;
8918
8919 solaris*)
8920 no_undefined_flag=' -z defs'
8921 if test "$GCC" = yes; then
8922 wlarc='${wl}'
8923 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8924 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8925 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8926 else
8927 case `$CC -V 2>&1` in
8928 *"Compilers 5.0"*)
8929 wlarc=''
8930 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8932 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8933 ;;
8934 *)
8935 wlarc='${wl}'
8936 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8938 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8939 ;;
8940 esac
8941 fi
8942 hardcode_libdir_flag_spec='-R$libdir'
8943 hardcode_shlibpath_var=no
8944 case $host_os in
8945 solaris2.[0-5] | solaris2.[0-5].*) ;;
8946 *)
8947 # The compiler driver will combine and reorder linker options,
8948 # but understands `-z linker_flag'. GCC discards it without `$wl',
8949 # but is careful enough not to reorder.
8950 # Supported since Solaris 2.6 (maybe 2.5.1?)
8951 if test "$GCC" = yes; then
8952 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8953 else
8954 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8955 fi
8956 ;;
8957 esac
8958 link_all_deplibs=yes
8959 ;;
8960
8961 sunos4*)
8962 if test "x$host_vendor" = xsequent; then
8963 # Use $CC to link under sequent, because it throws in some extra .o
8964 # files that make .init and .fini sections work.
8965 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8966 else
8967 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8968 fi
8969 hardcode_libdir_flag_spec='-L$libdir'
8970 hardcode_direct=yes
8971 hardcode_minus_L=yes
8972 hardcode_shlibpath_var=no
8973 ;;
8974
8975 sysv4)
8976 case $host_vendor in
8977 sni)
8978 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8979 hardcode_direct=yes # is this really true???
8980 ;;
8981 siemens)
8982 ## LD is ld it makes a PLAMLIB
8983 ## CC just makes a GrossModule.
8984 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8985 reload_cmds='$CC -r -o $output$reload_objs'
8986 hardcode_direct=no
8987 ;;
8988 motorola)
8989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8990 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8991 ;;
8992 esac
8993 runpath_var='LD_RUN_PATH'
8994 hardcode_shlibpath_var=no
8995 ;;
8996
8997 sysv4.3*)
8998 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999 hardcode_shlibpath_var=no
9000 export_dynamic_flag_spec='-Bexport'
9001 ;;
9002
9003 sysv4*MP*)
9004 if test -d /usr/nec; then
9005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006 hardcode_shlibpath_var=no
9007 runpath_var=LD_RUN_PATH
9008 hardcode_runpath_var=yes
9009 ld_shlibs=yes
9010 fi
9011 ;;
9012
9013 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9014 no_undefined_flag='${wl}-z,text'
9015 archive_cmds_need_lc=no
9016 hardcode_shlibpath_var=no
9017 runpath_var='LD_RUN_PATH'
9018
9019 if test "$GCC" = yes; then
9020 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9021 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9022 else
9023 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9024 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9025 fi
9026 ;;
9027
9028 sysv5* | sco3.2v5* | sco5v6*)
9029 # Note: We can NOT use -z defs as we might desire, because we do not
9030 # link with -lc, and that would cause any symbols used from libc to
9031 # always be unresolved, which means just about no library would
9032 # ever link correctly. If we're not using GNU ld we use -z text
9033 # though, which does catch some bad symbols but isn't as heavy-handed
9034 # as -z defs.
9035 no_undefined_flag='${wl}-z,text'
9036 allow_undefined_flag='${wl}-z,nodefs'
9037 archive_cmds_need_lc=no
9038 hardcode_shlibpath_var=no
9039 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9040 hardcode_libdir_separator=':'
9041 link_all_deplibs=yes
9042 export_dynamic_flag_spec='${wl}-Bexport'
9043 runpath_var='LD_RUN_PATH'
9044
9045 if test "$GCC" = yes; then
9046 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9047 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9048 else
9049 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9051 fi
9052 ;;
9053
9054 uts4*)
9055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9056 hardcode_libdir_flag_spec='-L$libdir'
9057 hardcode_shlibpath_var=no
9058 ;;
9059
9060 *)
9061 ld_shlibs=no
9062 ;;
9063 esac
9064
9065 if test x$host_vendor = xsni; then
9066 case $host in
9067 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9068 export_dynamic_flag_spec='${wl}-Blargedynsym'
9069 ;;
9070 esac
9071 fi
9072 fi
9073
9074 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9075 echo "${ECHO_T}$ld_shlibs" >&6
9076 test "$ld_shlibs" = no && can_build_shared=no
9077
9078 with_gnu_ld=$with_gnu_ld
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094 #
9095 # Do we need to explicitly link libc?
9096 #
9097 case "x$archive_cmds_need_lc" in
9098 x|xyes)
9099 # Assume -lc should be added
9100 archive_cmds_need_lc=yes
9101
9102 if test "$enable_shared" = yes && test "$GCC" = yes; then
9103 case $archive_cmds in
9104 *'~'*)
9105 # FIXME: we may have to deal with multi-command sequences.
9106 ;;
9107 '$CC '*)
9108 # Test whether the compiler implicitly links with -lc since on some
9109 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9110 # to ld, don't add -lc before -lgcc.
9111 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9112 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9113 $RM conftest*
9114 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9115
9116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9117 (eval $ac_compile) 2>&5
9118 ac_status=$?
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } 2>conftest.err; then
9121 soname=conftest
9122 lib=conftest
9123 libobjs=conftest.$ac_objext
9124 deplibs=
9125 wl=$lt_prog_compiler_wl
9126 pic_flag=$lt_prog_compiler_pic
9127 compiler_flags=-v
9128 linker_flags=-v
9129 verstring=
9130 output_objdir=.
9131 libname=conftest
9132 lt_save_allow_undefined_flag=$allow_undefined_flag
9133 allow_undefined_flag=
9134 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9135 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9136 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }
9139 then
9140 archive_cmds_need_lc=no
9141 else
9142 archive_cmds_need_lc=yes
9143 fi
9144 allow_undefined_flag=$lt_save_allow_undefined_flag
9145 else
9146 cat conftest.err 1>&5
9147 fi
9148 $RM conftest*
9149 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9150 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9151 ;;
9152 esac
9153 fi
9154 ;;
9155 esac
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
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9314 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9315 withGCC=$GCC
9316 if test "$withGCC" = yes; then
9317 case $host_os in
9318 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9319 *) lt_awk_arg="/^libraries:/" ;;
9320 esac
9321 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9322 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9323 # if the path contains ";" then we assume it to be the separator
9324 # otherwise default to the standard path separator (i.e. ":") - it is
9325 # assumed that no part of a normal pathname contains ";" but that should
9326 # okay in the real world where ";" in dirpaths is itself problematic.
9327 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9328 else
9329 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9330 fi
9331 # Ok, now we have the path, separated by spaces, we can step through it
9332 # and add multilib dir if necessary.
9333 lt_tmp_lt_search_path_spec=
9334 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9335 for lt_sys_path in $lt_search_path_spec; do
9336 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9337 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9338 else
9339 test -d "$lt_sys_path" && \
9340 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9341 fi
9342 done
9343 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9344 BEGIN {RS=" "; FS="/|\n";} {
9345 lt_foo="";
9346 lt_count=0;
9347 for (lt_i = NF; lt_i > 0; lt_i--) {
9348 if ($lt_i != "" && $lt_i != ".") {
9349 if ($lt_i == "..") {
9350 lt_count++;
9351 } else {
9352 if (lt_count == 0) {
9353 lt_foo="/" $lt_i lt_foo;
9354 } else {
9355 lt_count--;
9356 }
9357 }
9358 }
9359 }
9360 if (lt_foo != "") { lt_freq[lt_foo]++; }
9361 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9362 }'`
9363 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9364 else
9365 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9366 fi
9367 library_names_spec=
9368 libname_spec='lib$name'
9369 soname_spec=
9370 shrext_cmds=".so"
9371 postinstall_cmds=
9372 postuninstall_cmds=
9373 finish_cmds=
9374 finish_eval=
9375 shlibpath_var=
9376 shlibpath_overrides_runpath=unknown
9377 version_type=none
9378 dynamic_linker="$host_os ld.so"
9379 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9380 need_lib_prefix=unknown
9381 hardcode_into_libs=no
9382
9383 # when you set need_version to no, make sure it does not cause -set_version
9384 # flags to be left without arguments
9385 need_version=unknown
9386
9387 case $host_os in
9388 aix3*)
9389 version_type=linux
9390 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9391 shlibpath_var=LIBPATH
9392
9393 # AIX 3 has no versioning support, so we append a major version to the name.
9394 soname_spec='${libname}${release}${shared_ext}$major'
9395 ;;
9396
9397 aix[4-9]*)
9398 version_type=linux
9399 need_lib_prefix=no
9400 need_version=no
9401 hardcode_into_libs=yes
9402 if test "$host_cpu" = ia64; then
9403 # AIX 5 supports IA64
9404 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9405 shlibpath_var=LD_LIBRARY_PATH
9406 else
9407 # With GCC up to 2.95.x, collect2 would create an import file
9408 # for dependence libraries. The import file would start with
9409 # the line `#! .'. This would cause the generated library to
9410 # depend on `.', always an invalid library. This was fixed in
9411 # development snapshots of GCC prior to 3.0.
9412 case $host_os in
9413 aix4 | aix4.[01] | aix4.[01].*)
9414 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9415 echo ' yes '
9416 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9417 :
9418 else
9419 can_build_shared=no
9420 fi
9421 ;;
9422 esac
9423 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9424 # soname into executable. Probably we can add versioning support to
9425 # collect2, so additional links can be useful in future.
9426 if test "$aix_use_runtimelinking" = yes; then
9427 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9428 # instead of lib<name>.a to let people know that these are not
9429 # typical AIX shared libraries.
9430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9431 else
9432 # We preserve .a as extension for shared libraries through AIX4.2
9433 # and later when we are not doing run time linking.
9434 library_names_spec='${libname}${release}.a $libname.a'
9435 soname_spec='${libname}${release}${shared_ext}$major'
9436 fi
9437 shlibpath_var=LIBPATH
9438 fi
9439 ;;
9440
9441 amigaos*)
9442 if test "$host_cpu" = m68k; then
9443 library_names_spec='$libname.ixlibrary $libname.a'
9444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9445 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'
9446 else
9447 dynamic_linker=no
9448 fi
9449 ;;
9450
9451 beos*)
9452 library_names_spec='${libname}${shared_ext}'
9453 dynamic_linker="$host_os ld.so"
9454 shlibpath_var=LIBRARY_PATH
9455 ;;
9456
9457 bsdi[45]*)
9458 version_type=linux
9459 need_version=no
9460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9461 soname_spec='${libname}${release}${shared_ext}$major'
9462 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9463 shlibpath_var=LD_LIBRARY_PATH
9464 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9465 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9466 # the default ld.so.conf also contains /usr/contrib/lib and
9467 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9468 # libtool to hard-code these into programs
9469 ;;
9470
9471 cygwin* | mingw* | pw32*)
9472 version_type=windows
9473 shrext_cmds=".dll"
9474 need_version=no
9475 need_lib_prefix=no
9476
9477 case $withGCC,$host_os in
9478 yes,cygwin* | yes,mingw* | yes,pw32*)
9479 library_names_spec='$libname.dll.a'
9480 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9481 postinstall_cmds='base_file=`basename \${file}`~
9482 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9483 dldir=$destdir/`dirname \$dlpath`~
9484 test -d \$dldir || mkdir -p \$dldir~
9485 $install_prog $dir/$dlname \$dldir/$dlname~
9486 chmod a+x \$dldir/$dlname~
9487 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9488 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9489 fi'
9490 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9491 dlpath=$dir/\$dldll~
9492 $RM \$dlpath'
9493 shlibpath_overrides_runpath=yes
9494
9495 case $host_os in
9496 cygwin*)
9497 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9498 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9499 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9500 ;;
9501 mingw*)
9502 # MinGW DLLs use traditional 'lib' prefix
9503 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9504 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9505 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9506 # It is most probably a Windows format PATH printed by
9507 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9508 # path with ; separators, and with drive letters. We can handle the
9509 # drive letters (cygwin fileutils understands them), so leave them,
9510 # especially as we might pass files found there to a mingw objdump,
9511 # which wouldn't understand a cygwinified path. Ahh.
9512 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9513 else
9514 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9515 fi
9516 ;;
9517 pw32*)
9518 # pw32 DLLs use 'pw' prefix rather than 'lib'
9519 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9520 ;;
9521 esac
9522 ;;
9523
9524 *)
9525 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9526 ;;
9527 esac
9528 dynamic_linker='Win32 ld.exe'
9529 # FIXME: first we should search . and the directory the executable is in
9530 shlibpath_var=PATH
9531 ;;
9532
9533 darwin* | rhapsody*)
9534 dynamic_linker="$host_os dyld"
9535 version_type=darwin
9536 need_lib_prefix=no
9537 need_version=no
9538 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9539 soname_spec='${libname}${release}${major}$shared_ext'
9540 shlibpath_overrides_runpath=yes
9541 shlibpath_var=DYLD_LIBRARY_PATH
9542 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9543
9544 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9545 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9546 ;;
9547
9548 dgux*)
9549 version_type=linux
9550 need_lib_prefix=no
9551 need_version=no
9552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9553 soname_spec='${libname}${release}${shared_ext}$major'
9554 shlibpath_var=LD_LIBRARY_PATH
9555 ;;
9556
9557 freebsd1*)
9558 dynamic_linker=no
9559 ;;
9560
9561 freebsd* | dragonfly*)
9562 # DragonFly does not have aout. When/if they implement a new
9563 # versioning mechanism, adjust this.
9564 if test -x /usr/bin/objformat; then
9565 objformat=`/usr/bin/objformat`
9566 else
9567 case $host_os in
9568 freebsd[123]*) objformat=aout ;;
9569 *) objformat=elf ;;
9570 esac
9571 fi
9572 version_type=freebsd-$objformat
9573 case $version_type in
9574 freebsd-elf*)
9575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9576 need_version=no
9577 need_lib_prefix=no
9578 ;;
9579 freebsd-*)
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9581 need_version=yes
9582 ;;
9583 esac
9584 shlibpath_var=LD_LIBRARY_PATH
9585 case $host_os in
9586 freebsd2*)
9587 shlibpath_overrides_runpath=yes
9588 ;;
9589 freebsd3.[01]* | freebsdelf3.[01]*)
9590 shlibpath_overrides_runpath=yes
9591 hardcode_into_libs=yes
9592 ;;
9593 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9594 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9595 shlibpath_overrides_runpath=no
9596 hardcode_into_libs=yes
9597 ;;
9598 *) # from 4.6 on, and DragonFly
9599 shlibpath_overrides_runpath=yes
9600 hardcode_into_libs=yes
9601 ;;
9602 esac
9603 ;;
9604
9605 gnu*)
9606 version_type=linux
9607 need_lib_prefix=no
9608 need_version=no
9609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9610 soname_spec='${libname}${release}${shared_ext}$major'
9611 shlibpath_var=LD_LIBRARY_PATH
9612 hardcode_into_libs=yes
9613 ;;
9614
9615 hpux9* | hpux10* | hpux11*)
9616 # Give a soname corresponding to the major version so that dld.sl refuses to
9617 # link against other versions.
9618 version_type=sunos
9619 need_lib_prefix=no
9620 need_version=no
9621 case $host_cpu in
9622 ia64*)
9623 shrext_cmds='.so'
9624 hardcode_into_libs=yes
9625 dynamic_linker="$host_os dld.so"
9626 shlibpath_var=LD_LIBRARY_PATH
9627 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629 soname_spec='${libname}${release}${shared_ext}$major'
9630 if test "X$HPUX_IA64_MODE" = X32; then
9631 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9632 else
9633 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9634 fi
9635 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9636 ;;
9637 hppa*64*)
9638 shrext_cmds='.sl'
9639 hardcode_into_libs=yes
9640 dynamic_linker="$host_os dld.sl"
9641 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9642 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9644 soname_spec='${libname}${release}${shared_ext}$major'
9645 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9647 ;;
9648 *)
9649 shrext_cmds='.sl'
9650 dynamic_linker="$host_os dld.sl"
9651 shlibpath_var=SHLIB_PATH
9652 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9654 soname_spec='${libname}${release}${shared_ext}$major'
9655 ;;
9656 esac
9657 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9658 postinstall_cmds='chmod 555 $lib'
9659 ;;
9660
9661 interix[3-9]*)
9662 version_type=linux
9663 need_lib_prefix=no
9664 need_version=no
9665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9666 soname_spec='${libname}${release}${shared_ext}$major'
9667 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9668 shlibpath_var=LD_LIBRARY_PATH
9669 shlibpath_overrides_runpath=no
9670 hardcode_into_libs=yes
9671 ;;
9672
9673 irix5* | irix6* | nonstopux*)
9674 case $host_os in
9675 nonstopux*) version_type=nonstopux ;;
9676 *)
9677 if test "$lt_cv_prog_gnu_ld" = yes; then
9678 version_type=linux
9679 else
9680 version_type=irix
9681 fi ;;
9682 esac
9683 need_lib_prefix=no
9684 need_version=no
9685 soname_spec='${libname}${release}${shared_ext}$major'
9686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9687 case $host_os in
9688 irix5* | nonstopux*)
9689 libsuff= shlibsuff=
9690 ;;
9691 *)
9692 case $LD in # libtool.m4 will add one of these switches to LD
9693 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9694 libsuff= shlibsuff= libmagic=32-bit;;
9695 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9696 libsuff=32 shlibsuff=N32 libmagic=N32;;
9697 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9698 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9699 *) libsuff= shlibsuff= libmagic=never-match;;
9700 esac
9701 ;;
9702 esac
9703 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9704 shlibpath_overrides_runpath=no
9705 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9706 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9707 hardcode_into_libs=yes
9708 ;;
9709
9710 # No shared lib support for Linux oldld, aout, or coff.
9711 linux*oldld* | linux*aout* | linux*coff*)
9712 dynamic_linker=no
9713 ;;
9714
9715 # This must be Linux ELF.
9716 linux* | k*bsd*-gnu)
9717 version_type=linux
9718 need_lib_prefix=no
9719 need_version=no
9720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9721 soname_spec='${libname}${release}${shared_ext}$major'
9722 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath=no
9725 # Some binutils ld are patched to set DT_RUNPATH
9726 save_LDFLAGS=$LDFLAGS
9727 save_libdir=$libdir
9728 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9729 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9730 if test x$gcc_no_link = xyes; then
9731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9733 { (exit 1); exit 1; }; }
9734 fi
9735 cat >conftest.$ac_ext <<_ACEOF
9736 /* confdefs.h. */
9737 _ACEOF
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9741
9742 int
9743 main ()
9744 {
9745
9746 ;
9747 return 0;
9748 }
9749 _ACEOF
9750 rm -f conftest.$ac_objext conftest$ac_exeext
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 (eval $ac_link) 2>conftest.er1
9753 ac_status=$?
9754 grep -v '^ *+' conftest.er1 >conftest.err
9755 rm -f conftest.er1
9756 cat conftest.err >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } &&
9759 { ac_try='test -z "$ac_c_werror_flag"
9760 || test ! -s conftest.err'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 (eval $ac_try) 2>&5
9763 ac_status=$?
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; } &&
9766 { ac_try='test -s conftest$ac_exeext'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 (eval $ac_try) 2>&5
9769 ac_status=$?
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; }; then
9772 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9773 shlibpath_overrides_runpath=yes
9774 fi
9775
9776 else
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9779
9780 fi
9781 rm -f conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LDFLAGS=$save_LDFLAGS
9784 libdir=$save_libdir
9785
9786 # This implies no fast_install, which is unacceptable.
9787 # Some rework will be needed to allow for fast_install
9788 # before this can be enabled.
9789 hardcode_into_libs=yes
9790
9791 # Append ld.so.conf contents to the search path
9792 if test -f /etc/ld.so.conf; then
9793 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' ' '`
9794 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9795 fi
9796
9797 # We used to test for /lib/ld.so.1 and disable shared libraries on
9798 # powerpc, because MkLinux only supported shared libraries with the
9799 # GNU dynamic linker. Since this was broken with cross compilers,
9800 # most powerpc-linux boxes support dynamic linking these days and
9801 # people can always --disable-shared, the test was removed, and we
9802 # assume the GNU/Linux dynamic linker is in use.
9803 dynamic_linker='GNU/Linux ld.so'
9804 ;;
9805
9806 netbsd*)
9807 version_type=sunos
9808 need_lib_prefix=no
9809 need_version=no
9810 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9812 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9813 dynamic_linker='NetBSD (a.out) ld.so'
9814 else
9815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9816 soname_spec='${libname}${release}${shared_ext}$major'
9817 dynamic_linker='NetBSD ld.elf_so'
9818 fi
9819 shlibpath_var=LD_LIBRARY_PATH
9820 shlibpath_overrides_runpath=yes
9821 hardcode_into_libs=yes
9822 ;;
9823
9824 newsos6)
9825 version_type=linux
9826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9827 shlibpath_var=LD_LIBRARY_PATH
9828 shlibpath_overrides_runpath=yes
9829 ;;
9830
9831 *nto* | *qnx*)
9832 version_type=qnx
9833 need_lib_prefix=no
9834 need_version=no
9835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 soname_spec='${libname}${release}${shared_ext}$major'
9837 shlibpath_var=LD_LIBRARY_PATH
9838 shlibpath_overrides_runpath=no
9839 hardcode_into_libs=yes
9840 dynamic_linker='ldqnx.so'
9841 ;;
9842
9843 openbsd*)
9844 version_type=sunos
9845 sys_lib_dlsearch_path_spec="/usr/lib"
9846 need_lib_prefix=no
9847 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9848 case $host_os in
9849 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9850 *) need_version=no ;;
9851 esac
9852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9853 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9854 shlibpath_var=LD_LIBRARY_PATH
9855 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9856 case $host_os in
9857 openbsd2.[89] | openbsd2.[89].*)
9858 shlibpath_overrides_runpath=no
9859 ;;
9860 *)
9861 shlibpath_overrides_runpath=yes
9862 ;;
9863 esac
9864 else
9865 shlibpath_overrides_runpath=yes
9866 fi
9867 ;;
9868
9869 os2*)
9870 libname_spec='$name'
9871 shrext_cmds=".dll"
9872 need_lib_prefix=no
9873 library_names_spec='$libname${shared_ext} $libname.a'
9874 dynamic_linker='OS/2 ld.exe'
9875 shlibpath_var=LIBPATH
9876 ;;
9877
9878 osf3* | osf4* | osf5*)
9879 version_type=osf
9880 need_lib_prefix=no
9881 need_version=no
9882 soname_spec='${libname}${release}${shared_ext}$major'
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 shlibpath_var=LD_LIBRARY_PATH
9885 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9886 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9887 ;;
9888
9889 rdos*)
9890 dynamic_linker=no
9891 ;;
9892
9893 solaris*)
9894 version_type=linux
9895 need_lib_prefix=no
9896 need_version=no
9897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9898 soname_spec='${libname}${release}${shared_ext}$major'
9899 shlibpath_var=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath=yes
9901 hardcode_into_libs=yes
9902 # ldd complains unless libraries are executable
9903 postinstall_cmds='chmod +x $lib'
9904 ;;
9905
9906 sunos4*)
9907 version_type=sunos
9908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9909 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9910 shlibpath_var=LD_LIBRARY_PATH
9911 shlibpath_overrides_runpath=yes
9912 if test "$with_gnu_ld" = yes; then
9913 need_lib_prefix=no
9914 fi
9915 need_version=yes
9916 ;;
9917
9918 sysv4 | sysv4.3*)
9919 version_type=linux
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 soname_spec='${libname}${release}${shared_ext}$major'
9922 shlibpath_var=LD_LIBRARY_PATH
9923 case $host_vendor in
9924 sni)
9925 shlibpath_overrides_runpath=no
9926 need_lib_prefix=no
9927 runpath_var=LD_RUN_PATH
9928 ;;
9929 siemens)
9930 need_lib_prefix=no
9931 ;;
9932 motorola)
9933 need_lib_prefix=no
9934 need_version=no
9935 shlibpath_overrides_runpath=no
9936 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9937 ;;
9938 esac
9939 ;;
9940
9941 sysv4*MP*)
9942 if test -d /usr/nec ;then
9943 version_type=linux
9944 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9945 soname_spec='$libname${shared_ext}.$major'
9946 shlibpath_var=LD_LIBRARY_PATH
9947 fi
9948 ;;
9949
9950 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9951 version_type=freebsd-elf
9952 need_lib_prefix=no
9953 need_version=no
9954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9955 soname_spec='${libname}${release}${shared_ext}$major'
9956 shlibpath_var=LD_LIBRARY_PATH
9957 shlibpath_overrides_runpath=yes
9958 hardcode_into_libs=yes
9959 if test "$with_gnu_ld" = yes; then
9960 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9961 else
9962 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9963 case $host_os in
9964 sco3.2v5*)
9965 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9966 ;;
9967 esac
9968 fi
9969 sys_lib_dlsearch_path_spec='/usr/lib'
9970 ;;
9971
9972 tpf*)
9973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9974 version_type=linux
9975 need_lib_prefix=no
9976 need_version=no
9977 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978 shlibpath_var=LD_LIBRARY_PATH
9979 shlibpath_overrides_runpath=no
9980 hardcode_into_libs=yes
9981 ;;
9982
9983 uts4*)
9984 version_type=linux
9985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9986 soname_spec='${libname}${release}${shared_ext}$major'
9987 shlibpath_var=LD_LIBRARY_PATH
9988 ;;
9989
9990 *)
9991 dynamic_linker=no
9992 ;;
9993 esac
9994 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9995 echo "${ECHO_T}$dynamic_linker" >&6
9996 test "$dynamic_linker" = no && can_build_shared=no
9997
9998 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9999 if test "$GCC" = yes; then
10000 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10001 fi
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10090 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10091 hardcode_action=
10092 if test -n "$hardcode_libdir_flag_spec" ||
10093 test -n "$runpath_var" ||
10094 test "X$hardcode_automatic" = "Xyes" ; then
10095
10096 # We can hardcode non-existent directories.
10097 if test "$hardcode_direct" != no &&
10098 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10099 # have to relink, otherwise we might link with an installed library
10100 # when we should be linking with a yet-to-be-installed one
10101 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10102 test "$hardcode_minus_L" != no; then
10103 # Linking always hardcodes the temporary library directory.
10104 hardcode_action=relink
10105 else
10106 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10107 hardcode_action=immediate
10108 fi
10109 else
10110 # We cannot hardcode anything, or else we can only hardcode existing
10111 # directories.
10112 hardcode_action=unsupported
10113 fi
10114 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10115 echo "${ECHO_T}$hardcode_action" >&6
10116
10117 if test "$hardcode_action" = relink ||
10118 test "$inherit_rpath" = yes; then
10119 # Fast installation is not supported
10120 enable_fast_install=no
10121 elif test "$shlibpath_overrides_runpath" = yes ||
10122 test "$enable_shared" = no; then
10123 # Fast installation is not necessary
10124 enable_fast_install=needless
10125 fi
10126
10127
10128
10129
10130
10131
10132 if test "x$enable_dlopen" != xyes; then
10133 enable_dlopen=unknown
10134 enable_dlopen_self=unknown
10135 enable_dlopen_self_static=unknown
10136 else
10137 lt_cv_dlopen=no
10138 lt_cv_dlopen_libs=
10139
10140 case $host_os in
10141 beos*)
10142 lt_cv_dlopen="load_add_on"
10143 lt_cv_dlopen_libs=
10144 lt_cv_dlopen_self=yes
10145 ;;
10146
10147 mingw* | pw32*)
10148 lt_cv_dlopen="LoadLibrary"
10149 lt_cv_dlopen_libs=
10150 ;;
10151
10152 cygwin*)
10153 lt_cv_dlopen="dlopen"
10154 lt_cv_dlopen_libs=
10155 ;;
10156
10157 darwin*)
10158 # if libdl is installed we need to link against it
10159 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10160 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10161 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10163 else
10164 ac_check_lib_save_LIBS=$LIBS
10165 LIBS="-ldl $LIBS"
10166 if test x$gcc_no_link = xyes; then
10167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10169 { (exit 1); exit 1; }; }
10170 fi
10171 cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177
10178 /* Override any gcc2 internal prototype to avoid an error. */
10179 #ifdef __cplusplus
10180 extern "C"
10181 #endif
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10184 char dlopen ();
10185 int
10186 main ()
10187 {
10188 dlopen ();
10189 ;
10190 return 0;
10191 }
10192 _ACEOF
10193 rm -f conftest.$ac_objext conftest$ac_exeext
10194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10195 (eval $ac_link) 2>conftest.er1
10196 ac_status=$?
10197 grep -v '^ *+' conftest.er1 >conftest.err
10198 rm -f conftest.er1
10199 cat conftest.err >&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -z "$ac_c_werror_flag"
10203 || test ! -s conftest.err'
10204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10205 (eval $ac_try) 2>&5
10206 ac_status=$?
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; } &&
10209 { ac_try='test -s conftest$ac_exeext'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10212 ac_status=$?
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; }; then
10215 ac_cv_lib_dl_dlopen=yes
10216 else
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10219
10220 ac_cv_lib_dl_dlopen=no
10221 fi
10222 rm -f conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_lib_save_LIBS
10225 fi
10226 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10227 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10228 if test $ac_cv_lib_dl_dlopen = yes; then
10229 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10230 else
10231
10232 lt_cv_dlopen="dyld"
10233 lt_cv_dlopen_libs=
10234 lt_cv_dlopen_self=yes
10235
10236 fi
10237
10238 ;;
10239
10240 *)
10241 echo "$as_me:$LINENO: checking for shl_load" >&5
10242 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10243 if test "${ac_cv_func_shl_load+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 else
10246 if test x$gcc_no_link = xyes; then
10247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10249 { (exit 1); exit 1; }; }
10250 fi
10251 cat >conftest.$ac_ext <<_ACEOF
10252 /* confdefs.h. */
10253 _ACEOF
10254 cat confdefs.h >>conftest.$ac_ext
10255 cat >>conftest.$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10259 #define shl_load innocuous_shl_load
10260
10261 /* System header to define __stub macros and hopefully few prototypes,
10262 which can conflict with char shl_load (); below.
10263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10264 <limits.h> exists even on freestanding compilers. */
10265
10266 #ifdef __STDC__
10267 # include <limits.h>
10268 #else
10269 # include <assert.h>
10270 #endif
10271
10272 #undef shl_load
10273
10274 /* Override any gcc2 internal prototype to avoid an error. */
10275 #ifdef __cplusplus
10276 extern "C"
10277 {
10278 #endif
10279 /* We use char because int might match the return type of a gcc2
10280 builtin and then its argument prototype would still apply. */
10281 char shl_load ();
10282 /* The GNU C library defines this for functions which it implements
10283 to always fail with ENOSYS. Some functions are actually named
10284 something starting with __ and the normal name is an alias. */
10285 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10286 choke me
10287 #else
10288 char (*f) () = shl_load;
10289 #endif
10290 #ifdef __cplusplus
10291 }
10292 #endif
10293
10294 int
10295 main ()
10296 {
10297 return f != shl_load;
10298 ;
10299 return 0;
10300 }
10301 _ACEOF
10302 rm -f conftest.$ac_objext conftest$ac_exeext
10303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10304 (eval $ac_link) 2>conftest.er1
10305 ac_status=$?
10306 grep -v '^ *+' conftest.er1 >conftest.err
10307 rm -f conftest.er1
10308 cat conftest.err >&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } &&
10311 { ac_try='test -z "$ac_c_werror_flag"
10312 || test ! -s conftest.err'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10315 ac_status=$?
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; } &&
10318 { ac_try='test -s conftest$ac_exeext'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; }; then
10324 ac_cv_func_shl_load=yes
10325 else
10326 echo "$as_me: failed program was:" >&5
10327 sed 's/^/| /' conftest.$ac_ext >&5
10328
10329 ac_cv_func_shl_load=no
10330 fi
10331 rm -f conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 fi
10334 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10335 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10336 if test $ac_cv_func_shl_load = yes; then
10337 lt_cv_dlopen="shl_load"
10338 else
10339 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10340 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10341 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 else
10344 ac_check_lib_save_LIBS=$LIBS
10345 LIBS="-ldld $LIBS"
10346 if test x$gcc_no_link = xyes; then
10347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10349 { (exit 1); exit 1; }; }
10350 fi
10351 cat >conftest.$ac_ext <<_ACEOF
10352 /* confdefs.h. */
10353 _ACEOF
10354 cat confdefs.h >>conftest.$ac_ext
10355 cat >>conftest.$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10357
10358 /* Override any gcc2 internal prototype to avoid an error. */
10359 #ifdef __cplusplus
10360 extern "C"
10361 #endif
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10364 char shl_load ();
10365 int
10366 main ()
10367 {
10368 shl_load ();
10369 ;
10370 return 0;
10371 }
10372 _ACEOF
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375 (eval $ac_link) 2>conftest.er1
10376 ac_status=$?
10377 grep -v '^ *+' conftest.er1 >conftest.err
10378 rm -f conftest.er1
10379 cat conftest.err >&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try='test -z "$ac_c_werror_flag"
10383 || test ! -s conftest.err'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; } &&
10389 { ac_try='test -s conftest$ac_exeext'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; }; then
10395 ac_cv_lib_dld_shl_load=yes
10396 else
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10399
10400 ac_cv_lib_dld_shl_load=no
10401 fi
10402 rm -f conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_lib_save_LIBS
10405 fi
10406 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10407 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10408 if test $ac_cv_lib_dld_shl_load = yes; then
10409 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10410 else
10411 echo "$as_me:$LINENO: checking for dlopen" >&5
10412 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10413 if test "${ac_cv_func_dlopen+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 else
10416 if test x$gcc_no_link = xyes; then
10417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10419 { (exit 1); exit 1; }; }
10420 fi
10421 cat >conftest.$ac_ext <<_ACEOF
10422 /* confdefs.h. */
10423 _ACEOF
10424 cat confdefs.h >>conftest.$ac_ext
10425 cat >>conftest.$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10427 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10429 #define dlopen innocuous_dlopen
10430
10431 /* System header to define __stub macros and hopefully few prototypes,
10432 which can conflict with char dlopen (); below.
10433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10434 <limits.h> exists even on freestanding compilers. */
10435
10436 #ifdef __STDC__
10437 # include <limits.h>
10438 #else
10439 # include <assert.h>
10440 #endif
10441
10442 #undef dlopen
10443
10444 /* Override any gcc2 internal prototype to avoid an error. */
10445 #ifdef __cplusplus
10446 extern "C"
10447 {
10448 #endif
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10451 char dlopen ();
10452 /* The GNU C library defines this for functions which it implements
10453 to always fail with ENOSYS. Some functions are actually named
10454 something starting with __ and the normal name is an alias. */
10455 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10456 choke me
10457 #else
10458 char (*f) () = dlopen;
10459 #endif
10460 #ifdef __cplusplus
10461 }
10462 #endif
10463
10464 int
10465 main ()
10466 {
10467 return f != dlopen;
10468 ;
10469 return 0;
10470 }
10471 _ACEOF
10472 rm -f conftest.$ac_objext conftest$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10475 ac_status=$?
10476 grep -v '^ *+' conftest.er1 >conftest.err
10477 rm -f conftest.er1
10478 cat conftest.err >&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try='test -z "$ac_c_werror_flag"
10482 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10485 ac_status=$?
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } &&
10488 { ac_try='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10491 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 ac_cv_func_dlopen=yes
10495 else
10496 echo "$as_me: failed program was:" >&5
10497 sed 's/^/| /' conftest.$ac_ext >&5
10498
10499 ac_cv_func_dlopen=no
10500 fi
10501 rm -f conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 fi
10504 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10505 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10506 if test $ac_cv_func_dlopen = yes; then
10507 lt_cv_dlopen="dlopen"
10508 else
10509 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10510 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10511 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 ac_check_lib_save_LIBS=$LIBS
10515 LIBS="-ldl $LIBS"
10516 if test x$gcc_no_link = xyes; then
10517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10519 { (exit 1); exit 1; }; }
10520 fi
10521 cat >conftest.$ac_ext <<_ACEOF
10522 /* confdefs.h. */
10523 _ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10527
10528 /* Override any gcc2 internal prototype to avoid an error. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10534 char dlopen ();
10535 int
10536 main ()
10537 {
10538 dlopen ();
10539 ;
10540 return 0;
10541 }
10542 _ACEOF
10543 rm -f conftest.$ac_objext conftest$ac_exeext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10545 (eval $ac_link) 2>conftest.er1
10546 ac_status=$?
10547 grep -v '^ *+' conftest.er1 >conftest.err
10548 rm -f conftest.er1
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 { ac_try='test -z "$ac_c_werror_flag"
10553 || test ! -s conftest.err'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10556 ac_status=$?
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; } &&
10559 { ac_try='test -s conftest$ac_exeext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10562 ac_status=$?
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 ac_cv_lib_dl_dlopen=yes
10566 else
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10569
10570 ac_cv_lib_dl_dlopen=no
10571 fi
10572 rm -f conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_lib_save_LIBS
10575 fi
10576 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10577 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10578 if test $ac_cv_lib_dl_dlopen = yes; then
10579 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10580 else
10581 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10582 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10583 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 ac_check_lib_save_LIBS=$LIBS
10587 LIBS="-lsvld $LIBS"
10588 if test x$gcc_no_link = xyes; then
10589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10591 { (exit 1); exit 1; }; }
10592 fi
10593 cat >conftest.$ac_ext <<_ACEOF
10594 /* confdefs.h. */
10595 _ACEOF
10596 cat confdefs.h >>conftest.$ac_ext
10597 cat >>conftest.$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 #ifdef __cplusplus
10602 extern "C"
10603 #endif
10604 /* We use char because int might match the return type of a gcc2
10605 builtin and then its argument prototype would still apply. */
10606 char dlopen ();
10607 int
10608 main ()
10609 {
10610 dlopen ();
10611 ;
10612 return 0;
10613 }
10614 _ACEOF
10615 rm -f conftest.$ac_objext conftest$ac_exeext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10617 (eval $ac_link) 2>conftest.er1
10618 ac_status=$?
10619 grep -v '^ *+' conftest.er1 >conftest.err
10620 rm -f conftest.er1
10621 cat conftest.err >&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try='test -z "$ac_c_werror_flag"
10625 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10628 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try='test -s conftest$ac_exeext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10634 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_lib_svld_dlopen=yes
10638 else
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10641
10642 ac_cv_lib_svld_dlopen=no
10643 fi
10644 rm -f conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_lib_save_LIBS
10647 fi
10648 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10649 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10650 if test $ac_cv_lib_svld_dlopen = yes; then
10651 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10652 else
10653 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10654 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10655 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 else
10658 ac_check_lib_save_LIBS=$LIBS
10659 LIBS="-ldld $LIBS"
10660 if test x$gcc_no_link = xyes; then
10661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10663 { (exit 1); exit 1; }; }
10664 fi
10665 cat >conftest.$ac_ext <<_ACEOF
10666 /* confdefs.h. */
10667 _ACEOF
10668 cat confdefs.h >>conftest.$ac_ext
10669 cat >>conftest.$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10671
10672 /* Override any gcc2 internal prototype to avoid an error. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 /* We use char because int might match the return type of a gcc2
10677 builtin and then its argument prototype would still apply. */
10678 char dld_link ();
10679 int
10680 main ()
10681 {
10682 dld_link ();
10683 ;
10684 return 0;
10685 }
10686 _ACEOF
10687 rm -f conftest.$ac_objext conftest$ac_exeext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10689 (eval $ac_link) 2>conftest.er1
10690 ac_status=$?
10691 grep -v '^ *+' conftest.er1 >conftest.err
10692 rm -f conftest.er1
10693 cat conftest.err >&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try='test -z "$ac_c_werror_flag"
10697 || test ! -s conftest.err'
10698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10699 (eval $ac_try) 2>&5
10700 ac_status=$?
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); }; } &&
10703 { ac_try='test -s conftest$ac_exeext'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10706 ac_status=$?
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; }; then
10709 ac_cv_lib_dld_dld_link=yes
10710 else
10711 echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
10713
10714 ac_cv_lib_dld_dld_link=no
10715 fi
10716 rm -f conftest.err conftest.$ac_objext \
10717 conftest$ac_exeext conftest.$ac_ext
10718 LIBS=$ac_check_lib_save_LIBS
10719 fi
10720 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10721 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10722 if test $ac_cv_lib_dld_dld_link = yes; then
10723 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10724 fi
10725
10726
10727 fi
10728
10729
10730 fi
10731
10732
10733 fi
10734
10735
10736 fi
10737
10738
10739 fi
10740
10741 ;;
10742 esac
10743
10744 if test "x$lt_cv_dlopen" != xno; then
10745 enable_dlopen=yes
10746 else
10747 enable_dlopen=no
10748 fi
10749
10750 case $lt_cv_dlopen in
10751 dlopen)
10752 save_CPPFLAGS="$CPPFLAGS"
10753 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10754
10755 save_LDFLAGS="$LDFLAGS"
10756 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10757
10758 save_LIBS="$LIBS"
10759 LIBS="$lt_cv_dlopen_libs $LIBS"
10760
10761 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10762 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10763 if test "${lt_cv_dlopen_self+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 else
10766 if test "$cross_compiling" = yes; then :
10767 lt_cv_dlopen_self=cross
10768 else
10769 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10770 lt_status=$lt_dlunknown
10771 cat > conftest.$ac_ext <<_LT_EOF
10772 #line 10772 "configure"
10773 #include "confdefs.h"
10774
10775 #if HAVE_DLFCN_H
10776 #include <dlfcn.h>
10777 #endif
10778
10779 #include <stdio.h>
10780
10781 #ifdef RTLD_GLOBAL
10782 # define LT_DLGLOBAL RTLD_GLOBAL
10783 #else
10784 # ifdef DL_GLOBAL
10785 # define LT_DLGLOBAL DL_GLOBAL
10786 # else
10787 # define LT_DLGLOBAL 0
10788 # endif
10789 #endif
10790
10791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10792 find out it does not work in some platform. */
10793 #ifndef LT_DLLAZY_OR_NOW
10794 # ifdef RTLD_LAZY
10795 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10796 # else
10797 # ifdef DL_LAZY
10798 # define LT_DLLAZY_OR_NOW DL_LAZY
10799 # else
10800 # ifdef RTLD_NOW
10801 # define LT_DLLAZY_OR_NOW RTLD_NOW
10802 # else
10803 # ifdef DL_NOW
10804 # define LT_DLLAZY_OR_NOW DL_NOW
10805 # else
10806 # define LT_DLLAZY_OR_NOW 0
10807 # endif
10808 # endif
10809 # endif
10810 # endif
10811 #endif
10812
10813 #ifdef __cplusplus
10814 extern "C" void exit (int);
10815 #endif
10816
10817 void fnord() { int i=42;}
10818 int main ()
10819 {
10820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10821 int status = $lt_dlunknown;
10822
10823 if (self)
10824 {
10825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10826 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10827 /* dlclose (self); */
10828 }
10829 else
10830 puts (dlerror ());
10831
10832 exit (status);
10833 }
10834 _LT_EOF
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>&5
10837 ac_status=$?
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10840 (./conftest; exit; ) >&5 2>/dev/null
10841 lt_status=$?
10842 case x$lt_status in
10843 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10844 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10845 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10846 esac
10847 else :
10848 # compilation failed
10849 lt_cv_dlopen_self=no
10850 fi
10851 fi
10852 rm -fr conftest*
10853
10854
10855 fi
10856 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10857 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10858
10859 if test "x$lt_cv_dlopen_self" = xyes; then
10860 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10861 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10862 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10863 if test "${lt_cv_dlopen_self_static+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 else
10866 if test "$cross_compiling" = yes; then :
10867 lt_cv_dlopen_self_static=cross
10868 else
10869 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10870 lt_status=$lt_dlunknown
10871 cat > conftest.$ac_ext <<_LT_EOF
10872 #line 10872 "configure"
10873 #include "confdefs.h"
10874
10875 #if HAVE_DLFCN_H
10876 #include <dlfcn.h>
10877 #endif
10878
10879 #include <stdio.h>
10880
10881 #ifdef RTLD_GLOBAL
10882 # define LT_DLGLOBAL RTLD_GLOBAL
10883 #else
10884 # ifdef DL_GLOBAL
10885 # define LT_DLGLOBAL DL_GLOBAL
10886 # else
10887 # define LT_DLGLOBAL 0
10888 # endif
10889 #endif
10890
10891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10892 find out it does not work in some platform. */
10893 #ifndef LT_DLLAZY_OR_NOW
10894 # ifdef RTLD_LAZY
10895 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10896 # else
10897 # ifdef DL_LAZY
10898 # define LT_DLLAZY_OR_NOW DL_LAZY
10899 # else
10900 # ifdef RTLD_NOW
10901 # define LT_DLLAZY_OR_NOW RTLD_NOW
10902 # else
10903 # ifdef DL_NOW
10904 # define LT_DLLAZY_OR_NOW DL_NOW
10905 # else
10906 # define LT_DLLAZY_OR_NOW 0
10907 # endif
10908 # endif
10909 # endif
10910 # endif
10911 #endif
10912
10913 #ifdef __cplusplus
10914 extern "C" void exit (int);
10915 #endif
10916
10917 void fnord() { int i=42;}
10918 int main ()
10919 {
10920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10921 int status = $lt_dlunknown;
10922
10923 if (self)
10924 {
10925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10926 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10927 /* dlclose (self); */
10928 }
10929 else
10930 puts (dlerror ());
10931
10932 exit (status);
10933 }
10934 _LT_EOF
10935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936 (eval $ac_link) 2>&5
10937 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10940 (./conftest; exit; ) >&5 2>/dev/null
10941 lt_status=$?
10942 case x$lt_status in
10943 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10944 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10945 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10946 esac
10947 else :
10948 # compilation failed
10949 lt_cv_dlopen_self_static=no
10950 fi
10951 fi
10952 rm -fr conftest*
10953
10954
10955 fi
10956 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10957 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10958 fi
10959
10960 CPPFLAGS="$save_CPPFLAGS"
10961 LDFLAGS="$save_LDFLAGS"
10962 LIBS="$save_LIBS"
10963 ;;
10964 esac
10965
10966 case $lt_cv_dlopen_self in
10967 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10968 *) enable_dlopen_self=unknown ;;
10969 esac
10970
10971 case $lt_cv_dlopen_self_static in
10972 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10973 *) enable_dlopen_self_static=unknown ;;
10974 esac
10975 fi
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993 striplib=
10994 old_striplib=
10995 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10996 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10997 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10998 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10999 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11000 echo "$as_me:$LINENO: result: yes" >&5
11001 echo "${ECHO_T}yes" >&6
11002 else
11003 # FIXME - insert some real tests, host_os isn't really good enough
11004 case $host_os in
11005 darwin*)
11006 if test -n "$STRIP" ; then
11007 striplib="$STRIP -x"
11008 old_striplib="$STRIP -S"
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11011 else
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11014 fi
11015 ;;
11016 *)
11017 echo "$as_me:$LINENO: result: no" >&5
11018 echo "${ECHO_T}no" >&6
11019 ;;
11020 esac
11021 fi
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034 # Report which library types will actually be built
11035 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11036 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11037 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11038 echo "${ECHO_T}$can_build_shared" >&6
11039
11040 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11041 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11042 test "$can_build_shared" = "no" && enable_shared=no
11043
11044 # On AIX, shared libraries and static libraries use the same namespace, and
11045 # are all built from PIC.
11046 case $host_os in
11047 aix3*)
11048 test "$enable_shared" = yes && enable_static=no
11049 if test -n "$RANLIB"; then
11050 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11051 postinstall_cmds='$RANLIB $lib'
11052 fi
11053 ;;
11054
11055 aix[4-9]*)
11056 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11057 test "$enable_shared" = yes && enable_static=no
11058 fi
11059 ;;
11060 esac
11061 echo "$as_me:$LINENO: result: $enable_shared" >&5
11062 echo "${ECHO_T}$enable_shared" >&6
11063
11064 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11065 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11066 # Make sure either enable_shared or enable_static is yes.
11067 test "$enable_shared" = yes || enable_static=yes
11068 echo "$as_me:$LINENO: result: $enable_static" >&5
11069 echo "${ECHO_T}$enable_static" >&6
11070
11071
11072
11073
11074 fi
11075 ac_ext=c
11076 ac_cpp='$CPP $CPPFLAGS'
11077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11080
11081 CC="$lt_save_CC"
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095 ac_config_commands="$ac_config_commands libtool"
11096
11097
11098
11099
11100 # Only expand once:
11101
11102
11103 for ac_prog in gawk mawk nawk awk
11104 do
11105 # Extract the first word of "$ac_prog", so it can be a program name with args.
11106 set dummy $ac_prog; ac_word=$2
11107 echo "$as_me:$LINENO: checking for $ac_word" >&5
11108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11109 if test "${ac_cv_prog_AWK+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 else
11112 if test -n "$AWK"; then
11113 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11114 else
11115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11116 for as_dir in $PATH
11117 do
11118 IFS=$as_save_IFS
11119 test -z "$as_dir" && as_dir=.
11120 for ac_exec_ext in '' $ac_executable_extensions; do
11121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11122 ac_cv_prog_AWK="$ac_prog"
11123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11124 break 2
11125 fi
11126 done
11127 done
11128
11129 fi
11130 fi
11131 AWK=$ac_cv_prog_AWK
11132 if test -n "$AWK"; then
11133 echo "$as_me:$LINENO: result: $AWK" >&5
11134 echo "${ECHO_T}$AWK" >&6
11135 else
11136 echo "$as_me:$LINENO: result: no" >&5
11137 echo "${ECHO_T}no" >&6
11138 fi
11139
11140 test -n "$AWK" && break
11141 done
11142
11143 ac_ext=c
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11148 if test -n "$ac_tool_prefix"; then
11149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11150 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11151 echo "$as_me:$LINENO: checking for $ac_word" >&5
11152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11153 if test "${ac_cv_prog_CC+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 else
11156 if test -n "$CC"; then
11157 ac_cv_prog_CC="$CC" # Let the user override the test.
11158 else
11159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11160 for as_dir in $PATH
11161 do
11162 IFS=$as_save_IFS
11163 test -z "$as_dir" && as_dir=.
11164 for ac_exec_ext in '' $ac_executable_extensions; do
11165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11166 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11168 break 2
11169 fi
11170 done
11171 done
11172
11173 fi
11174 fi
11175 CC=$ac_cv_prog_CC
11176 if test -n "$CC"; then
11177 echo "$as_me:$LINENO: result: $CC" >&5
11178 echo "${ECHO_T}$CC" >&6
11179 else
11180 echo "$as_me:$LINENO: result: no" >&5
11181 echo "${ECHO_T}no" >&6
11182 fi
11183
11184 fi
11185 if test -z "$ac_cv_prog_CC"; then
11186 ac_ct_CC=$CC
11187 # Extract the first word of "gcc", so it can be a program name with args.
11188 set dummy gcc; ac_word=$2
11189 echo "$as_me:$LINENO: checking for $ac_word" >&5
11190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11191 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 else
11194 if test -n "$ac_ct_CC"; then
11195 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11196 else
11197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11198 for as_dir in $PATH
11199 do
11200 IFS=$as_save_IFS
11201 test -z "$as_dir" && as_dir=.
11202 for ac_exec_ext in '' $ac_executable_extensions; do
11203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_ac_ct_CC="gcc"
11205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11206 break 2
11207 fi
11208 done
11209 done
11210
11211 fi
11212 fi
11213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11214 if test -n "$ac_ct_CC"; then
11215 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11216 echo "${ECHO_T}$ac_ct_CC" >&6
11217 else
11218 echo "$as_me:$LINENO: result: no" >&5
11219 echo "${ECHO_T}no" >&6
11220 fi
11221
11222 CC=$ac_ct_CC
11223 else
11224 CC="$ac_cv_prog_CC"
11225 fi
11226
11227 if test -z "$CC"; then
11228 if test -n "$ac_tool_prefix"; then
11229 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11230 set dummy ${ac_tool_prefix}cc; ac_word=$2
11231 echo "$as_me:$LINENO: checking for $ac_word" >&5
11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11233 if test "${ac_cv_prog_CC+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 if test -n "$CC"; then
11237 ac_cv_prog_CC="$CC" # Let the user override the test.
11238 else
11239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11240 for as_dir in $PATH
11241 do
11242 IFS=$as_save_IFS
11243 test -z "$as_dir" && as_dir=.
11244 for ac_exec_ext in '' $ac_executable_extensions; do
11245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11246 ac_cv_prog_CC="${ac_tool_prefix}cc"
11247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11248 break 2
11249 fi
11250 done
11251 done
11252
11253 fi
11254 fi
11255 CC=$ac_cv_prog_CC
11256 if test -n "$CC"; then
11257 echo "$as_me:$LINENO: result: $CC" >&5
11258 echo "${ECHO_T}$CC" >&6
11259 else
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11262 fi
11263
11264 fi
11265 if test -z "$ac_cv_prog_CC"; then
11266 ac_ct_CC=$CC
11267 # Extract the first word of "cc", so it can be a program name with args.
11268 set dummy cc; ac_word=$2
11269 echo "$as_me:$LINENO: checking for $ac_word" >&5
11270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274 if test -n "$ac_ct_CC"; then
11275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11276 else
11277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11278 for as_dir in $PATH
11279 do
11280 IFS=$as_save_IFS
11281 test -z "$as_dir" && as_dir=.
11282 for ac_exec_ext in '' $ac_executable_extensions; do
11283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_prog_ac_ct_CC="cc"
11285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 break 2
11287 fi
11288 done
11289 done
11290
11291 fi
11292 fi
11293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11294 if test -n "$ac_ct_CC"; then
11295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11296 echo "${ECHO_T}$ac_ct_CC" >&6
11297 else
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11300 fi
11301
11302 CC=$ac_ct_CC
11303 else
11304 CC="$ac_cv_prog_CC"
11305 fi
11306
11307 fi
11308 if test -z "$CC"; then
11309 # Extract the first word of "cc", so it can be a program name with args.
11310 set dummy cc; ac_word=$2
11311 echo "$as_me:$LINENO: checking for $ac_word" >&5
11312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11313 if test "${ac_cv_prog_CC+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316 if test -n "$CC"; then
11317 ac_cv_prog_CC="$CC" # Let the user override the test.
11318 else
11319 ac_prog_rejected=no
11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11321 for as_dir in $PATH
11322 do
11323 IFS=$as_save_IFS
11324 test -z "$as_dir" && as_dir=.
11325 for ac_exec_ext in '' $ac_executable_extensions; do
11326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11327 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11328 ac_prog_rejected=yes
11329 continue
11330 fi
11331 ac_cv_prog_CC="cc"
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11333 break 2
11334 fi
11335 done
11336 done
11337
11338 if test $ac_prog_rejected = yes; then
11339 # We found a bogon in the path, so make sure we never use it.
11340 set dummy $ac_cv_prog_CC
11341 shift
11342 if test $# != 0; then
11343 # We chose a different compiler from the bogus one.
11344 # However, it has the same basename, so the bogon will be chosen
11345 # first if we set CC to just the basename; use the full file name.
11346 shift
11347 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11348 fi
11349 fi
11350 fi
11351 fi
11352 CC=$ac_cv_prog_CC
11353 if test -n "$CC"; then
11354 echo "$as_me:$LINENO: result: $CC" >&5
11355 echo "${ECHO_T}$CC" >&6
11356 else
11357 echo "$as_me:$LINENO: result: no" >&5
11358 echo "${ECHO_T}no" >&6
11359 fi
11360
11361 fi
11362 if test -z "$CC"; then
11363 if test -n "$ac_tool_prefix"; then
11364 for ac_prog in cl
11365 do
11366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11367 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11368 echo "$as_me:$LINENO: checking for $ac_word" >&5
11369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370 if test "${ac_cv_prog_CC+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 if test -n "$CC"; then
11374 ac_cv_prog_CC="$CC" # Let the user override the test.
11375 else
11376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377 for as_dir in $PATH
11378 do
11379 IFS=$as_save_IFS
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11385 break 2
11386 fi
11387 done
11388 done
11389
11390 fi
11391 fi
11392 CC=$ac_cv_prog_CC
11393 if test -n "$CC"; then
11394 echo "$as_me:$LINENO: result: $CC" >&5
11395 echo "${ECHO_T}$CC" >&6
11396 else
11397 echo "$as_me:$LINENO: result: no" >&5
11398 echo "${ECHO_T}no" >&6
11399 fi
11400
11401 test -n "$CC" && break
11402 done
11403 fi
11404 if test -z "$CC"; then
11405 ac_ct_CC=$CC
11406 for ac_prog in cl
11407 do
11408 # Extract the first word of "$ac_prog", so it can be a program name with args.
11409 set dummy $ac_prog; ac_word=$2
11410 echo "$as_me:$LINENO: checking for $ac_word" >&5
11411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11414 else
11415 if test -n "$ac_ct_CC"; then
11416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11417 else
11418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11419 for as_dir in $PATH
11420 do
11421 IFS=$as_save_IFS
11422 test -z "$as_dir" && as_dir=.
11423 for ac_exec_ext in '' $ac_executable_extensions; do
11424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11425 ac_cv_prog_ac_ct_CC="$ac_prog"
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 break 2
11428 fi
11429 done
11430 done
11431
11432 fi
11433 fi
11434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11435 if test -n "$ac_ct_CC"; then
11436 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11437 echo "${ECHO_T}$ac_ct_CC" >&6
11438 else
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11441 fi
11442
11443 test -n "$ac_ct_CC" && break
11444 done
11445
11446 CC=$ac_ct_CC
11447 fi
11448
11449 fi
11450
11451
11452 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11453 echo "$as_me: error: in \`$ac_pwd':" >&2;}
11454 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11455 See \`config.log' for more details." >&5
11456 echo "$as_me: error: no acceptable C compiler found in \$PATH
11457 See \`config.log' for more details." >&2;}
11458 { (exit 1); exit 1; }; }; }
11459
11460 # Provide some information about the compiler.
11461 echo "$as_me:$LINENO:" \
11462 "checking for C compiler version" >&5
11463 ac_compiler=`set X $ac_compile; echo $2`
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11465 (eval $ac_compiler --version </dev/null >&5) 2>&5
11466 ac_status=$?
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11470 (eval $ac_compiler -v </dev/null >&5) 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11475 (eval $ac_compiler -V </dev/null >&5) 2>&5
11476 ac_status=$?
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11479
11480 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11481 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11482 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11484 else
11485 cat >conftest.$ac_ext <<_ACEOF
11486 /* confdefs.h. */
11487 _ACEOF
11488 cat confdefs.h >>conftest.$ac_ext
11489 cat >>conftest.$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11491
11492 int
11493 main ()
11494 {
11495 #ifndef __GNUC__
11496 choke me
11497 #endif
11498
11499 ;
11500 return 0;
11501 }
11502 _ACEOF
11503 rm -f conftest.$ac_objext
11504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11505 (eval $ac_compile) 2>conftest.er1
11506 ac_status=$?
11507 grep -v '^ *+' conftest.er1 >conftest.err
11508 rm -f conftest.er1
11509 cat conftest.err >&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } &&
11512 { ac_try='test -z "$ac_c_werror_flag"
11513 || test ! -s conftest.err'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5
11516 ac_status=$?
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; } &&
11519 { ac_try='test -s conftest.$ac_objext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11522 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 ac_compiler_gnu=yes
11526 else
11527 echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.$ac_ext >&5
11529
11530 ac_compiler_gnu=no
11531 fi
11532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11534
11535 fi
11536 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11537 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11538 GCC=`test $ac_compiler_gnu = yes && echo yes`
11539 ac_test_CFLAGS=${CFLAGS+set}
11540 ac_save_CFLAGS=$CFLAGS
11541 CFLAGS="-g"
11542 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11544 if test "${ac_cv_prog_cc_g+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 else
11547 cat >conftest.$ac_ext <<_ACEOF
11548 /* confdefs.h. */
11549 _ACEOF
11550 cat confdefs.h >>conftest.$ac_ext
11551 cat >>conftest.$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553
11554 int
11555 main ()
11556 {
11557
11558 ;
11559 return 0;
11560 }
11561 _ACEOF
11562 rm -f conftest.$ac_objext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564 (eval $ac_compile) 2>conftest.er1
11565 ac_status=$?
11566 grep -v '^ *+' conftest.er1 >conftest.err
11567 rm -f conftest.er1
11568 cat conftest.err >&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } &&
11571 { ac_try='test -z "$ac_c_werror_flag"
11572 || test ! -s conftest.err'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11575 ac_status=$?
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; } &&
11578 { ac_try='test -s conftest.$ac_objext'
11579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11580 (eval $ac_try) 2>&5
11581 ac_status=$?
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; }; then
11584 ac_cv_prog_cc_g=yes
11585 else
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11588
11589 ac_cv_prog_cc_g=no
11590 fi
11591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11592 fi
11593 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11594 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11595 if test "$ac_test_CFLAGS" = set; then
11596 CFLAGS=$ac_save_CFLAGS
11597 elif test $ac_cv_prog_cc_g = yes; then
11598 if test "$GCC" = yes; then
11599 CFLAGS="-g -O2"
11600 else
11601 CFLAGS="-g"
11602 fi
11603 else
11604 if test "$GCC" = yes; then
11605 CFLAGS="-O2"
11606 else
11607 CFLAGS=
11608 fi
11609 fi
11610 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11611 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11612 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11615 ac_cv_prog_cc_stdc=no
11616 ac_save_CC=$CC
11617 cat >conftest.$ac_ext <<_ACEOF
11618 /* confdefs.h. */
11619 _ACEOF
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11623 #include <stdarg.h>
11624 #include <stdio.h>
11625 #include <sys/types.h>
11626 #include <sys/stat.h>
11627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11628 struct buf { int x; };
11629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11630 static char *e (p, i)
11631 char **p;
11632 int i;
11633 {
11634 return p[i];
11635 }
11636 static char *f (char * (*g) (char **, int), char **p, ...)
11637 {
11638 char *s;
11639 va_list v;
11640 va_start (v,p);
11641 s = g (p, va_arg (v,int));
11642 va_end (v);
11643 return s;
11644 }
11645
11646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11647 function prototypes and stuff, but not '\xHH' hex character constants.
11648 These don't provoke an error unfortunately, instead are silently treated
11649 as 'x'. The following induces an error, until -std1 is added to get
11650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11651 array size at least. It's necessary to write '\x00'==0 to get something
11652 that's true only with -std1. */
11653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11654
11655 int test (int i, double x);
11656 struct s1 {int (*f) (int a);};
11657 struct s2 {int (*f) (double a);};
11658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11659 int argc;
11660 char **argv;
11661 int
11662 main ()
11663 {
11664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11665 ;
11666 return 0;
11667 }
11668 _ACEOF
11669 # Don't try gcc -ansi; that turns off useful extensions and
11670 # breaks some systems' header files.
11671 # AIX -qlanglvl=ansi
11672 # Ultrix and OSF/1 -std1
11673 # HP-UX 10.20 and later -Ae
11674 # HP-UX older versions -Aa -D_HPUX_SOURCE
11675 # SVR4 -Xc -D__EXTENSIONS__
11676 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11677 do
11678 CC="$ac_save_CC $ac_arg"
11679 rm -f conftest.$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681 (eval $ac_compile) 2>conftest.er1
11682 ac_status=$?
11683 grep -v '^ *+' conftest.er1 >conftest.err
11684 rm -f conftest.er1
11685 cat conftest.err >&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try='test -z "$ac_c_werror_flag"
11689 || test ! -s conftest.err'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11692 ac_status=$?
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try='test -s conftest.$ac_objext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11698 ac_status=$?
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 ac_cv_prog_cc_stdc=$ac_arg
11702 break
11703 else
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11706
11707 fi
11708 rm -f conftest.err conftest.$ac_objext
11709 done
11710 rm -f conftest.$ac_ext conftest.$ac_objext
11711 CC=$ac_save_CC
11712
11713 fi
11714
11715 case "x$ac_cv_prog_cc_stdc" in
11716 x|xno)
11717 echo "$as_me:$LINENO: result: none needed" >&5
11718 echo "${ECHO_T}none needed" >&6 ;;
11719 *)
11720 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11721 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11722 CC="$CC $ac_cv_prog_cc_stdc" ;;
11723 esac
11724
11725 # Some people use a C++ compiler to compile C. Since we use `exit',
11726 # in C++ we need to declare it. In case someone uses the same compiler
11727 # for both compiling C and C++ we need to have the C++ compiler decide
11728 # the declaration of exit, since it's the most demanding environment.
11729 cat >conftest.$ac_ext <<_ACEOF
11730 #ifndef __cplusplus
11731 choke me
11732 #endif
11733 _ACEOF
11734 rm -f conftest.$ac_objext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11736 (eval $ac_compile) 2>conftest.er1
11737 ac_status=$?
11738 grep -v '^ *+' conftest.er1 >conftest.err
11739 rm -f conftest.er1
11740 cat conftest.err >&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } &&
11743 { ac_try='test -z "$ac_c_werror_flag"
11744 || test ! -s conftest.err'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11747 ac_status=$?
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; } &&
11750 { ac_try='test -s conftest.$ac_objext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11753 ac_status=$?
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 for ac_declaration in \
11757 '' \
11758 'extern "C" void std::exit (int) throw (); using std::exit;' \
11759 'extern "C" void std::exit (int); using std::exit;' \
11760 'extern "C" void exit (int) throw ();' \
11761 'extern "C" void exit (int);' \
11762 'void exit (int);'
11763 do
11764 cat >conftest.$ac_ext <<_ACEOF
11765 /* confdefs.h. */
11766 _ACEOF
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770 $ac_declaration
11771 #include <stdlib.h>
11772 int
11773 main ()
11774 {
11775 exit (42);
11776 ;
11777 return 0;
11778 }
11779 _ACEOF
11780 rm -f conftest.$ac_objext
11781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11782 (eval $ac_compile) 2>conftest.er1
11783 ac_status=$?
11784 grep -v '^ *+' conftest.er1 >conftest.err
11785 rm -f conftest.er1
11786 cat conftest.err >&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } &&
11789 { ac_try='test -z "$ac_c_werror_flag"
11790 || test ! -s conftest.err'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11793 ac_status=$?
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; } &&
11796 { ac_try='test -s conftest.$ac_objext'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11802 :
11803 else
11804 echo "$as_me: failed program was:" >&5
11805 sed 's/^/| /' conftest.$ac_ext >&5
11806
11807 continue
11808 fi
11809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11810 cat >conftest.$ac_ext <<_ACEOF
11811 /* confdefs.h. */
11812 _ACEOF
11813 cat confdefs.h >>conftest.$ac_ext
11814 cat >>conftest.$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 $ac_declaration
11817 int
11818 main ()
11819 {
11820 exit (42);
11821 ;
11822 return 0;
11823 }
11824 _ACEOF
11825 rm -f conftest.$ac_objext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11827 (eval $ac_compile) 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try='test -z "$ac_c_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try='test -s conftest.$ac_objext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 break
11848 else
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11851
11852 fi
11853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11854 done
11855 rm -f conftest*
11856 if test -n "$ac_declaration"; then
11857 echo '#ifdef __cplusplus' >>confdefs.h
11858 echo $ac_declaration >>confdefs.h
11859 echo '#endif' >>confdefs.h
11860 fi
11861
11862 else
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11865
11866 fi
11867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11868 ac_ext=c
11869 ac_cpp='$CPP $CPPFLAGS'
11870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11873
11874 depcc="$CC" am_compiler_list=
11875
11876 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11877 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11878 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11882 # We make a subdir and do the tests there. Otherwise we can end up
11883 # making bogus files that we don't know about and never remove. For
11884 # instance it was reported that on HP-UX the gcc test will end up
11885 # making a dummy file named `D' -- because `-MD' means `put the output
11886 # in D'.
11887 mkdir conftest.dir
11888 # Copy depcomp to subdir because otherwise we won't find it if we're
11889 # using a relative directory.
11890 cp "$am_depcomp" conftest.dir
11891 cd conftest.dir
11892 # We will build objects and dependencies in a subdirectory because
11893 # it helps to detect inapplicable dependency modes. For instance
11894 # both Tru64's cc and ICC support -MD to output dependencies as a
11895 # side effect of compilation, but ICC will put the dependencies in
11896 # the current directory while Tru64 will put them in the object
11897 # directory.
11898 mkdir sub
11899
11900 am_cv_CC_dependencies_compiler_type=none
11901 if test "$am_compiler_list" = ""; then
11902 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11903 fi
11904 for depmode in $am_compiler_list; do
11905 # Setup a source with many dependencies, because some compilers
11906 # like to wrap large dependency lists on column 80 (with \), and
11907 # we should not choose a depcomp mode which is confused by this.
11908 #
11909 # We need to recreate these files for each test, as the compiler may
11910 # overwrite some of them when testing with obscure command lines.
11911 # This happens at least with the AIX C compiler.
11912 : > sub/conftest.c
11913 for i in 1 2 3 4 5 6; do
11914 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11915 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11916 # Solaris 8's {/usr,}/bin/sh.
11917 touch sub/conftst$i.h
11918 done
11919 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11920
11921 case $depmode in
11922 nosideeffect)
11923 # after this tag, mechanisms are not by side-effect, so they'll
11924 # only be used when explicitly requested
11925 if test "x$enable_dependency_tracking" = xyes; then
11926 continue
11927 else
11928 break
11929 fi
11930 ;;
11931 none) break ;;
11932 esac
11933 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11934 # mode. It turns out that the SunPro C++ compiler does not properly
11935 # handle `-M -o', and we need to detect this.
11936 if depmode=$depmode \
11937 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11938 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11939 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11940 >/dev/null 2>conftest.err &&
11941 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11942 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11943 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11944 # icc doesn't choke on unknown options, it will just issue warnings
11945 # or remarks (even with -Werror). So we grep stderr for any message
11946 # that says an option was ignored or not supported.
11947 # When given -MP, icc 7.0 and 7.1 complain thusly:
11948 # icc: Command line warning: ignoring option '-M'; no argument required
11949 # The diagnosis changed in icc 8.0:
11950 # icc: Command line remark: option '-MP' not supported
11951 if (grep 'ignoring option' conftest.err ||
11952 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11953 am_cv_CC_dependencies_compiler_type=$depmode
11954 break
11955 fi
11956 fi
11957 done
11958
11959 cd ..
11960 rm -rf conftest.dir
11961 else
11962 am_cv_CC_dependencies_compiler_type=none
11963 fi
11964
11965 fi
11966 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11967 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
11968 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11969
11970
11971
11972 if
11973 test "x$enable_dependency_tracking" != xno \
11974 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11975 am__fastdepCC_TRUE=
11976 am__fastdepCC_FALSE='#'
11977 else
11978 am__fastdepCC_TRUE='#'
11979 am__fastdepCC_FALSE=
11980 fi
11981
11982
11983 if test "x$CC" != xcc; then
11984 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11985 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
11986 else
11987 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11988 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
11989 fi
11990 set dummy $CC; ac_cc=`echo $2 |
11991 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11992 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 else
11995 cat >conftest.$ac_ext <<_ACEOF
11996 /* confdefs.h. */
11997 _ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001
12002 int
12003 main ()
12004 {
12005
12006 ;
12007 return 0;
12008 }
12009 _ACEOF
12010 # Make sure it works both with $CC and with simple cc.
12011 # We do the test twice because some compilers refuse to overwrite an
12012 # existing .o file with -o, though they will create one.
12013 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12014 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12016 ac_status=$?
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12021 ac_status=$?
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); };
12024 then
12025 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12026 if test "x$CC" != xcc; then
12027 # Test first that cc exists at all.
12028 if { ac_try='cc -c conftest.$ac_ext >&5'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12031 ac_status=$?
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
12035 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12037 ac_status=$?
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } &&
12040 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12042 ac_status=$?
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); };
12045 then
12046 # cc works too.
12047 :
12048 else
12049 # cc exists but doesn't like -o.
12050 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12051 fi
12052 fi
12053 fi
12054 else
12055 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12056 fi
12057 rm -f conftest*
12058
12059 fi
12060 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
12061 echo "$as_me:$LINENO: result: yes" >&5
12062 echo "${ECHO_T}yes" >&6
12063 else
12064 echo "$as_me:$LINENO: result: no" >&5
12065 echo "${ECHO_T}no" >&6
12066
12067 cat >>confdefs.h <<\_ACEOF
12068 #define NO_MINUS_C_MINUS_O 1
12069 _ACEOF
12070
12071 fi
12072
12073 # FIXME: we rely on the cache variable name because
12074 # there is no other way.
12075 set dummy $CC
12076 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12077 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12078 # Losing compiler, so override with the script.
12079 # FIXME: It is wrong to rewrite CC.
12080 # But if we don't then we get into trouble of one sort or another.
12081 # A longer-term fix would be to have automake use am__CC in this case,
12082 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12083 CC="$am_aux_dir/compile $CC"
12084 fi
12085
12086 ac_ext=c
12087 ac_cpp='$CPP $CPPFLAGS'
12088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12091 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12092 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12093 # On Suns, sometimes $CPP names a directory.
12094 if test -n "$CPP" && test -d "$CPP"; then
12095 CPP=
12096 fi
12097 if test -z "$CPP"; then
12098 if test "${ac_cv_prog_CPP+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 else
12101 # Double quotes because CPP needs to be expanded
12102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12103 do
12104 ac_preproc_ok=false
12105 for ac_c_preproc_warn_flag in '' yes
12106 do
12107 # Use a header file that comes with gcc, so configuring glibc
12108 # with a fresh cross-compiler works.
12109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12110 # <limits.h> exists even on freestanding compilers.
12111 # On the NeXT, cc -E runs the code through the compiler's parser,
12112 # not just through cpp. "Syntax error" is here to catch this case.
12113 cat >conftest.$ac_ext <<_ACEOF
12114 /* confdefs.h. */
12115 _ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12119 #ifdef __STDC__
12120 # include <limits.h>
12121 #else
12122 # include <assert.h>
12123 #endif
12124 Syntax error
12125 _ACEOF
12126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12128 ac_status=$?
12129 grep -v '^ *+' conftest.er1 >conftest.err
12130 rm -f conftest.er1
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } >/dev/null; then
12134 if test -s conftest.err; then
12135 ac_cpp_err=$ac_c_preproc_warn_flag
12136 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12137 else
12138 ac_cpp_err=
12139 fi
12140 else
12141 ac_cpp_err=yes
12142 fi
12143 if test -z "$ac_cpp_err"; then
12144 :
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12148
12149 # Broken: fails on valid input.
12150 continue
12151 fi
12152 rm -f conftest.err conftest.$ac_ext
12153
12154 # OK, works on sane cases. Now check whether non-existent headers
12155 # can be detected and how.
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <ac_nonexistent.h>
12163 _ACEOF
12164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } >/dev/null; then
12172 if test -s conftest.err; then
12173 ac_cpp_err=$ac_c_preproc_warn_flag
12174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12175 else
12176 ac_cpp_err=
12177 fi
12178 else
12179 ac_cpp_err=yes
12180 fi
12181 if test -z "$ac_cpp_err"; then
12182 # Broken: success on invalid input.
12183 continue
12184 else
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12187
12188 # Passes both tests.
12189 ac_preproc_ok=:
12190 break
12191 fi
12192 rm -f conftest.err conftest.$ac_ext
12193
12194 done
12195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12196 rm -f conftest.err conftest.$ac_ext
12197 if $ac_preproc_ok; then
12198 break
12199 fi
12200
12201 done
12202 ac_cv_prog_CPP=$CPP
12203
12204 fi
12205 CPP=$ac_cv_prog_CPP
12206 else
12207 ac_cv_prog_CPP=$CPP
12208 fi
12209 echo "$as_me:$LINENO: result: $CPP" >&5
12210 echo "${ECHO_T}$CPP" >&6
12211 ac_preproc_ok=false
12212 for ac_c_preproc_warn_flag in '' yes
12213 do
12214 # Use a header file that comes with gcc, so configuring glibc
12215 # with a fresh cross-compiler works.
12216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12217 # <limits.h> exists even on freestanding compilers.
12218 # On the NeXT, cc -E runs the code through the compiler's parser,
12219 # not just through cpp. "Syntax error" is here to catch this case.
12220 cat >conftest.$ac_ext <<_ACEOF
12221 /* confdefs.h. */
12222 _ACEOF
12223 cat confdefs.h >>conftest.$ac_ext
12224 cat >>conftest.$ac_ext <<_ACEOF
12225 /* end confdefs.h. */
12226 #ifdef __STDC__
12227 # include <limits.h>
12228 #else
12229 # include <assert.h>
12230 #endif
12231 Syntax error
12232 _ACEOF
12233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12235 ac_status=$?
12236 grep -v '^ *+' conftest.er1 >conftest.err
12237 rm -f conftest.er1
12238 cat conftest.err >&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } >/dev/null; then
12241 if test -s conftest.err; then
12242 ac_cpp_err=$ac_c_preproc_warn_flag
12243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12244 else
12245 ac_cpp_err=
12246 fi
12247 else
12248 ac_cpp_err=yes
12249 fi
12250 if test -z "$ac_cpp_err"; then
12251 :
12252 else
12253 echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.$ac_ext >&5
12255
12256 # Broken: fails on valid input.
12257 continue
12258 fi
12259 rm -f conftest.err conftest.$ac_ext
12260
12261 # OK, works on sane cases. Now check whether non-existent headers
12262 # can be detected and how.
12263 cat >conftest.$ac_ext <<_ACEOF
12264 /* confdefs.h. */
12265 _ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12269 #include <ac_nonexistent.h>
12270 _ACEOF
12271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12273 ac_status=$?
12274 grep -v '^ *+' conftest.er1 >conftest.err
12275 rm -f conftest.er1
12276 cat conftest.err >&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } >/dev/null; then
12279 if test -s conftest.err; then
12280 ac_cpp_err=$ac_c_preproc_warn_flag
12281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12282 else
12283 ac_cpp_err=
12284 fi
12285 else
12286 ac_cpp_err=yes
12287 fi
12288 if test -z "$ac_cpp_err"; then
12289 # Broken: success on invalid input.
12290 continue
12291 else
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.$ac_ext >&5
12294
12295 # Passes both tests.
12296 ac_preproc_ok=:
12297 break
12298 fi
12299 rm -f conftest.err conftest.$ac_ext
12300
12301 done
12302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12303 rm -f conftest.err conftest.$ac_ext
12304 if $ac_preproc_ok; then
12305 :
12306 else
12307 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12308 echo "$as_me: error: in \`$ac_pwd':" >&2;}
12309 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12310 See \`config.log' for more details." >&5
12311 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12312 See \`config.log' for more details." >&2;}
12313 { (exit 1); exit 1; }; }; }
12314 fi
12315
12316 ac_ext=c
12317 ac_cpp='$CPP $CPPFLAGS'
12318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12321
12322 ac_ext=cc
12323 ac_cpp='$CXXCPP $CPPFLAGS'
12324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12327 if test -n "$ac_tool_prefix"; then
12328 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12329 do
12330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12332 echo "$as_me:$LINENO: checking for $ac_word" >&5
12333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12334 if test "${ac_cv_prog_CXX+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 else
12337 if test -n "$CXX"; then
12338 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12339 else
12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12341 for as_dir in $PATH
12342 do
12343 IFS=$as_save_IFS
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12347 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12349 break 2
12350 fi
12351 done
12352 done
12353
12354 fi
12355 fi
12356 CXX=$ac_cv_prog_CXX
12357 if test -n "$CXX"; then
12358 echo "$as_me:$LINENO: result: $CXX" >&5
12359 echo "${ECHO_T}$CXX" >&6
12360 else
12361 echo "$as_me:$LINENO: result: no" >&5
12362 echo "${ECHO_T}no" >&6
12363 fi
12364
12365 test -n "$CXX" && break
12366 done
12367 fi
12368 if test -z "$CXX"; then
12369 ac_ct_CXX=$CXX
12370 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12371 do
12372 # Extract the first word of "$ac_prog", so it can be a program name with args.
12373 set dummy $ac_prog; ac_word=$2
12374 echo "$as_me:$LINENO: checking for $ac_word" >&5
12375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12376 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 else
12379 if test -n "$ac_ct_CXX"; then
12380 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12381 else
12382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12383 for as_dir in $PATH
12384 do
12385 IFS=$as_save_IFS
12386 test -z "$as_dir" && as_dir=.
12387 for ac_exec_ext in '' $ac_executable_extensions; do
12388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12389 ac_cv_prog_ac_ct_CXX="$ac_prog"
12390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12391 break 2
12392 fi
12393 done
12394 done
12395
12396 fi
12397 fi
12398 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12399 if test -n "$ac_ct_CXX"; then
12400 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12401 echo "${ECHO_T}$ac_ct_CXX" >&6
12402 else
12403 echo "$as_me:$LINENO: result: no" >&5
12404 echo "${ECHO_T}no" >&6
12405 fi
12406
12407 test -n "$ac_ct_CXX" && break
12408 done
12409 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12410
12411 CXX=$ac_ct_CXX
12412 fi
12413
12414
12415 # Provide some information about the compiler.
12416 echo "$as_me:$LINENO:" \
12417 "checking for C++ compiler version" >&5
12418 ac_compiler=`set X $ac_compile; echo $2`
12419 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12420 (eval $ac_compiler --version </dev/null >&5) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }
12424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12425 (eval $ac_compiler -v </dev/null >&5) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }
12429 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12430 (eval $ac_compiler -V </dev/null >&5) 2>&5
12431 ac_status=$?
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }
12434
12435 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12436 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12437 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 cat >conftest.$ac_ext <<_ACEOF
12441 /* confdefs.h. */
12442 _ACEOF
12443 cat confdefs.h >>conftest.$ac_ext
12444 cat >>conftest.$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12446
12447 int
12448 main ()
12449 {
12450 #ifndef __GNUC__
12451 choke me
12452 #endif
12453
12454 ;
12455 return 0;
12456 }
12457 _ACEOF
12458 rm -f conftest.$ac_objext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12460 (eval $ac_compile) 2>conftest.er1
12461 ac_status=$?
12462 grep -v '^ *+' conftest.er1 >conftest.err
12463 rm -f conftest.er1
12464 cat conftest.err >&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try='test -z "$ac_cxx_werror_flag"
12468 || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12471 ac_status=$?
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try='test -s conftest.$ac_objext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12477 ac_status=$?
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_compiler_gnu=yes
12481 else
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.$ac_ext >&5
12484
12485 ac_compiler_gnu=no
12486 fi
12487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12488 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12489
12490 fi
12491 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12492 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12493 GXX=`test $ac_compiler_gnu = yes && echo yes`
12494 ac_test_CXXFLAGS=${CXXFLAGS+set}
12495 ac_save_CXXFLAGS=$CXXFLAGS
12496 CXXFLAGS="-g"
12497 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12498 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12499 if test "${ac_cv_prog_cxx_g+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 else
12502 cat >conftest.$ac_ext <<_ACEOF
12503 /* confdefs.h. */
12504 _ACEOF
12505 cat confdefs.h >>conftest.$ac_ext
12506 cat >>conftest.$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12508
12509 int
12510 main ()
12511 {
12512
12513 ;
12514 return 0;
12515 }
12516 _ACEOF
12517 rm -f conftest.$ac_objext
12518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12519 (eval $ac_compile) 2>conftest.er1
12520 ac_status=$?
12521 grep -v '^ *+' conftest.er1 >conftest.err
12522 rm -f conftest.er1
12523 cat conftest.err >&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } &&
12526 { ac_try='test -z "$ac_cxx_werror_flag"
12527 || test ! -s conftest.err'
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); }; } &&
12533 { ac_try='test -s conftest.$ac_objext'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12536 ac_status=$?
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; }; then
12539 ac_cv_prog_cxx_g=yes
12540 else
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.$ac_ext >&5
12543
12544 ac_cv_prog_cxx_g=no
12545 fi
12546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12547 fi
12548 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12549 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12550 if test "$ac_test_CXXFLAGS" = set; then
12551 CXXFLAGS=$ac_save_CXXFLAGS
12552 elif test $ac_cv_prog_cxx_g = yes; then
12553 if test "$GXX" = yes; then
12554 CXXFLAGS="-g -O2"
12555 else
12556 CXXFLAGS="-g"
12557 fi
12558 else
12559 if test "$GXX" = yes; then
12560 CXXFLAGS="-O2"
12561 else
12562 CXXFLAGS=
12563 fi
12564 fi
12565 for ac_declaration in \
12566 '' \
12567 'extern "C" void std::exit (int) throw (); using std::exit;' \
12568 'extern "C" void std::exit (int); using std::exit;' \
12569 'extern "C" void exit (int) throw ();' \
12570 'extern "C" void exit (int);' \
12571 'void exit (int);'
12572 do
12573 cat >conftest.$ac_ext <<_ACEOF
12574 /* confdefs.h. */
12575 _ACEOF
12576 cat confdefs.h >>conftest.$ac_ext
12577 cat >>conftest.$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12579 $ac_declaration
12580 #include <stdlib.h>
12581 int
12582 main ()
12583 {
12584 exit (42);
12585 ;
12586 return 0;
12587 }
12588 _ACEOF
12589 rm -f conftest.$ac_objext
12590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12591 (eval $ac_compile) 2>conftest.er1
12592 ac_status=$?
12593 grep -v '^ *+' conftest.er1 >conftest.err
12594 rm -f conftest.er1
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } &&
12598 { ac_try='test -z "$ac_cxx_werror_flag"
12599 || test ! -s conftest.err'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; } &&
12605 { ac_try='test -s conftest.$ac_objext'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; }; then
12611 :
12612 else
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12615
12616 continue
12617 fi
12618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 $ac_declaration
12626 int
12627 main ()
12628 {
12629 exit (42);
12630 ;
12631 return 0;
12632 }
12633 _ACEOF
12634 rm -f conftest.$ac_objext
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>conftest.er1
12637 ac_status=$?
12638 grep -v '^ *+' conftest.er1 >conftest.err
12639 rm -f conftest.er1
12640 cat conftest.err >&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } &&
12643 { ac_try='test -z "$ac_cxx_werror_flag"
12644 || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12647 ac_status=$?
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 break
12657 else
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.$ac_ext >&5
12660
12661 fi
12662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12663 done
12664 rm -f conftest*
12665 if test -n "$ac_declaration"; then
12666 echo '#ifdef __cplusplus' >>confdefs.h
12667 echo $ac_declaration >>confdefs.h
12668 echo '#endif' >>confdefs.h
12669 fi
12670
12671 ac_ext=c
12672 ac_cpp='$CPP $CPPFLAGS'
12673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12676
12677 depcc="$CXX" am_compiler_list=
12678
12679 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12680 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
12681 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12682 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 else
12684 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12685 # We make a subdir and do the tests there. Otherwise we can end up
12686 # making bogus files that we don't know about and never remove. For
12687 # instance it was reported that on HP-UX the gcc test will end up
12688 # making a dummy file named `D' -- because `-MD' means `put the output
12689 # in D'.
12690 mkdir conftest.dir
12691 # Copy depcomp to subdir because otherwise we won't find it if we're
12692 # using a relative directory.
12693 cp "$am_depcomp" conftest.dir
12694 cd conftest.dir
12695 # We will build objects and dependencies in a subdirectory because
12696 # it helps to detect inapplicable dependency modes. For instance
12697 # both Tru64's cc and ICC support -MD to output dependencies as a
12698 # side effect of compilation, but ICC will put the dependencies in
12699 # the current directory while Tru64 will put them in the object
12700 # directory.
12701 mkdir sub
12702
12703 am_cv_CXX_dependencies_compiler_type=none
12704 if test "$am_compiler_list" = ""; then
12705 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12706 fi
12707 for depmode in $am_compiler_list; do
12708 # Setup a source with many dependencies, because some compilers
12709 # like to wrap large dependency lists on column 80 (with \), and
12710 # we should not choose a depcomp mode which is confused by this.
12711 #
12712 # We need to recreate these files for each test, as the compiler may
12713 # overwrite some of them when testing with obscure command lines.
12714 # This happens at least with the AIX C compiler.
12715 : > sub/conftest.c
12716 for i in 1 2 3 4 5 6; do
12717 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12718 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12719 # Solaris 8's {/usr,}/bin/sh.
12720 touch sub/conftst$i.h
12721 done
12722 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12723
12724 case $depmode in
12725 nosideeffect)
12726 # after this tag, mechanisms are not by side-effect, so they'll
12727 # only be used when explicitly requested
12728 if test "x$enable_dependency_tracking" = xyes; then
12729 continue
12730 else
12731 break
12732 fi
12733 ;;
12734 none) break ;;
12735 esac
12736 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12737 # mode. It turns out that the SunPro C++ compiler does not properly
12738 # handle `-M -o', and we need to detect this.
12739 if depmode=$depmode \
12740 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12741 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12742 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12743 >/dev/null 2>conftest.err &&
12744 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12745 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12746 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12747 # icc doesn't choke on unknown options, it will just issue warnings
12748 # or remarks (even with -Werror). So we grep stderr for any message
12749 # that says an option was ignored or not supported.
12750 # When given -MP, icc 7.0 and 7.1 complain thusly:
12751 # icc: Command line warning: ignoring option '-M'; no argument required
12752 # The diagnosis changed in icc 8.0:
12753 # icc: Command line remark: option '-MP' not supported
12754 if (grep 'ignoring option' conftest.err ||
12755 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12756 am_cv_CXX_dependencies_compiler_type=$depmode
12757 break
12758 fi
12759 fi
12760 done
12761
12762 cd ..
12763 rm -rf conftest.dir
12764 else
12765 am_cv_CXX_dependencies_compiler_type=none
12766 fi
12767
12768 fi
12769 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12770 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
12771 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12772
12773
12774
12775 if
12776 test "x$enable_dependency_tracking" != xno \
12777 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12778 am__fastdepCXX_TRUE=
12779 am__fastdepCXX_FALSE='#'
12780 else
12781 am__fastdepCXX_TRUE='#'
12782 am__fastdepCXX_FALSE=
12783 fi
12784
12785
12786
12787 ac_ext=cc
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12792 if test -n "$ac_tool_prefix"; then
12793 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12794 do
12795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12797 echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12799 if test "${ac_cv_prog_CXX+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 else
12802 if test -n "$CXX"; then
12803 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12804 else
12805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12807 do
12808 IFS=$as_save_IFS
12809 test -z "$as_dir" && as_dir=.
12810 for ac_exec_ext in '' $ac_executable_extensions; do
12811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12812 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12814 break 2
12815 fi
12816 done
12817 done
12818
12819 fi
12820 fi
12821 CXX=$ac_cv_prog_CXX
12822 if test -n "$CXX"; then
12823 echo "$as_me:$LINENO: result: $CXX" >&5
12824 echo "${ECHO_T}$CXX" >&6
12825 else
12826 echo "$as_me:$LINENO: result: no" >&5
12827 echo "${ECHO_T}no" >&6
12828 fi
12829
12830 test -n "$CXX" && break
12831 done
12832 fi
12833 if test -z "$CXX"; then
12834 ac_ct_CXX=$CXX
12835 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12836 do
12837 # Extract the first word of "$ac_prog", so it can be a program name with args.
12838 set dummy $ac_prog; ac_word=$2
12839 echo "$as_me:$LINENO: checking for $ac_word" >&5
12840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 else
12844 if test -n "$ac_ct_CXX"; then
12845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12846 else
12847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12848 for as_dir in $PATH
12849 do
12850 IFS=$as_save_IFS
12851 test -z "$as_dir" && as_dir=.
12852 for ac_exec_ext in '' $ac_executable_extensions; do
12853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12854 ac_cv_prog_ac_ct_CXX="$ac_prog"
12855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 break 2
12857 fi
12858 done
12859 done
12860
12861 fi
12862 fi
12863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12864 if test -n "$ac_ct_CXX"; then
12865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12866 echo "${ECHO_T}$ac_ct_CXX" >&6
12867 else
12868 echo "$as_me:$LINENO: result: no" >&5
12869 echo "${ECHO_T}no" >&6
12870 fi
12871
12872 test -n "$ac_ct_CXX" && break
12873 done
12874 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12875
12876 CXX=$ac_ct_CXX
12877 fi
12878
12879
12880 # Provide some information about the compiler.
12881 echo "$as_me:$LINENO:" \
12882 "checking for C++ compiler version" >&5
12883 ac_compiler=`set X $ac_compile; echo $2`
12884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12885 (eval $ac_compiler --version </dev/null >&5) 2>&5
12886 ac_status=$?
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }
12889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12890 (eval $ac_compiler -v </dev/null >&5) 2>&5
12891 ac_status=$?
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); }
12894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12895 (eval $ac_compiler -V </dev/null >&5) 2>&5
12896 ac_status=$?
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }
12899
12900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 else
12905 cat >conftest.$ac_ext <<_ACEOF
12906 /* confdefs.h. */
12907 _ACEOF
12908 cat confdefs.h >>conftest.$ac_ext
12909 cat >>conftest.$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12911
12912 int
12913 main ()
12914 {
12915 #ifndef __GNUC__
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_cxx_werror_flag"
12933 || test ! -s conftest.err'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12936 ac_status=$?
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; } &&
12939 { ac_try='test -s conftest.$ac_objext'
12940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 (eval $ac_try) 2>&5
12942 ac_status=$?
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); }; }; then
12945 ac_compiler_gnu=yes
12946 else
12947 echo "$as_me: failed program was:" >&5
12948 sed 's/^/| /' conftest.$ac_ext >&5
12949
12950 ac_compiler_gnu=no
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12958 GXX=`test $ac_compiler_gnu = yes && echo yes`
12959 ac_test_CXXFLAGS=${CXXFLAGS+set}
12960 ac_save_CXXFLAGS=$CXXFLAGS
12961 CXXFLAGS="-g"
12962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12964 if test "${ac_cv_prog_cxx_g+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 else
12967 cat >conftest.$ac_ext <<_ACEOF
12968 /* confdefs.h. */
12969 _ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973
12974 int
12975 main ()
12976 {
12977
12978 ;
12979 return 0;
12980 }
12981 _ACEOF
12982 rm -f conftest.$ac_objext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12984 (eval $ac_compile) 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try='test -z "$ac_cxx_werror_flag"
12992 || test ! -s conftest.err'
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); }; } &&
12998 { ac_try='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13001 ac_status=$?
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_prog_cxx_g=yes
13005 else
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.$ac_ext >&5
13008
13009 ac_cv_prog_cxx_g=no
13010 fi
13011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13012 fi
13013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13015 if test "$ac_test_CXXFLAGS" = set; then
13016 CXXFLAGS=$ac_save_CXXFLAGS
13017 elif test $ac_cv_prog_cxx_g = yes; then
13018 if test "$GXX" = yes; then
13019 CXXFLAGS="-g -O2"
13020 else
13021 CXXFLAGS="-g"
13022 fi
13023 else
13024 if test "$GXX" = yes; then
13025 CXXFLAGS="-O2"
13026 else
13027 CXXFLAGS=
13028 fi
13029 fi
13030 for ac_declaration in \
13031 '' \
13032 'extern "C" void std::exit (int) throw (); using std::exit;' \
13033 'extern "C" void std::exit (int); using std::exit;' \
13034 'extern "C" void exit (int) throw ();' \
13035 'extern "C" void exit (int);' \
13036 'void exit (int);'
13037 do
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h. */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 $ac_declaration
13045 #include <stdlib.h>
13046 int
13047 main ()
13048 {
13049 exit (42);
13050 ;
13051 return 0;
13052 }
13053 _ACEOF
13054 rm -f conftest.$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13057 ac_status=$?
13058 grep -v '^ *+' conftest.er1 >conftest.err
13059 rm -f conftest.er1
13060 cat conftest.err >&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try='test -z "$ac_cxx_werror_flag"
13064 || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 :
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13080
13081 continue
13082 fi
13083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13084 cat >conftest.$ac_ext <<_ACEOF
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 $ac_declaration
13091 int
13092 main ()
13093 {
13094 exit (42);
13095 ;
13096 return 0;
13097 }
13098 _ACEOF
13099 rm -f conftest.$ac_objext
13100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13101 (eval $ac_compile) 2>conftest.er1
13102 ac_status=$?
13103 grep -v '^ *+' conftest.er1 >conftest.err
13104 rm -f conftest.er1
13105 cat conftest.err >&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); } &&
13108 { ac_try='test -z "$ac_cxx_werror_flag"
13109 || test ! -s conftest.err'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; } &&
13115 { ac_try='test -s conftest.$ac_objext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 break
13122 else
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.$ac_ext >&5
13125
13126 fi
13127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13128 done
13129 rm -f conftest*
13130 if test -n "$ac_declaration"; then
13131 echo '#ifdef __cplusplus' >>confdefs.h
13132 echo $ac_declaration >>confdefs.h
13133 echo '#endif' >>confdefs.h
13134 fi
13135
13136 ac_ext=c
13137 ac_cpp='$CPP $CPPFLAGS'
13138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13141
13142 depcc="$CXX" am_compiler_list=
13143
13144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13146 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13150 # We make a subdir and do the tests there. Otherwise we can end up
13151 # making bogus files that we don't know about and never remove. For
13152 # instance it was reported that on HP-UX the gcc test will end up
13153 # making a dummy file named `D' -- because `-MD' means `put the output
13154 # in D'.
13155 mkdir conftest.dir
13156 # Copy depcomp to subdir because otherwise we won't find it if we're
13157 # using a relative directory.
13158 cp "$am_depcomp" conftest.dir
13159 cd conftest.dir
13160 # We will build objects and dependencies in a subdirectory because
13161 # it helps to detect inapplicable dependency modes. For instance
13162 # both Tru64's cc and ICC support -MD to output dependencies as a
13163 # side effect of compilation, but ICC will put the dependencies in
13164 # the current directory while Tru64 will put them in the object
13165 # directory.
13166 mkdir sub
13167
13168 am_cv_CXX_dependencies_compiler_type=none
13169 if test "$am_compiler_list" = ""; then
13170 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13171 fi
13172 for depmode in $am_compiler_list; do
13173 # Setup a source with many dependencies, because some compilers
13174 # like to wrap large dependency lists on column 80 (with \), and
13175 # we should not choose a depcomp mode which is confused by this.
13176 #
13177 # We need to recreate these files for each test, as the compiler may
13178 # overwrite some of them when testing with obscure command lines.
13179 # This happens at least with the AIX C compiler.
13180 : > sub/conftest.c
13181 for i in 1 2 3 4 5 6; do
13182 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13184 # Solaris 8's {/usr,}/bin/sh.
13185 touch sub/conftst$i.h
13186 done
13187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13188
13189 case $depmode in
13190 nosideeffect)
13191 # after this tag, mechanisms are not by side-effect, so they'll
13192 # only be used when explicitly requested
13193 if test "x$enable_dependency_tracking" = xyes; then
13194 continue
13195 else
13196 break
13197 fi
13198 ;;
13199 none) break ;;
13200 esac
13201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13202 # mode. It turns out that the SunPro C++ compiler does not properly
13203 # handle `-M -o', and we need to detect this.
13204 if depmode=$depmode \
13205 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13206 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13207 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13208 >/dev/null 2>conftest.err &&
13209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13210 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13212 # icc doesn't choke on unknown options, it will just issue warnings
13213 # or remarks (even with -Werror). So we grep stderr for any message
13214 # that says an option was ignored or not supported.
13215 # When given -MP, icc 7.0 and 7.1 complain thusly:
13216 # icc: Command line warning: ignoring option '-M'; no argument required
13217 # The diagnosis changed in icc 8.0:
13218 # icc: Command line remark: option '-MP' not supported
13219 if (grep 'ignoring option' conftest.err ||
13220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13221 am_cv_CXX_dependencies_compiler_type=$depmode
13222 break
13223 fi
13224 fi
13225 done
13226
13227 cd ..
13228 rm -rf conftest.dir
13229 else
13230 am_cv_CXX_dependencies_compiler_type=none
13231 fi
13232
13233 fi
13234 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13235 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13236 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13237
13238
13239
13240 if
13241 test "x$enable_dependency_tracking" != xno \
13242 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13243 am__fastdepCXX_TRUE=
13244 am__fastdepCXX_FALSE='#'
13245 else
13246 am__fastdepCXX_TRUE='#'
13247 am__fastdepCXX_FALSE=
13248 fi
13249
13250
13251 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13252 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13253 (test "X$CXX" != "Xg++"))) ; then
13254 ac_ext=cc
13255 ac_cpp='$CXXCPP $CPPFLAGS'
13256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13259 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13260 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13261 if test -z "$CXXCPP"; then
13262 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 else
13265 # Double quotes because CXXCPP needs to be expanded
13266 for CXXCPP in "$CXX -E" "/lib/cpp"
13267 do
13268 ac_preproc_ok=false
13269 for ac_cxx_preproc_warn_flag in '' yes
13270 do
13271 # Use a header file that comes with gcc, so configuring glibc
13272 # with a fresh cross-compiler works.
13273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13274 # <limits.h> exists even on freestanding compilers.
13275 # On the NeXT, cc -E runs the code through the compiler's parser,
13276 # not just through cpp. "Syntax error" is here to catch this case.
13277 cat >conftest.$ac_ext <<_ACEOF
13278 /* confdefs.h. */
13279 _ACEOF
13280 cat confdefs.h >>conftest.$ac_ext
13281 cat >>conftest.$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #ifdef __STDC__
13284 # include <limits.h>
13285 #else
13286 # include <assert.h>
13287 #endif
13288 Syntax error
13289 _ACEOF
13290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13292 ac_status=$?
13293 grep -v '^ *+' conftest.er1 >conftest.err
13294 rm -f conftest.er1
13295 cat conftest.err >&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } >/dev/null; then
13298 if test -s conftest.err; then
13299 ac_cpp_err=$ac_cxx_preproc_warn_flag
13300 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13301 else
13302 ac_cpp_err=
13303 fi
13304 else
13305 ac_cpp_err=yes
13306 fi
13307 if test -z "$ac_cpp_err"; then
13308 :
13309 else
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13312
13313 # Broken: fails on valid input.
13314 continue
13315 fi
13316 rm -f conftest.err conftest.$ac_ext
13317
13318 # OK, works on sane cases. Now check whether non-existent headers
13319 # can be detected and how.
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h. */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 #include <ac_nonexistent.h>
13327 _ACEOF
13328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13330 ac_status=$?
13331 grep -v '^ *+' conftest.er1 >conftest.err
13332 rm -f conftest.er1
13333 cat conftest.err >&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); } >/dev/null; then
13336 if test -s conftest.err; then
13337 ac_cpp_err=$ac_cxx_preproc_warn_flag
13338 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13339 else
13340 ac_cpp_err=
13341 fi
13342 else
13343 ac_cpp_err=yes
13344 fi
13345 if test -z "$ac_cpp_err"; then
13346 # Broken: success on invalid input.
13347 continue
13348 else
13349 echo "$as_me: failed program was:" >&5
13350 sed 's/^/| /' conftest.$ac_ext >&5
13351
13352 # Passes both tests.
13353 ac_preproc_ok=:
13354 break
13355 fi
13356 rm -f conftest.err conftest.$ac_ext
13357
13358 done
13359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13360 rm -f conftest.err conftest.$ac_ext
13361 if $ac_preproc_ok; then
13362 break
13363 fi
13364
13365 done
13366 ac_cv_prog_CXXCPP=$CXXCPP
13367
13368 fi
13369 CXXCPP=$ac_cv_prog_CXXCPP
13370 else
13371 ac_cv_prog_CXXCPP=$CXXCPP
13372 fi
13373 echo "$as_me:$LINENO: result: $CXXCPP" >&5
13374 echo "${ECHO_T}$CXXCPP" >&6
13375 ac_preproc_ok=false
13376 for ac_cxx_preproc_warn_flag in '' yes
13377 do
13378 # Use a header file that comes with gcc, so configuring glibc
13379 # with a fresh cross-compiler works.
13380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13381 # <limits.h> exists even on freestanding compilers.
13382 # On the NeXT, cc -E runs the code through the compiler's parser,
13383 # not just through cpp. "Syntax error" is here to catch this case.
13384 cat >conftest.$ac_ext <<_ACEOF
13385 /* confdefs.h. */
13386 _ACEOF
13387 cat confdefs.h >>conftest.$ac_ext
13388 cat >>conftest.$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13390 #ifdef __STDC__
13391 # include <limits.h>
13392 #else
13393 # include <assert.h>
13394 #endif
13395 Syntax error
13396 _ACEOF
13397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13399 ac_status=$?
13400 grep -v '^ *+' conftest.er1 >conftest.err
13401 rm -f conftest.er1
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } >/dev/null; then
13405 if test -s conftest.err; then
13406 ac_cpp_err=$ac_cxx_preproc_warn_flag
13407 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13408 else
13409 ac_cpp_err=
13410 fi
13411 else
13412 ac_cpp_err=yes
13413 fi
13414 if test -z "$ac_cpp_err"; then
13415 :
13416 else
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13419
13420 # Broken: fails on valid input.
13421 continue
13422 fi
13423 rm -f conftest.err conftest.$ac_ext
13424
13425 # OK, works on sane cases. Now check whether non-existent headers
13426 # can be detected and how.
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h. */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <ac_nonexistent.h>
13434 _ACEOF
13435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13437 ac_status=$?
13438 grep -v '^ *+' conftest.er1 >conftest.err
13439 rm -f conftest.er1
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } >/dev/null; then
13443 if test -s conftest.err; then
13444 ac_cpp_err=$ac_cxx_preproc_warn_flag
13445 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13446 else
13447 ac_cpp_err=
13448 fi
13449 else
13450 ac_cpp_err=yes
13451 fi
13452 if test -z "$ac_cpp_err"; then
13453 # Broken: success on invalid input.
13454 continue
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 # Passes both tests.
13460 ac_preproc_ok=:
13461 break
13462 fi
13463 rm -f conftest.err conftest.$ac_ext
13464
13465 done
13466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13467 rm -f conftest.err conftest.$ac_ext
13468 if $ac_preproc_ok; then
13469 :
13470 else
13471 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13472 echo "$as_me: error: in \`$ac_pwd':" >&2;}
13473 _lt_caught_CXX_error=yes; }
13474 fi
13475
13476 ac_ext=c
13477 ac_cpp='$CPP $CPPFLAGS'
13478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13481
13482 else
13483 _lt_caught_CXX_error=yes
13484 fi
13485
13486
13487
13488
13489 ac_ext=cc
13490 ac_cpp='$CXXCPP $CPPFLAGS'
13491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13494
13495 archive_cmds_need_lc_CXX=no
13496 allow_undefined_flag_CXX=
13497 always_export_symbols_CXX=no
13498 archive_expsym_cmds_CXX=
13499 compiler_needs_object_CXX=no
13500 export_dynamic_flag_spec_CXX=
13501 hardcode_direct_CXX=no
13502 hardcode_direct_absolute_CXX=no
13503 hardcode_libdir_flag_spec_CXX=
13504 hardcode_libdir_flag_spec_ld_CXX=
13505 hardcode_libdir_separator_CXX=
13506 hardcode_minus_L_CXX=no
13507 hardcode_shlibpath_var_CXX=unsupported
13508 hardcode_automatic_CXX=no
13509 inherit_rpath_CXX=no
13510 module_cmds_CXX=
13511 module_expsym_cmds_CXX=
13512 link_all_deplibs_CXX=unknown
13513 old_archive_cmds_CXX=$old_archive_cmds
13514 no_undefined_flag_CXX=
13515 whole_archive_flag_spec_CXX=
13516 enable_shared_with_static_runtimes_CXX=no
13517
13518 # Source file extension for C++ test sources.
13519 ac_ext=cpp
13520
13521 # Object file extension for compiled C++ test sources.
13522 objext=o
13523 objext_CXX=$objext
13524
13525 # No sense in running all these tests if we already determined that
13526 # the CXX compiler isn't working. Some variables (like enable_shared)
13527 # are currently assumed to apply to all compilers on this platform,
13528 # and will be corrupted by setting them based on a non-working compiler.
13529 if test "$_lt_caught_CXX_error" != yes; then
13530 # Code to be used in simple compile tests
13531 lt_simple_compile_test_code="int some_variable = 0;"
13532
13533 # Code to be used in simple link tests
13534 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13535
13536 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13537
13538
13539
13540
13541
13542
13543 # If no C compiler was specified, use CC.
13544 LTCC=${LTCC-"$CC"}
13545
13546 # If no C compiler flags were specified, use CFLAGS.
13547 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13548
13549 # Allow CC to be a program name with arguments.
13550 compiler=$CC
13551
13552
13553 # save warnings/boilerplate of simple test code
13554 ac_outfile=conftest.$ac_objext
13555 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13556 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13557 _lt_compiler_boilerplate=`cat conftest.err`
13558 $RM conftest*
13559
13560 ac_outfile=conftest.$ac_objext
13561 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13562 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13563 _lt_linker_boilerplate=`cat conftest.err`
13564 $RM conftest*
13565
13566
13567 # Allow CC to be a program name with arguments.
13568 lt_save_CC=$CC
13569 lt_save_LD=$LD
13570 lt_save_GCC=$GCC
13571 GCC=$GXX
13572 lt_save_with_gnu_ld=$with_gnu_ld
13573 lt_save_path_LD=$lt_cv_path_LD
13574 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13575 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13576 else
13577 $as_unset lt_cv_prog_gnu_ld
13578 fi
13579 if test -n "${lt_cv_path_LDCXX+set}"; then
13580 lt_cv_path_LD=$lt_cv_path_LDCXX
13581 else
13582 $as_unset lt_cv_path_LD
13583 fi
13584 test -z "${LDCXX+set}" || LD=$LDCXX
13585 CC=${CXX-"c++"}
13586 compiler=$CC
13587 compiler_CXX=$CC
13588 for cc_temp in $compiler""; do
13589 case $cc_temp in
13590 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13591 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13592 \-*) ;;
13593 *) break;;
13594 esac
13595 done
13596 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13597
13598
13599 if test -n "$compiler"; then
13600 # We don't want -fno-exception when compiling C++ code, so set the
13601 # no_builtin_flag separately
13602 if test "$GXX" = yes; then
13603 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13604 else
13605 lt_prog_compiler_no_builtin_flag_CXX=
13606 fi
13607
13608 if test "$GXX" = yes; then
13609 # Set up default GNU C++ configuration
13610
13611
13612
13613 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13614 if test "${with_gnu_ld+set}" = set; then
13615 withval="$with_gnu_ld"
13616 test "$withval" = no || with_gnu_ld=yes
13617 else
13618 with_gnu_ld=no
13619 fi;
13620 ac_prog=ld
13621 if test "$GCC" = yes; then
13622 # Check if gcc -print-prog-name=ld gives a path.
13623 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13624 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13625 case $host in
13626 *-*-mingw*)
13627 # gcc leaves a trailing carriage return which upsets mingw
13628 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13629 *)
13630 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13631 esac
13632 case $ac_prog in
13633 # Accept absolute paths.
13634 [\\/]* | ?:[\\/]*)
13635 re_direlt='/[^/][^/]*/\.\./'
13636 # Canonicalize the pathname of ld
13637 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13638 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13639 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13640 done
13641 test -z "$LD" && LD="$ac_prog"
13642 ;;
13643 "")
13644 # If it fails, then pretend we aren't using GCC.
13645 ac_prog=ld
13646 ;;
13647 *)
13648 # If it is relative, then search for the first ld in PATH.
13649 with_gnu_ld=unknown
13650 ;;
13651 esac
13652 elif test "$with_gnu_ld" = yes; then
13653 echo "$as_me:$LINENO: checking for GNU ld" >&5
13654 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13655 else
13656 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13657 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13658 fi
13659 if test "${lt_cv_path_LD+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 else
13662 if test -z "$LD"; then
13663 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13664 for ac_dir in $PATH; do
13665 IFS="$lt_save_ifs"
13666 test -z "$ac_dir" && ac_dir=.
13667 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13668 lt_cv_path_LD="$ac_dir/$ac_prog"
13669 # Check to see if the program is GNU ld. I'd rather use --version,
13670 # but apparently some variants of GNU ld only accept -v.
13671 # Break only if it was the GNU/non-GNU ld that we prefer.
13672 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13673 *GNU* | *'with BFD'*)
13674 test "$with_gnu_ld" != no && break
13675 ;;
13676 *)
13677 test "$with_gnu_ld" != yes && break
13678 ;;
13679 esac
13680 fi
13681 done
13682 IFS="$lt_save_ifs"
13683 else
13684 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13685 fi
13686 fi
13687
13688 LD="$lt_cv_path_LD"
13689 if test -n "$LD"; then
13690 echo "$as_me:$LINENO: result: $LD" >&5
13691 echo "${ECHO_T}$LD" >&6
13692 else
13693 echo "$as_me:$LINENO: result: no" >&5
13694 echo "${ECHO_T}no" >&6
13695 fi
13696 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13697 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13698 { (exit 1); exit 1; }; }
13699 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13700 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13701 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13704 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13705 case `$LD -v 2>&1 </dev/null` in
13706 *GNU* | *'with BFD'*)
13707 lt_cv_prog_gnu_ld=yes
13708 ;;
13709 *)
13710 lt_cv_prog_gnu_ld=no
13711 ;;
13712 esac
13713 fi
13714 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13715 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13716 with_gnu_ld=$lt_cv_prog_gnu_ld
13717
13718
13719
13720
13721
13722
13723
13724 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13725 # archiving commands below assume that GNU ld is being used.
13726 if test "$with_gnu_ld" = yes; then
13727 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13728 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'
13729
13730 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13731 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13732
13733 # If archive_cmds runs LD, not CC, wlarc should be empty
13734 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13735 # investigate it a little bit more. (MM)
13736 wlarc='${wl}'
13737
13738 # ancient GNU ld didn't support --whole-archive et. al.
13739 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13740 $GREP 'no-whole-archive' > /dev/null; then
13741 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13742 else
13743 whole_archive_flag_spec_CXX=
13744 fi
13745 else
13746 with_gnu_ld=no
13747 wlarc=
13748
13749 # A generic and very simple default shared library creation
13750 # command for GNU C++ for the case where it uses the native
13751 # linker, instead of GNU ld. If possible, this setting should
13752 # overridden to take advantage of the native linker features on
13753 # the platform it is being used on.
13754 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13755 fi
13756
13757 # Commands to make compiler produce verbose output that lists
13758 # what "hidden" libraries, object files and flags are used when
13759 # linking a shared library.
13760 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13761
13762 else
13763 GXX=no
13764 with_gnu_ld=no
13765 wlarc=
13766 fi
13767
13768 # PORTME: fill in a description of your system's C++ link characteristics
13769 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13770 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13771 ld_shlibs_CXX=yes
13772 case $host_os in
13773 aix3*)
13774 # FIXME: insert proper C++ library support
13775 ld_shlibs_CXX=no
13776 ;;
13777 aix[4-9]*)
13778 if test "$host_cpu" = ia64; then
13779 # On IA64, the linker does run time linking by default, so we don't
13780 # have to do anything special.
13781 aix_use_runtimelinking=no
13782 exp_sym_flag='-Bexport'
13783 no_entry_flag=""
13784 else
13785 aix_use_runtimelinking=no
13786
13787 # Test if we are trying to use run time linking or normal
13788 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13789 # need to do runtime linking.
13790 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13791 for ld_flag in $LDFLAGS; do
13792 case $ld_flag in
13793 *-brtl*)
13794 aix_use_runtimelinking=yes
13795 break
13796 ;;
13797 esac
13798 done
13799 ;;
13800 esac
13801
13802 exp_sym_flag='-bexport'
13803 no_entry_flag='-bnoentry'
13804 fi
13805
13806 # When large executables or shared objects are built, AIX ld can
13807 # have problems creating the table of contents. If linking a library
13808 # or program results in "error TOC overflow" add -mminimal-toc to
13809 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13810 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13811
13812 archive_cmds_CXX=''
13813 hardcode_direct_CXX=yes
13814 hardcode_direct_absolute_CXX=yes
13815 hardcode_libdir_separator_CXX=':'
13816 link_all_deplibs_CXX=yes
13817 file_list_spec_CXX='${wl}-f,'
13818
13819 if test "$GXX" = yes; then
13820 case $host_os in aix4.[012]|aix4.[012].*)
13821 # We only want to do this on AIX 4.2 and lower, the check
13822 # below for broken collect2 doesn't work under 4.3+
13823 collect2name=`${CC} -print-prog-name=collect2`
13824 if test -f "$collect2name" &&
13825 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13826 then
13827 # We have reworked collect2
13828 :
13829 else
13830 # We have old collect2
13831 hardcode_direct_CXX=unsupported
13832 # It fails to find uninstalled libraries when the uninstalled
13833 # path is not listed in the libpath. Setting hardcode_minus_L
13834 # to unsupported forces relinking
13835 hardcode_minus_L_CXX=yes
13836 hardcode_libdir_flag_spec_CXX='-L$libdir'
13837 hardcode_libdir_separator_CXX=
13838 fi
13839 esac
13840 shared_flag='-shared'
13841 if test "$aix_use_runtimelinking" = yes; then
13842 shared_flag="$shared_flag "'${wl}-G'
13843 fi
13844 else
13845 # not using gcc
13846 if test "$host_cpu" = ia64; then
13847 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13848 # chokes on -Wl,-G. The following line is correct:
13849 shared_flag='-G'
13850 else
13851 if test "$aix_use_runtimelinking" = yes; then
13852 shared_flag='${wl}-G'
13853 else
13854 shared_flag='${wl}-bM:SRE'
13855 fi
13856 fi
13857 fi
13858
13859 # It seems that -bexpall does not export symbols beginning with
13860 # underscore (_), so it is better to generate a list of symbols to
13861 # export.
13862 always_export_symbols_CXX=yes
13863 if test "$aix_use_runtimelinking" = yes; then
13864 # Warning - without using the other runtime loading flags (-brtl),
13865 # -berok will link without error, but may produce a broken library.
13866 allow_undefined_flag_CXX='-berok'
13867 # Determine the default libpath from the value encoded in an empty
13868 # executable.
13869 if test x$gcc_no_link = xyes; then
13870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13872 { (exit 1); exit 1; }; }
13873 fi
13874 cat >conftest.$ac_ext <<_ACEOF
13875 /* confdefs.h. */
13876 _ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13880
13881 int
13882 main ()
13883 {
13884
13885 ;
13886 return 0;
13887 }
13888 _ACEOF
13889 rm -f conftest.$ac_objext conftest$ac_exeext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13891 (eval $ac_link) 2>conftest.er1
13892 ac_status=$?
13893 grep -v '^ *+' conftest.er1 >conftest.err
13894 rm -f conftest.er1
13895 cat conftest.err >&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } &&
13898 { ac_try='test -z "$ac_cxx_werror_flag"
13899 || test ! -s conftest.err'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13902 ac_status=$?
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; } &&
13905 { ac_try='test -s conftest$ac_exeext'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13908 ac_status=$?
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; }; then
13911
13912 lt_aix_libpath_sed='
13913 /Import File Strings/,/^$/ {
13914 /^0/ {
13915 s/^0 *\(.*\)$/\1/
13916 p
13917 }
13918 }'
13919 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13920 # Check for a 64-bit object if we didn't find anything.
13921 if test -z "$aix_libpath"; then
13922 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13923 fi
13924 else
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13927
13928 fi
13929 rm -f conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13931 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13932
13933 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13934
13935 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"
13936 else
13937 if test "$host_cpu" = ia64; then
13938 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13939 allow_undefined_flag_CXX="-z nodefs"
13940 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"
13941 else
13942 # Determine the default libpath from the value encoded in an
13943 # empty executable.
13944 if test x$gcc_no_link = xyes; then
13945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13947 { (exit 1); exit 1; }; }
13948 fi
13949 cat >conftest.$ac_ext <<_ACEOF
13950 /* confdefs.h. */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955
13956 int
13957 main ()
13958 {
13959
13960 ;
13961 return 0;
13962 }
13963 _ACEOF
13964 rm -f conftest.$ac_objext conftest$ac_exeext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966 (eval $ac_link) 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try='test -z "$ac_cxx_werror_flag"
13974 || test ! -s conftest.err'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13977 ac_status=$?
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; } &&
13980 { ac_try='test -s conftest$ac_exeext'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13983 ac_status=$?
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13986
13987 lt_aix_libpath_sed='
13988 /Import File Strings/,/^$/ {
13989 /^0/ {
13990 s/^0 *\(.*\)$/\1/
13991 p
13992 }
13993 }'
13994 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13995 # Check for a 64-bit object if we didn't find anything.
13996 if test -z "$aix_libpath"; then
13997 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13998 fi
13999 else
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.$ac_ext >&5
14002
14003 fi
14004 rm -f conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14007
14008 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14009 # Warning - without using the other run time loading flags,
14010 # -berok will link without error, but may produce a broken library.
14011 no_undefined_flag_CXX=' ${wl}-bernotok'
14012 allow_undefined_flag_CXX=' ${wl}-berok'
14013 # Exported symbols can be pulled into shared objects from archives
14014 whole_archive_flag_spec_CXX='$convenience'
14015 archive_cmds_need_lc_CXX=yes
14016 # This is similar to how AIX traditionally builds its shared
14017 # libraries.
14018 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'
14019 fi
14020 fi
14021 ;;
14022
14023 beos*)
14024 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14025 allow_undefined_flag_CXX=unsupported
14026 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14027 # support --undefined. This deserves some investigation. FIXME
14028 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14029 else
14030 ld_shlibs_CXX=no
14031 fi
14032 ;;
14033
14034 chorus*)
14035 case $cc_basename in
14036 *)
14037 # FIXME: insert proper C++ library support
14038 ld_shlibs_CXX=no
14039 ;;
14040 esac
14041 ;;
14042
14043 cygwin* | mingw* | pw32*)
14044 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14045 # as there is no search path for DLLs.
14046 hardcode_libdir_flag_spec_CXX='-L$libdir'
14047 allow_undefined_flag_CXX=unsupported
14048 always_export_symbols_CXX=no
14049 enable_shared_with_static_runtimes_CXX=yes
14050
14051 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14052 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'
14053 # If the export-symbols file already is a .def file (1st line
14054 # is EXPORTS), use it as is; otherwise, prepend...
14055 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14056 cp $export_symbols $output_objdir/$soname.def;
14057 else
14058 echo EXPORTS > $output_objdir/$soname.def;
14059 cat $export_symbols >> $output_objdir/$soname.def;
14060 fi~
14061 $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'
14062 else
14063 ld_shlibs_CXX=no
14064 fi
14065 ;;
14066 darwin* | rhapsody*)
14067 case $host_os in
14068 rhapsody* | darwin1.[012])
14069 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
14070 ;;
14071 *) # Darwin 1.3 on
14072 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
14073 10.[012])
14074 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14075 ;;
14076 10.*)
14077 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
14078 ;;
14079 esac
14080 ;;
14081 esac
14082 archive_cmds_need_lc_CXX=no
14083 hardcode_direct_CXX=no
14084 hardcode_automatic_CXX=yes
14085 hardcode_shlibpath_var_CXX=unsupported
14086 whole_archive_flag_spec_CXX=''
14087 link_all_deplibs_CXX=yes
14088
14089 if test "$GXX" = yes ; then
14090 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 else
14093 lt_cv_apple_cc_single_mod=no
14094 if test -z "${LT_MULTI_MODULE}"; then
14095 # By default we will add the -single_module flag. You can override
14096 # by either setting the environment variable LT_MULTI_MODULE
14097 # non-empty at configure time, or by adding -multi-module to the
14098 # link flags.
14099 echo "int foo(void){return 1;}" > conftest.c
14100 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14101 -dynamiclib ${wl}-single_module conftest.c
14102 if test -f libconftest.dylib; then
14103 lt_cv_apple_cc_single_mod=yes
14104 rm libconftest.dylib
14105 fi
14106 rm conftest.$ac_ext
14107 fi
14108 fi
14109
14110 output_verbose_link_cmd=echo
14111 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
14112 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14113 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}'
14114 else
14115 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'
14116 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}'
14117 fi
14118 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14119 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}'
14120 else
14121 case $cc_basename in
14122 xlc*)
14123 output_verbose_link_cmd=echo
14124 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'
14125 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14126 # Don't fix this by using the ld -exported_symbols_list flag,
14127 # it doesn't exist in older darwin lds
14128 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}'
14129 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}'
14130 ;;
14131 *)
14132 ld_shlibs_CXX=no
14133 ;;
14134 esac
14135 fi
14136 ;;
14137
14138 dgux*)
14139 case $cc_basename in
14140 ec++*)
14141 # FIXME: insert proper C++ library support
14142 ld_shlibs_CXX=no
14143 ;;
14144 ghcx*)
14145 # Green Hills C++ Compiler
14146 # FIXME: insert proper C++ library support
14147 ld_shlibs_CXX=no
14148 ;;
14149 *)
14150 # FIXME: insert proper C++ library support
14151 ld_shlibs_CXX=no
14152 ;;
14153 esac
14154 ;;
14155
14156 freebsd[12]*)
14157 # C++ shared libraries reported to be fairly broken before
14158 # switch to ELF
14159 ld_shlibs_CXX=no
14160 ;;
14161
14162 freebsd-elf*)
14163 archive_cmds_need_lc_CXX=no
14164 ;;
14165
14166 freebsd* | dragonfly*)
14167 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14168 # conventions
14169 ld_shlibs_CXX=yes
14170 ;;
14171
14172 gnu*)
14173 ;;
14174
14175 hpux9*)
14176 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14177 hardcode_libdir_separator_CXX=:
14178 export_dynamic_flag_spec_CXX='${wl}-E'
14179 hardcode_direct_CXX=yes
14180 hardcode_minus_L_CXX=yes # Not in the search PATH,
14181 # but as the default
14182 # location of the library.
14183
14184 case $cc_basename in
14185 CC*)
14186 # FIXME: insert proper C++ library support
14187 ld_shlibs_CXX=no
14188 ;;
14189 aCC*)
14190 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'
14191 # Commands to make compiler produce verbose output that lists
14192 # what "hidden" libraries, object files and flags are used when
14193 # linking a shared library.
14194 #
14195 # There doesn't appear to be a way to prevent this compiler from
14196 # explicitly linking system object files so we need to strip them
14197 # from the output so that they don't get included in the library
14198 # dependencies.
14199 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'
14200 ;;
14201 *)
14202 if test "$GXX" = yes; then
14203 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'
14204 else
14205 # FIXME: insert proper C++ library support
14206 ld_shlibs_CXX=no
14207 fi
14208 ;;
14209 esac
14210 ;;
14211
14212 hpux10*|hpux11*)
14213 if test $with_gnu_ld = no; then
14214 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14215 hardcode_libdir_separator_CXX=:
14216
14217 case $host_cpu in
14218 hppa*64*|ia64*)
14219 ;;
14220 *)
14221 export_dynamic_flag_spec_CXX='${wl}-E'
14222 ;;
14223 esac
14224 fi
14225 case $host_cpu in
14226 hppa*64*|ia64*)
14227 hardcode_direct_CXX=no
14228 hardcode_shlibpath_var_CXX=no
14229 ;;
14230 *)
14231 hardcode_direct_CXX=yes
14232 hardcode_direct_absolute_CXX=yes
14233 hardcode_minus_L_CXX=yes # Not in the search PATH,
14234 # but as the default
14235 # location of the library.
14236 ;;
14237 esac
14238
14239 case $cc_basename in
14240 CC*)
14241 # FIXME: insert proper C++ library support
14242 ld_shlibs_CXX=no
14243 ;;
14244 aCC*)
14245 case $host_cpu in
14246 hppa*64*)
14247 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14248 ;;
14249 ia64*)
14250 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14251 ;;
14252 *)
14253 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14254 ;;
14255 esac
14256 # Commands to make compiler produce verbose output that lists
14257 # what "hidden" libraries, object files and flags are used when
14258 # linking a shared library.
14259 #
14260 # There doesn't appear to be a way to prevent this compiler from
14261 # explicitly linking system object files so we need to strip them
14262 # from the output so that they don't get included in the library
14263 # dependencies.
14264 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'
14265 ;;
14266 *)
14267 if test "$GXX" = yes; then
14268 if test $with_gnu_ld = no; then
14269 case $host_cpu in
14270 hppa*64*)
14271 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14272 ;;
14273 ia64*)
14274 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14275 ;;
14276 *)
14277 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'
14278 ;;
14279 esac
14280 fi
14281 else
14282 # FIXME: insert proper C++ library support
14283 ld_shlibs_CXX=no
14284 fi
14285 ;;
14286 esac
14287 ;;
14288
14289 interix[3-9]*)
14290 hardcode_direct_CXX=no
14291 hardcode_shlibpath_var_CXX=no
14292 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14293 export_dynamic_flag_spec_CXX='${wl}-E'
14294 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14295 # Instead, shared libraries are loaded at an image base (0x10000000 by
14296 # default) and relocated if they conflict, which is a slow very memory
14297 # consuming and fragmenting process. To avoid this, we pick a random,
14298 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14299 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14300 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'
14301 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'
14302 ;;
14303 irix5* | irix6*)
14304 case $cc_basename in
14305 CC*)
14306 # SGI C++
14307 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'
14308
14309 # Archives containing C++ object files must be created using
14310 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14311 # necessary to make sure instantiated templates are included
14312 # in the archive.
14313 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14314 ;;
14315 *)
14316 if test "$GXX" = yes; then
14317 if test "$with_gnu_ld" = no; then
14318 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'
14319 else
14320 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'
14321 fi
14322 fi
14323 link_all_deplibs_CXX=yes
14324 ;;
14325 esac
14326 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14327 hardcode_libdir_separator_CXX=:
14328 inherit_rpath_CXX=yes
14329 ;;
14330
14331 linux* | k*bsd*-gnu)
14332 case $cc_basename in
14333 KCC*)
14334 # Kuck and Associates, Inc. (KAI) C++ Compiler
14335
14336 # KCC will only create a shared library if the output file
14337 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14338 # to its proper name (with version) after linking.
14339 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'
14340 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'
14341 # Commands to make compiler produce verbose output that lists
14342 # what "hidden" libraries, object files and flags are used when
14343 # linking a shared library.
14344 #
14345 # There doesn't appear to be a way to prevent this compiler from
14346 # explicitly linking system object files so we need to strip them
14347 # from the output so that they don't get included in the library
14348 # dependencies.
14349 output_verbose_link_cmd='templist=`$CC $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'
14350
14351 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14352 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14353
14354 # Archives containing C++ object files must be created using
14355 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14356 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14357 ;;
14358 icpc* | ecpc* )
14359 # Intel C++
14360 with_gnu_ld=yes
14361 # version 8.0 and above of icpc choke on multiply defined symbols
14362 # if we add $predep_objects and $postdep_objects, however 7.1 and
14363 # earlier do not add the objects themselves.
14364 case `$CC -V 2>&1` in
14365 *"Version 7."*)
14366 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14367 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'
14368 ;;
14369 *) # Version 8.0 or newer
14370 tmp_idyn=
14371 case $host_cpu in
14372 ia64*) tmp_idyn=' -i_dynamic';;
14373 esac
14374 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14375 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'
14376 ;;
14377 esac
14378 archive_cmds_need_lc_CXX=no
14379 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14380 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14381 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14382 ;;
14383 pgCC*)
14384 # Portland Group C++ compiler
14385 case `$CC -V` in
14386 *pgCC\ [1-5]*)
14387 prelink_cmds_CXX='tpldir=Template.dir~
14388 rm -rf $tpldir~
14389 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14390 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14391 old_archive_cmds_CXX='tpldir=Template.dir~
14392 rm -rf $tpldir~
14393 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14394 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14395 $RANLIB $oldlib'
14396 archive_cmds_CXX='tpldir=Template.dir~
14397 rm -rf $tpldir~
14398 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14399 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14400 archive_expsym_cmds_CXX='tpldir=Template.dir~
14401 rm -rf $tpldir~
14402 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14403 $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'
14404 ;;
14405 *) # Version 6 will use weak symbols
14406 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14407 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'
14408 ;;
14409 esac
14410
14411 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14412 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14413 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'
14414 ;;
14415 cxx*)
14416 # Compaq C++
14417 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14418 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'
14419
14420 runpath_var=LD_RUN_PATH
14421 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14422 hardcode_libdir_separator_CXX=:
14423
14424 # Commands to make compiler produce verbose output that lists
14425 # what "hidden" libraries, object files and flags are used when
14426 # linking a shared library.
14427 #
14428 # There doesn't appear to be a way to prevent this compiler from
14429 # explicitly linking system object files so we need to strip them
14430 # from the output so that they don't get included in the library
14431 # dependencies.
14432 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'
14433 ;;
14434 *)
14435 case `$CC -V 2>&1 | sed 5q` in
14436 *Sun\ C*)
14437 # Sun C++ 5.9
14438 no_undefined_flag_CXX=' -zdefs'
14439 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14440 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'
14441 hardcode_libdir_flag_spec_CXX='-R$libdir'
14442 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'
14443 compiler_needs_object_CXX=yes
14444
14445 # Not sure whether something based on
14446 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14447 # would be better.
14448 output_verbose_link_cmd='echo'
14449
14450 # Archives containing C++ object files must be created using
14451 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14452 # necessary to make sure instantiated templates are included
14453 # in the archive.
14454 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14455 ;;
14456 esac
14457 ;;
14458 esac
14459 ;;
14460
14461 lynxos*)
14462 # FIXME: insert proper C++ library support
14463 ld_shlibs_CXX=no
14464 ;;
14465
14466 m88k*)
14467 # FIXME: insert proper C++ library support
14468 ld_shlibs_CXX=no
14469 ;;
14470
14471 mvs*)
14472 case $cc_basename in
14473 cxx*)
14474 # FIXME: insert proper C++ library support
14475 ld_shlibs_CXX=no
14476 ;;
14477 *)
14478 # FIXME: insert proper C++ library support
14479 ld_shlibs_CXX=no
14480 ;;
14481 esac
14482 ;;
14483
14484 netbsd*)
14485 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14486 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14487 wlarc=
14488 hardcode_libdir_flag_spec_CXX='-R$libdir'
14489 hardcode_direct_CXX=yes
14490 hardcode_shlibpath_var_CXX=no
14491 fi
14492 # Workaround some broken pre-1.5 toolchains
14493 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14494 ;;
14495
14496 *nto* | *qnx*)
14497 ld_shlibs_CXX=yes
14498 ;;
14499
14500 openbsd2*)
14501 # C++ shared libraries are fairly broken
14502 ld_shlibs_CXX=no
14503 ;;
14504
14505 openbsd*)
14506 hardcode_direct_CXX=yes
14507 hardcode_shlibpath_var_CXX=no
14508 hardcode_direct_absolute_CXX=yes
14509 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14510 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14511 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14512 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14513 export_dynamic_flag_spec_CXX='${wl}-E'
14514 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14515 fi
14516 output_verbose_link_cmd=echo
14517 ;;
14518
14519 osf3* | osf4* | osf5*)
14520 case $cc_basename in
14521 KCC*)
14522 # Kuck and Associates, Inc. (KAI) C++ Compiler
14523
14524 # KCC will only create a shared library if the output file
14525 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14526 # to its proper name (with version) after linking.
14527 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'
14528
14529 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14530 hardcode_libdir_separator_CXX=:
14531
14532 # Archives containing C++ object files must be created using
14533 # the KAI C++ compiler.
14534 case $host in
14535 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14536 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14537 esac
14538 ;;
14539 RCC*)
14540 # Rational C++ 2.4.1
14541 # FIXME: insert proper C++ library support
14542 ld_shlibs_CXX=no
14543 ;;
14544 cxx*)
14545 case $host in
14546 osf3*)
14547 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14548 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'
14549 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14550 ;;
14551 *)
14552 allow_undefined_flag_CXX=' -expect_unresolved \*'
14553 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'
14554 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14555 echo "-hidden">> $lib.exp~
14556 $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~
14557 $RM $lib.exp'
14558 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14559 ;;
14560 esac
14561
14562 hardcode_libdir_separator_CXX=:
14563
14564 # Commands to make compiler produce verbose output that lists
14565 # what "hidden" libraries, object files and flags are used when
14566 # linking a shared library.
14567 #
14568 # There doesn't appear to be a way to prevent this compiler from
14569 # explicitly linking system object files so we need to strip them
14570 # from the output so that they don't get included in the library
14571 # dependencies.
14572 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'
14573 ;;
14574 *)
14575 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14576 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14577 case $host in
14578 osf3*)
14579 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'
14580 ;;
14581 *)
14582 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'
14583 ;;
14584 esac
14585
14586 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14587 hardcode_libdir_separator_CXX=:
14588
14589 # Commands to make compiler produce verbose output that lists
14590 # what "hidden" libraries, object files and flags are used when
14591 # linking a shared library.
14592 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14593
14594 else
14595 # FIXME: insert proper C++ library support
14596 ld_shlibs_CXX=no
14597 fi
14598 ;;
14599 esac
14600 ;;
14601
14602 psos*)
14603 # FIXME: insert proper C++ library support
14604 ld_shlibs_CXX=no
14605 ;;
14606
14607 sunos4*)
14608 case $cc_basename in
14609 CC*)
14610 # Sun C++ 4.x
14611 # FIXME: insert proper C++ library support
14612 ld_shlibs_CXX=no
14613 ;;
14614 lcc*)
14615 # Lucid
14616 # FIXME: insert proper C++ library support
14617 ld_shlibs_CXX=no
14618 ;;
14619 *)
14620 # FIXME: insert proper C++ library support
14621 ld_shlibs_CXX=no
14622 ;;
14623 esac
14624 ;;
14625
14626 solaris*)
14627 case $cc_basename in
14628 CC*)
14629 # Sun C++ 4.2, 5.x and Centerline C++
14630 archive_cmds_need_lc_CXX=yes
14631 no_undefined_flag_CXX=' -zdefs'
14632 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14633 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14634 $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'
14635
14636 hardcode_libdir_flag_spec_CXX='-R$libdir'
14637 hardcode_shlibpath_var_CXX=no
14638 case $host_os in
14639 solaris2.[0-5] | solaris2.[0-5].*) ;;
14640 *)
14641 # The compiler driver will combine and reorder linker options,
14642 # but understands `-z linker_flag'.
14643 # Supported since Solaris 2.6 (maybe 2.5.1?)
14644 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14645 ;;
14646 esac
14647 link_all_deplibs_CXX=yes
14648
14649 output_verbose_link_cmd='echo'
14650
14651 # Archives containing C++ object files must be created using
14652 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14653 # necessary to make sure instantiated templates are included
14654 # in the archive.
14655 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14656 ;;
14657 gcx*)
14658 # Green Hills C++ Compiler
14659 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14660
14661 # The C++ compiler must be used to create the archive.
14662 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14663 ;;
14664 *)
14665 # GNU C++ compiler with Solaris linker
14666 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14667 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14668 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14669 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14670 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14671 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14672
14673 # Commands to make compiler produce verbose output that lists
14674 # what "hidden" libraries, object files and flags are used when
14675 # linking a shared library.
14676 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14677 else
14678 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14679 # platform.
14680 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14681 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14682 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14683
14684 # Commands to make compiler produce verbose output that lists
14685 # what "hidden" libraries, object files and flags are used when
14686 # linking a shared library.
14687 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14688 fi
14689
14690 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14691 case $host_os in
14692 solaris2.[0-5] | solaris2.[0-5].*) ;;
14693 *)
14694 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14695 ;;
14696 esac
14697 fi
14698 ;;
14699 esac
14700 ;;
14701
14702 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14703 no_undefined_flag_CXX='${wl}-z,text'
14704 archive_cmds_need_lc_CXX=no
14705 hardcode_shlibpath_var_CXX=no
14706 runpath_var='LD_RUN_PATH'
14707
14708 case $cc_basename in
14709 CC*)
14710 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14712 ;;
14713 *)
14714 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14715 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 ;;
14717 esac
14718 ;;
14719
14720 sysv5* | sco3.2v5* | sco5v6*)
14721 # Note: We can NOT use -z defs as we might desire, because we do not
14722 # link with -lc, and that would cause any symbols used from libc to
14723 # always be unresolved, which means just about no library would
14724 # ever link correctly. If we're not using GNU ld we use -z text
14725 # though, which does catch some bad symbols but isn't as heavy-handed
14726 # as -z defs.
14727 no_undefined_flag_CXX='${wl}-z,text'
14728 allow_undefined_flag_CXX='${wl}-z,nodefs'
14729 archive_cmds_need_lc_CXX=no
14730 hardcode_shlibpath_var_CXX=no
14731 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14732 hardcode_libdir_separator_CXX=':'
14733 link_all_deplibs_CXX=yes
14734 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14735 runpath_var='LD_RUN_PATH'
14736
14737 case $cc_basename in
14738 CC*)
14739 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14741 ;;
14742 *)
14743 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14744 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 ;;
14746 esac
14747 ;;
14748
14749 tandem*)
14750 case $cc_basename in
14751 NCC*)
14752 # NonStop-UX NCC 3.20
14753 # FIXME: insert proper C++ library support
14754 ld_shlibs_CXX=no
14755 ;;
14756 *)
14757 # FIXME: insert proper C++ library support
14758 ld_shlibs_CXX=no
14759 ;;
14760 esac
14761 ;;
14762
14763 vxworks*)
14764 # FIXME: insert proper C++ library support
14765 ld_shlibs_CXX=no
14766 ;;
14767
14768 *)
14769 # FIXME: insert proper C++ library support
14770 ld_shlibs_CXX=no
14771 ;;
14772 esac
14773
14774 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14775 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14776 test "$ld_shlibs_CXX" = no && can_build_shared=no
14777
14778 GCC_CXX="$GXX"
14779 LD_CXX="$LD"
14780
14781 ## CAVEAT EMPTOR:
14782 ## There is no encapsulation within the following macros, do not change
14783 ## the running order or otherwise move them around unless you know exactly
14784 ## what you are doing...
14785 # Dependencies to place before and after the object being linked:
14786 predep_objects_CXX=
14787 postdep_objects_CXX=
14788 predeps_CXX=
14789 postdeps_CXX=
14790 compiler_lib_search_path_CXX=
14791
14792 cat > conftest.$ac_ext <<_LT_EOF
14793 class Foo
14794 {
14795 public:
14796 Foo (void) { a = 0; }
14797 private:
14798 int a;
14799 };
14800 _LT_EOF
14801
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 # Parse the compiler output and extract the necessary
14808 # objects, libraries and library flags.
14809
14810 # Sentinel used to keep track of whether or not we are before
14811 # the conftest object file.
14812 pre_test_object_deps_done=no
14813
14814 # The `*' in the case matches for architectures that use `case' in
14815 # $output_verbose_cmd can trigger glob expansion during the loop
14816 # eval without this substitution.
14817 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14818
14819 for p in `eval $output_verbose_link_cmd`; do
14820 case $p in
14821
14822 -L* | -R* | -l*)
14823 # Some compilers place space between "-{L,R}" and the path.
14824 # Remove the space.
14825 if test $p = "-L" ||
14826 test $p = "-R"; then
14827 prev=$p
14828 continue
14829 else
14830 prev=
14831 fi
14832
14833 if test "$pre_test_object_deps_done" = no; then
14834 case $p in
14835 -L* | -R*)
14836 # Internal compiler library paths should come after those
14837 # provided the user. The postdeps already come after the
14838 # user supplied libs so there is no need to process them.
14839 if test -z "$compiler_lib_search_path_CXX"; then
14840 compiler_lib_search_path_CXX="${prev}${p}"
14841 else
14842 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14843 fi
14844 ;;
14845 # The "-l" case would never come before the object being
14846 # linked, so don't bother handling this case.
14847 esac
14848 else
14849 if test -z "$postdeps_CXX"; then
14850 postdeps_CXX="${prev}${p}"
14851 else
14852 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14853 fi
14854 fi
14855 ;;
14856
14857 *.$objext)
14858 # This assumes that the test object file only shows up
14859 # once in the compiler output.
14860 if test "$p" = "conftest.$objext"; then
14861 pre_test_object_deps_done=yes
14862 continue
14863 fi
14864
14865 if test "$pre_test_object_deps_done" = no; then
14866 if test -z "$predep_objects_CXX"; then
14867 predep_objects_CXX="$p"
14868 else
14869 predep_objects_CXX="$predep_objects_CXX $p"
14870 fi
14871 else
14872 if test -z "$postdep_objects_CXX"; then
14873 postdep_objects_CXX="$p"
14874 else
14875 postdep_objects_CXX="$postdep_objects_CXX $p"
14876 fi
14877 fi
14878 ;;
14879
14880 *) ;; # Ignore the rest.
14881
14882 esac
14883 done
14884
14885 # Clean up.
14886 rm -f a.out a.exe
14887 else
14888 echo "libtool.m4: error: problem compiling CXX test program"
14889 fi
14890
14891 $RM -f confest.$objext
14892
14893 # PORTME: override above test on systems where it is broken
14894 case $host_os in
14895 interix[3-9]*)
14896 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14897 # hack all around it, let's just trust "g++" to DTRT.
14898 predep_objects_CXX=
14899 postdep_objects_CXX=
14900 postdeps_CXX=
14901 ;;
14902
14903 linux*)
14904 case `$CC -V 2>&1 | sed 5q` in
14905 *Sun\ C*)
14906 # Sun C++ 5.9
14907
14908 # The more standards-conforming stlport4 library is
14909 # incompatible with the Cstd library. Avoid specifying
14910 # it if it's in CXXFLAGS. Ignore libCrun as
14911 # -library=stlport4 depends on it.
14912 case " $CXX $CXXFLAGS " in
14913 *" -library=stlport4 "*)
14914 solaris_use_stlport4=yes
14915 ;;
14916 esac
14917
14918 if test "$solaris_use_stlport4" != yes; then
14919 postdeps_CXX='-library=Cstd -library=Crun'
14920 fi
14921 ;;
14922 esac
14923 ;;
14924
14925 solaris*)
14926 case $cc_basename in
14927 CC*)
14928 # The more standards-conforming stlport4 library is
14929 # incompatible with the Cstd library. Avoid specifying
14930 # it if it's in CXXFLAGS. Ignore libCrun as
14931 # -library=stlport4 depends on it.
14932 case " $CXX $CXXFLAGS " in
14933 *" -library=stlport4 "*)
14934 solaris_use_stlport4=yes
14935 ;;
14936 esac
14937
14938 # Adding this requires a known-good setup of shared libraries for
14939 # Sun compiler versions before 5.6, else PIC objects from an old
14940 # archive will be linked into the output, leading to subtle bugs.
14941 if test "$solaris_use_stlport4" != yes; then
14942 postdeps_CXX='-library=Cstd -library=Crun'
14943 fi
14944 ;;
14945 esac
14946 ;;
14947 esac
14948
14949
14950 case " $postdeps_CXX " in
14951 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14952 esac
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979 lt_prog_compiler_wl_CXX=
14980 lt_prog_compiler_pic_CXX=
14981 lt_prog_compiler_static_CXX=
14982
14983 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14984 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14985
14986 # C++ specific cases for pic, static, wl, etc.
14987 if test "$GXX" = yes; then
14988 lt_prog_compiler_wl_CXX='-Wl,'
14989 lt_prog_compiler_static_CXX='-static'
14990
14991 case $host_os in
14992 aix*)
14993 # All AIX code is PIC.
14994 if test "$host_cpu" = ia64; then
14995 # AIX 5 now supports IA64 processor
14996 lt_prog_compiler_static_CXX='-Bstatic'
14997 fi
14998 ;;
14999 amigaos*)
15000 if test "$host_cpu" = m68k; then
15001 # FIXME: we need at least 68020 code to build shared libraries, but
15002 # adding the `-m68020' flag to GCC prevents building anything better,
15003 # like `-m68040'.
15004 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15005 fi
15006 ;;
15007 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15008 # PIC is the default for these OSes.
15009 ;;
15010 mingw* | cygwin* | os2* | pw32*)
15011 # This hack is so that the source file can tell whether it is being
15012 # built for inclusion in a dll (and should export symbols for example).
15013 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15014 # (--disable-auto-import) libraries
15015 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15016 ;;
15017 darwin* | rhapsody*)
15018 # PIC is the default on this platform
15019 # Common symbols not allowed in MH_DYLIB files
15020 lt_prog_compiler_pic_CXX='-fno-common'
15021 ;;
15022 *djgpp*)
15023 # DJGPP does not support shared libraries at all
15024 lt_prog_compiler_pic_CXX=
15025 ;;
15026 interix[3-9]*)
15027 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15028 # Instead, we relocate shared libraries at runtime.
15029 ;;
15030 sysv4*MP*)
15031 if test -d /usr/nec; then
15032 lt_prog_compiler_pic_CXX=-Kconform_pic
15033 fi
15034 ;;
15035 hpux*)
15036 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15037 # not for PA HP-UX.
15038 case $host_cpu in
15039 hppa*64*|ia64*)
15040 ;;
15041 *)
15042 lt_prog_compiler_pic_CXX='-fPIC'
15043 ;;
15044 esac
15045 ;;
15046 *qnx* | *nto*)
15047 # QNX uses GNU C++, but need to define -shared option too, otherwise
15048 # it will coredump.
15049 lt_prog_compiler_pic_CXX='-fPIC -shared'
15050 ;;
15051 *)
15052 lt_prog_compiler_pic_CXX='-fPIC'
15053 ;;
15054 esac
15055 else
15056 case $host_os in
15057 aix[4-9]*)
15058 # All AIX code is PIC.
15059 if test "$host_cpu" = ia64; then
15060 # AIX 5 now supports IA64 processor
15061 lt_prog_compiler_static_CXX='-Bstatic'
15062 else
15063 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15064 fi
15065 ;;
15066 chorus*)
15067 case $cc_basename in
15068 cxch68*)
15069 # Green Hills C++ Compiler
15070 # _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"
15071 ;;
15072 esac
15073 ;;
15074 darwin*)
15075 # PIC is the default on this platform
15076 # Common symbols not allowed in MH_DYLIB files
15077 case $cc_basename in
15078 xlc*)
15079 lt_prog_compiler_pic_CXX='-qnocommon'
15080 lt_prog_compiler_wl_CXX='-Wl,'
15081 ;;
15082 esac
15083 ;;
15084 dgux*)
15085 case $cc_basename in
15086 ec++*)
15087 lt_prog_compiler_pic_CXX='-KPIC'
15088 ;;
15089 ghcx*)
15090 # Green Hills C++ Compiler
15091 lt_prog_compiler_pic_CXX='-pic'
15092 ;;
15093 *)
15094 ;;
15095 esac
15096 ;;
15097 freebsd* | dragonfly*)
15098 # FreeBSD uses GNU C++
15099 ;;
15100 hpux9* | hpux10* | hpux11*)
15101 case $cc_basename in
15102 CC*)
15103 lt_prog_compiler_wl_CXX='-Wl,'
15104 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15105 if test "$host_cpu" != ia64; then
15106 lt_prog_compiler_pic_CXX='+Z'
15107 fi
15108 ;;
15109 aCC*)
15110 lt_prog_compiler_wl_CXX='-Wl,'
15111 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15112 case $host_cpu in
15113 hppa*64*|ia64*)
15114 # +Z the default
15115 ;;
15116 *)
15117 lt_prog_compiler_pic_CXX='+Z'
15118 ;;
15119 esac
15120 ;;
15121 *)
15122 ;;
15123 esac
15124 ;;
15125 interix*)
15126 # This is c89, which is MS Visual C++ (no shared libs)
15127 # Anyone wants to do a port?
15128 ;;
15129 irix5* | irix6* | nonstopux*)
15130 case $cc_basename in
15131 CC*)
15132 lt_prog_compiler_wl_CXX='-Wl,'
15133 lt_prog_compiler_static_CXX='-non_shared'
15134 # CC pic flag -KPIC is the default.
15135 ;;
15136 *)
15137 ;;
15138 esac
15139 ;;
15140 linux* | k*bsd*-gnu)
15141 case $cc_basename in
15142 KCC*)
15143 # KAI C++ Compiler
15144 lt_prog_compiler_wl_CXX='--backend -Wl,'
15145 lt_prog_compiler_pic_CXX='-fPIC'
15146 ;;
15147 icpc* | ecpc* )
15148 # Intel C++
15149 lt_prog_compiler_wl_CXX='-Wl,'
15150 lt_prog_compiler_pic_CXX='-KPIC'
15151 lt_prog_compiler_static_CXX='-static'
15152 ;;
15153 pgCC*)
15154 # Portland Group C++ compiler
15155 lt_prog_compiler_wl_CXX='-Wl,'
15156 lt_prog_compiler_pic_CXX='-fpic'
15157 lt_prog_compiler_static_CXX='-Bstatic'
15158 ;;
15159 cxx*)
15160 # Compaq C++
15161 # Make sure the PIC flag is empty. It appears that all Alpha
15162 # Linux and Compaq Tru64 Unix objects are PIC.
15163 lt_prog_compiler_pic_CXX=
15164 lt_prog_compiler_static_CXX='-non_shared'
15165 ;;
15166 *)
15167 case `$CC -V 2>&1 | sed 5q` in
15168 *Sun\ C*)
15169 # Sun C++ 5.9
15170 lt_prog_compiler_pic_CXX='-KPIC'
15171 lt_prog_compiler_static_CXX='-Bstatic'
15172 lt_prog_compiler_wl_CXX='-Qoption ld '
15173 ;;
15174 esac
15175 ;;
15176 esac
15177 ;;
15178 lynxos*)
15179 ;;
15180 m88k*)
15181 ;;
15182 mvs*)
15183 case $cc_basename in
15184 cxx*)
15185 lt_prog_compiler_pic_CXX='-W c,exportall'
15186 ;;
15187 *)
15188 ;;
15189 esac
15190 ;;
15191 netbsd*)
15192 ;;
15193 *qnx* | *nto*)
15194 # QNX uses GNU C++, but need to define -shared option too, otherwise
15195 # it will coredump.
15196 lt_prog_compiler_pic_CXX='-fPIC -shared'
15197 ;;
15198 osf3* | osf4* | osf5*)
15199 case $cc_basename in
15200 KCC*)
15201 lt_prog_compiler_wl_CXX='--backend -Wl,'
15202 ;;
15203 RCC*)
15204 # Rational C++ 2.4.1
15205 lt_prog_compiler_pic_CXX='-pic'
15206 ;;
15207 cxx*)
15208 # Digital/Compaq C++
15209 lt_prog_compiler_wl_CXX='-Wl,'
15210 # Make sure the PIC flag is empty. It appears that all Alpha
15211 # Linux and Compaq Tru64 Unix objects are PIC.
15212 lt_prog_compiler_pic_CXX=
15213 lt_prog_compiler_static_CXX='-non_shared'
15214 ;;
15215 *)
15216 ;;
15217 esac
15218 ;;
15219 psos*)
15220 ;;
15221 solaris*)
15222 case $cc_basename in
15223 CC*)
15224 # Sun C++ 4.2, 5.x and Centerline C++
15225 lt_prog_compiler_pic_CXX='-KPIC'
15226 lt_prog_compiler_static_CXX='-Bstatic'
15227 lt_prog_compiler_wl_CXX='-Qoption ld '
15228 ;;
15229 gcx*)
15230 # Green Hills C++ Compiler
15231 lt_prog_compiler_pic_CXX='-PIC'
15232 ;;
15233 *)
15234 ;;
15235 esac
15236 ;;
15237 sunos4*)
15238 case $cc_basename in
15239 CC*)
15240 # Sun C++ 4.x
15241 lt_prog_compiler_pic_CXX='-pic'
15242 lt_prog_compiler_static_CXX='-Bstatic'
15243 ;;
15244 lcc*)
15245 # Lucid
15246 lt_prog_compiler_pic_CXX='-pic'
15247 ;;
15248 *)
15249 ;;
15250 esac
15251 ;;
15252 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15253 case $cc_basename in
15254 CC*)
15255 lt_prog_compiler_wl_CXX='-Wl,'
15256 lt_prog_compiler_pic_CXX='-KPIC'
15257 lt_prog_compiler_static_CXX='-Bstatic'
15258 ;;
15259 esac
15260 ;;
15261 tandem*)
15262 case $cc_basename in
15263 NCC*)
15264 # NonStop-UX NCC 3.20
15265 lt_prog_compiler_pic_CXX='-KPIC'
15266 ;;
15267 *)
15268 ;;
15269 esac
15270 ;;
15271 vxworks*)
15272 ;;
15273 *)
15274 lt_prog_compiler_can_build_shared_CXX=no
15275 ;;
15276 esac
15277 fi
15278
15279 case $host_os in
15280 # For platforms which do not support PIC, -DPIC is meaningless:
15281 *djgpp*)
15282 lt_prog_compiler_pic_CXX=
15283 ;;
15284 *)
15285 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15286 ;;
15287 esac
15288 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15289 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15290
15291
15292
15293 #
15294 # Check to make sure the PIC flag actually works.
15295 #
15296 if test -n "$lt_prog_compiler_pic_CXX"; then
15297 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15298 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15299 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302 lt_prog_compiler_pic_works_CXX=no
15303 ac_outfile=conftest.$ac_objext
15304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15305 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15306 # Insert the option either (1) after the last *FLAGS variable, or
15307 # (2) before a word containing "conftest.", or (3) at the end.
15308 # Note that $ac_compile itself does not contain backslashes and begins
15309 # with a dollar sign (not a hyphen), so the echo should work correctly.
15310 # The option is referenced via a variable to avoid confusing sed.
15311 lt_compile=`echo "$ac_compile" | $SED \
15312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15314 -e 's:$: $lt_compiler_flag:'`
15315 (eval echo "\"\$as_me:15315: $lt_compile\"" >&5)
15316 (eval "$lt_compile" 2>conftest.err)
15317 ac_status=$?
15318 cat conftest.err >&5
15319 echo "$as_me:15319: \$? = $ac_status" >&5
15320 if (exit $ac_status) && test -s "$ac_outfile"; then
15321 # The compiler can only warn and ignore the option if not recognized
15322 # So say no if there are warnings other than the usual output.
15323 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15325 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15326 lt_prog_compiler_pic_works_CXX=yes
15327 fi
15328 fi
15329 $RM conftest*
15330
15331 fi
15332 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15333 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15334
15335 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15336 case $lt_prog_compiler_pic_CXX in
15337 "" | " "*) ;;
15338 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15339 esac
15340 else
15341 lt_prog_compiler_pic_CXX=
15342 lt_prog_compiler_can_build_shared_CXX=no
15343 fi
15344
15345 fi
15346
15347
15348
15349 #
15350 # Check to make sure the static flag actually works.
15351 #
15352 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15353 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15354 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15355 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15356 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 else
15358 lt_prog_compiler_static_works_CXX=no
15359 save_LDFLAGS="$LDFLAGS"
15360 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15361 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15362 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15363 # The linker can only warn and ignore the option if not recognized
15364 # So say no if there are warnings
15365 if test -s conftest.err; then
15366 # Append any errors to the config.log.
15367 cat conftest.err 1>&5
15368 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15370 if diff conftest.exp conftest.er2 >/dev/null; then
15371 lt_prog_compiler_static_works_CXX=yes
15372 fi
15373 else
15374 lt_prog_compiler_static_works_CXX=yes
15375 fi
15376 fi
15377 $RM conftest*
15378 LDFLAGS="$save_LDFLAGS"
15379
15380 fi
15381 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15382 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
15383
15384 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
15385 :
15386 else
15387 lt_prog_compiler_static_CXX=
15388 fi
15389
15390
15391
15392
15393 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15394 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15395 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 lt_cv_prog_compiler_c_o_CXX=no
15399 $RM -r conftest 2>/dev/null
15400 mkdir conftest
15401 cd conftest
15402 mkdir out
15403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15404
15405 lt_compiler_flag="-o out/conftest2.$ac_objext"
15406 # Insert the option either (1) after the last *FLAGS variable, or
15407 # (2) before a word containing "conftest.", or (3) at the end.
15408 # Note that $ac_compile itself does not contain backslashes and begins
15409 # with a dollar sign (not a hyphen), so the echo should work correctly.
15410 lt_compile=`echo "$ac_compile" | $SED \
15411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15413 -e 's:$: $lt_compiler_flag:'`
15414 (eval echo "\"\$as_me:15414: $lt_compile\"" >&5)
15415 (eval "$lt_compile" 2>out/conftest.err)
15416 ac_status=$?
15417 cat out/conftest.err >&5
15418 echo "$as_me:15418: \$? = $ac_status" >&5
15419 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15420 then
15421 # The compiler can only warn and ignore the option if not recognized
15422 # So say no if there are warnings
15423 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15424 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15425 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15426 lt_cv_prog_compiler_c_o_CXX=yes
15427 fi
15428 fi
15429 chmod u+w . 2>&5
15430 $RM conftest*
15431 # SGI C++ compiler will create directory out/ii_files/ for
15432 # template instantiation
15433 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15434 $RM out/* && rmdir out
15435 cd ..
15436 $RM -r conftest
15437 $RM conftest*
15438
15439 fi
15440 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15441 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15442
15443
15444
15445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15447 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15448 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 else
15450 lt_cv_prog_compiler_c_o_CXX=no
15451 $RM -r conftest 2>/dev/null
15452 mkdir conftest
15453 cd conftest
15454 mkdir out
15455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15456
15457 lt_compiler_flag="-o out/conftest2.$ac_objext"
15458 # Insert the option either (1) after the last *FLAGS variable, or
15459 # (2) before a word containing "conftest.", or (3) at the end.
15460 # Note that $ac_compile itself does not contain backslashes and begins
15461 # with a dollar sign (not a hyphen), so the echo should work correctly.
15462 lt_compile=`echo "$ac_compile" | $SED \
15463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15465 -e 's:$: $lt_compiler_flag:'`
15466 (eval echo "\"\$as_me:15466: $lt_compile\"" >&5)
15467 (eval "$lt_compile" 2>out/conftest.err)
15468 ac_status=$?
15469 cat out/conftest.err >&5
15470 echo "$as_me:15470: \$? = $ac_status" >&5
15471 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15472 then
15473 # The compiler can only warn and ignore the option if not recognized
15474 # So say no if there are warnings
15475 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15478 lt_cv_prog_compiler_c_o_CXX=yes
15479 fi
15480 fi
15481 chmod u+w . 2>&5
15482 $RM conftest*
15483 # SGI C++ compiler will create directory out/ii_files/ for
15484 # template instantiation
15485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15486 $RM out/* && rmdir out
15487 cd ..
15488 $RM -r conftest
15489 $RM conftest*
15490
15491 fi
15492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15494
15495
15496
15497
15498 hard_links="nottested"
15499 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15500 # do not overwrite the value of need_locks provided by the user
15501 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15502 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15503 hard_links=yes
15504 $RM conftest*
15505 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15506 touch conftest.a
15507 ln conftest.a conftest.b 2>&5 || hard_links=no
15508 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15509 echo "$as_me:$LINENO: result: $hard_links" >&5
15510 echo "${ECHO_T}$hard_links" >&6
15511 if test "$hard_links" = no; then
15512 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15513 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15514 need_locks=warn
15515 fi
15516 else
15517 need_locks=no
15518 fi
15519
15520
15521
15522 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15523 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15524
15525 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15526 case $host_os in
15527 aix[4-9]*)
15528 # If we're using GNU nm, then we don't want the "-C" option.
15529 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15530 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15531 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'
15532 else
15533 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'
15534 fi
15535 ;;
15536 pw32*)
15537 export_symbols_cmds_CXX="$ltdll_cmds"
15538 ;;
15539 cygwin* | mingw*)
15540 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'
15541 ;;
15542 *)
15543 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15544 ;;
15545 esac
15546
15547 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15548 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15549 test "$ld_shlibs_CXX" = no && can_build_shared=no
15550
15551 with_gnu_ld_CXX=$with_gnu_ld
15552
15553
15554
15555
15556
15557
15558 #
15559 # Do we need to explicitly link libc?
15560 #
15561 case "x$archive_cmds_need_lc_CXX" in
15562 x|xyes)
15563 # Assume -lc should be added
15564 archive_cmds_need_lc_CXX=yes
15565
15566 if test "$enable_shared" = yes && test "$GCC" = yes; then
15567 case $archive_cmds_CXX in
15568 *'~'*)
15569 # FIXME: we may have to deal with multi-command sequences.
15570 ;;
15571 '$CC '*)
15572 # Test whether the compiler implicitly links with -lc since on some
15573 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15574 # to ld, don't add -lc before -lgcc.
15575 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15576 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15577 $RM conftest*
15578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15579
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } 2>conftest.err; then
15585 soname=conftest
15586 lib=conftest
15587 libobjs=conftest.$ac_objext
15588 deplibs=
15589 wl=$lt_prog_compiler_wl_CXX
15590 pic_flag=$lt_prog_compiler_pic_CXX
15591 compiler_flags=-v
15592 linker_flags=-v
15593 verstring=
15594 output_objdir=.
15595 libname=conftest
15596 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15597 allow_undefined_flag_CXX=
15598 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15599 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }
15603 then
15604 archive_cmds_need_lc_CXX=no
15605 else
15606 archive_cmds_need_lc_CXX=yes
15607 fi
15608 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15609 else
15610 cat conftest.err 1>&5
15611 fi
15612 $RM conftest*
15613 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15614 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15615 ;;
15616 esac
15617 fi
15618 ;;
15619 esac
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15685 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15686 withGCC=$GXX
15687 library_names_spec=
15688 libname_spec='lib$name'
15689 soname_spec=
15690 shrext_cmds=".so"
15691 postinstall_cmds=
15692 postuninstall_cmds=
15693 finish_cmds=
15694 finish_eval=
15695 shlibpath_var=
15696 shlibpath_overrides_runpath=unknown
15697 version_type=none
15698 dynamic_linker="$host_os ld.so"
15699 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15700 need_lib_prefix=unknown
15701 hardcode_into_libs=no
15702
15703 # when you set need_version to no, make sure it does not cause -set_version
15704 # flags to be left without arguments
15705 need_version=unknown
15706
15707 case $host_os in
15708 aix3*)
15709 version_type=linux
15710 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15711 shlibpath_var=LIBPATH
15712
15713 # AIX 3 has no versioning support, so we append a major version to the name.
15714 soname_spec='${libname}${release}${shared_ext}$major'
15715 ;;
15716
15717 aix[4-9]*)
15718 version_type=linux
15719 need_lib_prefix=no
15720 need_version=no
15721 hardcode_into_libs=yes
15722 if test "$host_cpu" = ia64; then
15723 # AIX 5 supports IA64
15724 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15725 shlibpath_var=LD_LIBRARY_PATH
15726 else
15727 # With GCC up to 2.95.x, collect2 would create an import file
15728 # for dependence libraries. The import file would start with
15729 # the line `#! .'. This would cause the generated library to
15730 # depend on `.', always an invalid library. This was fixed in
15731 # development snapshots of GCC prior to 3.0.
15732 case $host_os in
15733 aix4 | aix4.[01] | aix4.[01].*)
15734 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15735 echo ' yes '
15736 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15737 :
15738 else
15739 can_build_shared=no
15740 fi
15741 ;;
15742 esac
15743 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15744 # soname into executable. Probably we can add versioning support to
15745 # collect2, so additional links can be useful in future.
15746 if test "$aix_use_runtimelinking" = yes; then
15747 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15748 # instead of lib<name>.a to let people know that these are not
15749 # typical AIX shared libraries.
15750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15751 else
15752 # We preserve .a as extension for shared libraries through AIX4.2
15753 # and later when we are not doing run time linking.
15754 library_names_spec='${libname}${release}.a $libname.a'
15755 soname_spec='${libname}${release}${shared_ext}$major'
15756 fi
15757 shlibpath_var=LIBPATH
15758 fi
15759 ;;
15760
15761 amigaos*)
15762 if test "$host_cpu" = m68k; then
15763 library_names_spec='$libname.ixlibrary $libname.a'
15764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15765 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'
15766 else
15767 dynamic_linker=no
15768 fi
15769 ;;
15770
15771 beos*)
15772 library_names_spec='${libname}${shared_ext}'
15773 dynamic_linker="$host_os ld.so"
15774 shlibpath_var=LIBRARY_PATH
15775 ;;
15776
15777 bsdi[45]*)
15778 version_type=linux
15779 need_version=no
15780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15781 soname_spec='${libname}${release}${shared_ext}$major'
15782 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15783 shlibpath_var=LD_LIBRARY_PATH
15784 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15785 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15786 # the default ld.so.conf also contains /usr/contrib/lib and
15787 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15788 # libtool to hard-code these into programs
15789 ;;
15790
15791 cygwin* | mingw* | pw32*)
15792 version_type=windows
15793 shrext_cmds=".dll"
15794 need_version=no
15795 need_lib_prefix=no
15796
15797 case $withGCC,$host_os in
15798 yes,cygwin* | yes,mingw* | yes,pw32*)
15799 library_names_spec='$libname.dll.a'
15800 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15801 postinstall_cmds='base_file=`basename \${file}`~
15802 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15803 dldir=$destdir/`dirname \$dlpath`~
15804 test -d \$dldir || mkdir -p \$dldir~
15805 $install_prog $dir/$dlname \$dldir/$dlname~
15806 chmod a+x \$dldir/$dlname~
15807 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15808 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15809 fi'
15810 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15811 dlpath=$dir/\$dldll~
15812 $RM \$dlpath'
15813 shlibpath_overrides_runpath=yes
15814
15815 case $host_os in
15816 cygwin*)
15817 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15818 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15819 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15820 ;;
15821 mingw*)
15822 # MinGW DLLs use traditional 'lib' prefix
15823 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15824 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15825 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15826 # It is most probably a Windows format PATH printed by
15827 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15828 # path with ; separators, and with drive letters. We can handle the
15829 # drive letters (cygwin fileutils understands them), so leave them,
15830 # especially as we might pass files found there to a mingw objdump,
15831 # which wouldn't understand a cygwinified path. Ahh.
15832 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15833 else
15834 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15835 fi
15836 ;;
15837 pw32*)
15838 # pw32 DLLs use 'pw' prefix rather than 'lib'
15839 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15840 ;;
15841 esac
15842 ;;
15843
15844 *)
15845 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15846 ;;
15847 esac
15848 dynamic_linker='Win32 ld.exe'
15849 # FIXME: first we should search . and the directory the executable is in
15850 shlibpath_var=PATH
15851 ;;
15852
15853 darwin* | rhapsody*)
15854 dynamic_linker="$host_os dyld"
15855 version_type=darwin
15856 need_lib_prefix=no
15857 need_version=no
15858 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15859 soname_spec='${libname}${release}${major}$shared_ext'
15860 shlibpath_overrides_runpath=yes
15861 shlibpath_var=DYLD_LIBRARY_PATH
15862 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15863
15864 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15865 ;;
15866
15867 dgux*)
15868 version_type=linux
15869 need_lib_prefix=no
15870 need_version=no
15871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15872 soname_spec='${libname}${release}${shared_ext}$major'
15873 shlibpath_var=LD_LIBRARY_PATH
15874 ;;
15875
15876 freebsd1*)
15877 dynamic_linker=no
15878 ;;
15879
15880 freebsd* | dragonfly*)
15881 # DragonFly does not have aout. When/if they implement a new
15882 # versioning mechanism, adjust this.
15883 if test -x /usr/bin/objformat; then
15884 objformat=`/usr/bin/objformat`
15885 else
15886 case $host_os in
15887 freebsd[123]*) objformat=aout ;;
15888 *) objformat=elf ;;
15889 esac
15890 fi
15891 version_type=freebsd-$objformat
15892 case $version_type in
15893 freebsd-elf*)
15894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15895 need_version=no
15896 need_lib_prefix=no
15897 ;;
15898 freebsd-*)
15899 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15900 need_version=yes
15901 ;;
15902 esac
15903 shlibpath_var=LD_LIBRARY_PATH
15904 case $host_os in
15905 freebsd2*)
15906 shlibpath_overrides_runpath=yes
15907 ;;
15908 freebsd3.[01]* | freebsdelf3.[01]*)
15909 shlibpath_overrides_runpath=yes
15910 hardcode_into_libs=yes
15911 ;;
15912 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15913 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15914 shlibpath_overrides_runpath=no
15915 hardcode_into_libs=yes
15916 ;;
15917 *) # from 4.6 on, and DragonFly
15918 shlibpath_overrides_runpath=yes
15919 hardcode_into_libs=yes
15920 ;;
15921 esac
15922 ;;
15923
15924 gnu*)
15925 version_type=linux
15926 need_lib_prefix=no
15927 need_version=no
15928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15929 soname_spec='${libname}${release}${shared_ext}$major'
15930 shlibpath_var=LD_LIBRARY_PATH
15931 hardcode_into_libs=yes
15932 ;;
15933
15934 hpux9* | hpux10* | hpux11*)
15935 # Give a soname corresponding to the major version so that dld.sl refuses to
15936 # link against other versions.
15937 version_type=sunos
15938 need_lib_prefix=no
15939 need_version=no
15940 case $host_cpu in
15941 ia64*)
15942 shrext_cmds='.so'
15943 hardcode_into_libs=yes
15944 dynamic_linker="$host_os dld.so"
15945 shlibpath_var=LD_LIBRARY_PATH
15946 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec='${libname}${release}${shared_ext}$major'
15949 if test "X$HPUX_IA64_MODE" = X32; then
15950 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15951 else
15952 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15953 fi
15954 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15955 ;;
15956 hppa*64*)
15957 shrext_cmds='.sl'
15958 hardcode_into_libs=yes
15959 dynamic_linker="$host_os dld.sl"
15960 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15961 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15963 soname_spec='${libname}${release}${shared_ext}$major'
15964 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15965 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15966 ;;
15967 *)
15968 shrext_cmds='.sl'
15969 dynamic_linker="$host_os dld.sl"
15970 shlibpath_var=SHLIB_PATH
15971 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15973 soname_spec='${libname}${release}${shared_ext}$major'
15974 ;;
15975 esac
15976 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15977 postinstall_cmds='chmod 555 $lib'
15978 ;;
15979
15980 interix[3-9]*)
15981 version_type=linux
15982 need_lib_prefix=no
15983 need_version=no
15984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15985 soname_spec='${libname}${release}${shared_ext}$major'
15986 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15987 shlibpath_var=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath=no
15989 hardcode_into_libs=yes
15990 ;;
15991
15992 irix5* | irix6* | nonstopux*)
15993 case $host_os in
15994 nonstopux*) version_type=nonstopux ;;
15995 *)
15996 if test "$lt_cv_prog_gnu_ld" = yes; then
15997 version_type=linux
15998 else
15999 version_type=irix
16000 fi ;;
16001 esac
16002 need_lib_prefix=no
16003 need_version=no
16004 soname_spec='${libname}${release}${shared_ext}$major'
16005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16006 case $host_os in
16007 irix5* | nonstopux*)
16008 libsuff= shlibsuff=
16009 ;;
16010 *)
16011 case $LD in # libtool.m4 will add one of these switches to LD
16012 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16013 libsuff= shlibsuff= libmagic=32-bit;;
16014 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16015 libsuff=32 shlibsuff=N32 libmagic=N32;;
16016 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16017 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16018 *) libsuff= shlibsuff= libmagic=never-match;;
16019 esac
16020 ;;
16021 esac
16022 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16023 shlibpath_overrides_runpath=no
16024 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16025 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16026 hardcode_into_libs=yes
16027 ;;
16028
16029 # No shared lib support for Linux oldld, aout, or coff.
16030 linux*oldld* | linux*aout* | linux*coff*)
16031 dynamic_linker=no
16032 ;;
16033
16034 # This must be Linux ELF.
16035 linux* | k*bsd*-gnu)
16036 version_type=linux
16037 need_lib_prefix=no
16038 need_version=no
16039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16040 soname_spec='${libname}${release}${shared_ext}$major'
16041 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16042 shlibpath_var=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath=no
16044 # Some binutils ld are patched to set DT_RUNPATH
16045 save_LDFLAGS=$LDFLAGS
16046 save_libdir=$libdir
16047 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16048 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16049 if test x$gcc_no_link = xyes; then
16050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16052 { (exit 1); exit 1; }; }
16053 fi
16054 cat >conftest.$ac_ext <<_ACEOF
16055 /* confdefs.h. */
16056 _ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060
16061 int
16062 main ()
16063 {
16064
16065 ;
16066 return 0;
16067 }
16068 _ACEOF
16069 rm -f conftest.$ac_objext conftest$ac_exeext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071 (eval $ac_link) 2>conftest.er1
16072 ac_status=$?
16073 grep -v '^ *+' conftest.er1 >conftest.err
16074 rm -f conftest.er1
16075 cat conftest.err >&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try='test -z "$ac_cxx_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try='test -s conftest$ac_exeext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
16092 shlibpath_overrides_runpath=yes
16093 fi
16094
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16098
16099 fi
16100 rm -f conftest.err conftest.$ac_objext \
16101 conftest$ac_exeext conftest.$ac_ext
16102 LDFLAGS=$save_LDFLAGS
16103 libdir=$save_libdir
16104
16105 # This implies no fast_install, which is unacceptable.
16106 # Some rework will be needed to allow for fast_install
16107 # before this can be enabled.
16108 hardcode_into_libs=yes
16109
16110 # Append ld.so.conf contents to the search path
16111 if test -f /etc/ld.so.conf; then
16112 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' ' '`
16113 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16114 fi
16115
16116 # We used to test for /lib/ld.so.1 and disable shared libraries on
16117 # powerpc, because MkLinux only supported shared libraries with the
16118 # GNU dynamic linker. Since this was broken with cross compilers,
16119 # most powerpc-linux boxes support dynamic linking these days and
16120 # people can always --disable-shared, the test was removed, and we
16121 # assume the GNU/Linux dynamic linker is in use.
16122 dynamic_linker='GNU/Linux ld.so'
16123 ;;
16124
16125 netbsd*)
16126 version_type=sunos
16127 need_lib_prefix=no
16128 need_version=no
16129 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16131 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16132 dynamic_linker='NetBSD (a.out) ld.so'
16133 else
16134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16135 soname_spec='${libname}${release}${shared_ext}$major'
16136 dynamic_linker='NetBSD ld.elf_so'
16137 fi
16138 shlibpath_var=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath=yes
16140 hardcode_into_libs=yes
16141 ;;
16142
16143 newsos6)
16144 version_type=linux
16145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16146 shlibpath_var=LD_LIBRARY_PATH
16147 shlibpath_overrides_runpath=yes
16148 ;;
16149
16150 *nto* | *qnx*)
16151 version_type=qnx
16152 need_lib_prefix=no
16153 need_version=no
16154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16155 soname_spec='${libname}${release}${shared_ext}$major'
16156 shlibpath_var=LD_LIBRARY_PATH
16157 shlibpath_overrides_runpath=no
16158 hardcode_into_libs=yes
16159 dynamic_linker='ldqnx.so'
16160 ;;
16161
16162 openbsd*)
16163 version_type=sunos
16164 sys_lib_dlsearch_path_spec="/usr/lib"
16165 need_lib_prefix=no
16166 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16167 case $host_os in
16168 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16169 *) need_version=no ;;
16170 esac
16171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16173 shlibpath_var=LD_LIBRARY_PATH
16174 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16175 case $host_os in
16176 openbsd2.[89] | openbsd2.[89].*)
16177 shlibpath_overrides_runpath=no
16178 ;;
16179 *)
16180 shlibpath_overrides_runpath=yes
16181 ;;
16182 esac
16183 else
16184 shlibpath_overrides_runpath=yes
16185 fi
16186 ;;
16187
16188 os2*)
16189 libname_spec='$name'
16190 shrext_cmds=".dll"
16191 need_lib_prefix=no
16192 library_names_spec='$libname${shared_ext} $libname.a'
16193 dynamic_linker='OS/2 ld.exe'
16194 shlibpath_var=LIBPATH
16195 ;;
16196
16197 osf3* | osf4* | osf5*)
16198 version_type=osf
16199 need_lib_prefix=no
16200 need_version=no
16201 soname_spec='${libname}${release}${shared_ext}$major'
16202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16203 shlibpath_var=LD_LIBRARY_PATH
16204 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16205 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16206 ;;
16207
16208 rdos*)
16209 dynamic_linker=no
16210 ;;
16211
16212 solaris*)
16213 version_type=linux
16214 need_lib_prefix=no
16215 need_version=no
16216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16217 soname_spec='${libname}${release}${shared_ext}$major'
16218 shlibpath_var=LD_LIBRARY_PATH
16219 shlibpath_overrides_runpath=yes
16220 hardcode_into_libs=yes
16221 # ldd complains unless libraries are executable
16222 postinstall_cmds='chmod +x $lib'
16223 ;;
16224
16225 sunos4*)
16226 version_type=sunos
16227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16228 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16229 shlibpath_var=LD_LIBRARY_PATH
16230 shlibpath_overrides_runpath=yes
16231 if test "$with_gnu_ld" = yes; then
16232 need_lib_prefix=no
16233 fi
16234 need_version=yes
16235 ;;
16236
16237 sysv4 | sysv4.3*)
16238 version_type=linux
16239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16240 soname_spec='${libname}${release}${shared_ext}$major'
16241 shlibpath_var=LD_LIBRARY_PATH
16242 case $host_vendor in
16243 sni)
16244 shlibpath_overrides_runpath=no
16245 need_lib_prefix=no
16246 runpath_var=LD_RUN_PATH
16247 ;;
16248 siemens)
16249 need_lib_prefix=no
16250 ;;
16251 motorola)
16252 need_lib_prefix=no
16253 need_version=no
16254 shlibpath_overrides_runpath=no
16255 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16256 ;;
16257 esac
16258 ;;
16259
16260 sysv4*MP*)
16261 if test -d /usr/nec ;then
16262 version_type=linux
16263 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16264 soname_spec='$libname${shared_ext}.$major'
16265 shlibpath_var=LD_LIBRARY_PATH
16266 fi
16267 ;;
16268
16269 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16270 version_type=freebsd-elf
16271 need_lib_prefix=no
16272 need_version=no
16273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16274 soname_spec='${libname}${release}${shared_ext}$major'
16275 shlibpath_var=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath=yes
16277 hardcode_into_libs=yes
16278 if test "$with_gnu_ld" = yes; then
16279 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16280 else
16281 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16282 case $host_os in
16283 sco3.2v5*)
16284 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16285 ;;
16286 esac
16287 fi
16288 sys_lib_dlsearch_path_spec='/usr/lib'
16289 ;;
16290
16291 tpf*)
16292 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16293 version_type=linux
16294 need_lib_prefix=no
16295 need_version=no
16296 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16297 shlibpath_var=LD_LIBRARY_PATH
16298 shlibpath_overrides_runpath=no
16299 hardcode_into_libs=yes
16300 ;;
16301
16302 uts4*)
16303 version_type=linux
16304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16305 soname_spec='${libname}${release}${shared_ext}$major'
16306 shlibpath_var=LD_LIBRARY_PATH
16307 ;;
16308
16309 *)
16310 dynamic_linker=no
16311 ;;
16312 esac
16313 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16314 echo "${ECHO_T}$dynamic_linker" >&6
16315 test "$dynamic_linker" = no && can_build_shared=no
16316
16317 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16318 if test "$GCC" = yes; then
16319 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16320 fi
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16358 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16359 hardcode_action_CXX=
16360 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16361 test -n "$runpath_var_CXX" ||
16362 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16363
16364 # We can hardcode non-existent directories.
16365 if test "$hardcode_direct_CXX" != no &&
16366 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16367 # have to relink, otherwise we might link with an installed library
16368 # when we should be linking with a yet-to-be-installed one
16369 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16370 test "$hardcode_minus_L_CXX" != no; then
16371 # Linking always hardcodes the temporary library directory.
16372 hardcode_action_CXX=relink
16373 else
16374 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16375 hardcode_action_CXX=immediate
16376 fi
16377 else
16378 # We cannot hardcode anything, or else we can only hardcode existing
16379 # directories.
16380 hardcode_action_CXX=unsupported
16381 fi
16382 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16383 echo "${ECHO_T}$hardcode_action_CXX" >&6
16384
16385 if test "$hardcode_action_CXX" = relink ||
16386 test "$inherit_rpath_CXX" = yes; then
16387 # Fast installation is not supported
16388 enable_fast_install=no
16389 elif test "$shlibpath_overrides_runpath" = yes ||
16390 test "$enable_shared" = no; then
16391 # Fast installation is not necessary
16392 enable_fast_install=needless
16393 fi
16394
16395
16396
16397
16398
16399
16400
16401 fi # test -n "$compiler"
16402
16403 CC=$lt_save_CC
16404 LDCXX=$LD
16405 LD=$lt_save_LD
16406 GCC=$lt_save_GCC
16407 with_gnu_ld=$lt_save_with_gnu_ld
16408 lt_cv_path_LDCXX=$lt_cv_path_LD
16409 lt_cv_path_LD=$lt_save_path_LD
16410 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16411 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16412 fi # test "$_lt_caught_CXX_error" != yes
16413
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16419
16420
16421
16422 # Handle -Werror default case.
16423 if test "$ENABLE_WERROR" = default; then
16424 case "$host_os" in
16425 *linux*)
16426 if test "$GCC" = yes; then
16427 ENABLE_WERROR=yes
16428 fi
16429 ;;
16430 esac
16431 fi
16432
16433 if test "x${COMPILE_COLLECTIONS}" = xyes; then
16434 # Extract the first word of "perl", so it can be a program name with args.
16435 set dummy perl; ac_word=$2
16436 echo "$as_me:$LINENO: checking for $ac_word" >&5
16437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16438 if test "${ac_cv_path_PERL+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 else
16441 case $PERL in
16442 [\\/]* | ?:[\\/]*)
16443 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16444 ;;
16445 *)
16446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16447 for as_dir in $PATH
16448 do
16449 IFS=$as_save_IFS
16450 test -z "$as_dir" && as_dir=.
16451 for ac_exec_ext in '' $ac_executable_extensions; do
16452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16453 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16455 break 2
16456 fi
16457 done
16458 done
16459
16460 ;;
16461 esac
16462 fi
16463 PERL=$ac_cv_path_PERL
16464
16465 if test -n "$PERL"; then
16466 echo "$as_me:$LINENO: result: $PERL" >&5
16467 echo "${ECHO_T}$PERL" >&6
16468 else
16469 echo "$as_me:$LINENO: result: no" >&5
16470 echo "${ECHO_T}no" >&6
16471 fi
16472
16473
16474
16475 ac_config_files="$ac_config_files lib/mkcollections.pl"
16476
16477 ac_config_commands="$ac_config_commands mkcollections.pl"
16478
16479 fi
16480
16481 if test "x${COMPILE_JNI}" = xyes; then
16482
16483
16484
16485 echo "$as_me:$LINENO: checking __attribute__((,,))" >&5
16486 echo $ECHO_N "checking __attribute__((,,))... $ECHO_C" >&6
16487 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497
16498 int
16499 main ()
16500 {
16501 extern int testfunction(int x) __attribute__((,,))
16502 ;
16503 return 0;
16504 }
16505 _ACEOF
16506 rm -f conftest.$ac_objext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508 (eval $ac_compile) 2>conftest.er1
16509 ac_status=$?
16510 grep -v '^ *+' conftest.er1 >conftest.err
16511 rm -f conftest.er1
16512 cat conftest.err >&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 gcc_cv_c_gcc_attribute_supported=yes
16529 else
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.$ac_ext >&5
16532
16533 gcc_cv_c_gcc_attribute_supported=no
16534 fi
16535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16536
16537 fi
16538
16539 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes; then
16540 true
16541 echo "$as_me:$LINENO: result: yes" >&5
16542 echo "${ECHO_T}yes" >&6
16543
16544 cat >>confdefs.h <<\_ACEOF
16545 #define HAVE_GNUC25_ATTRIB
16546 _ACEOF
16547
16548
16549 else
16550 true
16551 echo "$as_me:$LINENO: result: no" >&5
16552 echo "${ECHO_T}no" >&6
16553
16554 fi
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565 echo "$as_me:$LINENO: checking __attribute__((unused))" >&5
16566 echo $ECHO_N "checking __attribute__((unused))... $ECHO_C" >&6
16567 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16569 else
16570
16571 cat >conftest.$ac_ext <<_ACEOF
16572 /* confdefs.h. */
16573 _ACEOF
16574 cat confdefs.h >>conftest.$ac_ext
16575 cat >>conftest.$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16577
16578 int
16579 main ()
16580 {
16581 extern int testfunction(int x) __attribute__((unused))
16582 ;
16583 return 0;
16584 }
16585 _ACEOF
16586 rm -f conftest.$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16589 ac_status=$?
16590 grep -v '^ *+' conftest.er1 >conftest.err
16591 rm -f conftest.er1
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 gcc_cv_c_gcc_attribute_unused=yes
16609 else
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16612
16613 gcc_cv_c_gcc_attribute_unused=no
16614 fi
16615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16616
16617 fi
16618
16619 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes; then
16620 true
16621 echo "$as_me:$LINENO: result: yes" >&5
16622 echo "${ECHO_T}yes" >&6
16623
16624 cat >>confdefs.h <<\_ACEOF
16625 #define HAVE_GNUC25_UNUSED
16626 _ACEOF
16627
16628
16629 else
16630 true
16631 echo "$as_me:$LINENO: result: no" >&5
16632 echo "${ECHO_T}no" >&6
16633
16634 fi
16635
16636
16637
16638
16639
16640
16641 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16642 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16643 if test "${ac_cv_header_stdc+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 #include <stdlib.h>
16653 #include <stdarg.h>
16654 #include <string.h>
16655 #include <float.h>
16656
16657 int
16658 main ()
16659 {
16660
16661 ;
16662 return 0;
16663 }
16664 _ACEOF
16665 rm -f conftest.$ac_objext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16667 (eval $ac_compile) 2>conftest.er1
16668 ac_status=$?
16669 grep -v '^ *+' conftest.er1 >conftest.err
16670 rm -f conftest.er1
16671 cat conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } &&
16674 { ac_try='test -z "$ac_c_werror_flag"
16675 || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 ac_cv_header_stdc=yes
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 ac_cv_header_stdc=no
16693 fi
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695
16696 if test $ac_cv_header_stdc = yes; then
16697 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 #include <string.h>
16705
16706 _ACEOF
16707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16708 $EGREP "memchr" >/dev/null 2>&1; then
16709 :
16710 else
16711 ac_cv_header_stdc=no
16712 fi
16713 rm -f conftest*
16714
16715 fi
16716
16717 if test $ac_cv_header_stdc = yes; then
16718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 #include <stdlib.h>
16726
16727 _ACEOF
16728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16729 $EGREP "free" >/dev/null 2>&1; then
16730 :
16731 else
16732 ac_cv_header_stdc=no
16733 fi
16734 rm -f conftest*
16735
16736 fi
16737
16738 if test $ac_cv_header_stdc = yes; then
16739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16740 if test "$cross_compiling" = yes; then
16741 :
16742 else
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h. */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16749 #include <ctype.h>
16750 #if ((' ' & 0x0FF) == 0x020)
16751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16753 #else
16754 # define ISLOWER(c) \
16755 (('a' <= (c) && (c) <= 'i') \
16756 || ('j' <= (c) && (c) <= 'r') \
16757 || ('s' <= (c) && (c) <= 'z'))
16758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16759 #endif
16760
16761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16762 int
16763 main ()
16764 {
16765 int i;
16766 for (i = 0; i < 256; i++)
16767 if (XOR (islower (i), ISLOWER (i))
16768 || toupper (i) != TOUPPER (i))
16769 exit(2);
16770 exit (0);
16771 }
16772 _ACEOF
16773 rm -f conftest$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>&5
16776 ac_status=$?
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16781 ac_status=$?
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16784 :
16785 else
16786 echo "$as_me: program exited with status $ac_status" >&5
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 ( exit $ac_status )
16791 ac_cv_header_stdc=no
16792 fi
16793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16794 fi
16795 fi
16796 fi
16797 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16798 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16799 if test $ac_cv_header_stdc = yes; then
16800
16801 cat >>confdefs.h <<\_ACEOF
16802 #define STDC_HEADERS 1
16803 _ACEOF
16804
16805 fi
16806
16807
16808 echo "$as_me:$LINENO: checking size of void *" >&5
16809 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16810 if test "${ac_cv_sizeof_void_p+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 else
16813 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16814 cat >conftest.$ac_ext <<_ACEOF
16815 /* confdefs.h. */
16816 _ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 #include "confdefs.h"
16821 #include <sys/types.h>
16822
16823
16824 int
16825 main ()
16826 {
16827 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_c_werror_flag"
16842 || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try='test -s conftest.$ac_objext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_sizeof_void_p=$ac_size
16855 else
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16858
16859 fi
16860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16861 if test x$ac_cv_sizeof_void_p != x ; then break; fi
16862 done
16863
16864 fi
16865
16866 if test x$ac_cv_sizeof_void_p = x ; then
16867 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
16868 echo "$as_me: error: cannot determine a size for void *" >&2;}
16869 { (exit 1); exit 1; }; }
16870 fi
16871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16872 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16873
16874 cat >>confdefs.h <<_ACEOF
16875 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16876 _ACEOF
16877
16878
16879
16880 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16881 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16882 if test "${ac_cv_c_bigendian+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 ac_cv_c_bigendian=unknown
16886 # See if sys/param.h defines the BYTE_ORDER macro.
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 #include <sys/types.h>
16894 #include <sys/param.h>
16895 int
16896 main ()
16897 {
16898
16899 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16900 bogus endian macros
16901 #endif
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_c_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 # It does; now see whether it defined to BIG_ENDIAN or not.
16929 cat >conftest.$ac_ext <<_ACEOF
16930 /* confdefs.h. */
16931 _ACEOF
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 #include <sys/types.h>
16936 #include <sys/param.h>
16937 int
16938 main ()
16939 {
16940
16941 #if BYTE_ORDER != BIG_ENDIAN
16942 not big endian
16943 #endif
16944 ;
16945 return 0;
16946 }
16947 _ACEOF
16948 rm -f conftest.$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>conftest.er1
16951 ac_status=$?
16952 grep -v '^ *+' conftest.er1 >conftest.err
16953 rm -f conftest.er1
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } &&
16957 { ac_try='test -z "$ac_c_werror_flag"
16958 || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16961 ac_status=$?
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_cv_c_bigendian=yes
16971 else
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16974
16975 ac_cv_c_bigendian=no
16976 fi
16977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16978 else
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16981
16982 fi
16983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16984 if test $ac_cv_c_bigendian = unknown; then
16985 if test "$cross_compiling" = yes; then
16986 echo $ac_n "cross-compiling... " 2>&6
16987 else
16988 cat >conftest.$ac_ext <<_ACEOF
16989 /* confdefs.h. */
16990 _ACEOF
16991 cat confdefs.h >>conftest.$ac_ext
16992 cat >>conftest.$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16994 main () {
16995 /* Are we little or big endian? From Harbison&Steele. */
16996 union
16997 {
16998 long l;
16999 char c[sizeof (long)];
17000 } u;
17001 u.l = 1;
17002 exit (u.c[sizeof (long) - 1] == 1);
17003 }
17004 _ACEOF
17005 rm -f conftest$ac_exeext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_c_bigendian=no
17017 else
17018 echo "$as_me: program exited with status $ac_status" >&5
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17021
17022 ( exit $ac_status )
17023 ac_cv_c_bigendian=yes
17024 fi
17025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17026 fi
17027 fi
17028 fi
17029 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17030 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17031 if test $ac_cv_c_bigendian = unknown; then
17032 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
17033 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
17034
17035 cat >conftest.c <<EOF
17036 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17037 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17038 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
17039 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17040 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17041 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
17042 int main() { _ascii (); _ebcdic (); return 0; }
17043 EOF
17044 if test -f conftest.c ; then
17045 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
17046 if test `grep -l BIGenDianSyS conftest.o` ; then
17047 echo $ac_n ' big endian probe OK, ' 1>&6
17048 ac_cv_c_bigendian=yes
17049 fi
17050 if test `grep -l LiTTleEnDian conftest.o` ; then
17051 echo $ac_n ' little endian probe OK, ' 1>&6
17052 if test $ac_cv_c_bigendian = yes ; then
17053 ac_cv_c_bigendian=unknown;
17054 else
17055 ac_cv_c_bigendian=no
17056 fi
17057 fi
17058 echo $ac_n 'guessing bigendian ... ' >&6
17059 fi
17060 fi
17061 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17062 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17063 fi
17064 if test $ac_cv_c_bigendian = yes; then
17065
17066 cat >>confdefs.h <<\_ACEOF
17067 #define WORDS_BIGENDIAN 1
17068 _ACEOF
17069
17070
17071 cat >>confdefs.h <<\_ACEOF
17072 #define HOST_WORDS_BIG_ENDIAN 1
17073 _ACEOF
17074
17075 BYTEORDER=4321
17076 else
17077 BYTEORDER=1234
17078 fi
17079
17080 cat >>confdefs.h <<_ACEOF
17081 #define BYTEORDER $BYTEORDER
17082 _ACEOF
17083
17084 if test $ac_cv_c_bigendian = unknown; then
17085 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
17086 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
17087 { (exit 1); exit 1; }; }
17088 fi
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
17111 asm/ioctls.h \
17112 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
17113 sys/time.h \
17114 sys/select.h \
17115 crt_externs.h \
17116 fcntl.h \
17117 sys/mman.h \
17118 magic.h \
17119 sys/event.h sys/epoll.h \
17120 ifaddrs.h
17121 do
17122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
17129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17131 else
17132 # Is the header compilable?
17133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17135 cat >conftest.$ac_ext <<_ACEOF
17136 /* confdefs.h. */
17137 _ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17142 #include <$ac_header>
17143 _ACEOF
17144 rm -f conftest.$ac_objext
17145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17146 (eval $ac_compile) 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } &&
17153 { ac_try='test -z "$ac_c_werror_flag"
17154 || test ! -s conftest.err'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; } &&
17160 { ac_try='test -s conftest.$ac_objext'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; }; then
17166 ac_header_compiler=yes
17167 else
17168 echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.$ac_ext >&5
17170
17171 ac_header_compiler=no
17172 fi
17173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17175 echo "${ECHO_T}$ac_header_compiler" >&6
17176
17177 # Is the header present?
17178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17180 cat >conftest.$ac_ext <<_ACEOF
17181 /* confdefs.h. */
17182 _ACEOF
17183 cat confdefs.h >>conftest.$ac_ext
17184 cat >>conftest.$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17186 #include <$ac_header>
17187 _ACEOF
17188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } >/dev/null; then
17196 if test -s conftest.err; then
17197 ac_cpp_err=$ac_c_preproc_warn_flag
17198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17199 else
17200 ac_cpp_err=
17201 fi
17202 else
17203 ac_cpp_err=yes
17204 fi
17205 if test -z "$ac_cpp_err"; then
17206 ac_header_preproc=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17210
17211 ac_header_preproc=no
17212 fi
17213 rm -f conftest.err conftest.$ac_ext
17214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17215 echo "${ECHO_T}$ac_header_preproc" >&6
17216
17217 # So? What about this header?
17218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17219 yes:no: )
17220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17224 ac_header_preproc=yes
17225 ;;
17226 no:yes:* )
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17239 (
17240 cat <<\_ASBOX
17241 ## -------------------------------- ##
17242 ## Report this to classpath@gnu.org ##
17243 ## -------------------------------- ##
17244 _ASBOX
17245 ) |
17246 sed "s/^/$as_me: WARNING: /" >&2
17247 ;;
17248 esac
17249 echo "$as_me:$LINENO: checking for $ac_header" >&5
17250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 else
17254 eval "$as_ac_Header=\$ac_header_preproc"
17255 fi
17256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17258
17259 fi
17260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17261 cat >>confdefs.h <<_ACEOF
17262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17263 _ACEOF
17264
17265 fi
17266
17267 done
17268
17269
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <stdint.h>
17277
17278 _ACEOF
17279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17280 $EGREP "uint32_t" >/dev/null 2>&1; then
17281
17282 cat >>confdefs.h <<\_ACEOF
17283 #define HAVE_INT32_DEFINED 1
17284 _ACEOF
17285
17286 fi
17287 rm -f conftest*
17288
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 #include <inttypes.h>
17296
17297 _ACEOF
17298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17299 $EGREP "uint32_t" >/dev/null 2>&1; then
17300
17301 cat >>confdefs.h <<\_ACEOF
17302 #define HAVE_INT32_DEFINED 1
17303 _ACEOF
17304
17305 fi
17306 rm -f conftest*
17307
17308 cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 #include <sys/types.h>
17315
17316 _ACEOF
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "u_int32_t" >/dev/null 2>&1; then
17319
17320 cat >>confdefs.h <<\_ACEOF
17321 #define HAVE_BSD_INT32_DEFINED 1
17322 _ACEOF
17323
17324 fi
17325 rm -f conftest*
17326
17327 cat >conftest.$ac_ext <<_ACEOF
17328 /* confdefs.h. */
17329 _ACEOF
17330 cat confdefs.h >>conftest.$ac_ext
17331 cat >>conftest.$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 #include <sys/config.h>
17334
17335 _ACEOF
17336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17337 $EGREP "u_int32_t" >/dev/null 2>&1; then
17338
17339 cat >>confdefs.h <<\_ACEOF
17340 #define HAVE_BSD_INT32_DEFINED 1
17341 _ACEOF
17342
17343 fi
17344 rm -f conftest*
17345
17346
17347 echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
17348 echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6
17349 if test "${ac_cv_search_inet_pton+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 ac_func_search_save_LIBS=$LIBS
17353 ac_cv_search_inet_pton=no
17354 if test x$gcc_no_link = xyes; then
17355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17357 { (exit 1); exit 1; }; }
17358 fi
17359 cat >conftest.$ac_ext <<_ACEOF
17360 /* confdefs.h. */
17361 _ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365
17366 /* Override any gcc2 internal prototype to avoid an error. */
17367 #ifdef __cplusplus
17368 extern "C"
17369 #endif
17370 /* We use char because int might match the return type of a gcc2
17371 builtin and then its argument prototype would still apply. */
17372 char inet_pton ();
17373 int
17374 main ()
17375 {
17376 inet_pton ();
17377 ;
17378 return 0;
17379 }
17380 _ACEOF
17381 rm -f conftest.$ac_objext conftest$ac_exeext
17382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17383 (eval $ac_link) 2>conftest.er1
17384 ac_status=$?
17385 grep -v '^ *+' conftest.er1 >conftest.err
17386 rm -f conftest.er1
17387 cat conftest.err >&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try='test -z "$ac_c_werror_flag"
17391 || test ! -s conftest.err'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17394 ac_status=$?
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; } &&
17397 { ac_try='test -s conftest$ac_exeext'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17403 ac_cv_search_inet_pton="none required"
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 fi
17409 rm -f conftest.err conftest.$ac_objext \
17410 conftest$ac_exeext conftest.$ac_ext
17411 if test "$ac_cv_search_inet_pton" = no; then
17412 for ac_lib in nsl; do
17413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17414 if test x$gcc_no_link = xyes; then
17415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17417 { (exit 1); exit 1; }; }
17418 fi
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425
17426 /* Override any gcc2 internal prototype to avoid an error. */
17427 #ifdef __cplusplus
17428 extern "C"
17429 #endif
17430 /* We use char because int might match the return type of a gcc2
17431 builtin and then its argument prototype would still apply. */
17432 char inet_pton ();
17433 int
17434 main ()
17435 {
17436 inet_pton ();
17437 ;
17438 return 0;
17439 }
17440 _ACEOF
17441 rm -f conftest.$ac_objext conftest$ac_exeext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17443 (eval $ac_link) 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag"
17451 || test ! -s conftest.err'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17454 ac_status=$?
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; } &&
17457 { ac_try='test -s conftest$ac_exeext'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; }; then
17463 ac_cv_search_inet_pton="-l$ac_lib"
17464 break
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 fi
17470 rm -f conftest.err conftest.$ac_objext \
17471 conftest$ac_exeext conftest.$ac_ext
17472 done
17473 fi
17474 LIBS=$ac_func_search_save_LIBS
17475 fi
17476 echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
17477 echo "${ECHO_T}$ac_cv_search_inet_pton" >&6
17478 if test "$ac_cv_search_inet_pton" != no; then
17479 test "$ac_cv_search_inet_pton" = "none required" || LIBS="$ac_cv_search_inet_pton $LIBS"
17480
17481 fi
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538 for ac_func in ftruncate fsync select \
17539 gethostname socket strerror fork pipe execve open close \
17540 lseek fstat read readv write writev htonl memset htons connect \
17541 getsockname getpeername bind listen accept \
17542 recvfrom send sendto setsockopt getsockopt time mktime \
17543 gethostbyname_r localtime_r \
17544 strerror_r \
17545 fcntl \
17546 mmap munmap mincore msync madvise getpagesize sysconf \
17547 lstat readlink \
17548 inet_aton inet_addr inet_pton \
17549 getifaddrs kqueue kevent epoll_create \
17550 readdir_r getloadavg
17551 do
17552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17553 echo "$as_me:$LINENO: checking for $ac_func" >&5
17554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17555 if eval "test \"\${$as_ac_var+set}\" = set"; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 else
17558 if test x$gcc_no_link = xyes; then
17559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17561 { (exit 1); exit 1; }; }
17562 fi
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17571 #define $ac_func innocuous_$ac_func
17572
17573 /* System header to define __stub macros and hopefully few prototypes,
17574 which can conflict with char $ac_func (); below.
17575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17576 <limits.h> exists even on freestanding compilers. */
17577
17578 #ifdef __STDC__
17579 # include <limits.h>
17580 #else
17581 # include <assert.h>
17582 #endif
17583
17584 #undef $ac_func
17585
17586 /* Override any gcc2 internal prototype to avoid an error. */
17587 #ifdef __cplusplus
17588 extern "C"
17589 {
17590 #endif
17591 /* We use char because int might match the return type of a gcc2
17592 builtin and then its argument prototype would still apply. */
17593 char $ac_func ();
17594 /* The GNU C library defines this for functions which it implements
17595 to always fail with ENOSYS. Some functions are actually named
17596 something starting with __ and the normal name is an alias. */
17597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17598 choke me
17599 #else
17600 char (*f) () = $ac_func;
17601 #endif
17602 #ifdef __cplusplus
17603 }
17604 #endif
17605
17606 int
17607 main ()
17608 {
17609 return f != $ac_func;
17610 ;
17611 return 0;
17612 }
17613 _ACEOF
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17616 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17640
17641 eval "$as_ac_var=no"
17642 fi
17643 rm -f conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 fi
17646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17648 if test `eval echo '${'$as_ac_var'}'` = yes; then
17649 cat >>confdefs.h <<_ACEOF
17650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17651 _ACEOF
17652
17653 fi
17654 done
17655
17656
17657 LIBMAGIC=
17658 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
17659 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
17660 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17662 else
17663 ac_check_lib_save_LIBS=$LIBS
17664 LIBS="-lmagic $LIBS"
17665 if test x$gcc_no_link = xyes; then
17666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17668 { (exit 1); exit 1; }; }
17669 fi
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676
17677 /* Override any gcc2 internal prototype to avoid an error. */
17678 #ifdef __cplusplus
17679 extern "C"
17680 #endif
17681 /* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
17683 char magic_open ();
17684 int
17685 main ()
17686 {
17687 magic_open ();
17688 ;
17689 return 0;
17690 }
17691 _ACEOF
17692 rm -f conftest.$ac_objext conftest$ac_exeext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17694 (eval $ac_link) 2>conftest.er1
17695 ac_status=$?
17696 grep -v '^ *+' conftest.er1 >conftest.err
17697 rm -f conftest.er1
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try='test -z "$ac_c_werror_flag"
17702 || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest$ac_exeext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17711 ac_status=$?
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_lib_magic_magic_open=yes
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 ac_cv_lib_magic_magic_open=no
17720 fi
17721 rm -f conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17723 LIBS=$ac_check_lib_save_LIBS
17724 fi
17725 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
17726 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
17727 if test $ac_cv_lib_magic_magic_open = yes; then
17728 LIBMAGIC=-lmagic
17729 fi
17730
17731
17732
17733 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17734 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 #include <netinet/in.h>
17742 int
17743 main ()
17744 {
17745 struct sockaddr_in6 addr6;
17746 ;
17747 return 0;
17748 }
17749 _ACEOF
17750 rm -f conftest.$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try='test -z "$ac_c_werror_flag"
17760 || test ! -s conftest.err'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; } &&
17766 { ac_try='test -s conftest.$ac_objext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17772
17773 cat >>confdefs.h <<\_ACEOF
17774 #define HAVE_INET6 1
17775 _ACEOF
17776
17777 echo "$as_me:$LINENO: result: yes" >&5
17778 echo "${ECHO_T}yes" >&6
17779 else
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17782
17783 echo "$as_me:$LINENO: result: no" >&5
17784 echo "${ECHO_T}no" >&6
17785 fi
17786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17787
17788 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17789 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
17790 if test "${ac_cv_header_time+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17793 cat >conftest.$ac_ext <<_ACEOF
17794 /* confdefs.h. */
17795 _ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 #include <sys/types.h>
17800 #include <sys/time.h>
17801 #include <time.h>
17802
17803 int
17804 main ()
17805 {
17806 if ((struct tm *) 0)
17807 return 0;
17808 ;
17809 return 0;
17810 }
17811 _ACEOF
17812 rm -f conftest.$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17815 ac_status=$?
17816 grep -v '^ *+' conftest.er1 >conftest.err
17817 rm -f conftest.er1
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try='test -z "$ac_c_werror_flag"
17822 || test ! -s conftest.err'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17825 ac_status=$?
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try='test -s conftest.$ac_objext'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17831 ac_status=$?
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17834 ac_cv_header_time=yes
17835 else
17836 echo "$as_me: failed program was:" >&5
17837 sed 's/^/| /' conftest.$ac_ext >&5
17838
17839 ac_cv_header_time=no
17840 fi
17841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17842 fi
17843 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17844 echo "${ECHO_T}$ac_cv_header_time" >&6
17845 if test $ac_cv_header_time = yes; then
17846
17847 cat >>confdefs.h <<\_ACEOF
17848 #define TIME_WITH_SYS_TIME 1
17849 _ACEOF
17850
17851 fi
17852
17853 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17854 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
17855 if test "${ac_cv_struct_tm+set}" = set; then
17856 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 else
17858 cat >conftest.$ac_ext <<_ACEOF
17859 /* confdefs.h. */
17860 _ACEOF
17861 cat confdefs.h >>conftest.$ac_ext
17862 cat >>conftest.$ac_ext <<_ACEOF
17863 /* end confdefs.h. */
17864 #include <sys/types.h>
17865 #include <time.h>
17866
17867 int
17868 main ()
17869 {
17870 struct tm *tp; tp->tm_sec;
17871 ;
17872 return 0;
17873 }
17874 _ACEOF
17875 rm -f conftest.$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try='test -z "$ac_c_werror_flag"
17885 || test ! -s conftest.err'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; } &&
17891 { ac_try='test -s conftest.$ac_objext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17894 ac_status=$?
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_cv_struct_tm=time.h
17898 else
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17901
17902 ac_cv_struct_tm=sys/time.h
17903 fi
17904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17905 fi
17906 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17907 echo "${ECHO_T}$ac_cv_struct_tm" >&6
17908 if test $ac_cv_struct_tm = sys/time.h; then
17909
17910 cat >>confdefs.h <<\_ACEOF
17911 #define TM_IN_SYS_TIME 1
17912 _ACEOF
17913
17914 fi
17915
17916 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
17917 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
17918 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17920 else
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 #include <sys/types.h>
17928 #include <$ac_cv_struct_tm>
17929
17930
17931 int
17932 main ()
17933 {
17934 static struct tm ac_aggr;
17935 if (ac_aggr.tm_zone)
17936 return 0;
17937 ;
17938 return 0;
17939 }
17940 _ACEOF
17941 rm -f conftest.$ac_objext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943 (eval $ac_compile) 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try='test -z "$ac_c_werror_flag"
17951 || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_cv_member_struct_tm_tm_zone=yes
17964 else
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17967
17968 cat >conftest.$ac_ext <<_ACEOF
17969 /* confdefs.h. */
17970 _ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 #include <sys/types.h>
17975 #include <$ac_cv_struct_tm>
17976
17977
17978 int
17979 main ()
17980 {
17981 static struct tm ac_aggr;
17982 if (sizeof ac_aggr.tm_zone)
17983 return 0;
17984 ;
17985 return 0;
17986 }
17987 _ACEOF
17988 rm -f conftest.$ac_objext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17990 (eval $ac_compile) 2>conftest.er1
17991 ac_status=$?
17992 grep -v '^ *+' conftest.er1 >conftest.err
17993 rm -f conftest.er1
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try='test -z "$ac_c_werror_flag"
17998 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18007 ac_status=$?
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_member_struct_tm_tm_zone=yes
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18014
18015 ac_cv_member_struct_tm_tm_zone=no
18016 fi
18017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18018 fi
18019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18020 fi
18021 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18022 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
18023 if test $ac_cv_member_struct_tm_tm_zone = yes; then
18024
18025 cat >>confdefs.h <<_ACEOF
18026 #define HAVE_STRUCT_TM_TM_ZONE 1
18027 _ACEOF
18028
18029
18030 fi
18031
18032 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
18033
18034 cat >>confdefs.h <<\_ACEOF
18035 #define HAVE_TM_ZONE 1
18036 _ACEOF
18037
18038 else
18039 echo "$as_me:$LINENO: checking for tzname" >&5
18040 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
18041 if test "${ac_cv_var_tzname+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044 if test x$gcc_no_link = xyes; then
18045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18047 { (exit 1); exit 1; }; }
18048 fi
18049 cat >conftest.$ac_ext <<_ACEOF
18050 /* confdefs.h. */
18051 _ACEOF
18052 cat confdefs.h >>conftest.$ac_ext
18053 cat >>conftest.$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 #include <time.h>
18056 #ifndef tzname /* For SGI. */
18057 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
18058 #endif
18059
18060 int
18061 main ()
18062 {
18063 atoi(*tzname);
18064 ;
18065 return 0;
18066 }
18067 _ACEOF
18068 rm -f conftest.$ac_objext conftest$ac_exeext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18070 (eval $ac_link) 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try='test -z "$ac_c_werror_flag"
18078 || test ! -s conftest.err'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try='test -s conftest$ac_exeext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_var_tzname=yes
18091 else
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.$ac_ext >&5
18094
18095 ac_cv_var_tzname=no
18096 fi
18097 rm -f conftest.err conftest.$ac_objext \
18098 conftest$ac_exeext conftest.$ac_ext
18099 fi
18100 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
18101 echo "${ECHO_T}$ac_cv_var_tzname" >&6
18102 if test $ac_cv_var_tzname = yes; then
18103
18104 cat >>confdefs.h <<\_ACEOF
18105 #define HAVE_TZNAME 1
18106 _ACEOF
18107
18108 fi
18109 fi
18110
18111
18112 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
18113 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
18114 cat >conftest.$ac_ext <<_ACEOF
18115 /* confdefs.h. */
18116 _ACEOF
18117 cat confdefs.h >>conftest.$ac_ext
18118 cat >>conftest.$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 #include <time.h>
18121 int
18122 main ()
18123 {
18124 struct tm tim; tim.tm_gmtoff = 0;
18125 ;
18126 return 0;
18127 }
18128 _ACEOF
18129 rm -f conftest.$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18132 ac_status=$?
18133 grep -v '^ *+' conftest.er1 >conftest.err
18134 rm -f conftest.er1
18135 cat conftest.err >&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18148 ac_status=$?
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151
18152 cat >>confdefs.h <<\_ACEOF
18153 #define STRUCT_TM_HAS_GMTOFF 1
18154 _ACEOF
18155
18156 echo "$as_me:$LINENO: result: yes" >&5
18157 echo "${ECHO_T}yes" >&6
18158 else
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.$ac_ext >&5
18161
18162 echo "$as_me:$LINENO: result: no" >&5
18163 echo "${ECHO_T}no" >&6
18164 echo "$as_me:$LINENO: checking for global timezone variable" >&5
18165 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #include <time.h>
18173 int
18174 main ()
18175 {
18176 void i(){long z2 = 2*timezone;}
18177 ;
18178 return 0;
18179 }
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18183 (eval $ac_compile) 2>conftest.er1
18184 ac_status=$?
18185 grep -v '^ *+' conftest.er1 >conftest.err
18186 rm -f conftest.er1
18187 cat conftest.err >&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } &&
18190 { ac_try='test -z "$ac_c_werror_flag"
18191 || test ! -s conftest.err'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18194 ac_status=$?
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; } &&
18197 { ac_try='test -s conftest.$ac_objext'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18200 ac_status=$?
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; }; then
18203
18204 cat >>confdefs.h <<\_ACEOF
18205 #define HAVE_TIMEZONE 1
18206 _ACEOF
18207
18208 echo "$as_me:$LINENO: result: yes" >&5
18209 echo "${ECHO_T}yes" >&6
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 echo "$as_me:$LINENO: result: no" >&5
18215 echo "${ECHO_T}no" >&6
18216 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
18217 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
18218 cat >conftest.$ac_ext <<_ACEOF
18219 /* confdefs.h. */
18220 _ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 #include <time.h>
18225 int
18226 main ()
18227 {
18228 long z2 = _timezone;
18229 ;
18230 return 0;
18231 }
18232 _ACEOF
18233 rm -f conftest.$ac_objext
18234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18235 (eval $ac_compile) 2>conftest.er1
18236 ac_status=$?
18237 grep -v '^ *+' conftest.er1 >conftest.err
18238 rm -f conftest.er1
18239 cat conftest.err >&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); } &&
18242 { ac_try='test -z "$ac_c_werror_flag"
18243 || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18246 ac_status=$?
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18252 ac_status=$?
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255
18256 cat >>confdefs.h <<\_ACEOF
18257 #define HAVE_UNDERSCORE_TIMEZONE 1
18258 _ACEOF
18259
18260 echo "$as_me:$LINENO: result: yes" >&5
18261 echo "${ECHO_T}yes" >&6
18262 else
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18265
18266 echo "$as_me:$LINENO: result: no" >&5
18267 echo "${ECHO_T}no" >&6
18268 fi
18269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18270 fi
18271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18272 fi
18273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18274
18275 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18276 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18277 if test "${ac_cv_c_const+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286
18287 int
18288 main ()
18289 {
18290 /* FIXME: Include the comments suggested by Paul. */
18291 #ifndef __cplusplus
18292 /* Ultrix mips cc rejects this. */
18293 typedef int charset[2];
18294 const charset x;
18295 /* SunOS 4.1.1 cc rejects this. */
18296 char const *const *ccp;
18297 char **p;
18298 /* NEC SVR4.0.2 mips cc rejects this. */
18299 struct point {int x, y;};
18300 static struct point const zero = {0,0};
18301 /* AIX XL C 1.02.0.0 rejects this.
18302 It does not let you subtract one const X* pointer from another in
18303 an arm of an if-expression whose if-part is not a constant
18304 expression */
18305 const char *g = "string";
18306 ccp = &g + (g ? g-g : 0);
18307 /* HPUX 7.0 cc rejects these. */
18308 ++ccp;
18309 p = (char**) ccp;
18310 ccp = (char const *const *) p;
18311 { /* SCO 3.2v4 cc rejects this. */
18312 char *t;
18313 char const *s = 0 ? (char *) 0 : (char const *) 0;
18314
18315 *t++ = 0;
18316 }
18317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18318 int x[] = {25, 17};
18319 const int *foo = &x[0];
18320 ++foo;
18321 }
18322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18323 typedef const int *iptr;
18324 iptr p = 0;
18325 ++p;
18326 }
18327 { /* AIX XL C 1.02.0.0 rejects this saying
18328 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18329 struct s { int j; const int *ap[3]; };
18330 struct s *b; b->j = 5;
18331 }
18332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18333 const int foo = 10;
18334 }
18335 #endif
18336
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343 (eval $ac_compile) 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } &&
18350 { ac_try='test -z "$ac_c_werror_flag"
18351 || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18354 ac_status=$?
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 ac_cv_c_const=yes
18364 else
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18367
18368 ac_cv_c_const=no
18369 fi
18370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18371 fi
18372 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18373 echo "${ECHO_T}$ac_cv_c_const" >&6
18374 if test $ac_cv_c_const = no; then
18375
18376 cat >>confdefs.h <<\_ACEOF
18377 #define const
18378 _ACEOF
18379
18380 fi
18381
18382 echo "$as_me:$LINENO: checking for inline" >&5
18383 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18384 if test "${ac_cv_c_inline+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387 ac_cv_c_inline=no
18388 for ac_kw in inline __inline__ __inline; do
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #ifndef __cplusplus
18396 typedef int foo_t;
18397 static $ac_kw foo_t static_foo () {return 0; }
18398 $ac_kw foo_t foo () {return 0; }
18399 #endif
18400
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -z "$ac_c_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_c_inline=$ac_kw; break
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 fi
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18431 done
18432
18433 fi
18434 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18435 echo "${ECHO_T}$ac_cv_c_inline" >&6
18436
18437
18438 case $ac_cv_c_inline in
18439 inline | yes) ;;
18440 *)
18441 case $ac_cv_c_inline in
18442 no) ac_val=;;
18443 *) ac_val=$ac_cv_c_inline;;
18444 esac
18445 cat >>confdefs.h <<_ACEOF
18446 #ifndef __cplusplus
18447 #define inline $ac_val
18448 #endif
18449 _ACEOF
18450 ;;
18451 esac
18452
18453 echo "$as_me:$LINENO: checking for __attribute__" >&5
18454 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
18455 if test "${ac_cv_c_attribute+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 else
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 void foo(void) __attribute__ ((__noreturn__));
18466
18467 _ACEOF
18468 rm -f conftest.$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try='test -z "$ac_c_werror_flag"
18478 || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18481 ac_status=$?
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18487 ac_status=$?
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 ac_cv_c_attribute=yes
18491 else
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.$ac_ext >&5
18494
18495 ac_cv_c_attribute=no
18496
18497 fi
18498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18499
18500 fi
18501 echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
18502 echo "${ECHO_T}$ac_cv_c_attribute" >&6
18503
18504
18505 case $ac_cv_c_attribute in
18506 yes) ;;
18507 no)
18508 cat >>confdefs.h <<_ACEOF
18509 #define __attribute__(x) /* nothing */
18510 _ACEOF
18511 ;;
18512 esac
18513
18514
18515
18516 ac_ext=c
18517 ac_cpp='$CPP $CPPFLAGS'
18518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18521
18522 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
18523 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
18524
18525 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 else
18528
18529
18530 ################################################################
18531
18532 ac_cv_func_which_gethostbyname_r=unknown
18533
18534 #
18535 # ONE ARGUMENT (sanity check)
18536 #
18537
18538 # This should fail, as there is no variant of gethostbyname_r() that takes
18539 # a single argument. If it actually compiles, then we can assume that
18540 # netdb.h is not declaring the function, and the compiler is thereby
18541 # assuming an implicit prototype. In which case, we're out of luck.
18542 #
18543 cat >conftest.$ac_ext <<_ACEOF
18544 /* confdefs.h. */
18545 _ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <netdb.h>
18550 int
18551 main ()
18552 {
18553
18554 char *name = "www.gnu.org";
18555 (void)gethostbyname_r(name) /* ; */
18556
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 rm -f conftest.$ac_objext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18563 (eval $ac_compile) 2>conftest.er1
18564 ac_status=$?
18565 grep -v '^ *+' conftest.er1 >conftest.err
18566 rm -f conftest.er1
18567 cat conftest.err >&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try='test -z "$ac_c_werror_flag"
18571 || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_func_which_gethostbyname_r=no
18584 else
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18587
18588 fi
18589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18590
18591 #
18592 # SIX ARGUMENTS
18593 # (e.g. Linux)
18594 #
18595
18596 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18597
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 #include <netdb.h>
18605 int
18606 main ()
18607 {
18608
18609 char *name = "www.gnu.org";
18610 struct hostent ret, *retp;
18611 char buf[1024];
18612 int buflen = 1024;
18613 int my_h_errno;
18614 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
18615
18616 ;
18617 return 0;
18618 }
18619 _ACEOF
18620 rm -f conftest.$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622 (eval $ac_compile) 2>conftest.er1
18623 ac_status=$?
18624 grep -v '^ *+' conftest.er1 >conftest.err
18625 rm -f conftest.er1
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try='test -z "$ac_c_werror_flag"
18630 || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_func_which_gethostbyname_r=six
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18646
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649
18650 fi
18651
18652 #
18653 # FIVE ARGUMENTS
18654 # (e.g. Solaris)
18655 #
18656
18657 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18658
18659 cat >conftest.$ac_ext <<_ACEOF
18660 /* confdefs.h. */
18661 _ACEOF
18662 cat confdefs.h >>conftest.$ac_ext
18663 cat >>conftest.$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #include <netdb.h>
18666 int
18667 main ()
18668 {
18669
18670 char *name = "www.gnu.org";
18671 struct hostent ret;
18672 char buf[1024];
18673 int buflen = 1024;
18674 int my_h_errno;
18675 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
18676
18677 ;
18678 return 0;
18679 }
18680 _ACEOF
18681 rm -f conftest.$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>conftest.er1
18684 ac_status=$?
18685 grep -v '^ *+' conftest.er1 >conftest.err
18686 rm -f conftest.er1
18687 cat conftest.err >&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try='test -z "$ac_c_werror_flag"
18691 || test ! -s conftest.err'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18694 ac_status=$?
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; } &&
18697 { ac_try='test -s conftest.$ac_objext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_func_which_gethostbyname_r=five
18704 else
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18707
18708 fi
18709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18710
18711 fi
18712
18713 #
18714 # THREE ARGUMENTS
18715 # (e.g. AIX, HP-UX, Tru64)
18716 #
18717
18718 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
18719
18720 cat >conftest.$ac_ext <<_ACEOF
18721 /* confdefs.h. */
18722 _ACEOF
18723 cat confdefs.h >>conftest.$ac_ext
18724 cat >>conftest.$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 #include <netdb.h>
18727 int
18728 main ()
18729 {
18730
18731 char *name = "www.gnu.org";
18732 struct hostent ret;
18733 struct hostent_data data;
18734 (void)gethostbyname_r(name, &ret, &data) /* ; */
18735
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 rm -f conftest.$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_c_werror_flag"
18750 || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_cv_func_which_gethostbyname_r=three
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 fi
18768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18769
18770 fi
18771
18772 ################################################################
18773
18774
18775 fi
18776
18777 case "$ac_cv_func_which_gethostbyname_r" in
18778 three)
18779 echo "$as_me:$LINENO: result: three" >&5
18780 echo "${ECHO_T}three" >&6
18781
18782 cat >>confdefs.h <<\_ACEOF
18783 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
18784 _ACEOF
18785
18786 ;;
18787
18788 five)
18789 echo "$as_me:$LINENO: result: five" >&5
18790 echo "${ECHO_T}five" >&6
18791
18792 cat >>confdefs.h <<\_ACEOF
18793 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
18794 _ACEOF
18795
18796 ;;
18797
18798 six)
18799 echo "$as_me:$LINENO: result: six" >&5
18800 echo "${ECHO_T}six" >&6
18801
18802 cat >>confdefs.h <<\_ACEOF
18803 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
18804 _ACEOF
18805
18806 ;;
18807
18808 no)
18809 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
18810 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
18811 ;;
18812
18813 unknown)
18814 echo "$as_me:$LINENO: result: can't tell" >&5
18815 echo "${ECHO_T}can't tell" >&6
18816 ;;
18817
18818 *)
18819 { { echo "$as_me:$LINENO: error: internal error" >&5
18820 echo "$as_me: error: internal error" >&2;}
18821 { (exit 1); exit 1; }; }
18822 ;;
18823 esac
18824
18825 ac_ext=c
18826 ac_cpp='$CPP $CPPFLAGS'
18827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18830
18831
18832
18833
18834
18835 if test "X$prefix" = "XNONE"; then
18836 acl_final_prefix="$ac_default_prefix"
18837 else
18838 acl_final_prefix="$prefix"
18839 fi
18840 if test "X$exec_prefix" = "XNONE"; then
18841 acl_final_exec_prefix='${prefix}'
18842 else
18843 acl_final_exec_prefix="$exec_prefix"
18844 fi
18845 acl_save_prefix="$prefix"
18846 prefix="$acl_final_prefix"
18847 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18848 prefix="$acl_save_prefix"
18849
18850
18851 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18852 if test "${with_gnu_ld+set}" = set; then
18853 withval="$with_gnu_ld"
18854 test "$withval" = no || with_gnu_ld=yes
18855 else
18856 with_gnu_ld=no
18857 fi;
18858 # Prepare PATH_SEPARATOR.
18859 # The user is always right.
18860 if test "${PATH_SEPARATOR+set}" != set; then
18861 echo "#! /bin/sh" >conf$$.sh
18862 echo "exit 0" >>conf$$.sh
18863 chmod +x conf$$.sh
18864 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18865 PATH_SEPARATOR=';'
18866 else
18867 PATH_SEPARATOR=:
18868 fi
18869 rm -f conf$$.sh
18870 fi
18871 ac_prog=ld
18872 if test "$GCC" = yes; then
18873 # Check if gcc -print-prog-name=ld gives a path.
18874 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
18875 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
18876 case $host in
18877 *-*-mingw*)
18878 # gcc leaves a trailing carriage return which upsets mingw
18879 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18880 *)
18881 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18882 esac
18883 case $ac_prog in
18884 # Accept absolute paths.
18885 [\\/]* | [A-Za-z]:[\\/]*)
18886 re_direlt='/[^/][^/]*/\.\./'
18887 # Canonicalize the path of ld
18888 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
18889 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18890 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18891 done
18892 test -z "$LD" && LD="$ac_prog"
18893 ;;
18894 "")
18895 # If it fails, then pretend we aren't using GCC.
18896 ac_prog=ld
18897 ;;
18898 *)
18899 # If it is relative, then search for the first ld in PATH.
18900 with_gnu_ld=unknown
18901 ;;
18902 esac
18903 elif test "$with_gnu_ld" = yes; then
18904 echo "$as_me:$LINENO: checking for GNU ld" >&5
18905 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18906 else
18907 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18908 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18909 fi
18910 if test "${acl_cv_path_LD+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18912 else
18913 if test -z "$LD"; then
18914 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18915 for ac_dir in $PATH; do
18916 test -z "$ac_dir" && ac_dir=.
18917 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18918 acl_cv_path_LD="$ac_dir/$ac_prog"
18919 # Check to see if the program is GNU ld. I'd rather use --version,
18920 # but apparently some GNU ld's only accept -v.
18921 # Break only if it was the GNU/non-GNU ld that we prefer.
18922 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
18923 test "$with_gnu_ld" != no && break
18924 else
18925 test "$with_gnu_ld" != yes && break
18926 fi
18927 fi
18928 done
18929 IFS="$ac_save_ifs"
18930 else
18931 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18932 fi
18933 fi
18934
18935 LD="$acl_cv_path_LD"
18936 if test -n "$LD"; then
18937 echo "$as_me:$LINENO: result: $LD" >&5
18938 echo "${ECHO_T}$LD" >&6
18939 else
18940 echo "$as_me:$LINENO: result: no" >&5
18941 echo "${ECHO_T}no" >&6
18942 fi
18943 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18944 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18945 { (exit 1); exit 1; }; }
18946 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18947 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18948 if test "${acl_cv_prog_gnu_ld+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18950 else
18951 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18952 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
18953 acl_cv_prog_gnu_ld=yes
18954 else
18955 acl_cv_prog_gnu_ld=no
18956 fi
18957 fi
18958 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
18959 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
18960 with_gnu_ld=$acl_cv_prog_gnu_ld
18961
18962
18963
18964 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
18965 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
18966 if test "${acl_cv_rpath+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969
18970 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18971 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18972 . ./conftest.sh
18973 rm -f ./conftest.sh
18974 acl_cv_rpath=done
18975
18976 fi
18977 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
18978 echo "${ECHO_T}$acl_cv_rpath" >&6
18979 wl="$acl_cv_wl"
18980 libext="$acl_cv_libext"
18981 shlibext="$acl_cv_shlibext"
18982 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18983 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18984 hardcode_direct="$acl_cv_hardcode_direct"
18985 hardcode_minus_L="$acl_cv_hardcode_minus_L"
18986 # Check whether --enable-rpath or --disable-rpath was given.
18987 if test "${enable_rpath+set}" = set; then
18988 enableval="$enable_rpath"
18989 :
18990 else
18991 enable_rpath=yes
18992 fi;
18993
18994
18995
18996
18997
18998
18999
19000 use_additional=yes
19001
19002 acl_save_prefix="$prefix"
19003 prefix="$acl_final_prefix"
19004 acl_save_exec_prefix="$exec_prefix"
19005 exec_prefix="$acl_final_exec_prefix"
19006
19007 eval additional_includedir=\"$includedir\"
19008 eval additional_libdir=\"$libdir\"
19009
19010 exec_prefix="$acl_save_exec_prefix"
19011 prefix="$acl_save_prefix"
19012
19013
19014 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
19015 if test "${with_libiconv_prefix+set}" = set; then
19016 withval="$with_libiconv_prefix"
19017
19018 if test "X$withval" = "Xno"; then
19019 use_additional=no
19020 else
19021 if test "X$withval" = "X"; then
19022
19023 acl_save_prefix="$prefix"
19024 prefix="$acl_final_prefix"
19025 acl_save_exec_prefix="$exec_prefix"
19026 exec_prefix="$acl_final_exec_prefix"
19027
19028 eval additional_includedir=\"$includedir\"
19029 eval additional_libdir=\"$libdir\"
19030
19031 exec_prefix="$acl_save_exec_prefix"
19032 prefix="$acl_save_prefix"
19033
19034 else
19035 additional_includedir="$withval/include"
19036 additional_libdir="$withval/lib"
19037 fi
19038 fi
19039
19040 fi;
19041 LIBICONV=
19042 LTLIBICONV=
19043 INCICONV=
19044 rpathdirs=
19045 ltrpathdirs=
19046 names_already_handled=
19047 names_next_round='iconv '
19048 while test -n "$names_next_round"; do
19049 names_this_round="$names_next_round"
19050 names_next_round=
19051 for name in $names_this_round; do
19052 already_handled=
19053 for n in $names_already_handled; do
19054 if test "$n" = "$name"; then
19055 already_handled=yes
19056 break
19057 fi
19058 done
19059 if test -z "$already_handled"; then
19060 names_already_handled="$names_already_handled $name"
19061 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19062 eval value=\"\$HAVE_LIB$uppername\"
19063 if test -n "$value"; then
19064 if test "$value" = yes; then
19065 eval value=\"\$LIB$uppername\"
19066 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
19067 eval value=\"\$LTLIB$uppername\"
19068 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
19069 else
19070 :
19071 fi
19072 else
19073 found_dir=
19074 found_la=
19075 found_so=
19076 found_a=
19077 if test $use_additional = yes; then
19078 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
19079 found_dir="$additional_libdir"
19080 found_so="$additional_libdir/lib$name.$shlibext"
19081 if test -f "$additional_libdir/lib$name.la"; then
19082 found_la="$additional_libdir/lib$name.la"
19083 fi
19084 else
19085 if test -f "$additional_libdir/lib$name.$libext"; then
19086 found_dir="$additional_libdir"
19087 found_a="$additional_libdir/lib$name.$libext"
19088 if test -f "$additional_libdir/lib$name.la"; then
19089 found_la="$additional_libdir/lib$name.la"
19090 fi
19091 fi
19092 fi
19093 fi
19094 if test "X$found_dir" = "X"; then
19095 for x in $LDFLAGS $LTLIBICONV; do
19096
19097 acl_save_prefix="$prefix"
19098 prefix="$acl_final_prefix"
19099 acl_save_exec_prefix="$exec_prefix"
19100 exec_prefix="$acl_final_exec_prefix"
19101 eval x=\"$x\"
19102 exec_prefix="$acl_save_exec_prefix"
19103 prefix="$acl_save_prefix"
19104
19105 case "$x" in
19106 -L*)
19107 dir=`echo "X$x" | sed -e 's/^X-L//'`
19108 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
19109 found_dir="$dir"
19110 found_so="$dir/lib$name.$shlibext"
19111 if test -f "$dir/lib$name.la"; then
19112 found_la="$dir/lib$name.la"
19113 fi
19114 else
19115 if test -f "$dir/lib$name.$libext"; then
19116 found_dir="$dir"
19117 found_a="$dir/lib$name.$libext"
19118 if test -f "$dir/lib$name.la"; then
19119 found_la="$dir/lib$name.la"
19120 fi
19121 fi
19122 fi
19123 ;;
19124 esac
19125 if test "X$found_dir" != "X"; then
19126 break
19127 fi
19128 done
19129 fi
19130 if test "X$found_dir" != "X"; then
19131 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19132 if test "X$found_so" != "X"; then
19133 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
19134 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19135 else
19136 haveit=
19137 for x in $ltrpathdirs; do
19138 if test "X$x" = "X$found_dir"; then
19139 haveit=yes
19140 break
19141 fi
19142 done
19143 if test -z "$haveit"; then
19144 ltrpathdirs="$ltrpathdirs $found_dir"
19145 fi
19146 if test "$hardcode_direct" = yes; then
19147 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19148 else
19149 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
19150 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19151 haveit=
19152 for x in $rpathdirs; do
19153 if test "X$x" = "X$found_dir"; then
19154 haveit=yes
19155 break
19156 fi
19157 done
19158 if test -z "$haveit"; then
19159 rpathdirs="$rpathdirs $found_dir"
19160 fi
19161 else
19162 haveit=
19163 for x in $LDFLAGS $LIBICONV; do
19164
19165 acl_save_prefix="$prefix"
19166 prefix="$acl_final_prefix"
19167 acl_save_exec_prefix="$exec_prefix"
19168 exec_prefix="$acl_final_exec_prefix"
19169 eval x=\"$x\"
19170 exec_prefix="$acl_save_exec_prefix"
19171 prefix="$acl_save_prefix"
19172
19173 if test "X$x" = "X-L$found_dir"; then
19174 haveit=yes
19175 break
19176 fi
19177 done
19178 if test -z "$haveit"; then
19179 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19180 fi
19181 if test "$hardcode_minus_L" != no; then
19182 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19183 else
19184 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19185 fi
19186 fi
19187 fi
19188 fi
19189 else
19190 if test "X$found_a" != "X"; then
19191 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
19192 else
19193 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19194 fi
19195 fi
19196 additional_includedir=
19197 case "$found_dir" in
19198 */lib | */lib/)
19199 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
19200 additional_includedir="$basedir/include"
19201 ;;
19202 esac
19203 if test "X$additional_includedir" != "X"; then
19204 if test "X$additional_includedir" != "X/usr/include"; then
19205 haveit=
19206 if test "X$additional_includedir" = "X/usr/local/include"; then
19207 if test -n "$GCC"; then
19208 case $host_os in
19209 linux*) haveit=yes;;
19210 esac
19211 fi
19212 fi
19213 if test -z "$haveit"; then
19214 for x in $CPPFLAGS $INCICONV; do
19215
19216 acl_save_prefix="$prefix"
19217 prefix="$acl_final_prefix"
19218 acl_save_exec_prefix="$exec_prefix"
19219 exec_prefix="$acl_final_exec_prefix"
19220 eval x=\"$x\"
19221 exec_prefix="$acl_save_exec_prefix"
19222 prefix="$acl_save_prefix"
19223
19224 if test "X$x" = "X-I$additional_includedir"; then
19225 haveit=yes
19226 break
19227 fi
19228 done
19229 if test -z "$haveit"; then
19230 if test -d "$additional_includedir"; then
19231 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19232 fi
19233 fi
19234 fi
19235 fi
19236 fi
19237 if test -n "$found_la"; then
19238 save_libdir="$libdir"
19239 case "$found_la" in
19240 */* | *\\*) . "$found_la" ;;
19241 *) . "./$found_la" ;;
19242 esac
19243 libdir="$save_libdir"
19244 for dep in $dependency_libs; do
19245 case "$dep" in
19246 -L*)
19247 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19248 if test "X$additional_libdir" != "X/usr/lib"; then
19249 haveit=
19250 if test "X$additional_libdir" = "X/usr/local/lib"; then
19251 if test -n "$GCC"; then
19252 case $host_os in
19253 linux*) haveit=yes;;
19254 esac
19255 fi
19256 fi
19257 if test -z "$haveit"; then
19258 haveit=
19259 for x in $LDFLAGS $LIBICONV; do
19260
19261 acl_save_prefix="$prefix"
19262 prefix="$acl_final_prefix"
19263 acl_save_exec_prefix="$exec_prefix"
19264 exec_prefix="$acl_final_exec_prefix"
19265 eval x=\"$x\"
19266 exec_prefix="$acl_save_exec_prefix"
19267 prefix="$acl_save_prefix"
19268
19269 if test "X$x" = "X-L$additional_libdir"; then
19270 haveit=yes
19271 break
19272 fi
19273 done
19274 if test -z "$haveit"; then
19275 if test -d "$additional_libdir"; then
19276 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19277 fi
19278 fi
19279 haveit=
19280 for x in $LDFLAGS $LTLIBICONV; do
19281
19282 acl_save_prefix="$prefix"
19283 prefix="$acl_final_prefix"
19284 acl_save_exec_prefix="$exec_prefix"
19285 exec_prefix="$acl_final_exec_prefix"
19286 eval x=\"$x\"
19287 exec_prefix="$acl_save_exec_prefix"
19288 prefix="$acl_save_prefix"
19289
19290 if test "X$x" = "X-L$additional_libdir"; then
19291 haveit=yes
19292 break
19293 fi
19294 done
19295 if test -z "$haveit"; then
19296 if test -d "$additional_libdir"; then
19297 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19298 fi
19299 fi
19300 fi
19301 fi
19302 ;;
19303 -R*)
19304 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19305 if test "$enable_rpath" != no; then
19306 haveit=
19307 for x in $rpathdirs; do
19308 if test "X$x" = "X$dir"; then
19309 haveit=yes
19310 break
19311 fi
19312 done
19313 if test -z "$haveit"; then
19314 rpathdirs="$rpathdirs $dir"
19315 fi
19316 haveit=
19317 for x in $ltrpathdirs; do
19318 if test "X$x" = "X$dir"; then
19319 haveit=yes
19320 break
19321 fi
19322 done
19323 if test -z "$haveit"; then
19324 ltrpathdirs="$ltrpathdirs $dir"
19325 fi
19326 fi
19327 ;;
19328 -l*)
19329 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19330 ;;
19331 *.la)
19332 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19333 ;;
19334 *)
19335 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19336 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19337 ;;
19338 esac
19339 done
19340 fi
19341 else
19342 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19343 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19344 fi
19345 fi
19346 fi
19347 done
19348 done
19349 if test "X$rpathdirs" != "X"; then
19350 if test -n "$hardcode_libdir_separator"; then
19351 alldirs=
19352 for found_dir in $rpathdirs; do
19353 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
19354 done
19355 acl_save_libdir="$libdir"
19356 libdir="$alldirs"
19357 eval flag=\"$hardcode_libdir_flag_spec\"
19358 libdir="$acl_save_libdir"
19359 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19360 else
19361 for found_dir in $rpathdirs; do
19362 acl_save_libdir="$libdir"
19363 libdir="$found_dir"
19364 eval flag=\"$hardcode_libdir_flag_spec\"
19365 libdir="$acl_save_libdir"
19366 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19367 done
19368 fi
19369 fi
19370 if test "X$ltrpathdirs" != "X"; then
19371 for found_dir in $ltrpathdirs; do
19372 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19373 done
19374 fi
19375
19376
19377
19378
19379
19380
19381
19382 am_save_CPPFLAGS="$CPPFLAGS"
19383
19384 for element in $INCICONV; do
19385 haveit=
19386 for x in $CPPFLAGS; do
19387
19388 acl_save_prefix="$prefix"
19389 prefix="$acl_final_prefix"
19390 acl_save_exec_prefix="$exec_prefix"
19391 exec_prefix="$acl_final_exec_prefix"
19392 eval x=\"$x\"
19393 exec_prefix="$acl_save_exec_prefix"
19394 prefix="$acl_save_prefix"
19395
19396 if test "X$x" = "X$element"; then
19397 haveit=yes
19398 break
19399 fi
19400 done
19401 if test -z "$haveit"; then
19402 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19403 fi
19404 done
19405
19406
19407 echo "$as_me:$LINENO: checking for iconv" >&5
19408 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
19409 if test "${am_cv_func_iconv+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19411 else
19412
19413 am_cv_func_iconv="no, consider installing GNU libiconv"
19414 am_cv_lib_iconv=no
19415 if test x$gcc_no_link = xyes; then
19416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418 { (exit 1); exit 1; }; }
19419 fi
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <stdlib.h>
19427 #include <iconv.h>
19428 int
19429 main ()
19430 {
19431 iconv_t cd = iconv_open("","");
19432 iconv(cd,NULL,NULL,NULL,NULL);
19433 iconv_close(cd);
19434 ;
19435 return 0;
19436 }
19437 _ACEOF
19438 rm -f conftest.$ac_objext conftest$ac_exeext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440 (eval $ac_link) 2>conftest.er1
19441 ac_status=$?
19442 grep -v '^ *+' conftest.er1 >conftest.err
19443 rm -f conftest.er1
19444 cat conftest.err >&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try='test -z "$ac_c_werror_flag"
19448 || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try='test -s conftest$ac_exeext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 am_cv_func_iconv=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 fi
19466 rm -f conftest.err conftest.$ac_objext \
19467 conftest$ac_exeext conftest.$ac_ext
19468 if test "$am_cv_func_iconv" != yes; then
19469 am_save_LIBS="$LIBS"
19470 LIBS="$LIBS $LIBICONV"
19471 if test x$gcc_no_link = xyes; then
19472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474 { (exit 1); exit 1; }; }
19475 fi
19476 cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h. */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 #include <stdlib.h>
19483 #include <iconv.h>
19484 int
19485 main ()
19486 {
19487 iconv_t cd = iconv_open("","");
19488 iconv(cd,NULL,NULL,NULL,NULL);
19489 iconv_close(cd);
19490 ;
19491 return 0;
19492 }
19493 _ACEOF
19494 rm -f conftest.$ac_objext conftest$ac_exeext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19496 (eval $ac_link) 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try='test -z "$ac_c_werror_flag"
19504 || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 am_cv_lib_iconv=yes
19517 am_cv_func_iconv=yes
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 fi
19523 rm -f conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 LIBS="$am_save_LIBS"
19526 fi
19527
19528 fi
19529 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
19530 echo "${ECHO_T}$am_cv_func_iconv" >&6
19531 if test "$am_cv_func_iconv" = yes; then
19532
19533 cat >>confdefs.h <<\_ACEOF
19534 #define HAVE_ICONV 1
19535 _ACEOF
19536
19537 fi
19538 if test "$am_cv_lib_iconv" = yes; then
19539 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
19540 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
19541 echo "$as_me:$LINENO: result: $LIBICONV" >&5
19542 echo "${ECHO_T}$LIBICONV" >&6
19543 else
19544 CPPFLAGS="$am_save_CPPFLAGS"
19545 LIBICONV=
19546 LTLIBICONV=
19547 fi
19548
19549
19550
19551 if test "$am_cv_func_iconv" = yes; then
19552 echo "$as_me:$LINENO: checking for iconv declaration" >&5
19553 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
19554 if test "${am_cv_proto_iconv+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 else
19557
19558 cat >conftest.$ac_ext <<_ACEOF
19559 /* confdefs.h. */
19560 _ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564
19565 #include <stdlib.h>
19566 #include <iconv.h>
19567 extern
19568 #ifdef __cplusplus
19569 "C"
19570 #endif
19571 #if defined(__STDC__) || defined(__cplusplus)
19572 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19573 #else
19574 size_t iconv();
19575 #endif
19576
19577 int
19578 main ()
19579 {
19580
19581 ;
19582 return 0;
19583 }
19584 _ACEOF
19585 rm -f conftest.$ac_objext
19586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19587 (eval $ac_compile) 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } &&
19594 { ac_try='test -z "$ac_c_werror_flag"
19595 || test ! -s conftest.err'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19598 ac_status=$?
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; } &&
19601 { ac_try='test -s conftest.$ac_objext'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 am_cv_proto_iconv_arg1=""
19608 else
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19611
19612 am_cv_proto_iconv_arg1="const"
19613 fi
19614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19615 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);"
19616 fi
19617
19618 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19619 echo "$as_me:$LINENO: result: ${ac_t:-
19620 }$am_cv_proto_iconv" >&5
19621 echo "${ECHO_T}${ac_t:-
19622 }$am_cv_proto_iconv" >&6
19623
19624 cat >>confdefs.h <<_ACEOF
19625 #define ICONV_CONST $am_cv_proto_iconv_arg1
19626 _ACEOF
19627
19628 fi
19629
19630
19631 if test "x${GCC}" = xyes; then
19632
19633 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
19634
19635
19636 EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
19637
19638
19639 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
19640
19641
19642 ERROR_CFLAGS=
19643 if test "x${ENABLE_WERROR}" = xyes; then
19644 ERROR_CFLAGS='-Werror'
19645 fi
19646
19647 fi
19648
19649 if test "x${COMPILE_XMLJ}" = xyes; then
19650
19651 succeeded=no
19652
19653 if test -z "$PKG_CONFIG"; then
19654 # Extract the first word of "pkg-config", so it can be a program name with args.
19655 set dummy pkg-config; ac_word=$2
19656 echo "$as_me:$LINENO: checking for $ac_word" >&5
19657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19658 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661 case $PKG_CONFIG in
19662 [\\/]* | ?:[\\/]*)
19663 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19664 ;;
19665 *)
19666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19667 for as_dir in $PATH
19668 do
19669 IFS=$as_save_IFS
19670 test -z "$as_dir" && as_dir=.
19671 for ac_exec_ext in '' $ac_executable_extensions; do
19672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19673 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19675 break 2
19676 fi
19677 done
19678 done
19679
19680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19681 ;;
19682 esac
19683 fi
19684 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19685
19686 if test -n "$PKG_CONFIG"; then
19687 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19688 echo "${ECHO_T}$PKG_CONFIG" >&6
19689 else
19690 echo "$as_me:$LINENO: result: no" >&5
19691 echo "${ECHO_T}no" >&6
19692 fi
19693
19694 fi
19695
19696 if test "$PKG_CONFIG" = "no" ; then
19697 echo "*** The pkg-config script could not be found. Make sure it is"
19698 echo "*** in your path, or set the PKG_CONFIG environment variable"
19699 echo "*** to the full path to pkg-config."
19700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19701 else
19702 PKG_CONFIG_MIN_VERSION=0.9.0
19703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19704 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
19705 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6
19706
19707 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
19708 echo "$as_me:$LINENO: result: yes" >&5
19709 echo "${ECHO_T}yes" >&6
19710 succeeded=yes
19711
19712 echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
19713 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6
19714 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
19715 echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
19716 echo "${ECHO_T}$XML_CFLAGS" >&6
19717
19718 echo "$as_me:$LINENO: checking XML_LIBS" >&5
19719 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6
19720 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
19721 echo "$as_me:$LINENO: result: $XML_LIBS" >&5
19722 echo "${ECHO_T}$XML_LIBS" >&6
19723 else
19724 XML_CFLAGS=""
19725 XML_LIBS=""
19726 ## If we have a custom action on failure, don't print errors, but
19727 ## do set a variable so people can do so.
19728 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
19729 echo $XML_PKG_ERRORS
19730 fi
19731
19732
19733
19734 else
19735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19737 fi
19738 fi
19739
19740 if test $succeeded = yes; then
19741 :
19742 else
19743 { { 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
19744 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;}
19745 { (exit 1); exit 1; }; }
19746 fi
19747
19748
19749 succeeded=no
19750
19751 if test -z "$PKG_CONFIG"; then
19752 # Extract the first word of "pkg-config", so it can be a program name with args.
19753 set dummy pkg-config; ac_word=$2
19754 echo "$as_me:$LINENO: checking for $ac_word" >&5
19755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19756 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 else
19759 case $PKG_CONFIG in
19760 [\\/]* | ?:[\\/]*)
19761 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19762 ;;
19763 *)
19764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19765 for as_dir in $PATH
19766 do
19767 IFS=$as_save_IFS
19768 test -z "$as_dir" && as_dir=.
19769 for ac_exec_ext in '' $ac_executable_extensions; do
19770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19771 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19773 break 2
19774 fi
19775 done
19776 done
19777
19778 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19779 ;;
19780 esac
19781 fi
19782 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19783
19784 if test -n "$PKG_CONFIG"; then
19785 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19786 echo "${ECHO_T}$PKG_CONFIG" >&6
19787 else
19788 echo "$as_me:$LINENO: result: no" >&5
19789 echo "${ECHO_T}no" >&6
19790 fi
19791
19792 fi
19793
19794 if test "$PKG_CONFIG" = "no" ; then
19795 echo "*** The pkg-config script could not be found. Make sure it is"
19796 echo "*** in your path, or set the PKG_CONFIG environment variable"
19797 echo "*** to the full path to pkg-config."
19798 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19799 else
19800 PKG_CONFIG_MIN_VERSION=0.9.0
19801 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19802 echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
19803 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6
19804
19805 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19806 echo "$as_me:$LINENO: result: yes" >&5
19807 echo "${ECHO_T}yes" >&6
19808 succeeded=yes
19809
19810 echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
19811 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6
19812 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19813 echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
19814 echo "${ECHO_T}$XSLT_CFLAGS" >&6
19815
19816 echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
19817 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6
19818 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19819 echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
19820 echo "${ECHO_T}$XSLT_LIBS" >&6
19821 else
19822 XSLT_CFLAGS=""
19823 XSLT_LIBS=""
19824 ## If we have a custom action on failure, don't print errors, but
19825 ## do set a variable so people can do so.
19826 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19827 echo $XSLT_PKG_ERRORS
19828 fi
19829
19830
19831
19832 else
19833 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19834 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19835 fi
19836 fi
19837
19838 if test $succeeded = yes; then
19839 :
19840 else
19841 { { 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
19842 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;}
19843 { (exit 1); exit 1; }; }
19844 fi
19845
19846
19847
19848
19849
19850 fi
19851
19852 if test "x${COMPILE_GTK_PEER}" = xyes; then
19853 echo "$as_me:$LINENO: checking for X" >&5
19854 echo $ECHO_N "checking for X... $ECHO_C" >&6
19855
19856
19857 # Check whether --with-x or --without-x was given.
19858 if test "${with_x+set}" = set; then
19859 withval="$with_x"
19860
19861 fi;
19862 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19863 if test "x$with_x" = xno; then
19864 # The user explicitly disabled X.
19865 have_x=disabled
19866 else
19867 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
19868 # Both variables are already set.
19869 have_x=yes
19870 else
19871 if test "${ac_cv_have_x+set}" = set; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 else
19874 # One or both of the vars are not set, and there is no cached value.
19875 ac_x_includes=no ac_x_libraries=no
19876 rm -fr conftest.dir
19877 if mkdir conftest.dir; then
19878 cd conftest.dir
19879 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19880 cat >Imakefile <<'_ACEOF'
19881 acfindx:
19882 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19883 _ACEOF
19884 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
19885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19886 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19887 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19888 for ac_extension in a so sl; do
19889 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
19890 test -f $ac_im_libdir/libX11.$ac_extension; then
19891 ac_im_usrlibdir=$ac_im_libdir; break
19892 fi
19893 done
19894 # Screen out bogus values from the imake configuration. They are
19895 # bogus both because they are the default anyway, and because
19896 # using them would break gcc on systems where it needs fixed includes.
19897 case $ac_im_incroot in
19898 /usr/include) ;;
19899 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19900 esac
19901 case $ac_im_usrlibdir in
19902 /usr/lib | /lib) ;;
19903 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19904 esac
19905 fi
19906 cd ..
19907 rm -fr conftest.dir
19908 fi
19909
19910 # Standard set of common directories for X headers.
19911 # Check X11 before X11Rn because it is often a symlink to the current release.
19912 ac_x_header_dirs='
19913 /usr/X11/include
19914 /usr/X11R6/include
19915 /usr/X11R5/include
19916 /usr/X11R4/include
19917
19918 /usr/include/X11
19919 /usr/include/X11R6
19920 /usr/include/X11R5
19921 /usr/include/X11R4
19922
19923 /usr/local/X11/include
19924 /usr/local/X11R6/include
19925 /usr/local/X11R5/include
19926 /usr/local/X11R4/include
19927
19928 /usr/local/include/X11
19929 /usr/local/include/X11R6
19930 /usr/local/include/X11R5
19931 /usr/local/include/X11R4
19932
19933 /usr/X386/include
19934 /usr/x386/include
19935 /usr/XFree86/include/X11
19936
19937 /usr/include
19938 /usr/local/include
19939 /usr/unsupported/include
19940 /usr/athena/include
19941 /usr/local/x11r5/include
19942 /usr/lpp/Xamples/include
19943
19944 /usr/openwin/include
19945 /usr/openwin/share/include'
19946
19947 if test "$ac_x_includes" = no; then
19948 # Guess where to find include files, by looking for Xlib.h.
19949 # First, try using that file with no special directory specified.
19950 cat >conftest.$ac_ext <<_ACEOF
19951 /* confdefs.h. */
19952 _ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #include <X11/Xlib.h>
19957 _ACEOF
19958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } >/dev/null; then
19966 if test -s conftest.err; then
19967 ac_cpp_err=$ac_c_preproc_warn_flag
19968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19969 else
19970 ac_cpp_err=
19971 fi
19972 else
19973 ac_cpp_err=yes
19974 fi
19975 if test -z "$ac_cpp_err"; then
19976 # We can compile using X headers with no special include directory.
19977 ac_x_includes=
19978 else
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.$ac_ext >&5
19981
19982 for ac_dir in $ac_x_header_dirs; do
19983 if test -r "$ac_dir/X11/Xlib.h"; then
19984 ac_x_includes=$ac_dir
19985 break
19986 fi
19987 done
19988 fi
19989 rm -f conftest.err conftest.$ac_ext
19990 fi # $ac_x_includes = no
19991
19992 if test "$ac_x_libraries" = no; then
19993 # Check for the libraries.
19994 # See if we find them without any special options.
19995 # Don't add to $LIBS permanently.
19996 ac_save_LIBS=$LIBS
19997 LIBS="-lX11 $LIBS"
19998 if test x$gcc_no_link = xyes; then
19999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20001 { (exit 1); exit 1; }; }
20002 fi
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 #include <X11/Xlib.h>
20010 int
20011 main ()
20012 {
20013 XrmInitialize ()
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 rm -f conftest.$ac_objext conftest$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 LIBS=$ac_save_LIBS
20041 # We can link X programs with no special library path.
20042 ac_x_libraries=
20043 else
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 LIBS=$ac_save_LIBS
20048 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20049 do
20050 # Don't even attempt the hair of trying to link an X program!
20051 for ac_extension in a so sl; do
20052 if test -r $ac_dir/libXt.$ac_extension; then
20053 ac_x_libraries=$ac_dir
20054 break 2
20055 fi
20056 done
20057 done
20058 fi
20059 rm -f conftest.err conftest.$ac_objext \
20060 conftest$ac_exeext conftest.$ac_ext
20061 fi # $ac_x_libraries = no
20062
20063 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20064 # Didn't find X anywhere. Cache the known absence of X.
20065 ac_cv_have_x="have_x=no"
20066 else
20067 # Record where we found X for the cache.
20068 ac_cv_have_x="have_x=yes \
20069 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20070 fi
20071 fi
20072
20073 fi
20074 eval "$ac_cv_have_x"
20075 fi # $with_x != no
20076
20077 if test "$have_x" != yes; then
20078 echo "$as_me:$LINENO: result: $have_x" >&5
20079 echo "${ECHO_T}$have_x" >&6
20080 no_x=yes
20081 else
20082 # If each of the values was on the command line, it overrides each guess.
20083 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20084 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20085 # Update the cache value to reflect the command line values.
20086 ac_cv_have_x="have_x=yes \
20087 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20088 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20089 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20090 fi
20091
20092 if test "$no_x" = yes; then
20093 # Not all programs may use this symbol, but it does not hurt to define it.
20094
20095 cat >>confdefs.h <<\_ACEOF
20096 #define X_DISPLAY_MISSING 1
20097 _ACEOF
20098
20099 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20100 else
20101 if test -n "$x_includes"; then
20102 X_CFLAGS="$X_CFLAGS -I$x_includes"
20103 fi
20104
20105 # It would also be nice to do this for all -L options, not just this one.
20106 if test -n "$x_libraries"; then
20107 X_LIBS="$X_LIBS -L$x_libraries"
20108 # For Solaris; some versions of Sun CC require a space after -R and
20109 # others require no space. Words are not sufficient . . . .
20110 case `(uname -sr) 2>/dev/null` in
20111 "SunOS 5"*)
20112 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20113 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20114 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20115 if test x$gcc_no_link = xyes; then
20116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20118 { (exit 1); exit 1; }; }
20119 fi
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126
20127 int
20128 main ()
20129 {
20130
20131 ;
20132 return 0;
20133 }
20134 _ACEOF
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20137 (eval $ac_link) 2>conftest.er1
20138 ac_status=$?
20139 grep -v '^ *+' conftest.er1 >conftest.err
20140 rm -f conftest.er1
20141 cat conftest.err >&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } &&
20144 { ac_try='test -z "$ac_c_werror_flag"
20145 || test ! -s conftest.err'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20148 ac_status=$?
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; } &&
20151 { ac_try='test -s conftest$ac_exeext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20157 ac_R_nospace=yes
20158 else
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20161
20162 ac_R_nospace=no
20163 fi
20164 rm -f conftest.err conftest.$ac_objext \
20165 conftest$ac_exeext conftest.$ac_ext
20166 if test $ac_R_nospace = yes; then
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20169 X_LIBS="$X_LIBS -R$x_libraries"
20170 else
20171 LIBS="$ac_xsave_LIBS -R $x_libraries"
20172 if test x$gcc_no_link = xyes; then
20173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20175 { (exit 1); exit 1; }; }
20176 fi
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183
20184 int
20185 main ()
20186 {
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext conftest$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -z "$ac_c_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try='test -s conftest$ac_exeext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_R_space=yes
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_R_space=no
20220 fi
20221 rm -f conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20223 if test $ac_R_space = yes; then
20224 echo "$as_me:$LINENO: result: yes" >&5
20225 echo "${ECHO_T}yes" >&6
20226 X_LIBS="$X_LIBS -R $x_libraries"
20227 else
20228 echo "$as_me:$LINENO: result: neither works" >&5
20229 echo "${ECHO_T}neither works" >&6
20230 fi
20231 fi
20232 LIBS=$ac_xsave_LIBS
20233 esac
20234 fi
20235
20236 # Check for system-dependent libraries X programs must link with.
20237 # Do this before checking for the system-independent R6 libraries
20238 # (-lICE), since we may need -lsocket or whatever for X linking.
20239
20240 if test "$ISC" = yes; then
20241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20242 else
20243 # Martyn Johnson says this is needed for Ultrix, if the X
20244 # libraries were built with DECnet support. And Karl Berry says
20245 # the Alpha needs dnet_stub (dnet does not exist).
20246 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20247 if test x$gcc_no_link = xyes; then
20248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20250 { (exit 1); exit 1; }; }
20251 fi
20252 cat >conftest.$ac_ext <<_ACEOF
20253 /* confdefs.h. */
20254 _ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258
20259 /* Override any gcc2 internal prototype to avoid an error. */
20260 #ifdef __cplusplus
20261 extern "C"
20262 #endif
20263 /* We use char because int might match the return type of a gcc2
20264 builtin and then its argument prototype would still apply. */
20265 char XOpenDisplay ();
20266 int
20267 main ()
20268 {
20269 XOpenDisplay ();
20270 ;
20271 return 0;
20272 }
20273 _ACEOF
20274 rm -f conftest.$ac_objext conftest$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276 (eval $ac_link) 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try='test -z "$ac_c_werror_flag"
20284 || test ! -s conftest.err'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try='test -s conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 :
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20302 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20303 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 else
20306 ac_check_lib_save_LIBS=$LIBS
20307 LIBS="-ldnet $LIBS"
20308 if test x$gcc_no_link = xyes; then
20309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20311 { (exit 1); exit 1; }; }
20312 fi
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319
20320 /* Override any gcc2 internal prototype to avoid an error. */
20321 #ifdef __cplusplus
20322 extern "C"
20323 #endif
20324 /* We use char because int might match the return type of a gcc2
20325 builtin and then its argument prototype would still apply. */
20326 char dnet_ntoa ();
20327 int
20328 main ()
20329 {
20330 dnet_ntoa ();
20331 ;
20332 return 0;
20333 }
20334 _ACEOF
20335 rm -f conftest.$ac_objext conftest$ac_exeext
20336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20337 (eval $ac_link) 2>conftest.er1
20338 ac_status=$?
20339 grep -v '^ *+' conftest.er1 >conftest.err
20340 rm -f conftest.er1
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try='test -z "$ac_c_werror_flag"
20345 || test ! -s conftest.err'
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); }; } &&
20351 { ac_try='test -s conftest$ac_exeext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_lib_dnet_dnet_ntoa=yes
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_cv_lib_dnet_dnet_ntoa=no
20363 fi
20364 rm -f conftest.err conftest.$ac_objext \
20365 conftest$ac_exeext conftest.$ac_ext
20366 LIBS=$ac_check_lib_save_LIBS
20367 fi
20368 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20369 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20370 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20371 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20372 fi
20373
20374 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20375 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20376 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20377 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 else
20380 ac_check_lib_save_LIBS=$LIBS
20381 LIBS="-ldnet_stub $LIBS"
20382 if test x$gcc_no_link = xyes; then
20383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20385 { (exit 1); exit 1; }; }
20386 fi
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393
20394 /* Override any gcc2 internal prototype to avoid an error. */
20395 #ifdef __cplusplus
20396 extern "C"
20397 #endif
20398 /* We use char because int might match the return type of a gcc2
20399 builtin and then its argument prototype would still apply. */
20400 char dnet_ntoa ();
20401 int
20402 main ()
20403 {
20404 dnet_ntoa ();
20405 ;
20406 return 0;
20407 }
20408 _ACEOF
20409 rm -f conftest.$ac_objext conftest$ac_exeext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20411 (eval $ac_link) 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try='test -z "$ac_c_werror_flag"
20419 || test ! -s conftest.err'
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); }; } &&
20425 { ac_try='test -s conftest$ac_exeext'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20428 ac_status=$?
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; }; then
20431 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20432 else
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20435
20436 ac_cv_lib_dnet_stub_dnet_ntoa=no
20437 fi
20438 rm -f conftest.err conftest.$ac_objext \
20439 conftest$ac_exeext conftest.$ac_ext
20440 LIBS=$ac_check_lib_save_LIBS
20441 fi
20442 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20443 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20444 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20445 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20446 fi
20447
20448 fi
20449 fi
20450 rm -f conftest.err conftest.$ac_objext \
20451 conftest$ac_exeext conftest.$ac_ext
20452 LIBS="$ac_xsave_LIBS"
20453
20454 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20455 # to get the SysV transport functions.
20456 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20457 # needs -lnsl.
20458 # The nsl library prevents programs from opening the X display
20459 # on Irix 5.2, according to T.E. Dickey.
20460 # The functions gethostbyname, getservbyname, and inet_addr are
20461 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20462 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20463 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20464 if test "${ac_cv_func_gethostbyname+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 else
20467 if test x$gcc_no_link = xyes; then
20468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20470 { (exit 1); exit 1; }; }
20471 fi
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20480 #define gethostbyname innocuous_gethostbyname
20481
20482 /* System header to define __stub macros and hopefully few prototypes,
20483 which can conflict with char gethostbyname (); below.
20484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20485 <limits.h> exists even on freestanding compilers. */
20486
20487 #ifdef __STDC__
20488 # include <limits.h>
20489 #else
20490 # include <assert.h>
20491 #endif
20492
20493 #undef gethostbyname
20494
20495 /* Override any gcc2 internal prototype to avoid an error. */
20496 #ifdef __cplusplus
20497 extern "C"
20498 {
20499 #endif
20500 /* We use char because int might match the return type of a gcc2
20501 builtin and then its argument prototype would still apply. */
20502 char gethostbyname ();
20503 /* The GNU C library defines this for functions which it implements
20504 to always fail with ENOSYS. Some functions are actually named
20505 something starting with __ and the normal name is an alias. */
20506 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20507 choke me
20508 #else
20509 char (*f) () = gethostbyname;
20510 #endif
20511 #ifdef __cplusplus
20512 }
20513 #endif
20514
20515 int
20516 main ()
20517 {
20518 return f != gethostbyname;
20519 ;
20520 return 0;
20521 }
20522 _ACEOF
20523 rm -f conftest.$ac_objext conftest$ac_exeext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20525 (eval $ac_link) 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try='test -z "$ac_c_werror_flag"
20533 || test ! -s conftest.err'
20534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535 (eval $ac_try) 2>&5
20536 ac_status=$?
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try='test -s conftest$ac_exeext'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20542 ac_status=$?
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; }; then
20545 ac_cv_func_gethostbyname=yes
20546 else
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20549
20550 ac_cv_func_gethostbyname=no
20551 fi
20552 rm -f conftest.err conftest.$ac_objext \
20553 conftest$ac_exeext conftest.$ac_ext
20554 fi
20555 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20556 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20557
20558 if test $ac_cv_func_gethostbyname = no; then
20559 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20560 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20561 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 else
20564 ac_check_lib_save_LIBS=$LIBS
20565 LIBS="-lnsl $LIBS"
20566 if test x$gcc_no_link = xyes; then
20567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20569 { (exit 1); exit 1; }; }
20570 fi
20571 cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h. */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577
20578 /* Override any gcc2 internal prototype to avoid an error. */
20579 #ifdef __cplusplus
20580 extern "C"
20581 #endif
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20584 char gethostbyname ();
20585 int
20586 main ()
20587 {
20588 gethostbyname ();
20589 ;
20590 return 0;
20591 }
20592 _ACEOF
20593 rm -f conftest.$ac_objext conftest$ac_exeext
20594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20595 (eval $ac_link) 2>conftest.er1
20596 ac_status=$?
20597 grep -v '^ *+' conftest.er1 >conftest.err
20598 rm -f conftest.er1
20599 cat conftest.err >&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } &&
20602 { ac_try='test -z "$ac_c_werror_flag"
20603 || test ! -s conftest.err'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20606 ac_status=$?
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; } &&
20609 { ac_try='test -s conftest$ac_exeext'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; }; then
20615 ac_cv_lib_nsl_gethostbyname=yes
20616 else
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.$ac_ext >&5
20619
20620 ac_cv_lib_nsl_gethostbyname=no
20621 fi
20622 rm -f conftest.err conftest.$ac_objext \
20623 conftest$ac_exeext conftest.$ac_ext
20624 LIBS=$ac_check_lib_save_LIBS
20625 fi
20626 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20630 fi
20631
20632 if test $ac_cv_lib_nsl_gethostbyname = no; then
20633 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20638 ac_check_lib_save_LIBS=$LIBS
20639 LIBS="-lbsd $LIBS"
20640 if test x$gcc_no_link = xyes; then
20641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20643 { (exit 1); exit 1; }; }
20644 fi
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h. */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651
20652 /* Override any gcc2 internal prototype to avoid an error. */
20653 #ifdef __cplusplus
20654 extern "C"
20655 #endif
20656 /* We use char because int might match the return type of a gcc2
20657 builtin and then its argument prototype would still apply. */
20658 char gethostbyname ();
20659 int
20660 main ()
20661 {
20662 gethostbyname ();
20663 ;
20664 return 0;
20665 }
20666 _ACEOF
20667 rm -f conftest.$ac_objext conftest$ac_exeext
20668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20669 (eval $ac_link) 2>conftest.er1
20670 ac_status=$?
20671 grep -v '^ *+' conftest.er1 >conftest.err
20672 rm -f conftest.er1
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } &&
20676 { ac_try='test -z "$ac_c_werror_flag"
20677 || test ! -s conftest.err'
20678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20679 (eval $ac_try) 2>&5
20680 ac_status=$?
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); }; } &&
20683 { ac_try='test -s conftest$ac_exeext'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; }; then
20689 ac_cv_lib_bsd_gethostbyname=yes
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 ac_cv_lib_bsd_gethostbyname=no
20695 fi
20696 rm -f conftest.err conftest.$ac_objext \
20697 conftest$ac_exeext conftest.$ac_ext
20698 LIBS=$ac_check_lib_save_LIBS
20699 fi
20700 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20701 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20702 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20703 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20704 fi
20705
20706 fi
20707 fi
20708
20709 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20710 # socket/setsockopt and other routines are undefined under SCO ODT
20711 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20712 # on later versions), says Simon Leinen: it contains gethostby*
20713 # variants that don't use the name server (or something). -lsocket
20714 # must be given before -lnsl if both are needed. We assume that
20715 # if connect needs -lnsl, so does gethostbyname.
20716 echo "$as_me:$LINENO: checking for connect" >&5
20717 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20718 if test "${ac_cv_func_connect+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 else
20721 if test x$gcc_no_link = xyes; then
20722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20724 { (exit 1); exit 1; }; }
20725 fi
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20734 #define connect innocuous_connect
20735
20736 /* System header to define __stub macros and hopefully few prototypes,
20737 which can conflict with char connect (); below.
20738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20739 <limits.h> exists even on freestanding compilers. */
20740
20741 #ifdef __STDC__
20742 # include <limits.h>
20743 #else
20744 # include <assert.h>
20745 #endif
20746
20747 #undef connect
20748
20749 /* Override any gcc2 internal prototype to avoid an error. */
20750 #ifdef __cplusplus
20751 extern "C"
20752 {
20753 #endif
20754 /* We use char because int might match the return type of a gcc2
20755 builtin and then its argument prototype would still apply. */
20756 char connect ();
20757 /* The GNU C library defines this for functions which it implements
20758 to always fail with ENOSYS. Some functions are actually named
20759 something starting with __ and the normal name is an alias. */
20760 #if defined (__stub_connect) || defined (__stub___connect)
20761 choke me
20762 #else
20763 char (*f) () = connect;
20764 #endif
20765 #ifdef __cplusplus
20766 }
20767 #endif
20768
20769 int
20770 main ()
20771 {
20772 return f != connect;
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest.$ac_objext conftest$ac_exeext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20779 (eval $ac_link) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -z "$ac_c_werror_flag"
20787 || test ! -s conftest.err'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; } &&
20793 { ac_try='test -s conftest$ac_exeext'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20796 ac_status=$?
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; }; then
20799 ac_cv_func_connect=yes
20800 else
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.$ac_ext >&5
20803
20804 ac_cv_func_connect=no
20805 fi
20806 rm -f conftest.err conftest.$ac_objext \
20807 conftest$ac_exeext conftest.$ac_ext
20808 fi
20809 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20810 echo "${ECHO_T}$ac_cv_func_connect" >&6
20811
20812 if test $ac_cv_func_connect = no; then
20813 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20814 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20815 if test "${ac_cv_lib_socket_connect+set}" = set; then
20816 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 else
20818 ac_check_lib_save_LIBS=$LIBS
20819 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20820 if test x$gcc_no_link = xyes; then
20821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20823 { (exit 1); exit 1; }; }
20824 fi
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h. */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831
20832 /* Override any gcc2 internal prototype to avoid an error. */
20833 #ifdef __cplusplus
20834 extern "C"
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 connect ();
20839 int
20840 main ()
20841 {
20842 connect ();
20843 ;
20844 return 0;
20845 }
20846 _ACEOF
20847 rm -f conftest.$ac_objext conftest$ac_exeext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20849 (eval $ac_link) 2>conftest.er1
20850 ac_status=$?
20851 grep -v '^ *+' conftest.er1 >conftest.err
20852 rm -f conftest.er1
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } &&
20856 { ac_try='test -z "$ac_c_werror_flag"
20857 || test ! -s conftest.err'
20858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859 (eval $ac_try) 2>&5
20860 ac_status=$?
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); }; } &&
20863 { ac_try='test -s conftest$ac_exeext'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20866 ac_status=$?
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; }; then
20869 ac_cv_lib_socket_connect=yes
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_cv_lib_socket_connect=no
20875 fi
20876 rm -f conftest.err conftest.$ac_objext \
20877 conftest$ac_exeext conftest.$ac_ext
20878 LIBS=$ac_check_lib_save_LIBS
20879 fi
20880 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20881 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20882 if test $ac_cv_lib_socket_connect = yes; then
20883 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20884 fi
20885
20886 fi
20887
20888 # Guillermo Gomez says -lposix is necessary on A/UX.
20889 echo "$as_me:$LINENO: checking for remove" >&5
20890 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20891 if test "${ac_cv_func_remove+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20893 else
20894 if test x$gcc_no_link = xyes; then
20895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20897 { (exit 1); exit 1; }; }
20898 fi
20899 cat >conftest.$ac_ext <<_ACEOF
20900 /* confdefs.h. */
20901 _ACEOF
20902 cat confdefs.h >>conftest.$ac_ext
20903 cat >>conftest.$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20907 #define remove innocuous_remove
20908
20909 /* System header to define __stub macros and hopefully few prototypes,
20910 which can conflict with char remove (); below.
20911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20912 <limits.h> exists even on freestanding compilers. */
20913
20914 #ifdef __STDC__
20915 # include <limits.h>
20916 #else
20917 # include <assert.h>
20918 #endif
20919
20920 #undef remove
20921
20922 /* Override any gcc2 internal prototype to avoid an error. */
20923 #ifdef __cplusplus
20924 extern "C"
20925 {
20926 #endif
20927 /* We use char because int might match the return type of a gcc2
20928 builtin and then its argument prototype would still apply. */
20929 char remove ();
20930 /* The GNU C library defines this for functions which it implements
20931 to always fail with ENOSYS. Some functions are actually named
20932 something starting with __ and the normal name is an alias. */
20933 #if defined (__stub_remove) || defined (__stub___remove)
20934 choke me
20935 #else
20936 char (*f) () = remove;
20937 #endif
20938 #ifdef __cplusplus
20939 }
20940 #endif
20941
20942 int
20943 main ()
20944 {
20945 return f != remove;
20946 ;
20947 return 0;
20948 }
20949 _ACEOF
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952 (eval $ac_link) 2>conftest.er1
20953 ac_status=$?
20954 grep -v '^ *+' conftest.er1 >conftest.err
20955 rm -f conftest.er1
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20963 ac_status=$?
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try='test -s conftest$ac_exeext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20969 ac_status=$?
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_func_remove=yes
20973 else
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20976
20977 ac_cv_func_remove=no
20978 fi
20979 rm -f conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 fi
20982 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20983 echo "${ECHO_T}$ac_cv_func_remove" >&6
20984
20985 if test $ac_cv_func_remove = no; then
20986 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20987 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20988 if test "${ac_cv_lib_posix_remove+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 ac_check_lib_save_LIBS=$LIBS
20992 LIBS="-lposix $LIBS"
20993 if test x$gcc_no_link = xyes; then
20994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20996 { (exit 1); exit 1; }; }
20997 fi
20998 cat >conftest.$ac_ext <<_ACEOF
20999 /* confdefs.h. */
21000 _ACEOF
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004
21005 /* Override any gcc2 internal prototype to avoid an error. */
21006 #ifdef __cplusplus
21007 extern "C"
21008 #endif
21009 /* We use char because int might match the return type of a gcc2
21010 builtin and then its argument prototype would still apply. */
21011 char remove ();
21012 int
21013 main ()
21014 {
21015 remove ();
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 rm -f conftest.$ac_objext conftest$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>conftest.er1
21023 ac_status=$?
21024 grep -v '^ *+' conftest.er1 >conftest.err
21025 rm -f conftest.er1
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -z "$ac_c_werror_flag"
21030 || test ! -s conftest.err'
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); }; } &&
21036 { ac_try='test -s conftest$ac_exeext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_cv_lib_posix_remove=yes
21043 else
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21046
21047 ac_cv_lib_posix_remove=no
21048 fi
21049 rm -f conftest.err conftest.$ac_objext \
21050 conftest$ac_exeext conftest.$ac_ext
21051 LIBS=$ac_check_lib_save_LIBS
21052 fi
21053 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21055 if test $ac_cv_lib_posix_remove = yes; then
21056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21057 fi
21058
21059 fi
21060
21061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21062 echo "$as_me:$LINENO: checking for shmat" >&5
21063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21064 if test "${ac_cv_func_shmat+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067 if test x$gcc_no_link = xyes; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21071 fi
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
21079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21080 #define shmat innocuous_shmat
21081
21082 /* System header to define __stub macros and hopefully few prototypes,
21083 which can conflict with char shmat (); below.
21084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21085 <limits.h> exists even on freestanding compilers. */
21086
21087 #ifdef __STDC__
21088 # include <limits.h>
21089 #else
21090 # include <assert.h>
21091 #endif
21092
21093 #undef shmat
21094
21095 /* Override any gcc2 internal prototype to avoid an error. */
21096 #ifdef __cplusplus
21097 extern "C"
21098 {
21099 #endif
21100 /* We use char because int might match the return type of a gcc2
21101 builtin and then its argument prototype would still apply. */
21102 char shmat ();
21103 /* The GNU C library defines this for functions which it implements
21104 to always fail with ENOSYS. Some functions are actually named
21105 something starting with __ and the normal name is an alias. */
21106 #if defined (__stub_shmat) || defined (__stub___shmat)
21107 choke me
21108 #else
21109 char (*f) () = shmat;
21110 #endif
21111 #ifdef __cplusplus
21112 }
21113 #endif
21114
21115 int
21116 main ()
21117 {
21118 return f != shmat;
21119 ;
21120 return 0;
21121 }
21122 _ACEOF
21123 rm -f conftest.$ac_objext conftest$ac_exeext
21124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21125 (eval $ac_link) 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } &&
21132 { ac_try='test -z "$ac_c_werror_flag"
21133 || test ! -s conftest.err'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; } &&
21139 { ac_try='test -s conftest$ac_exeext'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21142 ac_status=$?
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; }; then
21145 ac_cv_func_shmat=yes
21146 else
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.$ac_ext >&5
21149
21150 ac_cv_func_shmat=no
21151 fi
21152 rm -f conftest.err conftest.$ac_objext \
21153 conftest$ac_exeext conftest.$ac_ext
21154 fi
21155 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21156 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21157
21158 if test $ac_cv_func_shmat = no; then
21159 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21160 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21161 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 else
21164 ac_check_lib_save_LIBS=$LIBS
21165 LIBS="-lipc $LIBS"
21166 if test x$gcc_no_link = xyes; then
21167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21169 { (exit 1); exit 1; }; }
21170 fi
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177
21178 /* Override any gcc2 internal prototype to avoid an error. */
21179 #ifdef __cplusplus
21180 extern "C"
21181 #endif
21182 /* We use char because int might match the return type of a gcc2
21183 builtin and then its argument prototype would still apply. */
21184 char shmat ();
21185 int
21186 main ()
21187 {
21188 shmat ();
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest.$ac_objext conftest$ac_exeext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21195 (eval $ac_link) 2>conftest.er1
21196 ac_status=$?
21197 grep -v '^ *+' conftest.er1 >conftest.err
21198 rm -f conftest.er1
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -z "$ac_c_werror_flag"
21203 || test ! -s conftest.err'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; } &&
21209 { ac_try='test -s conftest$ac_exeext'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21212 ac_status=$?
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; }; then
21215 ac_cv_lib_ipc_shmat=yes
21216 else
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21219
21220 ac_cv_lib_ipc_shmat=no
21221 fi
21222 rm -f conftest.err conftest.$ac_objext \
21223 conftest$ac_exeext conftest.$ac_ext
21224 LIBS=$ac_check_lib_save_LIBS
21225 fi
21226 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21227 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21228 if test $ac_cv_lib_ipc_shmat = yes; then
21229 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21230 fi
21231
21232 fi
21233 fi
21234
21235 # Check for libraries that X11R6 Xt/Xaw programs need.
21236 ac_save_LDFLAGS=$LDFLAGS
21237 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21238 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21239 # check for ICE first), but we must link in the order -lSM -lICE or
21240 # we get undefined symbols. So assume we have SM if we have ICE.
21241 # These have to be linked with before -lX11, unlike the other
21242 # libraries we check for below, so use a different variable.
21243 # John Interrante, Karl Berry
21244 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21245 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21246 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 else
21249 ac_check_lib_save_LIBS=$LIBS
21250 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21251 if test x$gcc_no_link = xyes; then
21252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21254 { (exit 1); exit 1; }; }
21255 fi
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21266 #endif
21267 /* We use char because int might match the return type of a gcc2
21268 builtin and then its argument prototype would still apply. */
21269 char IceConnectionNumber ();
21270 int
21271 main ()
21272 {
21273 IceConnectionNumber ();
21274 ;
21275 return 0;
21276 }
21277 _ACEOF
21278 rm -f conftest.$ac_objext conftest$ac_exeext
21279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21280 (eval $ac_link) 2>conftest.er1
21281 ac_status=$?
21282 grep -v '^ *+' conftest.er1 >conftest.err
21283 rm -f conftest.er1
21284 cat conftest.err >&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try='test -z "$ac_c_werror_flag"
21288 || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try='test -s conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_lib_ICE_IceConnectionNumber=yes
21301 else
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.$ac_ext >&5
21304
21305 ac_cv_lib_ICE_IceConnectionNumber=no
21306 fi
21307 rm -f conftest.err conftest.$ac_objext \
21308 conftest$ac_exeext conftest.$ac_ext
21309 LIBS=$ac_check_lib_save_LIBS
21310 fi
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21312 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21313 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21314 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21315 fi
21316
21317 LDFLAGS=$ac_save_LDFLAGS
21318
21319 fi
21320
21321 if test "$no_x" = yes; then
21322 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
21323 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
21324 { (exit 1); exit 1; }; }
21325 fi
21326 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
21327 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
21328 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
21329 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 else
21331 ac_check_lib_save_LIBS=$LIBS
21332 LIBS="-lXtst ${X_LIBS} $LIBS"
21333 if test x$gcc_no_link = xyes; then
21334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21336 { (exit 1); exit 1; }; }
21337 fi
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344
21345 /* Override any gcc2 internal prototype to avoid an error. */
21346 #ifdef __cplusplus
21347 extern "C"
21348 #endif
21349 /* We use char because int might match the return type of a gcc2
21350 builtin and then its argument prototype would still apply. */
21351 char XTestQueryExtension ();
21352 int
21353 main ()
21354 {
21355 XTestQueryExtension ();
21356 ;
21357 return 0;
21358 }
21359 _ACEOF
21360 rm -f conftest.$ac_objext conftest$ac_exeext
21361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21362 (eval $ac_link) 2>conftest.er1
21363 ac_status=$?
21364 grep -v '^ *+' conftest.er1 >conftest.err
21365 rm -f conftest.er1
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } &&
21369 { ac_try='test -z "$ac_c_werror_flag"
21370 || test ! -s conftest.err'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21373 ac_status=$?
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; } &&
21376 { ac_try='test -s conftest$ac_exeext'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21379 ac_status=$?
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; }; then
21382 ac_cv_lib_Xtst_XTestQueryExtension=yes
21383 else
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ac_cv_lib_Xtst_XTestQueryExtension=no
21388 fi
21389 rm -f conftest.err conftest.$ac_objext \
21390 conftest$ac_exeext conftest.$ac_ext
21391 LIBS=$ac_check_lib_save_LIBS
21392 fi
21393 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
21394 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
21395 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
21396 XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"
21397 else
21398 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
21399 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
21400 { (exit 1); exit 1; }; }
21401 fi
21402
21403
21404
21405 succeeded=no
21406
21407 if test -z "$PKG_CONFIG"; then
21408 # Extract the first word of "pkg-config", so it can be a program name with args.
21409 set dummy pkg-config; ac_word=$2
21410 echo "$as_me:$LINENO: checking for $ac_word" >&5
21411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21412 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 else
21415 case $PKG_CONFIG in
21416 [\\/]* | ?:[\\/]*)
21417 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21418 ;;
21419 *)
21420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21421 for as_dir in $PATH
21422 do
21423 IFS=$as_save_IFS
21424 test -z "$as_dir" && as_dir=.
21425 for ac_exec_ext in '' $ac_executable_extensions; do
21426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21427 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21429 break 2
21430 fi
21431 done
21432 done
21433
21434 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21435 ;;
21436 esac
21437 fi
21438 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21439
21440 if test -n "$PKG_CONFIG"; then
21441 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21442 echo "${ECHO_T}$PKG_CONFIG" >&6
21443 else
21444 echo "$as_me:$LINENO: result: no" >&5
21445 echo "${ECHO_T}no" >&6
21446 fi
21447
21448 fi
21449
21450 if test "$PKG_CONFIG" = "no" ; then
21451 echo "*** The pkg-config script could not be found. Make sure it is"
21452 echo "*** in your path, or set the PKG_CONFIG environment variable"
21453 echo "*** to the full path to pkg-config."
21454 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21455 else
21456 PKG_CONFIG_MIN_VERSION=0.9.0
21457 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21458 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21459 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
21460
21461 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21462 echo "$as_me:$LINENO: result: yes" >&5
21463 echo "${ECHO_T}yes" >&6
21464 succeeded=yes
21465
21466 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21467 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
21468 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21469 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21470 echo "${ECHO_T}$GTK_CFLAGS" >&6
21471
21472 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21473 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
21474 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21475 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21476 echo "${ECHO_T}$GTK_LIBS" >&6
21477 else
21478 GTK_CFLAGS=""
21479 GTK_LIBS=""
21480 ## If we have a custom action on failure, don't print errors, but
21481 ## do set a variable so people can do so.
21482 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21483 echo $GTK_PKG_ERRORS
21484 fi
21485
21486
21487
21488 else
21489 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21490 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21491 fi
21492 fi
21493
21494 if test $succeeded = yes; then
21495 :
21496 else
21497 { { 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
21498 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;}
21499 { (exit 1); exit 1; }; }
21500 fi
21501
21502
21503 succeeded=no
21504
21505 if test -z "$PKG_CONFIG"; then
21506 # Extract the first word of "pkg-config", so it can be a program name with args.
21507 set dummy pkg-config; ac_word=$2
21508 echo "$as_me:$LINENO: checking for $ac_word" >&5
21509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21510 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21512 else
21513 case $PKG_CONFIG in
21514 [\\/]* | ?:[\\/]*)
21515 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21516 ;;
21517 *)
21518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21519 for as_dir in $PATH
21520 do
21521 IFS=$as_save_IFS
21522 test -z "$as_dir" && as_dir=.
21523 for ac_exec_ext in '' $ac_executable_extensions; do
21524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21525 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21527 break 2
21528 fi
21529 done
21530 done
21531
21532 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21533 ;;
21534 esac
21535 fi
21536 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21537
21538 if test -n "$PKG_CONFIG"; then
21539 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21540 echo "${ECHO_T}$PKG_CONFIG" >&6
21541 else
21542 echo "$as_me:$LINENO: result: no" >&5
21543 echo "${ECHO_T}no" >&6
21544 fi
21545
21546 fi
21547
21548 if test "$PKG_CONFIG" = "no" ; then
21549 echo "*** The pkg-config script could not be found. Make sure it is"
21550 echo "*** in your path, or set the PKG_CONFIG environment variable"
21551 echo "*** to the full path to pkg-config."
21552 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21553 else
21554 PKG_CONFIG_MIN_VERSION=0.9.0
21555 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21556 echo "$as_me:$LINENO: checking for freetype2" >&5
21557 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6
21558
21559 if $PKG_CONFIG --exists "freetype2" ; then
21560 echo "$as_me:$LINENO: result: yes" >&5
21561 echo "${ECHO_T}yes" >&6
21562 succeeded=yes
21563
21564 echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
21565 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6
21566 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
21567 echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
21568 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6
21569
21570 echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
21571 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6
21572 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
21573 echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
21574 echo "${ECHO_T}$FREETYPE2_LIBS" >&6
21575 else
21576 FREETYPE2_CFLAGS=""
21577 FREETYPE2_LIBS=""
21578 ## If we have a custom action on failure, don't print errors, but
21579 ## do set a variable so people can do so.
21580 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
21581 echo $FREETYPE2_PKG_ERRORS
21582 fi
21583
21584
21585
21586 else
21587 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21588 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21589 fi
21590 fi
21591
21592 if test $succeeded = yes; then
21593 :
21594 else
21595 { { 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
21596 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;}
21597 { (exit 1); exit 1; }; }
21598 fi
21599
21600
21601 succeeded=no
21602
21603 if test -z "$PKG_CONFIG"; then
21604 # Extract the first word of "pkg-config", so it can be a program name with args.
21605 set dummy pkg-config; ac_word=$2
21606 echo "$as_me:$LINENO: checking for $ac_word" >&5
21607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 case $PKG_CONFIG in
21612 [\\/]* | ?:[\\/]*)
21613 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21614 ;;
21615 *)
21616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21617 for as_dir in $PATH
21618 do
21619 IFS=$as_save_IFS
21620 test -z "$as_dir" && as_dir=.
21621 for ac_exec_ext in '' $ac_executable_extensions; do
21622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21623 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21625 break 2
21626 fi
21627 done
21628 done
21629
21630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21631 ;;
21632 esac
21633 fi
21634 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21635
21636 if test -n "$PKG_CONFIG"; then
21637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21638 echo "${ECHO_T}$PKG_CONFIG" >&6
21639 else
21640 echo "$as_me:$LINENO: result: no" >&5
21641 echo "${ECHO_T}no" >&6
21642 fi
21643
21644 fi
21645
21646 if test "$PKG_CONFIG" = "no" ; then
21647 echo "*** The pkg-config script could not be found. Make sure it is"
21648 echo "*** in your path, or set the PKG_CONFIG environment variable"
21649 echo "*** to the full path to pkg-config."
21650 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21651 else
21652 PKG_CONFIG_MIN_VERSION=0.9.0
21653 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21654 echo "$as_me:$LINENO: checking for pangoft2" >&5
21655 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21656
21657 if $PKG_CONFIG --exists "pangoft2" ; then
21658 echo "$as_me:$LINENO: result: yes" >&5
21659 echo "${ECHO_T}yes" >&6
21660 succeeded=yes
21661
21662 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21663 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21664 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21665 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21666 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21667
21668 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21669 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21670 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21671 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21672 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21673 else
21674 PANGOFT2_CFLAGS=""
21675 PANGOFT2_LIBS=""
21676 ## If we have a custom action on failure, don't print errors, but
21677 ## do set a variable so people can do so.
21678 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21679 echo $PANGOFT2_PKG_ERRORS
21680 fi
21681
21682
21683
21684 else
21685 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21686 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21687 fi
21688 fi
21689
21690 if test $succeeded = yes; then
21691 :
21692 else
21693 { { 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
21694 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;}
21695 { (exit 1); exit 1; }; }
21696 fi
21697
21698
21699 succeeded=no
21700
21701 if test -z "$PKG_CONFIG"; then
21702 # Extract the first word of "pkg-config", so it can be a program name with args.
21703 set dummy pkg-config; ac_word=$2
21704 echo "$as_me:$LINENO: checking for $ac_word" >&5
21705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21706 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 else
21709 case $PKG_CONFIG in
21710 [\\/]* | ?:[\\/]*)
21711 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21712 ;;
21713 *)
21714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21715 for as_dir in $PATH
21716 do
21717 IFS=$as_save_IFS
21718 test -z "$as_dir" && as_dir=.
21719 for ac_exec_ext in '' $ac_executable_extensions; do
21720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21721 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21723 break 2
21724 fi
21725 done
21726 done
21727
21728 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21729 ;;
21730 esac
21731 fi
21732 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21733
21734 if test -n "$PKG_CONFIG"; then
21735 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21736 echo "${ECHO_T}$PKG_CONFIG" >&6
21737 else
21738 echo "$as_me:$LINENO: result: no" >&5
21739 echo "${ECHO_T}no" >&6
21740 fi
21741
21742 fi
21743
21744 if test "$PKG_CONFIG" = "no" ; then
21745 echo "*** The pkg-config script could not be found. Make sure it is"
21746 echo "*** in your path, or set the PKG_CONFIG environment variable"
21747 echo "*** to the full path to pkg-config."
21748 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21749 else
21750 PKG_CONFIG_MIN_VERSION=0.9.0
21751 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21752 echo "$as_me:$LINENO: checking for cairo >= 1.1.8" >&5
21753 echo $ECHO_N "checking for cairo >= 1.1.8... $ECHO_C" >&6
21754
21755 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
21756 echo "$as_me:$LINENO: result: yes" >&5
21757 echo "${ECHO_T}yes" >&6
21758 succeeded=yes
21759
21760 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
21761 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
21762 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
21763 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
21764 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
21765
21766 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
21767 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
21768 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
21769 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
21770 echo "${ECHO_T}$CAIRO_LIBS" >&6
21771 else
21772 CAIRO_CFLAGS=""
21773 CAIRO_LIBS=""
21774 ## If we have a custom action on failure, don't print errors, but
21775 ## do set a variable so people can do so.
21776 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
21777 echo $CAIRO_PKG_ERRORS
21778 fi
21779
21780
21781
21782 else
21783 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21784 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21785 fi
21786 fi
21787
21788 if test $succeeded = yes; then
21789 :
21790 else
21791 { { 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
21792 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;}
21793 { (exit 1); exit 1; }; }
21794 fi
21795
21796 echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
21797 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
21798 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801 ac_check_lib_save_LIBS=$LIBS
21802 LIBS="-lXrender ${X_LIBS} $LIBS"
21803 if test x$gcc_no_link = xyes; then
21804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21806 { (exit 1); exit 1; }; }
21807 fi
21808 cat >conftest.$ac_ext <<_ACEOF
21809 /* confdefs.h. */
21810 _ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814
21815 /* Override any gcc2 internal prototype to avoid an error. */
21816 #ifdef __cplusplus
21817 extern "C"
21818 #endif
21819 /* We use char because int might match the return type of a gcc2
21820 builtin and then its argument prototype would still apply. */
21821 char XRenderQueryExtension ();
21822 int
21823 main ()
21824 {
21825 XRenderQueryExtension ();
21826 ;
21827 return 0;
21828 }
21829 _ACEOF
21830 rm -f conftest.$ac_objext conftest$ac_exeext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>conftest.er1
21833 ac_status=$?
21834 grep -v '^ *+' conftest.er1 >conftest.err
21835 rm -f conftest.er1
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -z "$ac_c_werror_flag"
21840 || test ! -s conftest.err'
21841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21842 (eval $ac_try) 2>&5
21843 ac_status=$?
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); }; } &&
21846 { ac_try='test -s conftest$ac_exeext'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21849 ac_status=$?
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; }; then
21852 ac_cv_lib_Xrender_XRenderQueryExtension=yes
21853 else
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21856
21857 ac_cv_lib_Xrender_XRenderQueryExtension=no
21858 fi
21859 rm -f conftest.err conftest.$ac_objext \
21860 conftest$ac_exeext conftest.$ac_ext
21861 LIBS=$ac_check_lib_save_LIBS
21862 fi
21863 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
21864 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
21865 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
21866
21867 cat >>confdefs.h <<\_ACEOF
21868 #define HAVE_XRENDER 1
21869 _ACEOF
21870 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
21871 else
21872 true
21873 fi
21874
21875
21876 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
21877 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
21878 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21880 else
21881 ac_check_lib_save_LIBS=$LIBS
21882 LIBS="-lXrandr ${X_LIBS} $LIBS"
21883 if test x$gcc_no_link = xyes; then
21884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21886 { (exit 1); exit 1; }; }
21887 fi
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894
21895 /* Override any gcc2 internal prototype to avoid an error. */
21896 #ifdef __cplusplus
21897 extern "C"
21898 #endif
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21901 char XRRQueryExtension ();
21902 int
21903 main ()
21904 {
21905 XRRQueryExtension ();
21906 ;
21907 return 0;
21908 }
21909 _ACEOF
21910 rm -f conftest.$ac_objext conftest$ac_exeext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21912 (eval $ac_link) 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try='test -z "$ac_c_werror_flag"
21920 || test ! -s conftest.err'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; } &&
21926 { ac_try='test -s conftest$ac_exeext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21929 ac_status=$?
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_lib_Xrandr_XRRQueryExtension=yes
21933 else
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21936
21937 ac_cv_lib_Xrandr_XRRQueryExtension=no
21938 fi
21939 rm -f conftest.err conftest.$ac_objext \
21940 conftest$ac_exeext conftest.$ac_ext
21941 LIBS=$ac_check_lib_save_LIBS
21942 fi
21943 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
21944 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
21945 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
21946
21947 cat >>confdefs.h <<\_ACEOF
21948 #define HAVE_XRANDR 1
21949 _ACEOF
21950 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
21951 else
21952 true
21953 fi
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963 fi
21964
21965 if test "x${COMPILE_GCONF_PEER}" = xyes; then
21966
21967 succeeded=no
21968
21969 if test -z "$PKG_CONFIG"; then
21970 # Extract the first word of "pkg-config", so it can be a program name with args.
21971 set dummy pkg-config; ac_word=$2
21972 echo "$as_me:$LINENO: checking for $ac_word" >&5
21973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21977 case $PKG_CONFIG in
21978 [\\/]* | ?:[\\/]*)
21979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21980 ;;
21981 *)
21982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21983 for as_dir in $PATH
21984 do
21985 IFS=$as_save_IFS
21986 test -z "$as_dir" && as_dir=.
21987 for ac_exec_ext in '' $ac_executable_extensions; do
21988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21989 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21991 break 2
21992 fi
21993 done
21994 done
21995
21996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21997 ;;
21998 esac
21999 fi
22000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22001
22002 if test -n "$PKG_CONFIG"; then
22003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22004 echo "${ECHO_T}$PKG_CONFIG" >&6
22005 else
22006 echo "$as_me:$LINENO: result: no" >&5
22007 echo "${ECHO_T}no" >&6
22008 fi
22009
22010 fi
22011
22012 if test "$PKG_CONFIG" = "no" ; then
22013 echo "*** The pkg-config script could not be found. Make sure it is"
22014 echo "*** in your path, or set the PKG_CONFIG environment variable"
22015 echo "*** to the full path to pkg-config."
22016 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22017 else
22018 PKG_CONFIG_MIN_VERSION=0.9.0
22019 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22020 echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.6.0" >&5
22021 echo $ECHO_N "checking for gconf-2.0 >= 2.6.0... $ECHO_C" >&6
22022
22023 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
22024 echo "$as_me:$LINENO: result: yes" >&5
22025 echo "${ECHO_T}yes" >&6
22026 succeeded=yes
22027
22028 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
22029 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
22030 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
22031 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
22032 echo "${ECHO_T}$GCONF_CFLAGS" >&6
22033
22034 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
22035 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
22036 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
22037 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
22038 echo "${ECHO_T}$GCONF_LIBS" >&6
22039 else
22040 GCONF_CFLAGS=""
22041 GCONF_LIBS=""
22042 ## If we have a custom action on failure, don't print errors, but
22043 ## do set a variable so people can do so.
22044 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
22045 echo $GCONF_PKG_ERRORS
22046 fi
22047
22048
22049
22050 else
22051 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22052 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22053 fi
22054 fi
22055
22056 if test $succeeded = yes; then
22057 :
22058 else
22059 { { 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
22060 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;}
22061 { (exit 1); exit 1; }; }
22062 fi
22063
22064
22065
22066
22067 succeeded=no
22068
22069 if test -z "$PKG_CONFIG"; then
22070 # Extract the first word of "pkg-config", so it can be a program name with args.
22071 set dummy pkg-config; ac_word=$2
22072 echo "$as_me:$LINENO: checking for $ac_word" >&5
22073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22074 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22075 echo $ECHO_N "(cached) $ECHO_C" >&6
22076 else
22077 case $PKG_CONFIG in
22078 [\\/]* | ?:[\\/]*)
22079 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22080 ;;
22081 *)
22082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22083 for as_dir in $PATH
22084 do
22085 IFS=$as_save_IFS
22086 test -z "$as_dir" && as_dir=.
22087 for ac_exec_ext in '' $ac_executable_extensions; do
22088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22089 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22091 break 2
22092 fi
22093 done
22094 done
22095
22096 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22097 ;;
22098 esac
22099 fi
22100 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22101
22102 if test -n "$PKG_CONFIG"; then
22103 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22104 echo "${ECHO_T}$PKG_CONFIG" >&6
22105 else
22106 echo "$as_me:$LINENO: result: no" >&5
22107 echo "${ECHO_T}no" >&6
22108 fi
22109
22110 fi
22111
22112 if test "$PKG_CONFIG" = "no" ; then
22113 echo "*** The pkg-config script could not be found. Make sure it is"
22114 echo "*** in your path, or set the PKG_CONFIG environment variable"
22115 echo "*** to the full path to pkg-config."
22116 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22117 else
22118 PKG_CONFIG_MIN_VERSION=0.9.0
22119 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22120 echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5
22121 echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6
22122
22123 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
22124 echo "$as_me:$LINENO: result: yes" >&5
22125 echo "${ECHO_T}yes" >&6
22126 succeeded=yes
22127
22128 echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
22129 echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
22130 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
22131 echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
22132 echo "${ECHO_T}$GDK_CFLAGS" >&6
22133
22134 echo "$as_me:$LINENO: checking GDK_LIBS" >&5
22135 echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
22136 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
22137 echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
22138 echo "${ECHO_T}$GDK_LIBS" >&6
22139 else
22140 GDK_CFLAGS=""
22141 GDK_LIBS=""
22142 ## If we have a custom action on failure, don't print errors, but
22143 ## do set a variable so people can do so.
22144 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
22145 echo $GDK_PKG_ERRORS
22146 fi
22147
22148
22149
22150 else
22151 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22152 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22153 fi
22154 fi
22155
22156 if test $succeeded = yes; then
22157 :
22158 else
22159 { { 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
22160 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;}
22161 { (exit 1); exit 1; }; }
22162 fi
22163
22164
22165
22166 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
22167 if test "$USE_GCONF_PREFS_PEER" = ""; then
22168 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
22169 fi
22170 fi
22171
22172 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
22173 GST_MAJORMINOR=0.10
22174 GST_REQUIRED=0.10.10
22175
22176
22177 succeeded=no
22178
22179 if test -z "$PKG_CONFIG"; then
22180 # Extract the first word of "pkg-config", so it can be a program name with args.
22181 set dummy pkg-config; ac_word=$2
22182 echo "$as_me:$LINENO: checking for $ac_word" >&5
22183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22184 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187 case $PKG_CONFIG in
22188 [\\/]* | ?:[\\/]*)
22189 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22190 ;;
22191 *)
22192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22193 for as_dir in $PATH
22194 do
22195 IFS=$as_save_IFS
22196 test -z "$as_dir" && as_dir=.
22197 for ac_exec_ext in '' $ac_executable_extensions; do
22198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22199 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22201 break 2
22202 fi
22203 done
22204 done
22205
22206 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22207 ;;
22208 esac
22209 fi
22210 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22211
22212 if test -n "$PKG_CONFIG"; then
22213 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22214 echo "${ECHO_T}$PKG_CONFIG" >&6
22215 else
22216 echo "$as_me:$LINENO: result: no" >&5
22217 echo "${ECHO_T}no" >&6
22218 fi
22219
22220 fi
22221
22222 if test "$PKG_CONFIG" = "no" ; then
22223 echo "*** The pkg-config script could not be found. Make sure it is"
22224 echo "*** in your path, or set the PKG_CONFIG environment variable"
22225 echo "*** to the full path to pkg-config."
22226 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22227 else
22228 PKG_CONFIG_MIN_VERSION=0.9.0
22229 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22230 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22231 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22232
22233 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22234 echo "$as_me:$LINENO: result: yes" >&5
22235 echo "${ECHO_T}yes" >&6
22236 succeeded=yes
22237
22238 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
22239 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
22240 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22241 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
22242 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
22243
22244 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
22245 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
22246 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22247 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
22248 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
22249 else
22250 GSTREAMER_CFLAGS=""
22251 GSTREAMER_LIBS=""
22252 ## If we have a custom action on failure, don't print errors, but
22253 ## do set a variable so people can do so.
22254 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
22255 echo $GSTREAMER_PKG_ERRORS
22256 fi
22257
22258
22259
22260 else
22261 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22262 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22263 fi
22264 fi
22265
22266 if test $succeeded = yes; then
22267 :
22268 else
22269 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22270 echo "$as_me: error: Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22271 { (exit 1); exit 1; }; }
22272 fi
22273
22274
22275
22276
22277
22278 succeeded=no
22279
22280 if test -z "$PKG_CONFIG"; then
22281 # Extract the first word of "pkg-config", so it can be a program name with args.
22282 set dummy pkg-config; ac_word=$2
22283 echo "$as_me:$LINENO: checking for $ac_word" >&5
22284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22285 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22287 else
22288 case $PKG_CONFIG in
22289 [\\/]* | ?:[\\/]*)
22290 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22291 ;;
22292 *)
22293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22294 for as_dir in $PATH
22295 do
22296 IFS=$as_save_IFS
22297 test -z "$as_dir" && as_dir=.
22298 for ac_exec_ext in '' $ac_executable_extensions; do
22299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22300 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22302 break 2
22303 fi
22304 done
22305 done
22306
22307 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22308 ;;
22309 esac
22310 fi
22311 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22312
22313 if test -n "$PKG_CONFIG"; then
22314 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22315 echo "${ECHO_T}$PKG_CONFIG" >&6
22316 else
22317 echo "$as_me:$LINENO: result: no" >&5
22318 echo "${ECHO_T}no" >&6
22319 fi
22320
22321 fi
22322
22323 if test "$PKG_CONFIG" = "no" ; then
22324 echo "*** The pkg-config script could not be found. Make sure it is"
22325 echo "*** in your path, or set the PKG_CONFIG environment variable"
22326 echo "*** to the full path to pkg-config."
22327 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22328 else
22329 PKG_CONFIG_MIN_VERSION=0.9.0
22330 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22331 echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22332 echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22333
22334 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22335 echo "$as_me:$LINENO: result: yes" >&5
22336 echo "${ECHO_T}yes" >&6
22337 succeeded=yes
22338
22339 echo "$as_me:$LINENO: checking GSTREAMER_BASE_CFLAGS" >&5
22340 echo $ECHO_N "checking GSTREAMER_BASE_CFLAGS... $ECHO_C" >&6
22341 GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22342 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_CFLAGS" >&5
22343 echo "${ECHO_T}$GSTREAMER_BASE_CFLAGS" >&6
22344
22345 echo "$as_me:$LINENO: checking GSTREAMER_BASE_LIBS" >&5
22346 echo $ECHO_N "checking GSTREAMER_BASE_LIBS... $ECHO_C" >&6
22347 GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22348 echo "$as_me:$LINENO: result: $GSTREAMER_BASE_LIBS" >&5
22349 echo "${ECHO_T}$GSTREAMER_BASE_LIBS" >&6
22350 else
22351 GSTREAMER_BASE_CFLAGS=""
22352 GSTREAMER_BASE_LIBS=""
22353 ## If we have a custom action on failure, don't print errors, but
22354 ## do set a variable so people can do so.
22355 GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22356 echo $GSTREAMER_BASE_PKG_ERRORS
22357 fi
22358
22359
22360
22361 else
22362 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22363 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22364 fi
22365 fi
22366
22367 if test $succeeded = yes; then
22368 :
22369 else
22370 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22371 echo "$as_me: error: Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22372 { (exit 1); exit 1; }; }
22373 fi
22374
22375
22376
22377
22378
22379 succeeded=no
22380
22381 if test -z "$PKG_CONFIG"; then
22382 # Extract the first word of "pkg-config", so it can be a program name with args.
22383 set dummy pkg-config; ac_word=$2
22384 echo "$as_me:$LINENO: checking for $ac_word" >&5
22385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22386 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 else
22389 case $PKG_CONFIG in
22390 [\\/]* | ?:[\\/]*)
22391 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22392 ;;
22393 *)
22394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22395 for as_dir in $PATH
22396 do
22397 IFS=$as_save_IFS
22398 test -z "$as_dir" && as_dir=.
22399 for ac_exec_ext in '' $ac_executable_extensions; do
22400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22401 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22403 break 2
22404 fi
22405 done
22406 done
22407
22408 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22409 ;;
22410 esac
22411 fi
22412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22413
22414 if test -n "$PKG_CONFIG"; then
22415 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22416 echo "${ECHO_T}$PKG_CONFIG" >&6
22417 else
22418 echo "$as_me:$LINENO: result: no" >&5
22419 echo "${ECHO_T}no" >&6
22420 fi
22421
22422 fi
22423
22424 if test "$PKG_CONFIG" = "no" ; then
22425 echo "*** The pkg-config script could not be found. Make sure it is"
22426 echo "*** in your path, or set the PKG_CONFIG environment variable"
22427 echo "*** to the full path to pkg-config."
22428 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22429 else
22430 PKG_CONFIG_MIN_VERSION=0.9.0
22431 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22432 echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
22433 echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
22434
22435 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
22436 echo "$as_me:$LINENO: result: yes" >&5
22437 echo "${ECHO_T}yes" >&6
22438 succeeded=yes
22439
22440 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22441 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
22442 GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22443 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
22444 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6
22445
22446 echo "$as_me:$LINENO: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
22447 echo $ECHO_N "checking GSTREAMER_PLUGINS_BASE_LIBS... $ECHO_C" >&6
22448 GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22449 echo "$as_me:$LINENO: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
22450 echo "${ECHO_T}$GSTREAMER_PLUGINS_BASE_LIBS" >&6
22451 else
22452 GSTREAMER_PLUGINS_BASE_CFLAGS=""
22453 GSTREAMER_PLUGINS_BASE_LIBS=""
22454 ## If we have a custom action on failure, don't print errors, but
22455 ## do set a variable so people can do so.
22456 GSTREAMER_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
22457 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
22458 fi
22459
22460
22461
22462 else
22463 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22464 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22465 fi
22466 fi
22467
22468 if test $succeeded = yes; then
22469 :
22470 else
22471 { { echo "$as_me:$LINENO: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22472 echo "$as_me: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22473 { (exit 1); exit 1; }; }
22474 fi
22475
22476
22477
22478
22479 GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined'
22480
22481
22482 GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
22483 GSTREAMER_MIXER_PROVIDER=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
22484 fi
22485
22486
22487
22488 if test "x${COMPILE_QT_PEER}" = xyes; then
22489
22490 succeeded=no
22491
22492 if test -z "$PKG_CONFIG"; then
22493 # Extract the first word of "pkg-config", so it can be a program name with args.
22494 set dummy pkg-config; ac_word=$2
22495 echo "$as_me:$LINENO: checking for $ac_word" >&5
22496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500 case $PKG_CONFIG in
22501 [\\/]* | ?:[\\/]*)
22502 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22503 ;;
22504 *)
22505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22506 for as_dir in $PATH
22507 do
22508 IFS=$as_save_IFS
22509 test -z "$as_dir" && as_dir=.
22510 for ac_exec_ext in '' $ac_executable_extensions; do
22511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22512 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22514 break 2
22515 fi
22516 done
22517 done
22518
22519 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22520 ;;
22521 esac
22522 fi
22523 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22524
22525 if test -n "$PKG_CONFIG"; then
22526 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22527 echo "${ECHO_T}$PKG_CONFIG" >&6
22528 else
22529 echo "$as_me:$LINENO: result: no" >&5
22530 echo "${ECHO_T}no" >&6
22531 fi
22532
22533 fi
22534
22535 if test "$PKG_CONFIG" = "no" ; then
22536 echo "*** The pkg-config script could not be found. Make sure it is"
22537 echo "*** in your path, or set the PKG_CONFIG environment variable"
22538 echo "*** to the full path to pkg-config."
22539 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22540 else
22541 PKG_CONFIG_MIN_VERSION=0.9.0
22542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22543 echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
22544 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6
22545
22546 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
22547 echo "$as_me:$LINENO: result: yes" >&5
22548 echo "${ECHO_T}yes" >&6
22549 succeeded=yes
22550
22551 echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
22552 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6
22553 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
22554 echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
22555 echo "${ECHO_T}$QT_CFLAGS" >&6
22556
22557 echo "$as_me:$LINENO: checking QT_LIBS" >&5
22558 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6
22559 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
22560 echo "$as_me:$LINENO: result: $QT_LIBS" >&5
22561 echo "${ECHO_T}$QT_LIBS" >&6
22562 else
22563 QT_CFLAGS=""
22564 QT_LIBS=""
22565 ## If we have a custom action on failure, don't print errors, but
22566 ## do set a variable so people can do so.
22567 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
22568
22569 fi
22570
22571
22572
22573 else
22574 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22575 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22576 fi
22577 fi
22578
22579 if test $succeeded = yes; then
22580 HAVE_QT4="yes"
22581 else
22582 HAVE_QT4="no"
22583 fi
22584
22585 if test "x$HAVE_QT4" = "xyes"; then
22586 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
22587 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
22588 as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22589 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
22590 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22591 if eval "test \"\${$as_ac_File+set}\" = set"; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 else
22594 test "$cross_compiling" = yes &&
22595 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22596 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22597 { (exit 1); exit 1; }; }
22598 if test -r "$QT_INCLUDE_DIR/QWidget"; then
22599 eval "$as_ac_File=yes"
22600 else
22601 eval "$as_ac_File=no"
22602 fi
22603 fi
22604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22605 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22606 if test `eval echo '${'$as_ac_File'}'` = yes; then
22607 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
22608 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
22609 else
22610 as_ac_File=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
22611 echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
22612 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6
22613 if eval "test \"\${$as_ac_File+set}\" = set"; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 else
22616 test "$cross_compiling" = yes &&
22617 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22618 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22619 { (exit 1); exit 1; }; }
22620 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
22621 eval "$as_ac_File=yes"
22622 else
22623 eval "$as_ac_File=no"
22624 fi
22625 fi
22626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
22627 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
22628 if test `eval echo '${'$as_ac_File'}'` = yes; then
22629 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
22630 else
22631 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
22632 echo "$as_me: WARNING: QWidget not found" >&2;}
22633 fi
22634
22635 fi
22636
22637 # Extract the first word of "moc", so it can be a program name with args.
22638 set dummy moc; ac_word=$2
22639 echo "$as_me:$LINENO: checking for $ac_word" >&5
22640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22641 if test "${ac_cv_prog_MOC+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644 if test -n "$MOC"; then
22645 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22646 else
22647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22648 for as_dir in $PATH
22649 do
22650 IFS=$as_save_IFS
22651 test -z "$as_dir" && as_dir=.
22652 for ac_exec_ext in '' $ac_executable_extensions; do
22653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22654 ac_cv_prog_MOC="moc"
22655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22656 break 2
22657 fi
22658 done
22659 done
22660
22661 fi
22662 fi
22663 MOC=$ac_cv_prog_MOC
22664 if test -n "$MOC"; then
22665 echo "$as_me:$LINENO: result: $MOC" >&5
22666 echo "${ECHO_T}$MOC" >&6
22667 else
22668 echo "$as_me:$LINENO: result: no" >&5
22669 echo "${ECHO_T}no" >&6
22670 fi
22671
22672 # Extract the first word of "moc-qt4", so it can be a program name with args.
22673 set dummy moc-qt4; ac_word=$2
22674 echo "$as_me:$LINENO: checking for $ac_word" >&5
22675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22676 if test "${ac_cv_prog_MOC+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679 if test -n "$MOC"; then
22680 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22681 else
22682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22683 for as_dir in $PATH
22684 do
22685 IFS=$as_save_IFS
22686 test -z "$as_dir" && as_dir=.
22687 for ac_exec_ext in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_prog_MOC="moc-qt4"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22691 break 2
22692 fi
22693 done
22694 done
22695
22696 fi
22697 fi
22698 MOC=$ac_cv_prog_MOC
22699 if test -n "$MOC"; then
22700 echo "$as_me:$LINENO: result: $MOC" >&5
22701 echo "${ECHO_T}$MOC" >&6
22702 else
22703 echo "$as_me:$LINENO: result: no" >&5
22704 echo "${ECHO_T}no" >&6
22705 fi
22706
22707 fi
22708 if test "x$HAVE_QT4" = "xno"; then
22709 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
22710 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
22711 case "$host_os" in
22712 darwin*)
22713
22714 # Check whether --with-qt4dir or --without-qt4dir was given.
22715 if test "${with_qt4dir+set}" = set; then
22716 withval="$with_qt4dir"
22717 QT4DIR=$withval
22718
22719 fi;
22720 if test x"$QT4DIR" = x ; then
22721 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
22722 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
22723 { (exit 1); exit 1; }; }
22724 fi
22725 echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
22726 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6
22727 # Extract the first word of "moc", so it can be a program name with args.
22728 set dummy moc; ac_word=$2
22729 echo "$as_me:$LINENO: checking for $ac_word" >&5
22730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22731 if test "${ac_cv_prog_MOC+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 else
22734 if test -n "$MOC"; then
22735 ac_cv_prog_MOC="$MOC" # Let the user override the test.
22736 else
22737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22738 for as_dir in $QT4DIR/bin
22739 do
22740 IFS=$as_save_IFS
22741 test -z "$as_dir" && as_dir=.
22742 for ac_exec_ext in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_prog_MOC="$QT4DIR/bin/moc"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22746 break 2
22747 fi
22748 done
22749 done
22750
22751 fi
22752 fi
22753 MOC=$ac_cv_prog_MOC
22754 if test -n "$MOC"; then
22755 echo "$as_me:$LINENO: result: $MOC" >&5
22756 echo "${ECHO_T}$MOC" >&6
22757 else
22758 echo "$as_me:$LINENO: result: no" >&5
22759 echo "${ECHO_T}no" >&6
22760 fi
22761
22762 if test x"$MOC" = x; then
22763 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
22764 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
22765 { (exit 1); exit 1; }; }
22766 fi
22767 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
22768 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
22769 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
22770 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
22771 ;;
22772 *)
22773 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
22774 of your installed Qt4 installation." >&5
22775 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
22776 of your installed Qt4 installation." >&2;}
22777 { (exit 1); exit 1; }; }
22778 ;;
22779 esac
22780 fi
22781 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
22782 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
22783
22784
22785 fi
22786 echo "$as_me:$LINENO: checking for MSG_NOSIGNAL" >&5
22787 echo $ECHO_N "checking for MSG_NOSIGNAL... $ECHO_C" >&6
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 #include <sys/socket.h>
22795 int
22796 main ()
22797 {
22798 int f = MSG_NOSIGNAL;
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22805 (eval $ac_compile) 2>conftest.er1
22806 ac_status=$?
22807 grep -v '^ *+' conftest.er1 >conftest.err
22808 rm -f conftest.er1
22809 cat conftest.err >&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); } &&
22812 { ac_try='test -z "$ac_c_werror_flag"
22813 || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try='test -s conftest.$ac_objext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22825 echo "$as_me:$LINENO: result: yes" >&5
22826 echo "${ECHO_T}yes" >&6
22827
22828 cat >>confdefs.h <<\_ACEOF
22829 #define HAVE_MSG_NOSIGNAL 1
22830 _ACEOF
22831
22832 else
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22835
22836 echo "$as_me:$LINENO: result: no" >&5
22837 echo "${ECHO_T}no" >&6
22838
22839 fi
22840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22841 echo "$as_me:$LINENO: checking for SO_NOSIGPIPE " >&5
22842 echo $ECHO_N "checking for SO_NOSIGPIPE ... $ECHO_C" >&6
22843 cat >conftest.$ac_ext <<_ACEOF
22844 /* confdefs.h. */
22845 _ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 #include <sys/socket.h>
22850 int
22851 main ()
22852 {
22853 int f = SO_NOSIGPIPE;
22854 ;
22855 return 0;
22856 }
22857 _ACEOF
22858 rm -f conftest.$ac_objext
22859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22860 (eval $ac_compile) 2>conftest.er1
22861 ac_status=$?
22862 grep -v '^ *+' conftest.er1 >conftest.err
22863 rm -f conftest.er1
22864 cat conftest.err >&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } &&
22867 { ac_try='test -z "$ac_c_werror_flag"
22868 || test ! -s conftest.err'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; } &&
22874 { ac_try='test -s conftest.$ac_objext'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 echo "$as_me:$LINENO: result: yes" >&5
22881 echo "${ECHO_T}yes" >&6
22882
22883 cat >>confdefs.h <<\_ACEOF
22884 #define HAVE_SO_NOSIGPIPE 1
22885 _ACEOF
22886
22887 else
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22890
22891 echo "$as_me:$LINENO: result: no" >&5
22892 echo "${ECHO_T}no" >&6
22893
22894 fi
22895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22896 echo "$as_me:$LINENO: checking for MSG_WAITALL" >&5
22897 echo $ECHO_N "checking for MSG_WAITALL... $ECHO_C" >&6
22898 cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h. */
22900 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904 #include <sys/socket.h>
22905 int
22906 main ()
22907 {
22908 int f = MSG_WAITALL;
22909 ;
22910 return 0;
22911 }
22912 _ACEOF
22913 rm -f conftest.$ac_objext
22914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22915 (eval $ac_compile) 2>conftest.er1
22916 ac_status=$?
22917 grep -v '^ *+' conftest.er1 >conftest.err
22918 rm -f conftest.er1
22919 cat conftest.err >&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } &&
22922 { ac_try='test -z "$ac_c_werror_flag"
22923 || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22926 ac_status=$?
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935 echo "$as_me:$LINENO: result: yes" >&5
22936 echo "${ECHO_T}yes" >&6
22937
22938 cat >>confdefs.h <<\_ACEOF
22939 #define HAVE_MSG_WAITALL 1
22940 _ACEOF
22941
22942 else
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22945
22946 echo "$as_me:$LINENO: result: no" >&5
22947 echo "${ECHO_T}no" >&6
22948
22949 fi
22950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22951
22952 if test "x${COMPILE_PLUGIN}" = xyes; then
22953
22954 succeeded=no
22955
22956 if test -z "$PKG_CONFIG"; then
22957 # Extract the first word of "pkg-config", so it can be a program name with args.
22958 set dummy pkg-config; ac_word=$2
22959 echo "$as_me:$LINENO: checking for $ac_word" >&5
22960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 else
22964 case $PKG_CONFIG in
22965 [\\/]* | ?:[\\/]*)
22966 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22967 ;;
22968 *)
22969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22970 for as_dir in $PATH
22971 do
22972 IFS=$as_save_IFS
22973 test -z "$as_dir" && as_dir=.
22974 for ac_exec_ext in '' $ac_executable_extensions; do
22975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22976 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22978 break 2
22979 fi
22980 done
22981 done
22982
22983 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22984 ;;
22985 esac
22986 fi
22987 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22988
22989 if test -n "$PKG_CONFIG"; then
22990 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22991 echo "${ECHO_T}$PKG_CONFIG" >&6
22992 else
22993 echo "$as_me:$LINENO: result: no" >&5
22994 echo "${ECHO_T}no" >&6
22995 fi
22996
22997 fi
22998
22999 if test "$PKG_CONFIG" = "no" ; then
23000 echo "*** The pkg-config script could not be found. Make sure it is"
23001 echo "*** in your path, or set the PKG_CONFIG environment variable"
23002 echo "*** to the full path to pkg-config."
23003 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23004 else
23005 PKG_CONFIG_MIN_VERSION=0.9.0
23006 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23007 echo "$as_me:$LINENO: checking for mozilla-plugin" >&5
23008 echo $ECHO_N "checking for mozilla-plugin... $ECHO_C" >&6
23009
23010 if $PKG_CONFIG --exists "mozilla-plugin" ; then
23011 echo "$as_me:$LINENO: result: yes" >&5
23012 echo "${ECHO_T}yes" >&6
23013 succeeded=yes
23014
23015 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23016 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23017 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
23018 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23019 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23020
23021 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23022 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23023 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
23024 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23025 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23026 else
23027 MOZILLA_CFLAGS=""
23028 MOZILLA_LIBS=""
23029 ## If we have a custom action on failure, don't print errors, but
23030 ## do set a variable so people can do so.
23031 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
23032
23033 fi
23034
23035
23036
23037 else
23038 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23039 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23040 fi
23041 fi
23042
23043 if test $succeeded = yes; then
23044 MOZILLA_FOUND=yes
23045 else
23046 MOZILLA_FOUND=no
23047 fi
23048
23049 if test "x${MOZILLA_FOUND}" = xno; then
23050
23051 succeeded=no
23052
23053 if test -z "$PKG_CONFIG"; then
23054 # Extract the first word of "pkg-config", so it can be a program name with args.
23055 set dummy pkg-config; ac_word=$2
23056 echo "$as_me:$LINENO: checking for $ac_word" >&5
23057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061 case $PKG_CONFIG in
23062 [\\/]* | ?:[\\/]*)
23063 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23064 ;;
23065 *)
23066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23067 for as_dir in $PATH
23068 do
23069 IFS=$as_save_IFS
23070 test -z "$as_dir" && as_dir=.
23071 for ac_exec_ext in '' $ac_executable_extensions; do
23072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23073 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23075 break 2
23076 fi
23077 done
23078 done
23079
23080 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23081 ;;
23082 esac
23083 fi
23084 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23085
23086 if test -n "$PKG_CONFIG"; then
23087 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23088 echo "${ECHO_T}$PKG_CONFIG" >&6
23089 else
23090 echo "$as_me:$LINENO: result: no" >&5
23091 echo "${ECHO_T}no" >&6
23092 fi
23093
23094 fi
23095
23096 if test "$PKG_CONFIG" = "no" ; then
23097 echo "*** The pkg-config script could not be found. Make sure it is"
23098 echo "*** in your path, or set the PKG_CONFIG environment variable"
23099 echo "*** to the full path to pkg-config."
23100 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23101 else
23102 PKG_CONFIG_MIN_VERSION=0.9.0
23103 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23104 echo "$as_me:$LINENO: checking for firefox-plugin firefox-xpcom" >&5
23105 echo $ECHO_N "checking for firefox-plugin firefox-xpcom... $ECHO_C" >&6
23106
23107 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
23108 echo "$as_me:$LINENO: result: yes" >&5
23109 echo "${ECHO_T}yes" >&6
23110 succeeded=yes
23111
23112 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23113 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23114 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
23115 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23116 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23117
23118 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23119 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23120 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
23121 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23122 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23123 else
23124 MOZILLA_CFLAGS=""
23125 MOZILLA_LIBS=""
23126 ## If we have a custom action on failure, don't print errors, but
23127 ## do set a variable so people can do so.
23128 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
23129
23130 fi
23131
23132
23133
23134 else
23135 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23136 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23137 fi
23138 fi
23139
23140 if test $succeeded = yes; then
23141 MOZILLA_FOUND=yes
23142 else
23143 MOZILLA_FOUND=no
23144 fi
23145
23146 fi
23147 if test "x${MOZILLA_FOUND}" = xno; then
23148
23149 succeeded=no
23150
23151 if test -z "$PKG_CONFIG"; then
23152 # Extract the first word of "pkg-config", so it can be a program name with args.
23153 set dummy pkg-config; ac_word=$2
23154 echo "$as_me:$LINENO: checking for $ac_word" >&5
23155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23156 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 else
23159 case $PKG_CONFIG in
23160 [\\/]* | ?:[\\/]*)
23161 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23162 ;;
23163 *)
23164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23165 for as_dir in $PATH
23166 do
23167 IFS=$as_save_IFS
23168 test -z "$as_dir" && as_dir=.
23169 for ac_exec_ext in '' $ac_executable_extensions; do
23170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23171 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23173 break 2
23174 fi
23175 done
23176 done
23177
23178 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23179 ;;
23180 esac
23181 fi
23182 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23183
23184 if test -n "$PKG_CONFIG"; then
23185 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23186 echo "${ECHO_T}$PKG_CONFIG" >&6
23187 else
23188 echo "$as_me:$LINENO: result: no" >&5
23189 echo "${ECHO_T}no" >&6
23190 fi
23191
23192 fi
23193
23194 if test "$PKG_CONFIG" = "no" ; then
23195 echo "*** The pkg-config script could not be found. Make sure it is"
23196 echo "*** in your path, or set the PKG_CONFIG environment variable"
23197 echo "*** to the full path to pkg-config."
23198 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23199 else
23200 PKG_CONFIG_MIN_VERSION=0.9.0
23201 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23202 echo "$as_me:$LINENO: checking for xulrunner-plugin xulrunner-xpcom" >&5
23203 echo $ECHO_N "checking for xulrunner-plugin xulrunner-xpcom... $ECHO_C" >&6
23204
23205 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
23206 echo "$as_me:$LINENO: result: yes" >&5
23207 echo "${ECHO_T}yes" >&6
23208 succeeded=yes
23209
23210 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23211 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23212 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
23213 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23214 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23215
23216 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23217 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23218 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
23219 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23220 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23221 else
23222 MOZILLA_CFLAGS=""
23223 MOZILLA_LIBS=""
23224 ## If we have a custom action on failure, don't print errors, but
23225 ## do set a variable so people can do so.
23226 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
23227
23228 fi
23229
23230
23231
23232 else
23233 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23234 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23235 fi
23236 fi
23237
23238 if test $succeeded = yes; then
23239 MOZILLA_FOUND=yes
23240 else
23241 MOZILLA_FOUND=no
23242 fi
23243
23244 fi
23245 if test "x${MOZILLA_FOUND}" = xno; then
23246
23247 succeeded=no
23248
23249 if test -z "$PKG_CONFIG"; then
23250 # Extract the first word of "pkg-config", so it can be a program name with args.
23251 set dummy pkg-config; ac_word=$2
23252 echo "$as_me:$LINENO: checking for $ac_word" >&5
23253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 else
23257 case $PKG_CONFIG in
23258 [\\/]* | ?:[\\/]*)
23259 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23260 ;;
23261 *)
23262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23263 for as_dir in $PATH
23264 do
23265 IFS=$as_save_IFS
23266 test -z "$as_dir" && as_dir=.
23267 for ac_exec_ext in '' $ac_executable_extensions; do
23268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23269 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23271 break 2
23272 fi
23273 done
23274 done
23275
23276 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23277 ;;
23278 esac
23279 fi
23280 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23281
23282 if test -n "$PKG_CONFIG"; then
23283 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23284 echo "${ECHO_T}$PKG_CONFIG" >&6
23285 else
23286 echo "$as_me:$LINENO: result: no" >&5
23287 echo "${ECHO_T}no" >&6
23288 fi
23289
23290 fi
23291
23292 if test "$PKG_CONFIG" = "no" ; then
23293 echo "*** The pkg-config script could not be found. Make sure it is"
23294 echo "*** in your path, or set the PKG_CONFIG environment variable"
23295 echo "*** to the full path to pkg-config."
23296 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23297 else
23298 PKG_CONFIG_MIN_VERSION=0.9.0
23299 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23300 echo "$as_me:$LINENO: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
23301 echo $ECHO_N "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... $ECHO_C" >&6
23302
23303 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
23304 echo "$as_me:$LINENO: result: yes" >&5
23305 echo "${ECHO_T}yes" >&6
23306 succeeded=yes
23307
23308 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23309 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23310 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23311 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23312 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23313
23314 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23315 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23316 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23317 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23318 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23319 else
23320 MOZILLA_CFLAGS=""
23321 MOZILLA_LIBS=""
23322 ## If we have a custom action on failure, don't print errors, but
23323 ## do set a variable so people can do so.
23324 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
23325
23326 fi
23327
23328
23329
23330 else
23331 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23332 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23333 fi
23334 fi
23335
23336 if test $succeeded = yes; then
23337 MOZILLA_FOUND=yes
23338 else
23339 MOZILLA_FOUND=no
23340 fi
23341
23342 fi
23343 if test "x${MOZILLA_FOUND}" = xno; then
23344
23345 succeeded=no
23346
23347 if test -z "$PKG_CONFIG"; then
23348 # Extract the first word of "pkg-config", so it can be a program name with args.
23349 set dummy pkg-config; ac_word=$2
23350 echo "$as_me:$LINENO: checking for $ac_word" >&5
23351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23352 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23353 echo $ECHO_N "(cached) $ECHO_C" >&6
23354 else
23355 case $PKG_CONFIG in
23356 [\\/]* | ?:[\\/]*)
23357 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23358 ;;
23359 *)
23360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23361 for as_dir in $PATH
23362 do
23363 IFS=$as_save_IFS
23364 test -z "$as_dir" && as_dir=.
23365 for ac_exec_ext in '' $ac_executable_extensions; do
23366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23367 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23369 break 2
23370 fi
23371 done
23372 done
23373
23374 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23375 ;;
23376 esac
23377 fi
23378 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23379
23380 if test -n "$PKG_CONFIG"; then
23381 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23382 echo "${ECHO_T}$PKG_CONFIG" >&6
23383 else
23384 echo "$as_me:$LINENO: result: no" >&5
23385 echo "${ECHO_T}no" >&6
23386 fi
23387
23388 fi
23389
23390 if test "$PKG_CONFIG" = "no" ; then
23391 echo "*** The pkg-config script could not be found. Make sure it is"
23392 echo "*** in your path, or set the PKG_CONFIG environment variable"
23393 echo "*** to the full path to pkg-config."
23394 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23395 else
23396 PKG_CONFIG_MIN_VERSION=0.9.0
23397 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23398 echo "$as_me:$LINENO: checking for seamonkey-plugin seamonkey-xpcom" >&5
23399 echo $ECHO_N "checking for seamonkey-plugin seamonkey-xpcom... $ECHO_C" >&6
23400
23401 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
23402 echo "$as_me:$LINENO: result: yes" >&5
23403 echo "${ECHO_T}yes" >&6
23404 succeeded=yes
23405
23406 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23407 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23408 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
23409 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23410 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23411
23412 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23413 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23414 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
23415 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23416 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23417 else
23418 MOZILLA_CFLAGS=""
23419 MOZILLA_LIBS=""
23420 ## If we have a custom action on failure, don't print errors, but
23421 ## do set a variable so people can do so.
23422 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
23423
23424 fi
23425
23426
23427
23428 else
23429 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23430 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23431 fi
23432 fi
23433
23434 if test $succeeded = yes; then
23435 MOZILLA_FOUND=yes
23436 else
23437 MOZILLA_FOUND=no
23438 fi
23439
23440 fi
23441 if test "x${MOZILLA_FOUND}" = xno; then
23442
23443 succeeded=no
23444
23445 if test -z "$PKG_CONFIG"; then
23446 # Extract the first word of "pkg-config", so it can be a program name with args.
23447 set dummy pkg-config; ac_word=$2
23448 echo "$as_me:$LINENO: checking for $ac_word" >&5
23449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23452 else
23453 case $PKG_CONFIG in
23454 [\\/]* | ?:[\\/]*)
23455 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23456 ;;
23457 *)
23458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23459 for as_dir in $PATH
23460 do
23461 IFS=$as_save_IFS
23462 test -z "$as_dir" && as_dir=.
23463 for ac_exec_ext in '' $ac_executable_extensions; do
23464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23465 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23467 break 2
23468 fi
23469 done
23470 done
23471
23472 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23473 ;;
23474 esac
23475 fi
23476 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23477
23478 if test -n "$PKG_CONFIG"; then
23479 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23480 echo "${ECHO_T}$PKG_CONFIG" >&6
23481 else
23482 echo "$as_me:$LINENO: result: no" >&5
23483 echo "${ECHO_T}no" >&6
23484 fi
23485
23486 fi
23487
23488 if test "$PKG_CONFIG" = "no" ; then
23489 echo "*** The pkg-config script could not be found. Make sure it is"
23490 echo "*** in your path, or set the PKG_CONFIG environment variable"
23491 echo "*** to the full path to pkg-config."
23492 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23493 else
23494 PKG_CONFIG_MIN_VERSION=0.9.0
23495 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23496 echo "$as_me:$LINENO: checking for iceape-plugin iceape-xpcom" >&5
23497 echo $ECHO_N "checking for iceape-plugin iceape-xpcom... $ECHO_C" >&6
23498
23499 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23500 echo "$as_me:$LINENO: result: yes" >&5
23501 echo "${ECHO_T}yes" >&6
23502 succeeded=yes
23503
23504 echo "$as_me:$LINENO: checking MOZILLA_CFLAGS" >&5
23505 echo $ECHO_N "checking MOZILLA_CFLAGS... $ECHO_C" >&6
23506 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23507 echo "$as_me:$LINENO: result: $MOZILLA_CFLAGS" >&5
23508 echo "${ECHO_T}$MOZILLA_CFLAGS" >&6
23509
23510 echo "$as_me:$LINENO: checking MOZILLA_LIBS" >&5
23511 echo $ECHO_N "checking MOZILLA_LIBS... $ECHO_C" >&6
23512 MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23513 echo "$as_me:$LINENO: result: $MOZILLA_LIBS" >&5
23514 echo "${ECHO_T}$MOZILLA_LIBS" >&6
23515 else
23516 MOZILLA_CFLAGS=""
23517 MOZILLA_LIBS=""
23518 ## If we have a custom action on failure, don't print errors, but
23519 ## do set a variable so people can do so.
23520 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23521
23522 fi
23523
23524
23525
23526 else
23527 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23528 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23529 fi
23530 fi
23531
23532 if test $succeeded = yes; then
23533 MOZILLA_FOUND=yes
23534 else
23535 MOZILLA_FOUND=no
23536 fi
23537
23538 fi
23539 if test "x${MOZILLA_FOUND}" = xno; then
23540 { { echo "$as_me:$LINENO: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&5
23541 echo "$as_me: error: Couldn't find plugin support headers and libraries, try --disable-plugin" >&2;}
23542 { (exit 1); exit 1; }; }
23543 fi
23544
23545
23546 succeeded=no
23547
23548 if test -z "$PKG_CONFIG"; then
23549 # Extract the first word of "pkg-config", so it can be a program name with args.
23550 set dummy pkg-config; ac_word=$2
23551 echo "$as_me:$LINENO: checking for $ac_word" >&5
23552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23553 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 else
23556 case $PKG_CONFIG in
23557 [\\/]* | ?:[\\/]*)
23558 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23559 ;;
23560 *)
23561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23562 for as_dir in $PATH
23563 do
23564 IFS=$as_save_IFS
23565 test -z "$as_dir" && as_dir=.
23566 for ac_exec_ext in '' $ac_executable_extensions; do
23567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23568 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23570 break 2
23571 fi
23572 done
23573 done
23574
23575 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23576 ;;
23577 esac
23578 fi
23579 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23580
23581 if test -n "$PKG_CONFIG"; then
23582 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23583 echo "${ECHO_T}$PKG_CONFIG" >&6
23584 else
23585 echo "$as_me:$LINENO: result: no" >&5
23586 echo "${ECHO_T}no" >&6
23587 fi
23588
23589 fi
23590
23591 if test "$PKG_CONFIG" = "no" ; then
23592 echo "*** The pkg-config script could not be found. Make sure it is"
23593 echo "*** in your path, or set the PKG_CONFIG environment variable"
23594 echo "*** to the full path to pkg-config."
23595 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23596 else
23597 PKG_CONFIG_MIN_VERSION=0.9.0
23598 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23599 echo "$as_me:$LINENO: checking for glib-2.0" >&5
23600 echo $ECHO_N "checking for glib-2.0... $ECHO_C" >&6
23601
23602 if $PKG_CONFIG --exists "glib-2.0" ; then
23603 echo "$as_me:$LINENO: result: yes" >&5
23604 echo "${ECHO_T}yes" >&6
23605 succeeded=yes
23606
23607 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
23608 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
23609 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
23610 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
23611 echo "${ECHO_T}$GLIB_CFLAGS" >&6
23612
23613 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
23614 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
23615 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
23616 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
23617 echo "${ECHO_T}$GLIB_LIBS" >&6
23618 else
23619 GLIB_CFLAGS=""
23620 GLIB_LIBS=""
23621 ## If we have a custom action on failure, don't print errors, but
23622 ## do set a variable so people can do so.
23623 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23624 echo $GLIB_PKG_ERRORS
23625 fi
23626
23627
23628
23629 else
23630 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23631 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23632 fi
23633 fi
23634
23635 if test $succeeded = yes; then
23636 :
23637 else
23638 { { 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
23639 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;}
23640 { (exit 1); exit 1; }; }
23641 fi
23642
23643
23644 succeeded=no
23645
23646 if test -z "$PKG_CONFIG"; then
23647 # Extract the first word of "pkg-config", so it can be a program name with args.
23648 set dummy pkg-config; ac_word=$2
23649 echo "$as_me:$LINENO: checking for $ac_word" >&5
23650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23653 else
23654 case $PKG_CONFIG in
23655 [\\/]* | ?:[\\/]*)
23656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23657 ;;
23658 *)
23659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23660 for as_dir in $PATH
23661 do
23662 IFS=$as_save_IFS
23663 test -z "$as_dir" && as_dir=.
23664 for ac_exec_ext in '' $ac_executable_extensions; do
23665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23668 break 2
23669 fi
23670 done
23671 done
23672
23673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23674 ;;
23675 esac
23676 fi
23677 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23678
23679 if test -n "$PKG_CONFIG"; then
23680 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23681 echo "${ECHO_T}$PKG_CONFIG" >&6
23682 else
23683 echo "$as_me:$LINENO: result: no" >&5
23684 echo "${ECHO_T}no" >&6
23685 fi
23686
23687 fi
23688
23689 if test "$PKG_CONFIG" = "no" ; then
23690 echo "*** The pkg-config script could not be found. Make sure it is"
23691 echo "*** in your path, or set the PKG_CONFIG environment variable"
23692 echo "*** to the full path to pkg-config."
23693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23694 else
23695 PKG_CONFIG_MIN_VERSION=0.9.0
23696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23697 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23698 echo $ECHO_N "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6
23699
23700 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23701 echo "$as_me:$LINENO: result: yes" >&5
23702 echo "${ECHO_T}yes" >&6
23703 succeeded=yes
23704
23705 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
23706 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
23707 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23708 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
23709 echo "${ECHO_T}$GTK_CFLAGS" >&6
23710
23711 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
23712 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
23713 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23714 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
23715 echo "${ECHO_T}$GTK_LIBS" >&6
23716 else
23717 GTK_CFLAGS=""
23718 GTK_LIBS=""
23719 ## If we have a custom action on failure, don't print errors, but
23720 ## do set a variable so people can do so.
23721 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23722 echo $GTK_PKG_ERRORS
23723 fi
23724
23725
23726
23727 else
23728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23730 fi
23731 fi
23732
23733 if test $succeeded = yes; then
23734 :
23735 else
23736 { { 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
23737 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;}
23738 { (exit 1); exit 1; }; }
23739 fi
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749 PLUGIN_DIR=$HOME/.mozilla/plugins/
23750
23751 fi
23752 fi
23753
23754 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
23755
23756
23757 # Check whether --with-javah or --without-javah was given.
23758 if test "${with_javah+set}" = set; then
23759 withval="$with_javah"
23760
23761 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
23762
23763 if test "x${withval}" != x; then
23764 if test -f "${withval}"; then
23765 USER_JAVAH="${withval}"
23766 else
23767 # Extract the first word of ""${withval}"", so it can be a program name with args.
23768 set dummy "${withval}"; ac_word=$2
23769 echo "$as_me:$LINENO: checking for $ac_word" >&5
23770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23771 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 else
23774 case $USER_JAVAH in
23775 [\\/]* | ?:[\\/]*)
23776 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23777 ;;
23778 *)
23779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23780 for as_dir in $PATH
23781 do
23782 IFS=$as_save_IFS
23783 test -z "$as_dir" && as_dir=.
23784 for ac_exec_ext in '' $ac_executable_extensions; do
23785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23786 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23788 break 2
23789 fi
23790 done
23791 done
23792
23793 ;;
23794 esac
23795 fi
23796 USER_JAVAH=$ac_cv_path_USER_JAVAH
23797
23798 if test -n "$USER_JAVAH"; then
23799 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23800 echo "${ECHO_T}$USER_JAVAH" >&6
23801 else
23802 echo "$as_me:$LINENO: result: no" >&5
23803 echo "${ECHO_T}no" >&6
23804 fi
23805
23806 fi
23807 else
23808 for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23809 do
23810 # Extract the first word of "$ac_prog", so it can be a program name with args.
23811 set dummy $ac_prog; ac_word=$2
23812 echo "$as_me:$LINENO: checking for $ac_word" >&5
23813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23814 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23815 echo $ECHO_N "(cached) $ECHO_C" >&6
23816 else
23817 case $USER_JAVAH in
23818 [\\/]* | ?:[\\/]*)
23819 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23820 ;;
23821 *)
23822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23823 for as_dir in $PATH
23824 do
23825 IFS=$as_save_IFS
23826 test -z "$as_dir" && as_dir=.
23827 for ac_exec_ext in '' $ac_executable_extensions; do
23828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23829 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23831 break 2
23832 fi
23833 done
23834 done
23835
23836 ;;
23837 esac
23838 fi
23839 USER_JAVAH=$ac_cv_path_USER_JAVAH
23840
23841 if test -n "$USER_JAVAH"; then
23842 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23843 echo "${ECHO_T}$USER_JAVAH" >&6
23844 else
23845 echo "$as_me:$LINENO: result: no" >&5
23846 echo "${ECHO_T}no" >&6
23847 fi
23848
23849 test -n "$USER_JAVAH" && break
23850 done
23851
23852 fi
23853
23854 if test "x${USER_JAVAH}" = x; then
23855 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23856 echo "$as_me: error: can not find javah" >&2;}
23857 { (exit 1); exit 1; }; }
23858 fi
23859
23860 else
23861
23862 if test "x" != x; then
23863 if test -f ""; then
23864 USER_JAVAH=""
23865 else
23866 # Extract the first word of """", so it can be a program name with args.
23867 set dummy ""; ac_word=$2
23868 echo "$as_me:$LINENO: checking for $ac_word" >&5
23869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23870 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23871 echo $ECHO_N "(cached) $ECHO_C" >&6
23872 else
23873 case $USER_JAVAH in
23874 [\\/]* | ?:[\\/]*)
23875 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23876 ;;
23877 *)
23878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23879 for as_dir in $PATH
23880 do
23881 IFS=$as_save_IFS
23882 test -z "$as_dir" && as_dir=.
23883 for ac_exec_ext in '' $ac_executable_extensions; do
23884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23885 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23887 break 2
23888 fi
23889 done
23890 done
23891
23892 ;;
23893 esac
23894 fi
23895 USER_JAVAH=$ac_cv_path_USER_JAVAH
23896
23897 if test -n "$USER_JAVAH"; then
23898 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23899 echo "${ECHO_T}$USER_JAVAH" >&6
23900 else
23901 echo "$as_me:$LINENO: result: no" >&5
23902 echo "${ECHO_T}no" >&6
23903 fi
23904
23905 fi
23906 else
23907 for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
23908 do
23909 # Extract the first word of "$ac_prog", so it can be a program name with args.
23910 set dummy $ac_prog; ac_word=$2
23911 echo "$as_me:$LINENO: checking for $ac_word" >&5
23912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23913 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 else
23916 case $USER_JAVAH in
23917 [\\/]* | ?:[\\/]*)
23918 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23919 ;;
23920 *)
23921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23922 for as_dir in $PATH
23923 do
23924 IFS=$as_save_IFS
23925 test -z "$as_dir" && as_dir=.
23926 for ac_exec_ext in '' $ac_executable_extensions; do
23927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23928 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23930 break 2
23931 fi
23932 done
23933 done
23934
23935 ;;
23936 esac
23937 fi
23938 USER_JAVAH=$ac_cv_path_USER_JAVAH
23939
23940 if test -n "$USER_JAVAH"; then
23941 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
23942 echo "${ECHO_T}$USER_JAVAH" >&6
23943 else
23944 echo "$as_me:$LINENO: result: no" >&5
23945 echo "${ECHO_T}no" >&6
23946 fi
23947
23948 test -n "$USER_JAVAH" && break
23949 done
23950
23951 fi
23952
23953 if test "x${USER_JAVAH}" = x; then
23954 { { echo "$as_me:$LINENO: error: can not find javah" >&5
23955 echo "$as_me: error: can not find javah" >&2;}
23956 { (exit 1); exit 1; }; }
23957 fi
23958
23959 fi
23960
23961 else
23962
23963
23964 if test "x" != x; then
23965 if test -f ""; then
23966 USER_JAVAH=""
23967 else
23968 # Extract the first word of """", so it can be a program name with args.
23969 set dummy ""; ac_word=$2
23970 echo "$as_me:$LINENO: checking for $ac_word" >&5
23971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23972 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975 case $USER_JAVAH in
23976 [\\/]* | ?:[\\/]*)
23977 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23978 ;;
23979 *)
23980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23981 for as_dir in $PATH
23982 do
23983 IFS=$as_save_IFS
23984 test -z "$as_dir" && as_dir=.
23985 for ac_exec_ext in '' $ac_executable_extensions; do
23986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23987 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23989 break 2
23990 fi
23991 done
23992 done
23993
23994 ;;
23995 esac
23996 fi
23997 USER_JAVAH=$ac_cv_path_USER_JAVAH
23998
23999 if test -n "$USER_JAVAH"; then
24000 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
24001 echo "${ECHO_T}$USER_JAVAH" >&6
24002 else
24003 echo "$as_me:$LINENO: result: no" >&5
24004 echo "${ECHO_T}no" >&6
24005 fi
24006
24007 fi
24008 else
24009 for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah
24010 do
24011 # Extract the first word of "$ac_prog", so it can be a program name with args.
24012 set dummy $ac_prog; ac_word=$2
24013 echo "$as_me:$LINENO: checking for $ac_word" >&5
24014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24015 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 else
24018 case $USER_JAVAH in
24019 [\\/]* | ?:[\\/]*)
24020 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
24021 ;;
24022 *)
24023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24024 for as_dir in $PATH
24025 do
24026 IFS=$as_save_IFS
24027 test -z "$as_dir" && as_dir=.
24028 for ac_exec_ext in '' $ac_executable_extensions; do
24029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24030 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
24031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24032 break 2
24033 fi
24034 done
24035 done
24036
24037 ;;
24038 esac
24039 fi
24040 USER_JAVAH=$ac_cv_path_USER_JAVAH
24041
24042 if test -n "$USER_JAVAH"; then
24043 echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
24044 echo "${ECHO_T}$USER_JAVAH" >&6
24045 else
24046 echo "$as_me:$LINENO: result: no" >&5
24047 echo "${ECHO_T}no" >&6
24048 fi
24049
24050 test -n "$USER_JAVAH" && break
24051 done
24052
24053 fi
24054
24055 if test "x${USER_JAVAH}" = x; then
24056 { { echo "$as_me:$LINENO: error: can not find javah" >&5
24057 echo "$as_me: error: can not find javah" >&2;}
24058 { (exit 1); exit 1; }; }
24059 fi
24060
24061
24062 fi;
24063
24064
24065 fi
24066
24067 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
24068
24069
24070 if test "x${COMPILE_JNI}" = xyes; then
24071 echo "$as_me:$LINENO: checking jni_md.h support" >&5
24072 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6
24073 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
24074 echo "$as_me:$LINENO: result: yes" >&5
24075 echo "${ECHO_T}yes" >&6
24076 else
24077 target_cpu=x86
24078 target_os=linux-gnu
24079 { echo "$as_me:$LINENO: WARNING: no" >&5
24080 echo "$as_me: WARNING: no" >&2;}
24081 fi
24082 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
24083 ac_dests="include/jni_md.h"
24084 while test -n "$ac_sources"; do
24085 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
24086 set $ac_sources; ac_source=$1; shift; ac_sources=$*
24087 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
24088 done
24089 ac_config_links="$ac_config_links $ac_config_links_1"
24090
24091 fi
24092
24093
24094 user_specified_javac=
24095
24096
24097
24098 # Check whether --with-gcj or --without-gcj was given.
24099 if test "${with_gcj+set}" = set; then
24100 withval="$with_gcj"
24101
24102 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24103
24104 if test "x${withval}" != x; then
24105 if test -f "${withval}"; then
24106 GCJ="${withval}"
24107 else
24108 # Extract the first word of ""${withval}"", so it can be a program name with args.
24109 set dummy "${withval}"; ac_word=$2
24110 echo "$as_me:$LINENO: checking for $ac_word" >&5
24111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24112 if test "${ac_cv_path_GCJ+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115 case $GCJ in
24116 [\\/]* | ?:[\\/]*)
24117 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24118 ;;
24119 *)
24120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24121 for as_dir in $PATH
24122 do
24123 IFS=$as_save_IFS
24124 test -z "$as_dir" && as_dir=.
24125 for ac_exec_ext in '' $ac_executable_extensions; do
24126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24127 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24129 break 2
24130 fi
24131 done
24132 done
24133
24134 ;;
24135 esac
24136 fi
24137 GCJ=$ac_cv_path_GCJ
24138
24139 if test -n "$GCJ"; then
24140 echo "$as_me:$LINENO: result: $GCJ" >&5
24141 echo "${ECHO_T}$GCJ" >&6
24142 else
24143 echo "$as_me:$LINENO: result: no" >&5
24144 echo "${ECHO_T}no" >&6
24145 fi
24146
24147 fi
24148 else
24149 # Extract the first word of ""gcj"", so it can be a program name with args.
24150 set dummy "gcj"; ac_word=$2
24151 echo "$as_me:$LINENO: checking for $ac_word" >&5
24152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24153 if test "${ac_cv_path_GCJ+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156 case $GCJ in
24157 [\\/]* | ?:[\\/]*)
24158 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24159 ;;
24160 *)
24161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24162 for as_dir in $PATH
24163 do
24164 IFS=$as_save_IFS
24165 test -z "$as_dir" && as_dir=.
24166 for ac_exec_ext in '' $ac_executable_extensions; do
24167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24168 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24170 break 2
24171 fi
24172 done
24173 done
24174
24175 ;;
24176 esac
24177 fi
24178 GCJ=$ac_cv_path_GCJ
24179
24180 if test -n "$GCJ"; then
24181 echo "$as_me:$LINENO: result: $GCJ" >&5
24182 echo "${ECHO_T}$GCJ" >&6
24183 else
24184 echo "$as_me:$LINENO: result: no" >&5
24185 echo "${ECHO_T}no" >&6
24186 fi
24187
24188 fi
24189 if test "x$GCJ" != x; then
24190 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24191 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24192 ac_ext=c
24193 ac_cpp='$CPP $CPPFLAGS'
24194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24197
24198 cat >conftest.$ac_ext <<_ACEOF
24199 #if __GNUC__ <= 3
24200 #error GCJ 4.0.0 or higher is required
24201 #endif
24202
24203 _ACEOF
24204 $GCJ -E conftest.c > /dev/null
24205 gcj_4_result=$?
24206 if test "x$gcj_4_result" = "x0"; then
24207 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24208 echo "${ECHO_T}4.0 or higher found" >&6
24209 else
24210 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24211 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24212 fi
24213 ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218
24219 fi
24220
24221 else
24222 if test "x${withval}" != xno; then
24223
24224 if test "x" != x; then
24225 if test -f ""; then
24226 GCJ=""
24227 else
24228 # Extract the first word of """", so it can be a program name with args.
24229 set dummy ""; ac_word=$2
24230 echo "$as_me:$LINENO: checking for $ac_word" >&5
24231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24232 if test "${ac_cv_path_GCJ+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235 case $GCJ in
24236 [\\/]* | ?:[\\/]*)
24237 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24238 ;;
24239 *)
24240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24241 for as_dir in $PATH
24242 do
24243 IFS=$as_save_IFS
24244 test -z "$as_dir" && as_dir=.
24245 for ac_exec_ext in '' $ac_executable_extensions; do
24246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24247 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24249 break 2
24250 fi
24251 done
24252 done
24253
24254 ;;
24255 esac
24256 fi
24257 GCJ=$ac_cv_path_GCJ
24258
24259 if test -n "$GCJ"; then
24260 echo "$as_me:$LINENO: result: $GCJ" >&5
24261 echo "${ECHO_T}$GCJ" >&6
24262 else
24263 echo "$as_me:$LINENO: result: no" >&5
24264 echo "${ECHO_T}no" >&6
24265 fi
24266
24267 fi
24268 else
24269 # Extract the first word of ""gcj"", so it can be a program name with args.
24270 set dummy "gcj"; ac_word=$2
24271 echo "$as_me:$LINENO: checking for $ac_word" >&5
24272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24273 if test "${ac_cv_path_GCJ+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 else
24276 case $GCJ in
24277 [\\/]* | ?:[\\/]*)
24278 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24279 ;;
24280 *)
24281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24282 for as_dir in $PATH
24283 do
24284 IFS=$as_save_IFS
24285 test -z "$as_dir" && as_dir=.
24286 for ac_exec_ext in '' $ac_executable_extensions; do
24287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24288 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24290 break 2
24291 fi
24292 done
24293 done
24294
24295 ;;
24296 esac
24297 fi
24298 GCJ=$ac_cv_path_GCJ
24299
24300 if test -n "$GCJ"; then
24301 echo "$as_me:$LINENO: result: $GCJ" >&5
24302 echo "${ECHO_T}$GCJ" >&6
24303 else
24304 echo "$as_me:$LINENO: result: no" >&5
24305 echo "${ECHO_T}no" >&6
24306 fi
24307
24308 fi
24309 if test "x$GCJ" != x; then
24310 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24311 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24312 ac_ext=c
24313 ac_cpp='$CPP $CPPFLAGS'
24314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24317
24318 cat >conftest.$ac_ext <<_ACEOF
24319 #if __GNUC__ <= 3
24320 #error GCJ 4.0.0 or higher is required
24321 #endif
24322
24323 _ACEOF
24324 $GCJ -E conftest.c > /dev/null
24325 gcj_4_result=$?
24326 if test "x$gcj_4_result" = "x0"; then
24327 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24328 echo "${ECHO_T}4.0 or higher found" >&6
24329 else
24330 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24331 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24332 fi
24333 ac_ext=c
24334 ac_cpp='$CPP $CPPFLAGS'
24335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24338
24339 fi
24340
24341 fi
24342 fi
24343 user_specified_javac=gcj
24344
24345 else
24346
24347
24348 if test "x" != x; then
24349 if test -f ""; then
24350 GCJ=""
24351 else
24352 # Extract the first word of """", so it can be a program name with args.
24353 set dummy ""; ac_word=$2
24354 echo "$as_me:$LINENO: checking for $ac_word" >&5
24355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24356 if test "${ac_cv_path_GCJ+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 else
24359 case $GCJ in
24360 [\\/]* | ?:[\\/]*)
24361 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24362 ;;
24363 *)
24364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24365 for as_dir in $PATH
24366 do
24367 IFS=$as_save_IFS
24368 test -z "$as_dir" && as_dir=.
24369 for ac_exec_ext in '' $ac_executable_extensions; do
24370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24371 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24373 break 2
24374 fi
24375 done
24376 done
24377
24378 ;;
24379 esac
24380 fi
24381 GCJ=$ac_cv_path_GCJ
24382
24383 if test -n "$GCJ"; then
24384 echo "$as_me:$LINENO: result: $GCJ" >&5
24385 echo "${ECHO_T}$GCJ" >&6
24386 else
24387 echo "$as_me:$LINENO: result: no" >&5
24388 echo "${ECHO_T}no" >&6
24389 fi
24390
24391 fi
24392 else
24393 # Extract the first word of ""gcj"", so it can be a program name with args.
24394 set dummy "gcj"; ac_word=$2
24395 echo "$as_me:$LINENO: checking for $ac_word" >&5
24396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24397 if test "${ac_cv_path_GCJ+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 else
24400 case $GCJ in
24401 [\\/]* | ?:[\\/]*)
24402 ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path.
24403 ;;
24404 *)
24405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24406 for as_dir in $PATH
24407 do
24408 IFS=$as_save_IFS
24409 test -z "$as_dir" && as_dir=.
24410 for ac_exec_ext in '' $ac_executable_extensions; do
24411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24412 ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext"
24413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24414 break 2
24415 fi
24416 done
24417 done
24418
24419 ;;
24420 esac
24421 fi
24422 GCJ=$ac_cv_path_GCJ
24423
24424 if test -n "$GCJ"; then
24425 echo "$as_me:$LINENO: result: $GCJ" >&5
24426 echo "${ECHO_T}$GCJ" >&6
24427 else
24428 echo "$as_me:$LINENO: result: no" >&5
24429 echo "${ECHO_T}no" >&6
24430 fi
24431
24432 fi
24433 if test "x$GCJ" != x; then
24434 echo "$as_me:$LINENO: checking gcj version 4.0" >&5
24435 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6
24436 ac_ext=c
24437 ac_cpp='$CPP $CPPFLAGS'
24438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24441
24442 cat >conftest.$ac_ext <<_ACEOF
24443 #if __GNUC__ <= 3
24444 #error GCJ 4.0.0 or higher is required
24445 #endif
24446
24447 _ACEOF
24448 $GCJ -E conftest.c > /dev/null
24449 gcj_4_result=$?
24450 if test "x$gcj_4_result" = "x0"; then
24451 echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
24452 echo "${ECHO_T}4.0 or higher found" >&6
24453 else
24454 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
24455 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
24456 fi
24457 ac_ext=c
24458 ac_cpp='$CPP $CPPFLAGS'
24459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24462
24463 fi
24464
24465
24466 fi;
24467
24468
24469
24470
24471 # Check whether --with-jikes or --without-jikes was given.
24472 if test "${with_jikes+set}" = set; then
24473 withval="$with_jikes"
24474
24475 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24476
24477 if test "x${withval}" != x; then
24478 if test -f "${withval}"; then
24479 JIKES="${withval}"
24480 else
24481 # Extract the first word of ""${withval}"", so it can be a program name with args.
24482 set dummy "${withval}"; ac_word=$2
24483 echo "$as_me:$LINENO: checking for $ac_word" >&5
24484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24485 if test "${ac_cv_path_JIKES+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 else
24488 case $JIKES in
24489 [\\/]* | ?:[\\/]*)
24490 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24491 ;;
24492 *)
24493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24494 for as_dir in $PATH
24495 do
24496 IFS=$as_save_IFS
24497 test -z "$as_dir" && as_dir=.
24498 for ac_exec_ext in '' $ac_executable_extensions; do
24499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24500 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24502 break 2
24503 fi
24504 done
24505 done
24506
24507 ;;
24508 esac
24509 fi
24510 JIKES=$ac_cv_path_JIKES
24511
24512 if test -n "$JIKES"; then
24513 echo "$as_me:$LINENO: result: $JIKES" >&5
24514 echo "${ECHO_T}$JIKES" >&6
24515 else
24516 echo "$as_me:$LINENO: result: no" >&5
24517 echo "${ECHO_T}no" >&6
24518 fi
24519
24520 fi
24521 else
24522 # Extract the first word of ""jikes"", so it can be a program name with args.
24523 set dummy "jikes"; ac_word=$2
24524 echo "$as_me:$LINENO: checking for $ac_word" >&5
24525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24526 if test "${ac_cv_path_JIKES+set}" = set; then
24527 echo $ECHO_N "(cached) $ECHO_C" >&6
24528 else
24529 case $JIKES in
24530 [\\/]* | ?:[\\/]*)
24531 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24532 ;;
24533 *)
24534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24535 for as_dir in $PATH
24536 do
24537 IFS=$as_save_IFS
24538 test -z "$as_dir" && as_dir=.
24539 for ac_exec_ext in '' $ac_executable_extensions; do
24540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24541 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24543 break 2
24544 fi
24545 done
24546 done
24547
24548 ;;
24549 esac
24550 fi
24551 JIKES=$ac_cv_path_JIKES
24552
24553 if test -n "$JIKES"; then
24554 echo "$as_me:$LINENO: result: $JIKES" >&5
24555 echo "${ECHO_T}$JIKES" >&6
24556 else
24557 echo "$as_me:$LINENO: result: no" >&5
24558 echo "${ECHO_T}no" >&6
24559 fi
24560
24561 fi
24562 if test "x$JIKES" != "x"; then
24563 echo "$as_me:$LINENO: checking jikes version" >&5
24564 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24565 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24566 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24567 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24568 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
24569 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
24570 JIKES=""
24571 fi
24572 fi
24573 if test "x$JIKES" != "x"; then
24574 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24575 echo "${ECHO_T}$JIKES_VERSION" >&6
24576 else
24577 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24578 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24579 fi
24580
24581 JIKESENCODING=
24582 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24583 JIKESENCODING='-encoding UTF-8'
24584 fi
24585
24586
24587 JIKESWARNINGS="+Pno-switchcheck"
24588 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
24589 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
24590 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
24591 fi
24592 fi
24593
24594
24595 fi
24596
24597 else
24598 if test "x${withval}" != xno; then
24599
24600 if test "x" != x; then
24601 if test -f ""; then
24602 JIKES=""
24603 else
24604 # Extract the first word of """", so it can be a program name with args.
24605 set dummy ""; ac_word=$2
24606 echo "$as_me:$LINENO: checking for $ac_word" >&5
24607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24608 if test "${ac_cv_path_JIKES+set}" = set; then
24609 echo $ECHO_N "(cached) $ECHO_C" >&6
24610 else
24611 case $JIKES in
24612 [\\/]* | ?:[\\/]*)
24613 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24614 ;;
24615 *)
24616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24617 for as_dir in $PATH
24618 do
24619 IFS=$as_save_IFS
24620 test -z "$as_dir" && as_dir=.
24621 for ac_exec_ext in '' $ac_executable_extensions; do
24622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24623 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24625 break 2
24626 fi
24627 done
24628 done
24629
24630 ;;
24631 esac
24632 fi
24633 JIKES=$ac_cv_path_JIKES
24634
24635 if test -n "$JIKES"; then
24636 echo "$as_me:$LINENO: result: $JIKES" >&5
24637 echo "${ECHO_T}$JIKES" >&6
24638 else
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24641 fi
24642
24643 fi
24644 else
24645 # Extract the first word of ""jikes"", so it can be a program name with args.
24646 set dummy "jikes"; ac_word=$2
24647 echo "$as_me:$LINENO: checking for $ac_word" >&5
24648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24649 if test "${ac_cv_path_JIKES+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 else
24652 case $JIKES in
24653 [\\/]* | ?:[\\/]*)
24654 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24655 ;;
24656 *)
24657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24658 for as_dir in $PATH
24659 do
24660 IFS=$as_save_IFS
24661 test -z "$as_dir" && as_dir=.
24662 for ac_exec_ext in '' $ac_executable_extensions; do
24663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24664 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24666 break 2
24667 fi
24668 done
24669 done
24670
24671 ;;
24672 esac
24673 fi
24674 JIKES=$ac_cv_path_JIKES
24675
24676 if test -n "$JIKES"; then
24677 echo "$as_me:$LINENO: result: $JIKES" >&5
24678 echo "${ECHO_T}$JIKES" >&6
24679 else
24680 echo "$as_me:$LINENO: result: no" >&5
24681 echo "${ECHO_T}no" >&6
24682 fi
24683
24684 fi
24685 if test "x$JIKES" != "x"; then
24686 echo "$as_me:$LINENO: checking jikes version" >&5
24687 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24688 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24689 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24690 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24691 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
24692 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
24693 JIKES=""
24694 fi
24695 fi
24696 if test "x$JIKES" != "x"; then
24697 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24698 echo "${ECHO_T}$JIKES_VERSION" >&6
24699 else
24700 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24701 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24702 fi
24703
24704 JIKESENCODING=
24705 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24706 JIKESENCODING='-encoding UTF-8'
24707 fi
24708
24709
24710 JIKESWARNINGS="+Pno-switchcheck"
24711 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
24712 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
24713 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
24714 fi
24715 fi
24716
24717
24718 fi
24719
24720 fi
24721 fi
24722 user_specified_javac=jikes
24723
24724 else
24725
24726
24727 if test "x" != x; then
24728 if test -f ""; then
24729 JIKES=""
24730 else
24731 # Extract the first word of """", so it can be a program name with args.
24732 set dummy ""; ac_word=$2
24733 echo "$as_me:$LINENO: checking for $ac_word" >&5
24734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24735 if test "${ac_cv_path_JIKES+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 else
24738 case $JIKES in
24739 [\\/]* | ?:[\\/]*)
24740 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24741 ;;
24742 *)
24743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24744 for as_dir in $PATH
24745 do
24746 IFS=$as_save_IFS
24747 test -z "$as_dir" && as_dir=.
24748 for ac_exec_ext in '' $ac_executable_extensions; do
24749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24750 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24752 break 2
24753 fi
24754 done
24755 done
24756
24757 ;;
24758 esac
24759 fi
24760 JIKES=$ac_cv_path_JIKES
24761
24762 if test -n "$JIKES"; then
24763 echo "$as_me:$LINENO: result: $JIKES" >&5
24764 echo "${ECHO_T}$JIKES" >&6
24765 else
24766 echo "$as_me:$LINENO: result: no" >&5
24767 echo "${ECHO_T}no" >&6
24768 fi
24769
24770 fi
24771 else
24772 # Extract the first word of ""jikes"", so it can be a program name with args.
24773 set dummy "jikes"; ac_word=$2
24774 echo "$as_me:$LINENO: checking for $ac_word" >&5
24775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24776 if test "${ac_cv_path_JIKES+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24778 else
24779 case $JIKES in
24780 [\\/]* | ?:[\\/]*)
24781 ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path.
24782 ;;
24783 *)
24784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24785 for as_dir in $PATH
24786 do
24787 IFS=$as_save_IFS
24788 test -z "$as_dir" && as_dir=.
24789 for ac_exec_ext in '' $ac_executable_extensions; do
24790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24791 ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext"
24792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24793 break 2
24794 fi
24795 done
24796 done
24797
24798 ;;
24799 esac
24800 fi
24801 JIKES=$ac_cv_path_JIKES
24802
24803 if test -n "$JIKES"; then
24804 echo "$as_me:$LINENO: result: $JIKES" >&5
24805 echo "${ECHO_T}$JIKES" >&6
24806 else
24807 echo "$as_me:$LINENO: result: no" >&5
24808 echo "${ECHO_T}no" >&6
24809 fi
24810
24811 fi
24812 if test "x$JIKES" != "x"; then
24813 echo "$as_me:$LINENO: checking jikes version" >&5
24814 echo $ECHO_N "checking jikes version... $ECHO_C" >&6
24815 JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
24816 JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
24817 JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
24818 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then
24819 if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then
24820 JIKES=""
24821 fi
24822 fi
24823 if test "x$JIKES" != "x"; then
24824 echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
24825 echo "${ECHO_T}$JIKES_VERSION" >&6
24826 else
24827 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
24828 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
24829 fi
24830
24831 JIKESENCODING=
24832 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
24833 JIKESENCODING='-encoding UTF-8'
24834 fi
24835
24836
24837 JIKESWARNINGS="+Pno-switchcheck"
24838 if test "x$JIKES_VERSION_MAJOR" = x"1" ; then
24839 if ! test "x$JIKES_VERSION_MINOR" = x"19"; then
24840 JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow"
24841 fi
24842 fi
24843
24844
24845 fi
24846
24847
24848 fi;
24849
24850
24851
24852
24853 # Check whether --with-kjc or --without-kjc was given.
24854 if test "${with_kjc+set}" = set; then
24855 withval="$with_kjc"
24856
24857 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
24858
24859 if test "x${withval}" != x; then
24860 if test -f "${withval}"; then
24861 KJC="${withval}"
24862 else
24863 # Extract the first word of ""${withval}"", so it can be a program name with args.
24864 set dummy "${withval}"; ac_word=$2
24865 echo "$as_me:$LINENO: checking for $ac_word" >&5
24866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24867 if test "${ac_cv_path_KJC+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24869 else
24870 case $KJC in
24871 [\\/]* | ?:[\\/]*)
24872 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24873 ;;
24874 *)
24875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24876 for as_dir in $PATH
24877 do
24878 IFS=$as_save_IFS
24879 test -z "$as_dir" && as_dir=.
24880 for ac_exec_ext in '' $ac_executable_extensions; do
24881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24882 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24884 break 2
24885 fi
24886 done
24887 done
24888
24889 ;;
24890 esac
24891 fi
24892 KJC=$ac_cv_path_KJC
24893
24894 if test -n "$KJC"; then
24895 echo "$as_me:$LINENO: result: $KJC" >&5
24896 echo "${ECHO_T}$KJC" >&6
24897 else
24898 echo "$as_me:$LINENO: result: no" >&5
24899 echo "${ECHO_T}no" >&6
24900 fi
24901
24902 fi
24903 else
24904 # Extract the first word of ""kJC"", so it can be a program name with args.
24905 set dummy "kJC"; ac_word=$2
24906 echo "$as_me:$LINENO: checking for $ac_word" >&5
24907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24908 if test "${ac_cv_path_KJC+set}" = set; then
24909 echo $ECHO_N "(cached) $ECHO_C" >&6
24910 else
24911 case $KJC in
24912 [\\/]* | ?:[\\/]*)
24913 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24914 ;;
24915 *)
24916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24917 for as_dir in $PATH
24918 do
24919 IFS=$as_save_IFS
24920 test -z "$as_dir" && as_dir=.
24921 for ac_exec_ext in '' $ac_executable_extensions; do
24922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24923 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24925 break 2
24926 fi
24927 done
24928 done
24929
24930 ;;
24931 esac
24932 fi
24933 KJC=$ac_cv_path_KJC
24934
24935 if test -n "$KJC"; then
24936 echo "$as_me:$LINENO: result: $KJC" >&5
24937 echo "${ECHO_T}$KJC" >&6
24938 else
24939 echo "$as_me:$LINENO: result: no" >&5
24940 echo "${ECHO_T}no" >&6
24941 fi
24942
24943 fi
24944
24945 else
24946 if test "x${withval}" != xno; then
24947
24948 if test "x" != x; then
24949 if test -f ""; then
24950 KJC=""
24951 else
24952 # Extract the first word of """", so it can be a program name with args.
24953 set dummy ""; ac_word=$2
24954 echo "$as_me:$LINENO: checking for $ac_word" >&5
24955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24956 if test "${ac_cv_path_KJC+set}" = set; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 else
24959 case $KJC in
24960 [\\/]* | ?:[\\/]*)
24961 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
24962 ;;
24963 *)
24964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24965 for as_dir in $PATH
24966 do
24967 IFS=$as_save_IFS
24968 test -z "$as_dir" && as_dir=.
24969 for ac_exec_ext in '' $ac_executable_extensions; do
24970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24971 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
24972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24973 break 2
24974 fi
24975 done
24976 done
24977
24978 ;;
24979 esac
24980 fi
24981 KJC=$ac_cv_path_KJC
24982
24983 if test -n "$KJC"; then
24984 echo "$as_me:$LINENO: result: $KJC" >&5
24985 echo "${ECHO_T}$KJC" >&6
24986 else
24987 echo "$as_me:$LINENO: result: no" >&5
24988 echo "${ECHO_T}no" >&6
24989 fi
24990
24991 fi
24992 else
24993 # Extract the first word of ""kJC"", so it can be a program name with args.
24994 set dummy "kJC"; ac_word=$2
24995 echo "$as_me:$LINENO: checking for $ac_word" >&5
24996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24997 if test "${ac_cv_path_KJC+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 else
25000 case $KJC in
25001 [\\/]* | ?:[\\/]*)
25002 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
25003 ;;
25004 *)
25005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25006 for as_dir in $PATH
25007 do
25008 IFS=$as_save_IFS
25009 test -z "$as_dir" && as_dir=.
25010 for ac_exec_ext in '' $ac_executable_extensions; do
25011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25012 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
25013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25014 break 2
25015 fi
25016 done
25017 done
25018
25019 ;;
25020 esac
25021 fi
25022 KJC=$ac_cv_path_KJC
25023
25024 if test -n "$KJC"; then
25025 echo "$as_me:$LINENO: result: $KJC" >&5
25026 echo "${ECHO_T}$KJC" >&6
25027 else
25028 echo "$as_me:$LINENO: result: no" >&5
25029 echo "${ECHO_T}no" >&6
25030 fi
25031
25032 fi
25033
25034 fi
25035 fi
25036 user_specified_javac=kjc
25037
25038 else
25039
25040
25041 if test "x" != x; then
25042 if test -f ""; then
25043 KJC=""
25044 else
25045 # Extract the first word of """", so it can be a program name with args.
25046 set dummy ""; ac_word=$2
25047 echo "$as_me:$LINENO: checking for $ac_word" >&5
25048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25049 if test "${ac_cv_path_KJC+set}" = set; then
25050 echo $ECHO_N "(cached) $ECHO_C" >&6
25051 else
25052 case $KJC in
25053 [\\/]* | ?:[\\/]*)
25054 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
25055 ;;
25056 *)
25057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25058 for as_dir in $PATH
25059 do
25060 IFS=$as_save_IFS
25061 test -z "$as_dir" && as_dir=.
25062 for ac_exec_ext in '' $ac_executable_extensions; do
25063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25064 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
25065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25066 break 2
25067 fi
25068 done
25069 done
25070
25071 ;;
25072 esac
25073 fi
25074 KJC=$ac_cv_path_KJC
25075
25076 if test -n "$KJC"; then
25077 echo "$as_me:$LINENO: result: $KJC" >&5
25078 echo "${ECHO_T}$KJC" >&6
25079 else
25080 echo "$as_me:$LINENO: result: no" >&5
25081 echo "${ECHO_T}no" >&6
25082 fi
25083
25084 fi
25085 else
25086 # Extract the first word of ""kJC"", so it can be a program name with args.
25087 set dummy "kJC"; ac_word=$2
25088 echo "$as_me:$LINENO: checking for $ac_word" >&5
25089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25090 if test "${ac_cv_path_KJC+set}" = set; then
25091 echo $ECHO_N "(cached) $ECHO_C" >&6
25092 else
25093 case $KJC in
25094 [\\/]* | ?:[\\/]*)
25095 ac_cv_path_KJC="$KJC" # Let the user override the test with a path.
25096 ;;
25097 *)
25098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25099 for as_dir in $PATH
25100 do
25101 IFS=$as_save_IFS
25102 test -z "$as_dir" && as_dir=.
25103 for ac_exec_ext in '' $ac_executable_extensions; do
25104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25105 ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext"
25106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25107 break 2
25108 fi
25109 done
25110 done
25111
25112 ;;
25113 esac
25114 fi
25115 KJC=$ac_cv_path_KJC
25116
25117 if test -n "$KJC"; then
25118 echo "$as_me:$LINENO: result: $KJC" >&5
25119 echo "${ECHO_T}$KJC" >&6
25120 else
25121 echo "$as_me:$LINENO: result: no" >&5
25122 echo "${ECHO_T}no" >&6
25123 fi
25124
25125 fi
25126
25127
25128 fi;
25129
25130
25131
25132
25133 # Check whether --with-ecj or --without-ecj was given.
25134 if test "${with_ecj+set}" = set; then
25135 withval="$with_ecj"
25136
25137 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
25138
25139 if test "x${withval}" != x; then
25140 if test -f "${withval}"; then
25141 ECJ="${withval}"
25142 else
25143 # Extract the first word of ""${withval}"", so it can be a program name with args.
25144 set dummy "${withval}"; ac_word=$2
25145 echo "$as_me:$LINENO: checking for $ac_word" >&5
25146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25147 if test "${ac_cv_path_ECJ+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25149 else
25150 case $ECJ in
25151 [\\/]* | ?:[\\/]*)
25152 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25153 ;;
25154 *)
25155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25156 for as_dir in $PATH
25157 do
25158 IFS=$as_save_IFS
25159 test -z "$as_dir" && as_dir=.
25160 for ac_exec_ext in '' $ac_executable_extensions; do
25161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25162 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25164 break 2
25165 fi
25166 done
25167 done
25168
25169 ;;
25170 esac
25171 fi
25172 ECJ=$ac_cv_path_ECJ
25173
25174 if test -n "$ECJ"; then
25175 echo "$as_me:$LINENO: result: $ECJ" >&5
25176 echo "${ECHO_T}$ECJ" >&6
25177 else
25178 echo "$as_me:$LINENO: result: no" >&5
25179 echo "${ECHO_T}no" >&6
25180 fi
25181
25182 fi
25183 else
25184 # Extract the first word of ""ecj"", so it can be a program name with args.
25185 set dummy "ecj"; ac_word=$2
25186 echo "$as_me:$LINENO: checking for $ac_word" >&5
25187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25188 if test "${ac_cv_path_ECJ+set}" = set; then
25189 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 else
25191 case $ECJ in
25192 [\\/]* | ?:[\\/]*)
25193 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25194 ;;
25195 *)
25196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25197 for as_dir in $PATH
25198 do
25199 IFS=$as_save_IFS
25200 test -z "$as_dir" && as_dir=.
25201 for ac_exec_ext in '' $ac_executable_extensions; do
25202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25203 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25205 break 2
25206 fi
25207 done
25208 done
25209
25210 ;;
25211 esac
25212 fi
25213 ECJ=$ac_cv_path_ECJ
25214
25215 if test -n "$ECJ"; then
25216 echo "$as_me:$LINENO: result: $ECJ" >&5
25217 echo "${ECHO_T}$ECJ" >&6
25218 else
25219 echo "$as_me:$LINENO: result: no" >&5
25220 echo "${ECHO_T}no" >&6
25221 fi
25222
25223 fi
25224
25225 else
25226 if test "x${withval}" != xno; then
25227
25228 if test "x" != x; then
25229 if test -f ""; then
25230 ECJ=""
25231 else
25232 # Extract the first word of """", so it can be a program name with args.
25233 set dummy ""; ac_word=$2
25234 echo "$as_me:$LINENO: checking for $ac_word" >&5
25235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25236 if test "${ac_cv_path_ECJ+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239 case $ECJ in
25240 [\\/]* | ?:[\\/]*)
25241 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25242 ;;
25243 *)
25244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25245 for as_dir in $PATH
25246 do
25247 IFS=$as_save_IFS
25248 test -z "$as_dir" && as_dir=.
25249 for ac_exec_ext in '' $ac_executable_extensions; do
25250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25251 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25253 break 2
25254 fi
25255 done
25256 done
25257
25258 ;;
25259 esac
25260 fi
25261 ECJ=$ac_cv_path_ECJ
25262
25263 if test -n "$ECJ"; then
25264 echo "$as_me:$LINENO: result: $ECJ" >&5
25265 echo "${ECHO_T}$ECJ" >&6
25266 else
25267 echo "$as_me:$LINENO: result: no" >&5
25268 echo "${ECHO_T}no" >&6
25269 fi
25270
25271 fi
25272 else
25273 # Extract the first word of ""ecj"", so it can be a program name with args.
25274 set dummy "ecj"; ac_word=$2
25275 echo "$as_me:$LINENO: checking for $ac_word" >&5
25276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25277 if test "${ac_cv_path_ECJ+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 else
25280 case $ECJ in
25281 [\\/]* | ?:[\\/]*)
25282 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25283 ;;
25284 *)
25285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25286 for as_dir in $PATH
25287 do
25288 IFS=$as_save_IFS
25289 test -z "$as_dir" && as_dir=.
25290 for ac_exec_ext in '' $ac_executable_extensions; do
25291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25292 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25294 break 2
25295 fi
25296 done
25297 done
25298
25299 ;;
25300 esac
25301 fi
25302 ECJ=$ac_cv_path_ECJ
25303
25304 if test -n "$ECJ"; then
25305 echo "$as_me:$LINENO: result: $ECJ" >&5
25306 echo "${ECHO_T}$ECJ" >&6
25307 else
25308 echo "$as_me:$LINENO: result: no" >&5
25309 echo "${ECHO_T}no" >&6
25310 fi
25311
25312 fi
25313
25314 fi
25315 fi
25316 user_specified_javac=ecj
25317
25318 else
25319
25320
25321 if test "x" != x; then
25322 if test -f ""; then
25323 ECJ=""
25324 else
25325 # Extract the first word of """", so it can be a program name with args.
25326 set dummy ""; ac_word=$2
25327 echo "$as_me:$LINENO: checking for $ac_word" >&5
25328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25329 if test "${ac_cv_path_ECJ+set}" = set; then
25330 echo $ECHO_N "(cached) $ECHO_C" >&6
25331 else
25332 case $ECJ in
25333 [\\/]* | ?:[\\/]*)
25334 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25335 ;;
25336 *)
25337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25338 for as_dir in $PATH
25339 do
25340 IFS=$as_save_IFS
25341 test -z "$as_dir" && as_dir=.
25342 for ac_exec_ext in '' $ac_executable_extensions; do
25343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25344 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25346 break 2
25347 fi
25348 done
25349 done
25350
25351 ;;
25352 esac
25353 fi
25354 ECJ=$ac_cv_path_ECJ
25355
25356 if test -n "$ECJ"; then
25357 echo "$as_me:$LINENO: result: $ECJ" >&5
25358 echo "${ECHO_T}$ECJ" >&6
25359 else
25360 echo "$as_me:$LINENO: result: no" >&5
25361 echo "${ECHO_T}no" >&6
25362 fi
25363
25364 fi
25365 else
25366 # Extract the first word of ""ecj"", so it can be a program name with args.
25367 set dummy "ecj"; ac_word=$2
25368 echo "$as_me:$LINENO: checking for $ac_word" >&5
25369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25370 if test "${ac_cv_path_ECJ+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 else
25373 case $ECJ in
25374 [\\/]* | ?:[\\/]*)
25375 ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path.
25376 ;;
25377 *)
25378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25379 for as_dir in $PATH
25380 do
25381 IFS=$as_save_IFS
25382 test -z "$as_dir" && as_dir=.
25383 for ac_exec_ext in '' $ac_executable_extensions; do
25384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25385 ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext"
25386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25387 break 2
25388 fi
25389 done
25390 done
25391
25392 ;;
25393 esac
25394 fi
25395 ECJ=$ac_cv_path_ECJ
25396
25397 if test -n "$ECJ"; then
25398 echo "$as_me:$LINENO: result: $ECJ" >&5
25399 echo "${ECHO_T}$ECJ" >&6
25400 else
25401 echo "$as_me:$LINENO: result: no" >&5
25402 echo "${ECHO_T}no" >&6
25403 fi
25404
25405 fi
25406
25407
25408 fi;
25409
25410
25411
25412
25413 # Check whether --with-javac or --without-javac was given.
25414 if test "${with_javac+set}" = set; then
25415 withval="$with_javac"
25416
25417 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
25418
25419 if test "x${withval}" != x; then
25420 JAVAC="${withval}"
25421 else
25422 # Extract the first word of ""javac"", so it can be a program name with args.
25423 set dummy "javac"; ac_word=$2
25424 echo "$as_me:$LINENO: checking for $ac_word" >&5
25425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25426 if test "${ac_cv_path_JAVAC+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 else
25429 case $JAVAC in
25430 [\\/]* | ?:[\\/]*)
25431 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
25432 ;;
25433 *)
25434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25435 for as_dir in $PATH
25436 do
25437 IFS=$as_save_IFS
25438 test -z "$as_dir" && as_dir=.
25439 for ac_exec_ext in '' $ac_executable_extensions; do
25440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25441 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
25442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25443 break 2
25444 fi
25445 done
25446 done
25447
25448 ;;
25449 esac
25450 fi
25451 JAVAC=$ac_cv_path_JAVAC
25452
25453 if test -n "$JAVAC"; then
25454 echo "$as_me:$LINENO: result: $JAVAC" >&5
25455 echo "${ECHO_T}$JAVAC" >&6
25456 else
25457 echo "$as_me:$LINENO: result: no" >&5
25458 echo "${ECHO_T}no" >&6
25459 fi
25460
25461 fi
25462
25463 else
25464 if test "x${withval}" != xno; then
25465
25466 if test "x" != x; then
25467 JAVAC=""
25468 else
25469 # Extract the first word of ""javac"", so it can be a program name with args.
25470 set dummy "javac"; ac_word=$2
25471 echo "$as_me:$LINENO: checking for $ac_word" >&5
25472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25473 if test "${ac_cv_path_JAVAC+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 else
25476 case $JAVAC in
25477 [\\/]* | ?:[\\/]*)
25478 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
25479 ;;
25480 *)
25481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25482 for as_dir in $PATH
25483 do
25484 IFS=$as_save_IFS
25485 test -z "$as_dir" && as_dir=.
25486 for ac_exec_ext in '' $ac_executable_extensions; do
25487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25488 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
25489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25490 break 2
25491 fi
25492 done
25493 done
25494
25495 ;;
25496 esac
25497 fi
25498 JAVAC=$ac_cv_path_JAVAC
25499
25500 if test -n "$JAVAC"; then
25501 echo "$as_me:$LINENO: result: $JAVAC" >&5
25502 echo "${ECHO_T}$JAVAC" >&6
25503 else
25504 echo "$as_me:$LINENO: result: no" >&5
25505 echo "${ECHO_T}no" >&6
25506 fi
25507
25508 fi
25509
25510 fi
25511 fi
25512 user_specified_javac=javac
25513
25514 else
25515
25516
25517 if test "x" != x; then
25518 JAVAC=""
25519 else
25520 # Extract the first word of ""javac"", so it can be a program name with args.
25521 set dummy "javac"; ac_word=$2
25522 echo "$as_me:$LINENO: checking for $ac_word" >&5
25523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25524 if test "${ac_cv_path_JAVAC+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 else
25527 case $JAVAC in
25528 [\\/]* | ?:[\\/]*)
25529 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
25530 ;;
25531 *)
25532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25533 for as_dir in $PATH
25534 do
25535 IFS=$as_save_IFS
25536 test -z "$as_dir" && as_dir=.
25537 for ac_exec_ext in '' $ac_executable_extensions; do
25538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25539 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
25540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25541 break 2
25542 fi
25543 done
25544 done
25545
25546 ;;
25547 esac
25548 fi
25549 JAVAC=$ac_cv_path_JAVAC
25550
25551 if test -n "$JAVAC"; then
25552 echo "$as_me:$LINENO: result: $JAVAC" >&5
25553 echo "${ECHO_T}$JAVAC" >&6
25554 else
25555 echo "$as_me:$LINENO: result: no" >&5
25556 echo "${ECHO_T}no" >&6
25557 fi
25558
25559 fi
25560
25561
25562 fi;
25563
25564
25565
25566 if test "x${user_specified_javac}" = x; then
25567
25568
25569 if test "x${GCJ}" != x; then
25570 FOUND_GCJ_TRUE=
25571 FOUND_GCJ_FALSE='#'
25572 else
25573 FOUND_GCJ_TRUE='#'
25574 FOUND_GCJ_FALSE=
25575 fi
25576
25577
25578
25579 if test "x${JIKES}" != x; then
25580 FOUND_JIKES_TRUE=
25581 FOUND_JIKES_FALSE='#'
25582 else
25583 FOUND_JIKES_TRUE='#'
25584 FOUND_JIKES_FALSE=
25585 fi
25586
25587
25588
25589 if test "x${ECJ}" != x; then
25590 FOUND_ECJ_TRUE=
25591 FOUND_ECJ_FALSE='#'
25592 else
25593 FOUND_ECJ_TRUE='#'
25594 FOUND_ECJ_FALSE=
25595 fi
25596
25597
25598
25599 if test "x${JAVAC}" != x; then
25600 FOUND_JAVAC_TRUE=
25601 FOUND_JAVAC_FALSE='#'
25602 else
25603 FOUND_JAVAC_TRUE='#'
25604 FOUND_JAVAC_FALSE=
25605 fi
25606
25607 else
25608
25609
25610 if test "x${user_specified_javac}" = xgcj; then
25611 FOUND_GCJ_TRUE=
25612 FOUND_GCJ_FALSE='#'
25613 else
25614 FOUND_GCJ_TRUE='#'
25615 FOUND_GCJ_FALSE=
25616 fi
25617
25618
25619
25620 if test "x${user_specified_javac}" = xjikes; then
25621 FOUND_JIKES_TRUE=
25622 FOUND_JIKES_FALSE='#'
25623 else
25624 FOUND_JIKES_TRUE='#'
25625 FOUND_JIKES_FALSE=
25626 fi
25627
25628
25629
25630 if test "x${user_specified_javac}" = xecj; then
25631 FOUND_ECJ_TRUE=
25632 FOUND_ECJ_FALSE='#'
25633 else
25634 FOUND_ECJ_TRUE='#'
25635 FOUND_ECJ_FALSE=
25636 fi
25637
25638
25639
25640 if test "x${user_specified_javac}" = xjavac; then
25641 FOUND_JAVAC_TRUE=
25642 FOUND_JAVAC_FALSE='#'
25643 else
25644 FOUND_JAVAC_TRUE='#'
25645 FOUND_JAVAC_FALSE=
25646 fi
25647
25648 fi
25649
25650
25651 if test "x${user_specified_javac}" = xkjc; then
25652 FOUND_KJC_TRUE=
25653 FOUND_KJC_FALSE='#'
25654 else
25655 FOUND_KJC_TRUE='#'
25656 FOUND_KJC_FALSE=
25657 fi
25658
25659
25660 ## GCJ LOCAL
25661 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \
25662 && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xkjc
25663 then
25664 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5
25665 echo "$as_me: error: cannot find javac, try --with-ecj" >&2;}
25666 { (exit 1); exit 1; }; }
25667 fi
25668 ## END GCJ LOCAL
25669
25670
25671
25672
25673 # Check whether --with-classpath or --without-classpath was given.
25674 if test "${with_classpath+set}" = set; then
25675 withval="$with_classpath"
25676
25677 if test "x${withval}" = xyes; then
25678 # set user classpath to CLASSPATH from env
25679 echo "$as_me:$LINENO: checking for classlib" >&5
25680 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25681 USER_CLASSLIB=${CLASSPATH}
25682
25683 echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
25684 echo "${ECHO_T}${USER_CLASSLIB}" >&6
25685 conditional_with_classlib=true
25686 elif test "x${withval}" != x && test "x${withval}" != xno; then
25687 # set user classpath to specified value
25688 echo "$as_me:$LINENO: checking for classlib" >&5
25689 echo $ECHO_N "checking for classlib... $ECHO_C" >&6
25690 USER_CLASSLIB=${withval}
25691
25692 echo "$as_me:$LINENO: result: ${withval}" >&5
25693 echo "${ECHO_T}${withval}" >&6
25694 conditional_with_classlib=true
25695 fi
25696
25697 else
25698 conditional_with_classlib=false
25699 fi;
25700
25701
25702 if test "x${conditional_with_classlib}" = xtrue; then
25703 USER_SPECIFIED_CLASSLIB_TRUE=
25704 USER_SPECIFIED_CLASSLIB_FALSE='#'
25705 else
25706 USER_SPECIFIED_CLASSLIB_TRUE='#'
25707 USER_SPECIFIED_CLASSLIB_FALSE=
25708 fi
25709
25710
25711
25712 # Check whether --with-vm-classes or --without-vm-classes was given.
25713 if test "${with_vm_classes+set}" = set; then
25714 withval="$with_vm_classes"
25715 vm_classes="$with_vm_classes"
25716 else
25717 vm_classes='${top_srcdir}/vm/reference'
25718 fi;
25719
25720
25721
25722 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25723 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
25724 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
25725 if test "${enable_maintainer_mode+set}" = set; then
25726 enableval="$enable_maintainer_mode"
25727 USE_MAINTAINER_MODE=$enableval
25728 else
25729 USE_MAINTAINER_MODE=no
25730 fi;
25731 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25732 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
25733
25734
25735 if test $USE_MAINTAINER_MODE = yes; then
25736 MAINTAINER_MODE_TRUE=
25737 MAINTAINER_MODE_FALSE='#'
25738 else
25739 MAINTAINER_MODE_TRUE='#'
25740 MAINTAINER_MODE_FALSE=
25741 fi
25742
25743 MAINT=$MAINTAINER_MODE_TRUE
25744
25745
25746
25747 # Check whether --enable-debug or --disable-debug was given.
25748 if test "${enable_debug+set}" = set; then
25749 enableval="$enable_debug"
25750 case "${enableval}" in
25751 yes)
25752 LIBDEBUG="true"
25753
25754 cat >>confdefs.h <<\_ACEOF
25755 #define DEBUG 1
25756 _ACEOF
25757
25758 ;;
25759 no) LIBDEBUG="false" ;;
25760 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
25761 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
25762 { (exit 1); exit 1; }; } ;;
25763 esac
25764 else
25765 LIBDEBUG="false"
25766 fi;
25767
25768
25769 # Check whether --enable-load-library or --disable-load-library was given.
25770 if test "${enable_load_library+set}" = set; then
25771 enableval="$enable_load_library"
25772 case "${enableval}" in
25773 yes) INIT_LOAD_LIBRARY="true" ;;
25774 no) INIT_LOAD_LIBRARY="false" ;;
25775 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
25776 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
25777 { (exit 1); exit 1; }; } ;;
25778 esac
25779 else
25780 INIT_LOAD_LIBRARY="true"
25781 fi;
25782
25783
25784
25785
25786 # Check whether --with-ecj-jar or --without-ecj-jar was given.
25787 if test "${with_ecj_jar+set}" = set; then
25788 withval="$with_ecj_jar"
25789 ECJ_JAR=$withval
25790 else
25791 if test -f $multi_basedir/ecj.jar; then
25792 ECJ_JAR='$(jardir)/ecj.jar'
25793 fi
25794 fi;
25795
25796
25797 # Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given.
25798 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
25799 enableval="$enable_java_lang_system_explicit_initialization"
25800 case "${enableval}" in
25801 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
25802 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
25803 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
25804 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
25805 { (exit 1); exit 1; }; } ;;
25806 esac
25807 else
25808 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
25809 fi;
25810
25811
25812
25813 REMOVE=""
25814
25815
25816 # Extract the first word of "mkdir", so it can be a program name with args.
25817 set dummy mkdir; ac_word=$2
25818 echo "$as_me:$LINENO: checking for $ac_word" >&5
25819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25820 if test "${ac_cv_path_MKDIR+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 else
25823 case $MKDIR in
25824 [\\/]* | ?:[\\/]*)
25825 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
25826 ;;
25827 *)
25828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25829 for as_dir in $PATH
25830 do
25831 IFS=$as_save_IFS
25832 test -z "$as_dir" && as_dir=.
25833 for ac_exec_ext in '' $ac_executable_extensions; do
25834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25835 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
25836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25837 break 2
25838 fi
25839 done
25840 done
25841
25842 ;;
25843 esac
25844 fi
25845 MKDIR=$ac_cv_path_MKDIR
25846
25847 if test -n "$MKDIR"; then
25848 echo "$as_me:$LINENO: result: $MKDIR" >&5
25849 echo "${ECHO_T}$MKDIR" >&6
25850 else
25851 echo "$as_me:$LINENO: result: no" >&5
25852 echo "${ECHO_T}no" >&6
25853 fi
25854
25855 # Extract the first word of "cp", so it can be a program name with args.
25856 set dummy cp; ac_word=$2
25857 echo "$as_me:$LINENO: checking for $ac_word" >&5
25858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25859 if test "${ac_cv_path_CP+set}" = set; then
25860 echo $ECHO_N "(cached) $ECHO_C" >&6
25861 else
25862 case $CP in
25863 [\\/]* | ?:[\\/]*)
25864 ac_cv_path_CP="$CP" # Let the user override the test with a path.
25865 ;;
25866 *)
25867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25868 for as_dir in $PATH
25869 do
25870 IFS=$as_save_IFS
25871 test -z "$as_dir" && as_dir=.
25872 for ac_exec_ext in '' $ac_executable_extensions; do
25873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25874 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
25875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25876 break 2
25877 fi
25878 done
25879 done
25880
25881 ;;
25882 esac
25883 fi
25884 CP=$ac_cv_path_CP
25885
25886 if test -n "$CP"; then
25887 echo "$as_me:$LINENO: result: $CP" >&5
25888 echo "${ECHO_T}$CP" >&6
25889 else
25890 echo "$as_me:$LINENO: result: no" >&5
25891 echo "${ECHO_T}no" >&6
25892 fi
25893
25894 # Extract the first word of "date", so it can be a program name with args.
25895 set dummy date; ac_word=$2
25896 echo "$as_me:$LINENO: checking for $ac_word" >&5
25897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25898 if test "${ac_cv_path_DATE+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901 case $DATE in
25902 [\\/]* | ?:[\\/]*)
25903 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
25904 ;;
25905 *)
25906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25907 for as_dir in $PATH
25908 do
25909 IFS=$as_save_IFS
25910 test -z "$as_dir" && as_dir=.
25911 for ac_exec_ext in '' $ac_executable_extensions; do
25912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25913 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
25914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25915 break 2
25916 fi
25917 done
25918 done
25919
25920 ;;
25921 esac
25922 fi
25923 DATE=$ac_cv_path_DATE
25924
25925 if test -n "$DATE"; then
25926 echo "$as_me:$LINENO: result: $DATE" >&5
25927 echo "${ECHO_T}$DATE" >&6
25928 else
25929 echo "$as_me:$LINENO: result: no" >&5
25930 echo "${ECHO_T}no" >&6
25931 fi
25932
25933
25934 # Extract the first word of "find", so it can be a program name with args.
25935 set dummy find; ac_word=$2
25936 echo "$as_me:$LINENO: checking for $ac_word" >&5
25937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25938 if test "${ac_cv_path_FIND+set}" = set; then
25939 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 else
25941 case $FIND in
25942 [\\/]* | ?:[\\/]*)
25943 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
25944 ;;
25945 *)
25946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25947 for as_dir in $PATH
25948 do
25949 IFS=$as_save_IFS
25950 test -z "$as_dir" && as_dir=.
25951 for ac_exec_ext in '' $ac_executable_extensions; do
25952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25953 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
25954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25955 break 2
25956 fi
25957 done
25958 done
25959
25960 ;;
25961 esac
25962 fi
25963 FIND=$ac_cv_path_FIND
25964
25965 if test -n "$FIND"; then
25966 echo "$as_me:$LINENO: result: $FIND" >&5
25967 echo "${ECHO_T}$FIND" >&6
25968 else
25969 echo "$as_me:$LINENO: result: no" >&5
25970 echo "${ECHO_T}no" >&6
25971 fi
25972
25973
25974
25975 # Extract the first word of "zip", so it can be a program name with args.
25976 set dummy zip; ac_word=$2
25977 echo "$as_me:$LINENO: checking for $ac_word" >&5
25978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25979 if test "${ac_cv_path_ZIP+set}" = set; then
25980 echo $ECHO_N "(cached) $ECHO_C" >&6
25981 else
25982 case $ZIP in
25983 [\\/]* | ?:[\\/]*)
25984 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
25985 ;;
25986 *)
25987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25988 for as_dir in $PATH
25989 do
25990 IFS=$as_save_IFS
25991 test -z "$as_dir" && as_dir=.
25992 for ac_exec_ext in '' $ac_executable_extensions; do
25993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25994 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
25995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25996 break 2
25997 fi
25998 done
25999 done
26000
26001 ;;
26002 esac
26003 fi
26004 ZIP=$ac_cv_path_ZIP
26005
26006 if test -n "$ZIP"; then
26007 echo "$as_me:$LINENO: result: $ZIP" >&5
26008 echo "${ECHO_T}$ZIP" >&6
26009 else
26010 echo "$as_me:$LINENO: result: no" >&5
26011 echo "${ECHO_T}no" >&6
26012 fi
26013
26014
26015 # Check whether --with-fastjar or --without-fastjar was given.
26016 if test "${with_fastjar+set}" = set; then
26017 withval="$with_fastjar"
26018
26019 echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
26020 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6
26021 FASTJAR=${withval}
26022 echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
26023 echo "${ECHO_T}${FASTJAR}" >&6
26024
26025 else
26026 # Extract the first word of "fastjar", so it can be a program name with args.
26027 set dummy fastjar; ac_word=$2
26028 echo "$as_me:$LINENO: checking for $ac_word" >&5
26029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26030 if test "${ac_cv_path_FASTJAR+set}" = set; then
26031 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 else
26033 case $FASTJAR in
26034 [\\/]* | ?:[\\/]*)
26035 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
26036 ;;
26037 *)
26038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26039 for as_dir in $PATH
26040 do
26041 IFS=$as_save_IFS
26042 test -z "$as_dir" && as_dir=.
26043 for ac_exec_ext in '' $ac_executable_extensions; do
26044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26045 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
26046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26047 break 2
26048 fi
26049 done
26050 done
26051
26052 ;;
26053 esac
26054 fi
26055 FASTJAR=$ac_cv_path_FASTJAR
26056
26057 if test -n "$FASTJAR"; then
26058 echo "$as_me:$LINENO: result: $FASTJAR" >&5
26059 echo "${ECHO_T}$FASTJAR" >&6
26060 else
26061 echo "$as_me:$LINENO: result: no" >&5
26062 echo "${ECHO_T}no" >&6
26063 fi
26064
26065 fi;
26066 if test x"${FASTJAR}" != x; then
26067 ZIP=""
26068 fi
26069
26070
26071 # Check whether --with-glibj or --without-glibj was given.
26072 if test "${with_glibj+set}" = set; then
26073 withval="$with_glibj"
26074
26075 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
26076 install_class_files=no
26077 build_class_files=yes
26078 use_zip=yes
26079 elif test "x${withval}" = xboth; then
26080 install_class_files=yes
26081 build_class_files=yes
26082 use_zip=yes
26083 elif test "x${withval}" = xflat; then
26084 install_class_files=yes
26085 build_class_files=yes
26086 use_zip=no
26087 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
26088 install_class_files=no
26089 build_class_files=no
26090 use_zip=no
26091 elif test "x${withval}" = xbuild; then
26092 install_class_files=no
26093 build_class_files=yes
26094 use_zip=no
26095 else
26096 { { echo "$as_me:$LINENO: error: unknown value given to --with-glibj" >&5
26097 echo "$as_me: error: unknown value given to --with-glibj" >&2;}
26098 { (exit 1); exit 1; }; }
26099 fi
26100
26101 else
26102
26103 install_class_files=no
26104 use_zip=yes
26105
26106 fi;
26107
26108
26109 if test "x${use_zip}" = xyes; then
26110 INSTALL_GLIBJ_ZIP_TRUE=
26111 INSTALL_GLIBJ_ZIP_FALSE='#'
26112 else
26113 INSTALL_GLIBJ_ZIP_TRUE='#'
26114 INSTALL_GLIBJ_ZIP_FALSE=
26115 fi
26116
26117
26118
26119 if test "x${install_class_files}" = xyes; then
26120 INSTALL_CLASS_FILES_TRUE=
26121 INSTALL_CLASS_FILES_FALSE='#'
26122 else
26123 INSTALL_CLASS_FILES_TRUE='#'
26124 INSTALL_CLASS_FILES_FALSE=
26125 fi
26126
26127
26128
26129 if test "x${build_class_files}" = xyes; then
26130 BUILD_CLASS_FILES_TRUE=
26131 BUILD_CLASS_FILES_FALSE='#'
26132 else
26133 BUILD_CLASS_FILES_TRUE='#'
26134 BUILD_CLASS_FILES_FALSE=
26135 fi
26136
26137
26138 # Check whether --enable-examples or --disable-examples was given.
26139 if test "${enable_examples+set}" = set; then
26140 enableval="$enable_examples"
26141 case "${enableval}" in
26142 yes) EXAMPLESDIR="examples" ;;
26143 no) EXAMPLESDIR="" ;;
26144 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-examples" >&5
26145 echo "$as_me: error: bad value ${enableval} for --enable-examples" >&2;}
26146 { (exit 1); exit 1; }; } ;;
26147 esac
26148 else
26149 EXAMPLESDIR="examples"
26150 fi;
26151 if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then
26152 EXAMPLESDIR=""
26153 fi
26154
26155
26156
26157
26158
26159 # Check whether --with-gjdoc or --without-gjdoc was given.
26160 if test "${with_gjdoc+set}" = set; then
26161 withval="$with_gjdoc"
26162 if test "x${withval}" = xno; then
26163 WITH_GJDOC=no;
26164 elif test "x${withval}" = xyes -o "x{withval}" = x; then
26165 WITH_GJDOC=yes;
26166 # Extract the first word of "gjdoc", so it can be a program name with args.
26167 set dummy gjdoc; ac_word=$2
26168 echo "$as_me:$LINENO: checking for $ac_word" >&5
26169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26170 if test "${ac_cv_path_GJDOC+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26172 else
26173 case $GJDOC in
26174 [\\/]* | ?:[\\/]*)
26175 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
26176 ;;
26177 *)
26178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26179 for as_dir in $PATH
26180 do
26181 IFS=$as_save_IFS
26182 test -z "$as_dir" && as_dir=.
26183 for ac_exec_ext in '' $ac_executable_extensions; do
26184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26185 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
26186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26187 break 2
26188 fi
26189 done
26190 done
26191
26192 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
26193 ;;
26194 esac
26195 fi
26196 GJDOC=$ac_cv_path_GJDOC
26197
26198 if test -n "$GJDOC"; then
26199 echo "$as_me:$LINENO: result: $GJDOC" >&5
26200 echo "${ECHO_T}$GJDOC" >&6
26201 else
26202 echo "$as_me:$LINENO: result: no" >&5
26203 echo "${ECHO_T}no" >&6
26204 fi
26205
26206 if test "x${GJDOC}" = xno; then
26207 { { echo "$as_me:$LINENO: error: \"gjdoc executable not found\"" >&5
26208 echo "$as_me: error: \"gjdoc executable not found\"" >&2;}
26209 { (exit 1); exit 1; }; };
26210 fi
26211 else
26212 WITH_GJDOC=yes
26213 GJDOC="${withval}"
26214 as_ac_File=`echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
26215 echo "$as_me:$LINENO: checking for ${GJDOC}" >&5
26216 echo $ECHO_N "checking for ${GJDOC}... $ECHO_C" >&6
26217 if eval "test \"\${$as_ac_File+set}\" = set"; then
26218 echo $ECHO_N "(cached) $ECHO_C" >&6
26219 else
26220 test "$cross_compiling" = yes &&
26221 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26222 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26223 { (exit 1); exit 1; }; }
26224 if test -r "${GJDOC}"; then
26225 eval "$as_ac_File=yes"
26226 else
26227 eval "$as_ac_File=no"
26228 fi
26229 fi
26230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26231 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26232 if test `eval echo '${'$as_ac_File'}'` = yes; then
26233 :
26234 else
26235 { { echo "$as_me:$LINENO: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&5
26236 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" >&2;}
26237 { (exit 1); exit 1; }; }
26238 fi
26239
26240 fi
26241 else
26242 WITH_GJDOC=no
26243 fi;
26244
26245
26246
26247 if test "x${WITH_GJDOC}" = xyes; then
26248 CREATE_API_DOCS_TRUE=
26249 CREATE_API_DOCS_FALSE='#'
26250 else
26251 CREATE_API_DOCS_TRUE='#'
26252 CREATE_API_DOCS_FALSE=
26253 fi
26254
26255
26256
26257
26258
26259 # Check whether --with-jay or --without-jay was given.
26260 if test "${with_jay+set}" = set; then
26261 withval="$with_jay"
26262
26263 if test -d "${withval}"; then
26264 JAY_DIR_PATH="${withval}"
26265 # Extract the first word of "jay", so it can be a program name with args.
26266 set dummy jay; ac_word=$2
26267 echo "$as_me:$LINENO: checking for $ac_word" >&5
26268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26269 if test "${ac_cv_path_JAY+set}" = set; then
26270 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 else
26272 case $JAY in
26273 [\\/]* | ?:[\\/]*)
26274 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
26275 ;;
26276 *)
26277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26278 for as_dir in ${JAY_DIR_PATH}
26279 do
26280 IFS=$as_save_IFS
26281 test -z "$as_dir" && as_dir=.
26282 for ac_exec_ext in '' $ac_executable_extensions; do
26283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26284 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
26285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26286 break 2
26287 fi
26288 done
26289 done
26290
26291 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
26292 ;;
26293 esac
26294 fi
26295 JAY=$ac_cv_path_JAY
26296
26297 if test -n "$JAY"; then
26298 echo "$as_me:$LINENO: result: $JAY" >&5
26299 echo "${ECHO_T}$JAY" >&6
26300 else
26301 echo "$as_me:$LINENO: result: no" >&5
26302 echo "${ECHO_T}no" >&6
26303 fi
26304
26305 if test "x${JAY}" = xno; then
26306 { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5
26307 echo "$as_me: error: \"jay executable not found\"" >&2;}
26308 { (exit 1); exit 1; }; };
26309 fi
26310 else
26311 JAY_DIR_PATH=`dirname "${withval}"`
26312 JAY="${withval}"
26313
26314 fi
26315 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
26316 as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
26317 echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5
26318 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6
26319 if eval "test \"\${$as_ac_File+set}\" = set"; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322 test "$cross_compiling" = yes &&
26323 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
26324 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
26325 { (exit 1); exit 1; }; }
26326 if test -r "${JAY_SKELETON}"; then
26327 eval "$as_ac_File=yes"
26328 else
26329 eval "$as_ac_File=no"
26330 fi
26331 fi
26332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
26333 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
26334 if test `eval echo '${'$as_ac_File'}'` = yes; then
26335 :
26336 else
26337 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
26338 echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
26339 { (exit 1); exit 1; }; }
26340 fi
26341
26342 JAY_FOUND=yes
26343
26344 else
26345
26346 JAY_FOUND=no
26347
26348 fi;
26349
26350
26351 if test "x${JAY_FOUND}" = xyes; then
26352 REGEN_PARSERS_TRUE=
26353 REGEN_PARSERS_FALSE='#'
26354 else
26355 REGEN_PARSERS_TRUE='#'
26356 REGEN_PARSERS_FALSE=
26357 fi
26358
26359
26360
26361 # Check whether --enable-portable-native-sync or --disable-portable-native-sync was given.
26362 if test "${enable_portable_native_sync+set}" = set; then
26363 enableval="$enable_portable_native_sync"
26364 case "${enableval}" in
26365 yes)
26366
26367 cat >>confdefs.h <<\_ACEOF
26368 #define PORTABLE_NATIVE_SYNC 1
26369 _ACEOF
26370
26371 ;;
26372 no) ;;
26373 *)
26374 { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-portable-native-sync" >&5
26375 echo "$as_me: error: bad value ${enableval} for --enable-portable-native-sync" >&2;}
26376 { (exit 1); exit 1; }; }
26377 ;;
26378 esac
26379 fi;
26380
26381 # ------ AX CREATE STDINT H -------------------------------------
26382 echo "$as_me:$LINENO: checking for stdint types" >&5
26383 echo $ECHO_N "checking for stdint types... $ECHO_C" >&6
26384 ac_stdint_h=`echo include/config-int.h`
26385 # try to shortcircuit - if the default include path of the compiler
26386 # can find a "stdint.h" header then we assume that all compilers can.
26387 if test "${ac_cv_header_stdint_t+set}" = set; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 else
26390
26391 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
26392 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
26393 old_CFLAGS="$CFLAGS" ; CFLAGS=""
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <stdint.h>
26401 int
26402 main ()
26403 {
26404 int_least32_t v = 0;
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26411 (eval $ac_compile) 2>conftest.er1
26412 ac_status=$?
26413 grep -v '^ *+' conftest.er1 >conftest.err
26414 rm -f conftest.er1
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } &&
26418 { ac_try='test -z "$ac_c_werror_flag"
26419 || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26422 ac_status=$?
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26428 ac_status=$?
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_cv_stdint_result="(assuming C99 compatible system)"
26432 ac_cv_header_stdint_t="stdint.h";
26433 else
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.$ac_ext >&5
26436
26437 ac_cv_header_stdint_t=""
26438 fi
26439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26440 CXXFLAGS="$old_CXXFLAGS"
26441 CPPFLAGS="$old_CPPFLAGS"
26442 CFLAGS="$old_CFLAGS"
26443 fi
26444
26445
26446 v="... $ac_cv_header_stdint_h"
26447 if test "$ac_stdint_h" = "stdint.h" ; then
26448 echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5
26449 echo "${ECHO_T}(are you sure you want them in ./stdint.h?)" >&6
26450 elif test "$ac_stdint_h" = "inttypes.h" ; then
26451 echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5
26452 echo "${ECHO_T}(are you sure you want them in ./inttypes.h?)" >&6
26453 elif test "_$ac_cv_header_stdint_t" = "_" ; then
26454 echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5
26455 echo "${ECHO_T}(putting them into $ac_stdint_h)$v" >&6
26456 else
26457 ac_cv_header_stdint="$ac_cv_header_stdint_t"
26458 echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5
26459 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit)" >&6
26460 fi
26461
26462 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
26463
26464
26465 inttype_headers=`echo | sed -e 's/,/ /g'`
26466
26467 ac_cv_stdint_result="(no helpful system typedefs seen)"
26468
26469 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26470 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26471 if test "${ac_cv_header_stdint_x+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 else
26474
26475 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
26476 echo "$as_me:$LINENO: result: (..)" >&5
26477 echo "${ECHO_T}(..)" >&6
26478 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
26479 unset ac_cv_type_uintptr_t
26480 unset ac_cv_type_uint64_t
26481 echo "$as_me:$LINENO: checking for uintptr_t" >&5
26482 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
26483 if test "${ac_cv_type_uintptr_t+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 else
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 #include <$i>
26493
26494 int
26495 main ()
26496 {
26497 if ((uintptr_t *) 0)
26498 return 0;
26499 if (sizeof (uintptr_t))
26500 return 0;
26501 ;
26502 return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest.$ac_objext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26507 (eval $ac_compile) 2>conftest.er1
26508 ac_status=$?
26509 grep -v '^ *+' conftest.er1 >conftest.err
26510 rm -f conftest.er1
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_c_werror_flag"
26515 || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26518 ac_status=$?
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try='test -s conftest.$ac_objext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26524 ac_status=$?
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_type_uintptr_t=yes
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_cv_type_uintptr_t=no
26533 fi
26534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26535 fi
26536 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
26537 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
26538 if test $ac_cv_type_uintptr_t = yes; then
26539 ac_cv_header_stdint_x=$i
26540 else
26541 continue
26542 fi
26543
26544 echo "$as_me:$LINENO: checking for uint64_t" >&5
26545 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26546 if test "${ac_cv_type_uint64_t+set}" = set; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 else
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include<$i>
26556
26557 int
26558 main ()
26559 {
26560 if ((uint64_t *) 0)
26561 return 0;
26562 if (sizeof (uint64_t))
26563 return 0;
26564 ;
26565 return 0;
26566 }
26567 _ACEOF
26568 rm -f conftest.$ac_objext
26569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26570 (eval $ac_compile) 2>conftest.er1
26571 ac_status=$?
26572 grep -v '^ *+' conftest.er1 >conftest.err
26573 rm -f conftest.er1
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } &&
26577 { ac_try='test -z "$ac_c_werror_flag"
26578 || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26581 ac_status=$?
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); }; } &&
26584 { ac_try='test -s conftest.$ac_objext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26587 ac_status=$?
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26590 ac_cv_type_uint64_t=yes
26591 else
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.$ac_ext >&5
26594
26595 ac_cv_type_uint64_t=no
26596 fi
26597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26598 fi
26599 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26600 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26601 if test $ac_cv_type_uint64_t = yes; then
26602 and64="/uint64_t"
26603 else
26604 and64=""
26605 fi
26606
26607 stdint.h inttypes.h sys/inttypes.h $inttype_headers
26608 break
26609 done
26610 echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5
26611 echo $ECHO_N "checking for stdint uintptr_t... $ECHO_C" >&6
26612
26613 fi
26614 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5
26615 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6
26616
26617
26618 if test "_$ac_cv_header_stdint_x" = "_" ; then
26619
26620 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26621 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26622 if test "${ac_cv_header_stdint_o+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26624 else
26625
26626 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
26627 echo "$as_me:$LINENO: result: (..)" >&5
26628 echo "${ECHO_T}(..)" >&6
26629 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
26630 unset ac_cv_type_uint32_t
26631 unset ac_cv_type_uint64_t
26632 echo "$as_me:$LINENO: checking for uint32_t" >&5
26633 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
26634 if test "${ac_cv_type_uint32_t+set}" = set; then
26635 echo $ECHO_N "(cached) $ECHO_C" >&6
26636 else
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643 #include <$i>
26644
26645 int
26646 main ()
26647 {
26648 if ((uint32_t *) 0)
26649 return 0;
26650 if (sizeof (uint32_t))
26651 return 0;
26652 ;
26653 return 0;
26654 }
26655 _ACEOF
26656 rm -f conftest.$ac_objext
26657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26658 (eval $ac_compile) 2>conftest.er1
26659 ac_status=$?
26660 grep -v '^ *+' conftest.er1 >conftest.err
26661 rm -f conftest.er1
26662 cat conftest.err >&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } &&
26665 { ac_try='test -z "$ac_c_werror_flag"
26666 || test ! -s conftest.err'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; } &&
26672 { ac_try='test -s conftest.$ac_objext'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26675 ac_status=$?
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; }; then
26678 ac_cv_type_uint32_t=yes
26679 else
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.$ac_ext >&5
26682
26683 ac_cv_type_uint32_t=no
26684 fi
26685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26686 fi
26687 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
26688 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
26689 if test $ac_cv_type_uint32_t = yes; then
26690 ac_cv_header_stdint_o=$i
26691 else
26692 continue
26693 fi
26694
26695 echo "$as_me:$LINENO: checking for uint64_t" >&5
26696 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
26697 if test "${ac_cv_type_uint64_t+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700 cat >conftest.$ac_ext <<_ACEOF
26701 /* confdefs.h. */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26706 #include<$i>
26707
26708 int
26709 main ()
26710 {
26711 if ((uint64_t *) 0)
26712 return 0;
26713 if (sizeof (uint64_t))
26714 return 0;
26715 ;
26716 return 0;
26717 }
26718 _ACEOF
26719 rm -f conftest.$ac_objext
26720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721 (eval $ac_compile) 2>conftest.er1
26722 ac_status=$?
26723 grep -v '^ *+' conftest.er1 >conftest.err
26724 rm -f conftest.er1
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try='test -z "$ac_c_werror_flag"
26729 || test ! -s conftest.err'
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); }; } &&
26735 { ac_try='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 ac_cv_type_uint64_t=yes
26742 else
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ac_cv_type_uint64_t=no
26747 fi
26748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26749 fi
26750 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
26751 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
26752 if test $ac_cv_type_uint64_t = yes; then
26753 and64="/uint64_t"
26754 else
26755 and64=""
26756 fi
26757
26758 inttypes.h sys/inttypes.h stdint.h $inttype_headers
26759 break
26760 break;
26761 done
26762 echo "$as_me:$LINENO: checking for stdint uint32_t" >&5
26763 echo $ECHO_N "checking for stdint uint32_t... $ECHO_C" >&6
26764
26765 fi
26766 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5
26767 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6
26768
26769 fi
26770
26771 if test "_$ac_cv_header_stdint_x" = "_" ; then
26772 if test "_$ac_cv_header_stdint_o" = "_" ; then
26773
26774 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26775 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26776 if test "${ac_cv_header_stdint_u+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 else
26779
26780 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
26781 echo "$as_me:$LINENO: result: (..)" >&5
26782 echo "${ECHO_T}(..)" >&6
26783 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
26784 unset ac_cv_type_u_int32_t
26785 unset ac_cv_type_u_int64_t
26786 echo "$as_me:$LINENO: checking for u_int32_t" >&5
26787 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
26788 if test "${ac_cv_type_u_int32_t+set}" = set; then
26789 echo $ECHO_N "(cached) $ECHO_C" >&6
26790 else
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h. */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26797 #include <$i>
26798
26799 int
26800 main ()
26801 {
26802 if ((u_int32_t *) 0)
26803 return 0;
26804 if (sizeof (u_int32_t))
26805 return 0;
26806 ;
26807 return 0;
26808 }
26809 _ACEOF
26810 rm -f conftest.$ac_objext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26812 (eval $ac_compile) 2>conftest.er1
26813 ac_status=$?
26814 grep -v '^ *+' conftest.er1 >conftest.err
26815 rm -f conftest.er1
26816 cat conftest.err >&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try='test -z "$ac_c_werror_flag"
26820 || test ! -s conftest.err'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26823 ac_status=$?
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; } &&
26826 { ac_try='test -s conftest.$ac_objext'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26829 ac_status=$?
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; }; then
26832 ac_cv_type_u_int32_t=yes
26833 else
26834 echo "$as_me: failed program was:" >&5
26835 sed 's/^/| /' conftest.$ac_ext >&5
26836
26837 ac_cv_type_u_int32_t=no
26838 fi
26839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26840 fi
26841 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
26842 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
26843 if test $ac_cv_type_u_int32_t = yes; then
26844 ac_cv_header_stdint_u=$i
26845 else
26846 continue
26847 fi
26848
26849 echo "$as_me:$LINENO: checking for u_int64_t" >&5
26850 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
26851 if test "${ac_cv_type_u_int64_t+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26853 else
26854 cat >conftest.$ac_ext <<_ACEOF
26855 /* confdefs.h. */
26856 _ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 #include<$i>
26861
26862 int
26863 main ()
26864 {
26865 if ((u_int64_t *) 0)
26866 return 0;
26867 if (sizeof (u_int64_t))
26868 return 0;
26869 ;
26870 return 0;
26871 }
26872 _ACEOF
26873 rm -f conftest.$ac_objext
26874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26875 (eval $ac_compile) 2>conftest.er1
26876 ac_status=$?
26877 grep -v '^ *+' conftest.er1 >conftest.err
26878 rm -f conftest.er1
26879 cat conftest.err >&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } &&
26882 { ac_try='test -z "$ac_c_werror_flag"
26883 || test ! -s conftest.err'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26886 ac_status=$?
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; } &&
26889 { ac_try='test -s conftest.$ac_objext'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26892 ac_status=$?
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_cv_type_u_int64_t=yes
26896 else
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 ac_cv_type_u_int64_t=no
26901 fi
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26903 fi
26904 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
26905 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
26906 if test $ac_cv_type_u_int64_t = yes; then
26907 and64="/u_int64_t"
26908 else
26909 and64=""
26910 fi
26911
26912 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
26913 break
26914 break;
26915 done
26916 echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5
26917 echo $ECHO_N "checking for stdint u_int32_t... $ECHO_C" >&6
26918
26919 fi
26920 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5
26921 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6
26922
26923 fi fi
26924
26925 if test "_$ac_cv_header_stdint_x" = "_" ; then
26926 echo "$as_me:$LINENO: checking for stdint datatype model" >&5
26927 echo $ECHO_N "checking for stdint datatype model... $ECHO_C" >&6
26928 echo "$as_me:$LINENO: result: (..)" >&5
26929 echo "${ECHO_T}(..)" >&6
26930
26931 echo "$as_me:$LINENO: checking for char" >&5
26932 echo $ECHO_N "checking for char... $ECHO_C" >&6
26933 if test "${ac_cv_type_char+set}" = set; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26935 else
26936 cat >conftest.$ac_ext <<_ACEOF
26937 /* confdefs.h. */
26938 _ACEOF
26939 cat confdefs.h >>conftest.$ac_ext
26940 cat >>conftest.$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942 $ac_includes_default
26943 int
26944 main ()
26945 {
26946 if ((char *) 0)
26947 return 0;
26948 if (sizeof (char))
26949 return 0;
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 rm -f conftest.$ac_objext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26956 (eval $ac_compile) 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try='test -s conftest.$ac_objext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_type_char=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26980
26981 ac_cv_type_char=no
26982 fi
26983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26984 fi
26985 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
26986 echo "${ECHO_T}$ac_cv_type_char" >&6
26987
26988 echo "$as_me:$LINENO: checking size of char" >&5
26989 echo $ECHO_N "checking size of char... $ECHO_C" >&6
26990 if test "${ac_cv_sizeof_char+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26992 else
26993 if test "$ac_cv_type_char" = yes; then
26994 # The cast to unsigned long works around a bug in the HP C Compiler
26995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26997 # This bug is HP SR number 8606223364.
26998 if test "$cross_compiling" = yes; then
26999 # Depending upon the size, compute the lo and hi bounds.
27000 cat >conftest.$ac_ext <<_ACEOF
27001 /* confdefs.h. */
27002 _ACEOF
27003 cat confdefs.h >>conftest.$ac_ext
27004 cat >>conftest.$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 $ac_includes_default
27007 int
27008 main ()
27009 {
27010 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
27011 test_array [0] = 0
27012
27013 ;
27014 return 0;
27015 }
27016 _ACEOF
27017 rm -f conftest.$ac_objext
27018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27019 (eval $ac_compile) 2>conftest.er1
27020 ac_status=$?
27021 grep -v '^ *+' conftest.er1 >conftest.err
27022 rm -f conftest.er1
27023 cat conftest.err >&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } &&
27026 { ac_try='test -z "$ac_c_werror_flag"
27027 || test ! -s conftest.err'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; } &&
27033 { ac_try='test -s conftest.$ac_objext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27039 ac_lo=0 ac_mid=0
27040 while :; do
27041 cat >conftest.$ac_ext <<_ACEOF
27042 /* confdefs.h. */
27043 _ACEOF
27044 cat confdefs.h >>conftest.$ac_ext
27045 cat >>conftest.$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 $ac_includes_default
27048 int
27049 main ()
27050 {
27051 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27052 test_array [0] = 0
27053
27054 ;
27055 return 0;
27056 }
27057 _ACEOF
27058 rm -f conftest.$ac_objext
27059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27060 (eval $ac_compile) 2>conftest.er1
27061 ac_status=$?
27062 grep -v '^ *+' conftest.er1 >conftest.err
27063 rm -f conftest.er1
27064 cat conftest.err >&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); } &&
27067 { ac_try='test -z "$ac_c_werror_flag"
27068 || test ! -s conftest.err'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27071 ac_status=$?
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try='test -s conftest.$ac_objext'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27077 ac_status=$?
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; }; then
27080 ac_hi=$ac_mid; break
27081 else
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085 ac_lo=`expr $ac_mid + 1`
27086 if test $ac_lo -le $ac_mid; then
27087 ac_lo= ac_hi=
27088 break
27089 fi
27090 ac_mid=`expr 2 '*' $ac_mid + 1`
27091 fi
27092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27093 done
27094 else
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.$ac_ext >&5
27097
27098 cat >conftest.$ac_ext <<_ACEOF
27099 /* confdefs.h. */
27100 _ACEOF
27101 cat confdefs.h >>conftest.$ac_ext
27102 cat >>conftest.$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104 $ac_includes_default
27105 int
27106 main ()
27107 {
27108 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
27109 test_array [0] = 0
27110
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27117 (eval $ac_compile) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest.$ac_objext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_hi=-1 ac_mid=-1
27138 while :; do
27139 cat >conftest.$ac_ext <<_ACEOF
27140 /* confdefs.h. */
27141 _ACEOF
27142 cat confdefs.h >>conftest.$ac_ext
27143 cat >>conftest.$ac_ext <<_ACEOF
27144 /* end confdefs.h. */
27145 $ac_includes_default
27146 int
27147 main ()
27148 {
27149 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
27150 test_array [0] = 0
27151
27152 ;
27153 return 0;
27154 }
27155 _ACEOF
27156 rm -f conftest.$ac_objext
27157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27158 (eval $ac_compile) 2>conftest.er1
27159 ac_status=$?
27160 grep -v '^ *+' conftest.er1 >conftest.err
27161 rm -f conftest.er1
27162 cat conftest.err >&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } &&
27165 { ac_try='test -z "$ac_c_werror_flag"
27166 || test ! -s conftest.err'
27167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27168 (eval $ac_try) 2>&5
27169 ac_status=$?
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); }; } &&
27172 { ac_try='test -s conftest.$ac_objext'
27173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27174 (eval $ac_try) 2>&5
27175 ac_status=$?
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; }; then
27178 ac_lo=$ac_mid; break
27179 else
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.$ac_ext >&5
27182
27183 ac_hi=`expr '(' $ac_mid ')' - 1`
27184 if test $ac_mid -le $ac_hi; then
27185 ac_lo= ac_hi=
27186 break
27187 fi
27188 ac_mid=`expr 2 '*' $ac_mid`
27189 fi
27190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27191 done
27192 else
27193 echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.$ac_ext >&5
27195
27196 ac_lo= ac_hi=
27197 fi
27198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27199 fi
27200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27201 # Binary search between lo and hi bounds.
27202 while test "x$ac_lo" != "x$ac_hi"; do
27203 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27204 cat >conftest.$ac_ext <<_ACEOF
27205 /* confdefs.h. */
27206 _ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 $ac_includes_default
27211 int
27212 main ()
27213 {
27214 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
27215 test_array [0] = 0
27216
27217 ;
27218 return 0;
27219 }
27220 _ACEOF
27221 rm -f conftest.$ac_objext
27222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27223 (eval $ac_compile) 2>conftest.er1
27224 ac_status=$?
27225 grep -v '^ *+' conftest.er1 >conftest.err
27226 rm -f conftest.er1
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } &&
27230 { ac_try='test -z "$ac_c_werror_flag"
27231 || test ! -s conftest.err'
27232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27233 (eval $ac_try) 2>&5
27234 ac_status=$?
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; } &&
27237 { ac_try='test -s conftest.$ac_objext'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27240 ac_status=$?
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; }; then
27243 ac_hi=$ac_mid
27244 else
27245 echo "$as_me: failed program was:" >&5
27246 sed 's/^/| /' conftest.$ac_ext >&5
27247
27248 ac_lo=`expr '(' $ac_mid ')' + 1`
27249 fi
27250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27251 done
27252 case $ac_lo in
27253 ?*) ac_cv_sizeof_char=$ac_lo;;
27254 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27255 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27257 See \`config.log' for more details." >&5
27258 echo "$as_me: error: cannot compute sizeof (char), 77
27259 See \`config.log' for more details." >&2;}
27260 { (exit 1); exit 1; }; }; } ;;
27261 esac
27262 else
27263 if test "$cross_compiling" = yes; then
27264 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27265 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27266 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27267 See \`config.log' for more details." >&5
27268 echo "$as_me: error: cannot run test program while cross compiling
27269 See \`config.log' for more details." >&2;}
27270 { (exit 1); exit 1; }; }; }
27271 else
27272 cat >conftest.$ac_ext <<_ACEOF
27273 /* confdefs.h. */
27274 _ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278 $ac_includes_default
27279 long longval () { return (long) (sizeof (char)); }
27280 unsigned long ulongval () { return (long) (sizeof (char)); }
27281 #include <stdio.h>
27282 #include <stdlib.h>
27283 int
27284 main ()
27285 {
27286
27287 FILE *f = fopen ("conftest.val", "w");
27288 if (! f)
27289 exit (1);
27290 if (((long) (sizeof (char))) < 0)
27291 {
27292 long i = longval ();
27293 if (i != ((long) (sizeof (char))))
27294 exit (1);
27295 fprintf (f, "%ld\n", i);
27296 }
27297 else
27298 {
27299 unsigned long i = ulongval ();
27300 if (i != ((long) (sizeof (char))))
27301 exit (1);
27302 fprintf (f, "%lu\n", i);
27303 }
27304 exit (ferror (f) || fclose (f) != 0);
27305
27306 ;
27307 return 0;
27308 }
27309 _ACEOF
27310 rm -f conftest$ac_exeext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27312 (eval $ac_link) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27318 ac_status=$?
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 ac_cv_sizeof_char=`cat conftest.val`
27322 else
27323 echo "$as_me: program exited with status $ac_status" >&5
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 ( exit $ac_status )
27328 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27329 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
27331 See \`config.log' for more details." >&5
27332 echo "$as_me: error: cannot compute sizeof (char), 77
27333 See \`config.log' for more details." >&2;}
27334 { (exit 1); exit 1; }; }; }
27335 fi
27336 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27337 fi
27338 fi
27339 rm -f conftest.val
27340 else
27341 ac_cv_sizeof_char=0
27342 fi
27343 fi
27344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
27345 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
27346 cat >>confdefs.h <<_ACEOF
27347 #define SIZEOF_CHAR $ac_cv_sizeof_char
27348 _ACEOF
27349
27350
27351 echo "$as_me:$LINENO: checking for short" >&5
27352 echo $ECHO_N "checking for short... $ECHO_C" >&6
27353 if test "${ac_cv_type_short+set}" = set; then
27354 echo $ECHO_N "(cached) $ECHO_C" >&6
27355 else
27356 cat >conftest.$ac_ext <<_ACEOF
27357 /* confdefs.h. */
27358 _ACEOF
27359 cat confdefs.h >>conftest.$ac_ext
27360 cat >>conftest.$ac_ext <<_ACEOF
27361 /* end confdefs.h. */
27362 $ac_includes_default
27363 int
27364 main ()
27365 {
27366 if ((short *) 0)
27367 return 0;
27368 if (sizeof (short))
27369 return 0;
27370 ;
27371 return 0;
27372 }
27373 _ACEOF
27374 rm -f conftest.$ac_objext
27375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27376 (eval $ac_compile) 2>conftest.er1
27377 ac_status=$?
27378 grep -v '^ *+' conftest.er1 >conftest.err
27379 rm -f conftest.er1
27380 cat conftest.err >&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); } &&
27383 { ac_try='test -z "$ac_c_werror_flag"
27384 || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try='test -s conftest.$ac_objext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 ac_cv_type_short=yes
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 ac_cv_type_short=no
27402 fi
27403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27404 fi
27405 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
27406 echo "${ECHO_T}$ac_cv_type_short" >&6
27407
27408 echo "$as_me:$LINENO: checking size of short" >&5
27409 echo $ECHO_N "checking size of short... $ECHO_C" >&6
27410 if test "${ac_cv_sizeof_short+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 else
27413 if test "$ac_cv_type_short" = yes; then
27414 # The cast to unsigned long works around a bug in the HP C Compiler
27415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27417 # This bug is HP SR number 8606223364.
27418 if test "$cross_compiling" = yes; then
27419 # Depending upon the size, compute the lo and hi bounds.
27420 cat >conftest.$ac_ext <<_ACEOF
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 $ac_includes_default
27427 int
27428 main ()
27429 {
27430 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
27431 test_array [0] = 0
27432
27433 ;
27434 return 0;
27435 }
27436 _ACEOF
27437 rm -f conftest.$ac_objext
27438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27439 (eval $ac_compile) 2>conftest.er1
27440 ac_status=$?
27441 grep -v '^ *+' conftest.er1 >conftest.err
27442 rm -f conftest.er1
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try='test -z "$ac_c_werror_flag"
27447 || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try='test -s conftest.$ac_objext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_lo=0 ac_mid=0
27460 while :; do
27461 cat >conftest.$ac_ext <<_ACEOF
27462 /* confdefs.h. */
27463 _ACEOF
27464 cat confdefs.h >>conftest.$ac_ext
27465 cat >>conftest.$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27467 $ac_includes_default
27468 int
27469 main ()
27470 {
27471 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27472 test_array [0] = 0
27473
27474 ;
27475 return 0;
27476 }
27477 _ACEOF
27478 rm -f conftest.$ac_objext
27479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27480 (eval $ac_compile) 2>conftest.er1
27481 ac_status=$?
27482 grep -v '^ *+' conftest.er1 >conftest.err
27483 rm -f conftest.er1
27484 cat conftest.err >&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } &&
27487 { ac_try='test -z "$ac_c_werror_flag"
27488 || test ! -s conftest.err'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; } &&
27494 { ac_try='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500 ac_hi=$ac_mid; break
27501 else
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.$ac_ext >&5
27504
27505 ac_lo=`expr $ac_mid + 1`
27506 if test $ac_lo -le $ac_mid; then
27507 ac_lo= ac_hi=
27508 break
27509 fi
27510 ac_mid=`expr 2 '*' $ac_mid + 1`
27511 fi
27512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27513 done
27514 else
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.$ac_ext >&5
27517
27518 cat >conftest.$ac_ext <<_ACEOF
27519 /* confdefs.h. */
27520 _ACEOF
27521 cat confdefs.h >>conftest.$ac_ext
27522 cat >>conftest.$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27524 $ac_includes_default
27525 int
27526 main ()
27527 {
27528 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
27529 test_array [0] = 0
27530
27531 ;
27532 return 0;
27533 }
27534 _ACEOF
27535 rm -f conftest.$ac_objext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27537 (eval $ac_compile) 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try='test -z "$ac_c_werror_flag"
27545 || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27557 ac_hi=-1 ac_mid=-1
27558 while :; do
27559 cat >conftest.$ac_ext <<_ACEOF
27560 /* confdefs.h. */
27561 _ACEOF
27562 cat confdefs.h >>conftest.$ac_ext
27563 cat >>conftest.$ac_ext <<_ACEOF
27564 /* end confdefs.h. */
27565 $ac_includes_default
27566 int
27567 main ()
27568 {
27569 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
27570 test_array [0] = 0
27571
27572 ;
27573 return 0;
27574 }
27575 _ACEOF
27576 rm -f conftest.$ac_objext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27578 (eval $ac_compile) 2>conftest.er1
27579 ac_status=$?
27580 grep -v '^ *+' conftest.er1 >conftest.err
27581 rm -f conftest.er1
27582 cat conftest.err >&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } &&
27585 { ac_try='test -z "$ac_c_werror_flag"
27586 || test ! -s conftest.err'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; } &&
27592 { ac_try='test -s conftest.$ac_objext'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27595 ac_status=$?
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; }; then
27598 ac_lo=$ac_mid; break
27599 else
27600 echo "$as_me: failed program was:" >&5
27601 sed 's/^/| /' conftest.$ac_ext >&5
27602
27603 ac_hi=`expr '(' $ac_mid ')' - 1`
27604 if test $ac_mid -le $ac_hi; then
27605 ac_lo= ac_hi=
27606 break
27607 fi
27608 ac_mid=`expr 2 '*' $ac_mid`
27609 fi
27610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27611 done
27612 else
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.$ac_ext >&5
27615
27616 ac_lo= ac_hi=
27617 fi
27618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27619 fi
27620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27621 # Binary search between lo and hi bounds.
27622 while test "x$ac_lo" != "x$ac_hi"; do
27623 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27624 cat >conftest.$ac_ext <<_ACEOF
27625 /* confdefs.h. */
27626 _ACEOF
27627 cat confdefs.h >>conftest.$ac_ext
27628 cat >>conftest.$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 $ac_includes_default
27631 int
27632 main ()
27633 {
27634 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
27635 test_array [0] = 0
27636
27637 ;
27638 return 0;
27639 }
27640 _ACEOF
27641 rm -f conftest.$ac_objext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27643 (eval $ac_compile) 2>conftest.er1
27644 ac_status=$?
27645 grep -v '^ *+' conftest.er1 >conftest.err
27646 rm -f conftest.er1
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try='test -z "$ac_c_werror_flag"
27651 || test ! -s conftest.err'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; } &&
27657 { ac_try='test -s conftest.$ac_objext'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27660 ac_status=$?
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; }; then
27663 ac_hi=$ac_mid
27664 else
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.$ac_ext >&5
27667
27668 ac_lo=`expr '(' $ac_mid ')' + 1`
27669 fi
27670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27671 done
27672 case $ac_lo in
27673 ?*) ac_cv_sizeof_short=$ac_lo;;
27674 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27675 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27677 See \`config.log' for more details." >&5
27678 echo "$as_me: error: cannot compute sizeof (short), 77
27679 See \`config.log' for more details." >&2;}
27680 { (exit 1); exit 1; }; }; } ;;
27681 esac
27682 else
27683 if test "$cross_compiling" = yes; then
27684 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27685 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27686 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27687 See \`config.log' for more details." >&5
27688 echo "$as_me: error: cannot run test program while cross compiling
27689 See \`config.log' for more details." >&2;}
27690 { (exit 1); exit 1; }; }; }
27691 else
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 $ac_includes_default
27699 long longval () { return (long) (sizeof (short)); }
27700 unsigned long ulongval () { return (long) (sizeof (short)); }
27701 #include <stdio.h>
27702 #include <stdlib.h>
27703 int
27704 main ()
27705 {
27706
27707 FILE *f = fopen ("conftest.val", "w");
27708 if (! f)
27709 exit (1);
27710 if (((long) (sizeof (short))) < 0)
27711 {
27712 long i = longval ();
27713 if (i != ((long) (sizeof (short))))
27714 exit (1);
27715 fprintf (f, "%ld\n", i);
27716 }
27717 else
27718 {
27719 unsigned long i = ulongval ();
27720 if (i != ((long) (sizeof (short))))
27721 exit (1);
27722 fprintf (f, "%lu\n", i);
27723 }
27724 exit (ferror (f) || fclose (f) != 0);
27725
27726 ;
27727 return 0;
27728 }
27729 _ACEOF
27730 rm -f conftest$ac_exeext
27731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27732 (eval $ac_link) 2>&5
27733 ac_status=$?
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27738 ac_status=$?
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 ac_cv_sizeof_short=`cat conftest.val`
27742 else
27743 echo "$as_me: program exited with status $ac_status" >&5
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.$ac_ext >&5
27746
27747 ( exit $ac_status )
27748 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27749 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
27751 See \`config.log' for more details." >&5
27752 echo "$as_me: error: cannot compute sizeof (short), 77
27753 See \`config.log' for more details." >&2;}
27754 { (exit 1); exit 1; }; }; }
27755 fi
27756 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27757 fi
27758 fi
27759 rm -f conftest.val
27760 else
27761 ac_cv_sizeof_short=0
27762 fi
27763 fi
27764 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
27765 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
27766 cat >>confdefs.h <<_ACEOF
27767 #define SIZEOF_SHORT $ac_cv_sizeof_short
27768 _ACEOF
27769
27770
27771 echo "$as_me:$LINENO: checking for int" >&5
27772 echo $ECHO_N "checking for int... $ECHO_C" >&6
27773 if test "${ac_cv_type_int+set}" = set; then
27774 echo $ECHO_N "(cached) $ECHO_C" >&6
27775 else
27776 cat >conftest.$ac_ext <<_ACEOF
27777 /* confdefs.h. */
27778 _ACEOF
27779 cat confdefs.h >>conftest.$ac_ext
27780 cat >>conftest.$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27782 $ac_includes_default
27783 int
27784 main ()
27785 {
27786 if ((int *) 0)
27787 return 0;
27788 if (sizeof (int))
27789 return 0;
27790 ;
27791 return 0;
27792 }
27793 _ACEOF
27794 rm -f conftest.$ac_objext
27795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27796 (eval $ac_compile) 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try='test -z "$ac_c_werror_flag"
27804 || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try='test -s conftest.$ac_objext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27816 ac_cv_type_int=yes
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27820
27821 ac_cv_type_int=no
27822 fi
27823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27824 fi
27825 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
27826 echo "${ECHO_T}$ac_cv_type_int" >&6
27827
27828 echo "$as_me:$LINENO: checking size of int" >&5
27829 echo $ECHO_N "checking size of int... $ECHO_C" >&6
27830 if test "${ac_cv_sizeof_int+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833 if test "$ac_cv_type_int" = yes; then
27834 # The cast to unsigned long works around a bug in the HP C Compiler
27835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27837 # This bug is HP SR number 8606223364.
27838 if test "$cross_compiling" = yes; then
27839 # Depending upon the size, compute the lo and hi bounds.
27840 cat >conftest.$ac_ext <<_ACEOF
27841 /* confdefs.h. */
27842 _ACEOF
27843 cat confdefs.h >>conftest.$ac_ext
27844 cat >>conftest.$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27846 $ac_includes_default
27847 int
27848 main ()
27849 {
27850 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
27851 test_array [0] = 0
27852
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 rm -f conftest.$ac_objext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27859 (eval $ac_compile) 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try='test -s conftest.$ac_objext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879 ac_lo=0 ac_mid=0
27880 while :; do
27881 cat >conftest.$ac_ext <<_ACEOF
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 $ac_includes_default
27888 int
27889 main ()
27890 {
27891 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
27892 test_array [0] = 0
27893
27894 ;
27895 return 0;
27896 }
27897 _ACEOF
27898 rm -f conftest.$ac_objext
27899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27900 (eval $ac_compile) 2>conftest.er1
27901 ac_status=$?
27902 grep -v '^ *+' conftest.er1 >conftest.err
27903 rm -f conftest.er1
27904 cat conftest.err >&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } &&
27907 { ac_try='test -z "$ac_c_werror_flag"
27908 || test ! -s conftest.err'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27911 ac_status=$?
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; } &&
27914 { ac_try='test -s conftest.$ac_objext'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27917 ac_status=$?
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; }; then
27920 ac_hi=$ac_mid; break
27921 else
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.$ac_ext >&5
27924
27925 ac_lo=`expr $ac_mid + 1`
27926 if test $ac_lo -le $ac_mid; then
27927 ac_lo= ac_hi=
27928 break
27929 fi
27930 ac_mid=`expr 2 '*' $ac_mid + 1`
27931 fi
27932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27933 done
27934 else
27935 echo "$as_me: failed program was:" >&5
27936 sed 's/^/| /' conftest.$ac_ext >&5
27937
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 (int))) < 0)];
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=-1 ac_mid=-1
27978 while :; do
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 $ac_includes_default
27986 int
27987 main ()
27988 {
27989 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
27990 test_array [0] = 0
27991
27992 ;
27993 return 0;
27994 }
27995 _ACEOF
27996 rm -f conftest.$ac_objext
27997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27998 (eval $ac_compile) 2>conftest.er1
27999 ac_status=$?
28000 grep -v '^ *+' conftest.er1 >conftest.err
28001 rm -f conftest.er1
28002 cat conftest.err >&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } &&
28005 { ac_try='test -z "$ac_c_werror_flag"
28006 || test ! -s conftest.err'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; } &&
28012 { ac_try='test -s conftest.$ac_objext'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 ac_lo=$ac_mid; break
28019 else
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28022
28023 ac_hi=`expr '(' $ac_mid ')' - 1`
28024 if test $ac_mid -le $ac_hi; then
28025 ac_lo= ac_hi=
28026 break
28027 fi
28028 ac_mid=`expr 2 '*' $ac_mid`
28029 fi
28030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28031 done
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 ac_lo= ac_hi=
28037 fi
28038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28039 fi
28040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28041 # Binary search between lo and hi bounds.
28042 while test "x$ac_lo" != "x$ac_hi"; do
28043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28044 cat >conftest.$ac_ext <<_ACEOF
28045 /* confdefs.h. */
28046 _ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28050 $ac_includes_default
28051 int
28052 main ()
28053 {
28054 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
28055 test_array [0] = 0
28056
28057 ;
28058 return 0;
28059 }
28060 _ACEOF
28061 rm -f conftest.$ac_objext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28063 (eval $ac_compile) 2>conftest.er1
28064 ac_status=$?
28065 grep -v '^ *+' conftest.er1 >conftest.err
28066 rm -f conftest.er1
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } &&
28070 { ac_try='test -z "$ac_c_werror_flag"
28071 || test ! -s conftest.err'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28074 ac_status=$?
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try='test -s conftest.$ac_objext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28080 ac_status=$?
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28083 ac_hi=$ac_mid
28084 else
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.$ac_ext >&5
28087
28088 ac_lo=`expr '(' $ac_mid ')' + 1`
28089 fi
28090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28091 done
28092 case $ac_lo in
28093 ?*) ac_cv_sizeof_int=$ac_lo;;
28094 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28095 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
28097 See \`config.log' for more details." >&5
28098 echo "$as_me: error: cannot compute sizeof (int), 77
28099 See \`config.log' for more details." >&2;}
28100 { (exit 1); exit 1; }; }; } ;;
28101 esac
28102 else
28103 if test "$cross_compiling" = yes; then
28104 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28105 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28106 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28107 See \`config.log' for more details." >&5
28108 echo "$as_me: error: cannot run test program while cross compiling
28109 See \`config.log' for more details." >&2;}
28110 { (exit 1); exit 1; }; }; }
28111 else
28112 cat >conftest.$ac_ext <<_ACEOF
28113 /* confdefs.h. */
28114 _ACEOF
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118 $ac_includes_default
28119 long longval () { return (long) (sizeof (int)); }
28120 unsigned long ulongval () { return (long) (sizeof (int)); }
28121 #include <stdio.h>
28122 #include <stdlib.h>
28123 int
28124 main ()
28125 {
28126
28127 FILE *f = fopen ("conftest.val", "w");
28128 if (! f)
28129 exit (1);
28130 if (((long) (sizeof (int))) < 0)
28131 {
28132 long i = longval ();
28133 if (i != ((long) (sizeof (int))))
28134 exit (1);
28135 fprintf (f, "%ld\n", i);
28136 }
28137 else
28138 {
28139 unsigned long i = ulongval ();
28140 if (i != ((long) (sizeof (int))))
28141 exit (1);
28142 fprintf (f, "%lu\n", i);
28143 }
28144 exit (ferror (f) || fclose (f) != 0);
28145
28146 ;
28147 return 0;
28148 }
28149 _ACEOF
28150 rm -f conftest$ac_exeext
28151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28152 (eval $ac_link) 2>&5
28153 ac_status=$?
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161 ac_cv_sizeof_int=`cat conftest.val`
28162 else
28163 echo "$as_me: program exited with status $ac_status" >&5
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.$ac_ext >&5
28166
28167 ( exit $ac_status )
28168 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28169 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
28171 See \`config.log' for more details." >&5
28172 echo "$as_me: error: cannot compute sizeof (int), 77
28173 See \`config.log' for more details." >&2;}
28174 { (exit 1); exit 1; }; }; }
28175 fi
28176 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28177 fi
28178 fi
28179 rm -f conftest.val
28180 else
28181 ac_cv_sizeof_int=0
28182 fi
28183 fi
28184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
28185 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
28186 cat >>confdefs.h <<_ACEOF
28187 #define SIZEOF_INT $ac_cv_sizeof_int
28188 _ACEOF
28189
28190
28191 echo "$as_me:$LINENO: checking for long" >&5
28192 echo $ECHO_N "checking for long... $ECHO_C" >&6
28193 if test "${ac_cv_type_long+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 else
28196 cat >conftest.$ac_ext <<_ACEOF
28197 /* confdefs.h. */
28198 _ACEOF
28199 cat confdefs.h >>conftest.$ac_ext
28200 cat >>conftest.$ac_ext <<_ACEOF
28201 /* end confdefs.h. */
28202 $ac_includes_default
28203 int
28204 main ()
28205 {
28206 if ((long *) 0)
28207 return 0;
28208 if (sizeof (long))
28209 return 0;
28210 ;
28211 return 0;
28212 }
28213 _ACEOF
28214 rm -f conftest.$ac_objext
28215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28216 (eval $ac_compile) 2>conftest.er1
28217 ac_status=$?
28218 grep -v '^ *+' conftest.er1 >conftest.err
28219 rm -f conftest.er1
28220 cat conftest.err >&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } &&
28223 { ac_try='test -z "$ac_c_werror_flag"
28224 || test ! -s conftest.err'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28227 ac_status=$?
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; } &&
28230 { ac_try='test -s conftest.$ac_objext'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; }; then
28236 ac_cv_type_long=yes
28237 else
28238 echo "$as_me: failed program was:" >&5
28239 sed 's/^/| /' conftest.$ac_ext >&5
28240
28241 ac_cv_type_long=no
28242 fi
28243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28244 fi
28245 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
28246 echo "${ECHO_T}$ac_cv_type_long" >&6
28247
28248 echo "$as_me:$LINENO: checking size of long" >&5
28249 echo $ECHO_N "checking size of long... $ECHO_C" >&6
28250 if test "${ac_cv_sizeof_long+set}" = set; then
28251 echo $ECHO_N "(cached) $ECHO_C" >&6
28252 else
28253 if test "$ac_cv_type_long" = yes; then
28254 # The cast to unsigned long works around a bug in the HP C Compiler
28255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28257 # This bug is HP SR number 8606223364.
28258 if test "$cross_compiling" = yes; then
28259 # Depending upon the size, compute the lo and hi bounds.
28260 cat >conftest.$ac_ext <<_ACEOF
28261 /* confdefs.h. */
28262 _ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 $ac_includes_default
28267 int
28268 main ()
28269 {
28270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
28271 test_array [0] = 0
28272
28273 ;
28274 return 0;
28275 }
28276 _ACEOF
28277 rm -f conftest.$ac_objext
28278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28279 (eval $ac_compile) 2>conftest.er1
28280 ac_status=$?
28281 grep -v '^ *+' conftest.er1 >conftest.err
28282 rm -f conftest.er1
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } &&
28286 { ac_try='test -z "$ac_c_werror_flag"
28287 || test ! -s conftest.err'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28290 ac_status=$?
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; } &&
28293 { ac_try='test -s conftest.$ac_objext'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; }; then
28299 ac_lo=0 ac_mid=0
28300 while :; do
28301 cat >conftest.$ac_ext <<_ACEOF
28302 /* confdefs.h. */
28303 _ACEOF
28304 cat confdefs.h >>conftest.$ac_ext
28305 cat >>conftest.$ac_ext <<_ACEOF
28306 /* end confdefs.h. */
28307 $ac_includes_default
28308 int
28309 main ()
28310 {
28311 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28312 test_array [0] = 0
28313
28314 ;
28315 return 0;
28316 }
28317 _ACEOF
28318 rm -f conftest.$ac_objext
28319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28320 (eval $ac_compile) 2>conftest.er1
28321 ac_status=$?
28322 grep -v '^ *+' conftest.er1 >conftest.err
28323 rm -f conftest.er1
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } &&
28327 { ac_try='test -z "$ac_c_werror_flag"
28328 || test ! -s conftest.err'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28331 ac_status=$?
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; } &&
28334 { ac_try='test -s conftest.$ac_objext'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28337 ac_status=$?
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; }; then
28340 ac_hi=$ac_mid; break
28341 else
28342 echo "$as_me: failed program was:" >&5
28343 sed 's/^/| /' conftest.$ac_ext >&5
28344
28345 ac_lo=`expr $ac_mid + 1`
28346 if test $ac_lo -le $ac_mid; then
28347 ac_lo= ac_hi=
28348 break
28349 fi
28350 ac_mid=`expr 2 '*' $ac_mid + 1`
28351 fi
28352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28353 done
28354 else
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.$ac_ext >&5
28357
28358 cat >conftest.$ac_ext <<_ACEOF
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364 $ac_includes_default
28365 int
28366 main ()
28367 {
28368 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
28369 test_array [0] = 0
28370
28371 ;
28372 return 0;
28373 }
28374 _ACEOF
28375 rm -f conftest.$ac_objext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28377 (eval $ac_compile) 2>conftest.er1
28378 ac_status=$?
28379 grep -v '^ *+' conftest.er1 >conftest.err
28380 rm -f conftest.er1
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try='test -z "$ac_c_werror_flag"
28385 || test ! -s conftest.err'
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); }; } &&
28391 { ac_try='test -s conftest.$ac_objext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28394 ac_status=$?
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28397 ac_hi=-1 ac_mid=-1
28398 while :; do
28399 cat >conftest.$ac_ext <<_ACEOF
28400 /* confdefs.h. */
28401 _ACEOF
28402 cat confdefs.h >>conftest.$ac_ext
28403 cat >>conftest.$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28405 $ac_includes_default
28406 int
28407 main ()
28408 {
28409 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
28410 test_array [0] = 0
28411
28412 ;
28413 return 0;
28414 }
28415 _ACEOF
28416 rm -f conftest.$ac_objext
28417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28418 (eval $ac_compile) 2>conftest.er1
28419 ac_status=$?
28420 grep -v '^ *+' conftest.er1 >conftest.err
28421 rm -f conftest.er1
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try='test -z "$ac_c_werror_flag"
28426 || test ! -s conftest.err'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try='test -s conftest.$ac_objext'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28435 ac_status=$?
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28438 ac_lo=$ac_mid; break
28439 else
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.$ac_ext >&5
28442
28443 ac_hi=`expr '(' $ac_mid ')' - 1`
28444 if test $ac_mid -le $ac_hi; then
28445 ac_lo= ac_hi=
28446 break
28447 fi
28448 ac_mid=`expr 2 '*' $ac_mid`
28449 fi
28450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28451 done
28452 else
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.$ac_ext >&5
28455
28456 ac_lo= ac_hi=
28457 fi
28458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28459 fi
28460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28461 # Binary search between lo and hi bounds.
28462 while test "x$ac_lo" != "x$ac_hi"; do
28463 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470 $ac_includes_default
28471 int
28472 main ()
28473 {
28474 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
28475 test_array [0] = 0
28476
28477 ;
28478 return 0;
28479 }
28480 _ACEOF
28481 rm -f conftest.$ac_objext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28483 (eval $ac_compile) 2>conftest.er1
28484 ac_status=$?
28485 grep -v '^ *+' conftest.er1 >conftest.err
28486 rm -f conftest.er1
28487 cat conftest.err >&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try='test -z "$ac_c_werror_flag"
28491 || test ! -s conftest.err'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try='test -s conftest.$ac_objext'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28500 ac_status=$?
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503 ac_hi=$ac_mid
28504 else
28505 echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.$ac_ext >&5
28507
28508 ac_lo=`expr '(' $ac_mid ')' + 1`
28509 fi
28510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28511 done
28512 case $ac_lo in
28513 ?*) ac_cv_sizeof_long=$ac_lo;;
28514 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28517 See \`config.log' for more details." >&5
28518 echo "$as_me: error: cannot compute sizeof (long), 77
28519 See \`config.log' for more details." >&2;}
28520 { (exit 1); exit 1; }; }; } ;;
28521 esac
28522 else
28523 if test "$cross_compiling" = yes; then
28524 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28526 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28527 See \`config.log' for more details." >&5
28528 echo "$as_me: error: cannot run test program while cross compiling
28529 See \`config.log' for more details." >&2;}
28530 { (exit 1); exit 1; }; }; }
28531 else
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 $ac_includes_default
28539 long longval () { return (long) (sizeof (long)); }
28540 unsigned long ulongval () { return (long) (sizeof (long)); }
28541 #include <stdio.h>
28542 #include <stdlib.h>
28543 int
28544 main ()
28545 {
28546
28547 FILE *f = fopen ("conftest.val", "w");
28548 if (! f)
28549 exit (1);
28550 if (((long) (sizeof (long))) < 0)
28551 {
28552 long i = longval ();
28553 if (i != ((long) (sizeof (long))))
28554 exit (1);
28555 fprintf (f, "%ld\n", i);
28556 }
28557 else
28558 {
28559 unsigned long i = ulongval ();
28560 if (i != ((long) (sizeof (long))))
28561 exit (1);
28562 fprintf (f, "%lu\n", i);
28563 }
28564 exit (ferror (f) || fclose (f) != 0);
28565
28566 ;
28567 return 0;
28568 }
28569 _ACEOF
28570 rm -f conftest$ac_exeext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28572 (eval $ac_link) 2>&5
28573 ac_status=$?
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 (eval $ac_try) 2>&5
28578 ac_status=$?
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; }; then
28581 ac_cv_sizeof_long=`cat conftest.val`
28582 else
28583 echo "$as_me: program exited with status $ac_status" >&5
28584 echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.$ac_ext >&5
28586
28587 ( exit $ac_status )
28588 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28589 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
28591 See \`config.log' for more details." >&5
28592 echo "$as_me: error: cannot compute sizeof (long), 77
28593 See \`config.log' for more details." >&2;}
28594 { (exit 1); exit 1; }; }; }
28595 fi
28596 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28597 fi
28598 fi
28599 rm -f conftest.val
28600 else
28601 ac_cv_sizeof_long=0
28602 fi
28603 fi
28604 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
28605 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
28606 cat >>confdefs.h <<_ACEOF
28607 #define SIZEOF_LONG $ac_cv_sizeof_long
28608 _ACEOF
28609
28610
28611 echo "$as_me:$LINENO: checking for void*" >&5
28612 echo $ECHO_N "checking for void*... $ECHO_C" >&6
28613 if test "${ac_cv_type_voidp+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 else
28616 cat >conftest.$ac_ext <<_ACEOF
28617 /* confdefs.h. */
28618 _ACEOF
28619 cat confdefs.h >>conftest.$ac_ext
28620 cat >>conftest.$ac_ext <<_ACEOF
28621 /* end confdefs.h. */
28622 $ac_includes_default
28623 int
28624 main ()
28625 {
28626 if ((void* *) 0)
28627 return 0;
28628 if (sizeof (void*))
28629 return 0;
28630 ;
28631 return 0;
28632 }
28633 _ACEOF
28634 rm -f conftest.$ac_objext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28636 (eval $ac_compile) 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try='test -z "$ac_c_werror_flag"
28644 || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try='test -s conftest.$ac_objext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 ac_cv_type_voidp=yes
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 ac_cv_type_voidp=no
28662 fi
28663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28664 fi
28665 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
28666 echo "${ECHO_T}$ac_cv_type_voidp" >&6
28667
28668 echo "$as_me:$LINENO: checking size of void*" >&5
28669 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
28670 if test "${ac_cv_sizeof_voidp+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673 if test "$ac_cv_type_voidp" = yes; then
28674 # The cast to unsigned long works around a bug in the HP C Compiler
28675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28677 # This bug is HP SR number 8606223364.
28678 if test "$cross_compiling" = yes; then
28679 # Depending upon the size, compute the lo and hi bounds.
28680 cat >conftest.$ac_ext <<_ACEOF
28681 /* confdefs.h. */
28682 _ACEOF
28683 cat confdefs.h >>conftest.$ac_ext
28684 cat >>conftest.$ac_ext <<_ACEOF
28685 /* end confdefs.h. */
28686 $ac_includes_default
28687 int
28688 main ()
28689 {
28690 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
28691 test_array [0] = 0
28692
28693 ;
28694 return 0;
28695 }
28696 _ACEOF
28697 rm -f conftest.$ac_objext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28699 (eval $ac_compile) 2>conftest.er1
28700 ac_status=$?
28701 grep -v '^ *+' conftest.er1 >conftest.err
28702 rm -f conftest.er1
28703 cat conftest.err >&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try='test -z "$ac_c_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28710 ac_status=$?
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try='test -s conftest.$ac_objext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28716 ac_status=$?
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28719 ac_lo=0 ac_mid=0
28720 while :; do
28721 cat >conftest.$ac_ext <<_ACEOF
28722 /* confdefs.h. */
28723 _ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 $ac_includes_default
28728 int
28729 main ()
28730 {
28731 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28732 test_array [0] = 0
28733
28734 ;
28735 return 0;
28736 }
28737 _ACEOF
28738 rm -f conftest.$ac_objext
28739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28740 (eval $ac_compile) 2>conftest.er1
28741 ac_status=$?
28742 grep -v '^ *+' conftest.er1 >conftest.err
28743 rm -f conftest.er1
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } &&
28747 { ac_try='test -z "$ac_c_werror_flag"
28748 || test ! -s conftest.err'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28751 ac_status=$?
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try='test -s conftest.$ac_objext'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 ac_hi=$ac_mid; break
28761 else
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28764
28765 ac_lo=`expr $ac_mid + 1`
28766 if test $ac_lo -le $ac_mid; then
28767 ac_lo= ac_hi=
28768 break
28769 fi
28770 ac_mid=`expr 2 '*' $ac_mid + 1`
28771 fi
28772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28773 done
28774 else
28775 echo "$as_me: failed program was:" >&5
28776 sed 's/^/| /' conftest.$ac_ext >&5
28777
28778 cat >conftest.$ac_ext <<_ACEOF
28779 /* confdefs.h. */
28780 _ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28784 $ac_includes_default
28785 int
28786 main ()
28787 {
28788 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
28789 test_array [0] = 0
28790
28791 ;
28792 return 0;
28793 }
28794 _ACEOF
28795 rm -f conftest.$ac_objext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28797 (eval $ac_compile) 2>conftest.er1
28798 ac_status=$?
28799 grep -v '^ *+' conftest.er1 >conftest.err
28800 rm -f conftest.er1
28801 cat conftest.err >&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } &&
28804 { ac_try='test -z "$ac_c_werror_flag"
28805 || test ! -s conftest.err'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28808 ac_status=$?
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; } &&
28811 { ac_try='test -s conftest.$ac_objext'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28814 ac_status=$?
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; }; then
28817 ac_hi=-1 ac_mid=-1
28818 while :; do
28819 cat >conftest.$ac_ext <<_ACEOF
28820 /* confdefs.h. */
28821 _ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 $ac_includes_default
28826 int
28827 main ()
28828 {
28829 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
28830 test_array [0] = 0
28831
28832 ;
28833 return 0;
28834 }
28835 _ACEOF
28836 rm -f conftest.$ac_objext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28838 (eval $ac_compile) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28858 ac_lo=$ac_mid; break
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 ac_hi=`expr '(' $ac_mid ')' - 1`
28864 if test $ac_mid -le $ac_hi; then
28865 ac_lo= ac_hi=
28866 break
28867 fi
28868 ac_mid=`expr 2 '*' $ac_mid`
28869 fi
28870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871 done
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 ac_lo= ac_hi=
28877 fi
28878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28879 fi
28880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28881 # Binary search between lo and hi bounds.
28882 while test "x$ac_lo" != "x$ac_hi"; do
28883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28884 cat >conftest.$ac_ext <<_ACEOF
28885 /* confdefs.h. */
28886 _ACEOF
28887 cat confdefs.h >>conftest.$ac_ext
28888 cat >>conftest.$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28890 $ac_includes_default
28891 int
28892 main ()
28893 {
28894 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
28895 test_array [0] = 0
28896
28897 ;
28898 return 0;
28899 }
28900 _ACEOF
28901 rm -f conftest.$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 (eval $ac_compile) 2>conftest.er1
28904 ac_status=$?
28905 grep -v '^ *+' conftest.er1 >conftest.err
28906 rm -f conftest.er1
28907 cat conftest.err >&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try='test -z "$ac_c_werror_flag"
28911 || test ! -s conftest.err'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; } &&
28917 { ac_try='test -s conftest.$ac_objext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_hi=$ac_mid
28924 else
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28927
28928 ac_lo=`expr '(' $ac_mid ')' + 1`
28929 fi
28930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28931 done
28932 case $ac_lo in
28933 ?*) ac_cv_sizeof_voidp=$ac_lo;;
28934 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28935 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28936 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
28937 See \`config.log' for more details." >&5
28938 echo "$as_me: error: cannot compute sizeof (void*), 77
28939 See \`config.log' for more details." >&2;}
28940 { (exit 1); exit 1; }; }; } ;;
28941 esac
28942 else
28943 if test "$cross_compiling" = yes; then
28944 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28945 echo "$as_me: error: in \`$ac_pwd':" >&2;}
28946 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28947 See \`config.log' for more details." >&5
28948 echo "$as_me: error: cannot run test program while cross compiling
28949 See \`config.log' for more details." >&2;}
28950 { (exit 1); exit 1; }; }; }
28951 else
28952 cat >conftest.$ac_ext <<_ACEOF
28953 /* confdefs.h. */
28954 _ACEOF
28955 cat confdefs.h >>conftest.$ac_ext
28956 cat >>conftest.$ac_ext <<_ACEOF
28957 /* end confdefs.h. */
28958 $ac_includes_default
28959 long longval () { return (long) (sizeof (void*)); }
28960 unsigned long ulongval () { return (long) (sizeof (void*)); }
28961 #include <stdio.h>
28962 #include <stdlib.h>
28963 int
28964 main ()
28965 {
28966
28967 FILE *f = fopen ("conftest.val", "w");
28968 if (! f)
28969 exit (1);
28970 if (((long) (sizeof (void*))) < 0)
28971 {
28972 long i = longval ();
28973 if (i != ((long) (sizeof (void*))))
28974 exit (1);
28975 fprintf (f, "%ld\n", i);
28976 }
28977 else
28978 {
28979 unsigned long i = ulongval ();
28980 if (i != ((long) (sizeof (void*))))
28981 exit (1);
28982 fprintf (f, "%lu\n", i);
28983 }
28984 exit (ferror (f) || fclose (f) != 0);
28985
28986 ;
28987 return 0;
28988 }
28989 _ACEOF
28990 rm -f conftest$ac_exeext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992 (eval $ac_link) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28998 ac_status=$?
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_sizeof_voidp=`cat conftest.val`
29002 else
29003 echo "$as_me: program exited with status $ac_status" >&5
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29006
29007 ( exit $ac_status )
29008 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29009 echo "$as_me: error: in \`$ac_pwd':" >&2;}
29010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
29011 See \`config.log' for more details." >&5
29012 echo "$as_me: error: cannot compute sizeof (void*), 77
29013 See \`config.log' for more details." >&2;}
29014 { (exit 1); exit 1; }; }; }
29015 fi
29016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29017 fi
29018 fi
29019 rm -f conftest.val
29020 else
29021 ac_cv_sizeof_voidp=0
29022 fi
29023 fi
29024 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
29025 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
29026 cat >>confdefs.h <<_ACEOF
29027 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
29028 _ACEOF
29029
29030
29031 ac_cv_char_data_model=""
29032 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
29033 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
29034 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
29035 ac_cv_long_data_model=""
29036 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
29037 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
29038 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
29039 echo "$as_me:$LINENO: checking data model" >&5
29040 echo $ECHO_N "checking data model... $ECHO_C" >&6
29041 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
29042 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
29043 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
29044 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
29045 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
29046 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
29047 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
29048 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
29049 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
29050 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
29051 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
29052 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
29053 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
29054 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
29055 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
29056 222/*|333/*|444/*|666/*|888/*) :
29057 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
29058 *) ac_cv_data_model="none" ; n="very unusual model" ;;
29059 esac
29060 echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
29061 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6
29062
29063 fi
29064
29065 if test "_$ac_cv_header_stdint_x" != "_" ; then
29066 ac_cv_header_stdint="$ac_cv_header_stdint_x"
29067 elif test "_$ac_cv_header_stdint_o" != "_" ; then
29068 ac_cv_header_stdint="$ac_cv_header_stdint_o"
29069 elif test "_$ac_cv_header_stdint_u" != "_" ; then
29070 ac_cv_header_stdint="$ac_cv_header_stdint_u"
29071 else
29072 ac_cv_header_stdint="stddef.h"
29073 fi
29074
29075 echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
29076 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6
29077 echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
29078 echo "${ECHO_T}($ac_cv_header_stdint)" >&6
29079 unset ac_cv_type_int_least32_t
29080 unset ac_cv_type_int_fast32_t
29081 echo "$as_me:$LINENO: checking for int_least32_t" >&5
29082 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
29083 if test "${ac_cv_type_int_least32_t+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 cat >conftest.$ac_ext <<_ACEOF
29087 /* confdefs.h. */
29088 _ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092 #include <$ac_cv_header_stdint>
29093
29094 int
29095 main ()
29096 {
29097 if ((int_least32_t *) 0)
29098 return 0;
29099 if (sizeof (int_least32_t))
29100 return 0;
29101 ;
29102 return 0;
29103 }
29104 _ACEOF
29105 rm -f conftest.$ac_objext
29106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29107 (eval $ac_compile) 2>conftest.er1
29108 ac_status=$?
29109 grep -v '^ *+' conftest.er1 >conftest.err
29110 rm -f conftest.er1
29111 cat conftest.err >&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); } &&
29114 { ac_try='test -z "$ac_c_werror_flag"
29115 || test ! -s conftest.err'
29116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29117 (eval $ac_try) 2>&5
29118 ac_status=$?
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); }; } &&
29121 { ac_try='test -s conftest.$ac_objext'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29124 ac_status=$?
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; }; then
29127 ac_cv_type_int_least32_t=yes
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 ac_cv_type_int_least32_t=no
29133 fi
29134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29135 fi
29136 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
29137 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
29138
29139 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
29140 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
29141 if test "${ac_cv_type_int_fast32_t+set}" = set; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 else
29144 cat >conftest.$ac_ext <<_ACEOF
29145 /* confdefs.h. */
29146 _ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29150 #include<$ac_cv_header_stdint>
29151
29152 int
29153 main ()
29154 {
29155 if ((int_fast32_t *) 0)
29156 return 0;
29157 if (sizeof (int_fast32_t))
29158 return 0;
29159 ;
29160 return 0;
29161 }
29162 _ACEOF
29163 rm -f conftest.$ac_objext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29165 (eval $ac_compile) 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } &&
29172 { ac_try='test -z "$ac_c_werror_flag"
29173 || test ! -s conftest.err'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29176 ac_status=$?
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; } &&
29179 { ac_try='test -s conftest.$ac_objext'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29182 ac_status=$?
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 ac_cv_type_int_fast32_t=yes
29186 else
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29189
29190 ac_cv_type_int_fast32_t=no
29191 fi
29192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29193 fi
29194 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
29195 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
29196
29197 echo "$as_me:$LINENO: checking for intmax_t" >&5
29198 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
29199 if test "${ac_cv_type_intmax_t+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 else
29202 cat >conftest.$ac_ext <<_ACEOF
29203 /* confdefs.h. */
29204 _ACEOF
29205 cat confdefs.h >>conftest.$ac_ext
29206 cat >>conftest.$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208 #include <$ac_cv_header_stdint>
29209
29210 int
29211 main ()
29212 {
29213 if ((intmax_t *) 0)
29214 return 0;
29215 if (sizeof (intmax_t))
29216 return 0;
29217 ;
29218 return 0;
29219 }
29220 _ACEOF
29221 rm -f conftest.$ac_objext
29222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29223 (eval $ac_compile) 2>conftest.er1
29224 ac_status=$?
29225 grep -v '^ *+' conftest.er1 >conftest.err
29226 rm -f conftest.er1
29227 cat conftest.err >&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try='test -z "$ac_c_werror_flag"
29231 || test ! -s conftest.err'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29234 ac_status=$?
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; } &&
29237 { ac_try='test -s conftest.$ac_objext'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; }; then
29243 ac_cv_type_intmax_t=yes
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 ac_cv_type_intmax_t=no
29249 fi
29250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29251 fi
29252 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
29253 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
29254
29255
29256 fi # shortcircut to system "stdint.h"
29257 # ------------------ PREPARE VARIABLES ------------------------------
29258 if test "$GCC" = "yes" ; then
29259 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
29260 else
29261 ac_cv_stdint_message="using $CC"
29262 fi
29263
29264 echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
29265 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6
29266
29267 # ----------------- DONE inttypes.h checks START header -------------
29268 ac_config_commands="$ac_config_commands $ac_stdint_h"
29269
29270
29271
29272
29273 # Check whether --with-glibj_zip or --without-glibj_zip was given.
29274 if test "${with_glibj_zip+set}" = set; then
29275 withval="$with_glibj_zip"
29276
29277 fi;
29278
29279 case "$with_glibj_zip" in
29280 "")
29281 use_glibj_zip=false
29282 ;;
29283 "no" )
29284 use_glibj_zip=false
29285 ;;
29286 "yes")
29287 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
29288 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
29289 { (exit 1); exit 1; }; }
29290 ;;
29291 *)
29292 use_glibj_zip=true
29293 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
29294 ;;
29295 esac;
29296
29297
29298
29299 if test x$use_glibj_zip = xtrue; then
29300 USE_PREBUILT_GLIBJ_ZIP_TRUE=
29301 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
29302 else
29303 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
29304 USE_PREBUILT_GLIBJ_ZIP_FALSE=
29305 fi
29306
29307
29308
29309
29310 # Check whether --with-escher or --without-escher was given.
29311 if test "${with_escher+set}" = set; then
29312 withval="$with_escher"
29313
29314 fi;
29315 case "$with_escher" in
29316 "")
29317 use_escher=false
29318 ;;
29319 "no")
29320 use_escher=false
29321 ;;
29322 "yes")
29323 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
29324 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
29325 { (exit 1); exit 1; }; }
29326 ;;
29327 *)
29328 use_escher=true
29329 PATH_TO_ESCHER=$with_escher
29330 ;;
29331 esac
29332
29333
29334
29335 if test x$use_escher = xtrue; then
29336 USE_ESCHER_TRUE=
29337 USE_ESCHER_FALSE='#'
29338 else
29339 USE_ESCHER_TRUE='#'
29340 USE_ESCHER_FALSE=
29341 fi
29342
29343
29344
29345 # Check whether --enable-local-sockets or --disable-local-sockets was given.
29346 if test "${enable_local_sockets+set}" = set; then
29347 enableval="$enable_local_sockets"
29348 case "${enableval}" in
29349 yes)
29350 ENABLE_LOCAL_SOCKETS=yes
29351 ;;
29352 *)
29353 ENABLE_LOCAL_SOCKETS=no
29354 ;;
29355 esac
29356 fi;
29357 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
29358 then
29359 if test "${ac_cv_header_sys_un_h+set}" = set; then
29360 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29361 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29362 if test "${ac_cv_header_sys_un_h+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29364 fi
29365 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29366 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29367 else
29368 # Is the header compilable?
29369 echo "$as_me:$LINENO: checking sys/un.h usability" >&5
29370 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6
29371 cat >conftest.$ac_ext <<_ACEOF
29372 /* confdefs.h. */
29373 _ACEOF
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29377 $ac_includes_default
29378 #include <sys/un.h>
29379 _ACEOF
29380 rm -f conftest.$ac_objext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29382 (eval $ac_compile) 2>conftest.er1
29383 ac_status=$?
29384 grep -v '^ *+' conftest.er1 >conftest.err
29385 rm -f conftest.er1
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } &&
29389 { ac_try='test -z "$ac_c_werror_flag"
29390 || test ! -s conftest.err'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29393 ac_status=$?
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; } &&
29396 { ac_try='test -s conftest.$ac_objext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29399 ac_status=$?
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 ac_header_compiler=yes
29403 else
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29406
29407 ac_header_compiler=no
29408 fi
29409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29411 echo "${ECHO_T}$ac_header_compiler" >&6
29412
29413 # Is the header present?
29414 echo "$as_me:$LINENO: checking sys/un.h presence" >&5
29415 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6
29416 cat >conftest.$ac_ext <<_ACEOF
29417 /* confdefs.h. */
29418 _ACEOF
29419 cat confdefs.h >>conftest.$ac_ext
29420 cat >>conftest.$ac_ext <<_ACEOF
29421 /* end confdefs.h. */
29422 #include <sys/un.h>
29423 _ACEOF
29424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29426 ac_status=$?
29427 grep -v '^ *+' conftest.er1 >conftest.err
29428 rm -f conftest.er1
29429 cat conftest.err >&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } >/dev/null; then
29432 if test -s conftest.err; then
29433 ac_cpp_err=$ac_c_preproc_warn_flag
29434 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29435 else
29436 ac_cpp_err=
29437 fi
29438 else
29439 ac_cpp_err=yes
29440 fi
29441 if test -z "$ac_cpp_err"; then
29442 ac_header_preproc=yes
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29446
29447 ac_header_preproc=no
29448 fi
29449 rm -f conftest.err conftest.$ac_ext
29450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29451 echo "${ECHO_T}$ac_header_preproc" >&6
29452
29453 # So? What about this header?
29454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29455 yes:no: )
29456 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
29457 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29458 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
29459 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
29460 ac_header_preproc=yes
29461 ;;
29462 no:yes:* )
29463 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
29464 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
29465 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
29466 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
29467 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
29468 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
29469 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
29470 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
29471 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
29472 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
29473 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
29474 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
29475 (
29476 cat <<\_ASBOX
29477 ## -------------------------------- ##
29478 ## Report this to classpath@gnu.org ##
29479 ## -------------------------------- ##
29480 _ASBOX
29481 ) |
29482 sed "s/^/$as_me: WARNING: /" >&2
29483 ;;
29484 esac
29485 echo "$as_me:$LINENO: checking for sys/un.h" >&5
29486 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6
29487 if test "${ac_cv_header_sys_un_h+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 else
29490 ac_cv_header_sys_un_h=$ac_header_preproc
29491 fi
29492 echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
29493 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6
29494
29495 fi
29496
29497
29498
29499
29500
29501
29502
29503
29504 for ac_func in read write bind listen accept shutdown
29505 do
29506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29507 echo "$as_me:$LINENO: checking for $ac_func" >&5
29508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29509 if eval "test \"\${$as_ac_var+set}\" = set"; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29512 if test x$gcc_no_link = xyes; then
29513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29515 { (exit 1); exit 1; }; }
29516 fi
29517 cat >conftest.$ac_ext <<_ACEOF
29518 /* confdefs.h. */
29519 _ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29525 #define $ac_func innocuous_$ac_func
29526
29527 /* System header to define __stub macros and hopefully few prototypes,
29528 which can conflict with char $ac_func (); below.
29529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29530 <limits.h> exists even on freestanding compilers. */
29531
29532 #ifdef __STDC__
29533 # include <limits.h>
29534 #else
29535 # include <assert.h>
29536 #endif
29537
29538 #undef $ac_func
29539
29540 /* Override any gcc2 internal prototype to avoid an error. */
29541 #ifdef __cplusplus
29542 extern "C"
29543 {
29544 #endif
29545 /* We use char because int might match the return type of a gcc2
29546 builtin and then its argument prototype would still apply. */
29547 char $ac_func ();
29548 /* The GNU C library defines this for functions which it implements
29549 to always fail with ENOSYS. Some functions are actually named
29550 something starting with __ and the normal name is an alias. */
29551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29552 choke me
29553 #else
29554 char (*f) () = $ac_func;
29555 #endif
29556 #ifdef __cplusplus
29557 }
29558 #endif
29559
29560 int
29561 main ()
29562 {
29563 return f != $ac_func;
29564 ;
29565 return 0;
29566 }
29567 _ACEOF
29568 rm -f conftest.$ac_objext conftest$ac_exeext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29570 (eval $ac_link) 2>conftest.er1
29571 ac_status=$?
29572 grep -v '^ *+' conftest.er1 >conftest.err
29573 rm -f conftest.er1
29574 cat conftest.err >&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try='test -z "$ac_c_werror_flag"
29578 || test ! -s conftest.err'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29581 ac_status=$?
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; } &&
29584 { ac_try='test -s conftest$ac_exeext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 eval "$as_ac_var=yes"
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 eval "$as_ac_var=no"
29596 fi
29597 rm -f conftest.err conftest.$ac_objext \
29598 conftest$ac_exeext conftest.$ac_ext
29599 fi
29600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29602 if test `eval echo '${'$as_ac_var'}'` = yes; then
29603 cat >>confdefs.h <<_ACEOF
29604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29605 _ACEOF
29606
29607 else
29608 { { echo "$as_me:$LINENO: error: networking support not available" >&5
29609 echo "$as_me: error: networking support not available" >&2;}
29610 { (exit 1); exit 1; }; }
29611 fi
29612 done
29613
29614
29615 cat >>confdefs.h <<\_ACEOF
29616 #define ENABLE_LOCAL_SOCKETS 1
29617 _ACEOF
29618
29619 fi
29620
29621
29622 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
29623 ENABLE_LOCAL_SOCKETS_TRUE=
29624 ENABLE_LOCAL_SOCKETS_FALSE='#'
29625 else
29626 ENABLE_LOCAL_SOCKETS_TRUE='#'
29627 ENABLE_LOCAL_SOCKETS_FALSE=
29628 fi
29629
29630
29631
29632
29633 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/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
29634
29635
29636 if test "x${COMPILE_WRAPPERS}" = xno
29637 then
29638 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"
29639
29640 ac_config_commands="$ac_config_commands gappletviewer"
29641
29642 ac_config_commands="$ac_config_commands gjarsigner"
29643
29644 ac_config_commands="$ac_config_commands gkeytool"
29645
29646 ac_config_commands="$ac_config_commands gjar"
29647
29648 ac_config_commands="$ac_config_commands gnative2ascii"
29649
29650 ac_config_commands="$ac_config_commands gserialver"
29651
29652 ac_config_commands="$ac_config_commands grmiregistry"
29653
29654 ac_config_commands="$ac_config_commands gtnameserv"
29655
29656 ac_config_commands="$ac_config_commands gorbd"
29657
29658 ac_config_commands="$ac_config_commands grmid"
29659
29660 ac_config_commands="$ac_config_commands grmic"
29661
29662 ac_config_commands="$ac_config_commands gjavah"
29663
29664 fi
29665
29666 ac_config_commands="$ac_config_commands gen-classlist"
29667
29668 ac_config_commands="$ac_config_commands copy-vmresources"
29669
29670 cat >confcache <<\_ACEOF
29671 # This file is a shell script that caches the results of configure
29672 # tests run on this system so they can be shared between configure
29673 # scripts and configure runs, see configure's option --config-cache.
29674 # It is not useful on other systems. If it contains results you don't
29675 # want to keep, you may remove or edit it.
29676 #
29677 # config.status only pays attention to the cache file if you give it
29678 # the --recheck option to rerun configure.
29679 #
29680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29682 # following values.
29683
29684 _ACEOF
29685
29686 # The following way of writing the cache mishandles newlines in values,
29687 # but we know of no workaround that is simple, portable, and efficient.
29688 # So, don't put newlines in cache variables' values.
29689 # Ultrix sh set writes to stderr and can't be redirected directly,
29690 # and sets the high bit in the cache file unless we assign to the vars.
29691 {
29692 (set) 2>&1 |
29693 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29694 *ac_space=\ *)
29695 # `set' does not quote correctly, so add quotes (double-quote
29696 # substitution turns \\\\ into \\, and sed turns \\ into \).
29697 sed -n \
29698 "s/'/'\\\\''/g;
29699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29700 ;;
29701 *)
29702 # `set' quotes correctly as required by POSIX, so do not add quotes.
29703 sed -n \
29704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29705 ;;
29706 esac;
29707 } |
29708 sed '
29709 t clear
29710 : clear
29711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29712 t end
29713 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29714 : end' >>confcache
29715 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29716 if test -w $cache_file; then
29717 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29718 cat confcache >$cache_file
29719 else
29720 echo "not updating unwritable cache $cache_file"
29721 fi
29722 fi
29723 rm -f confcache
29724
29725 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29726 # Let make expand exec_prefix.
29727 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29728
29729 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29730 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29731 # trailing colons and then remove the whole line if VPATH becomes empty
29732 # (actually we leave an empty line to preserve line numbers).
29733 if test "x$srcdir" = x.; then
29734 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29735 s/:*\$(srcdir):*/:/;
29736 s/:*\${srcdir}:*/:/;
29737 s/:*@srcdir@:*/:/;
29738 s/^\([^=]*=[ ]*\):*/\1/;
29739 s/:*$//;
29740 s/^[^=]*=[ ]*$//;
29741 }'
29742 fi
29743
29744 DEFS=-DHAVE_CONFIG_H
29745
29746 ac_libobjs=
29747 ac_ltlibobjs=
29748 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29749 # 1. Remove the extension, and $U if already installed.
29750 ac_i=`echo "$ac_i" |
29751 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29752 # 2. Add them.
29753 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29754 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29755 done
29756 LIBOBJS=$ac_libobjs
29757
29758 LTLIBOBJS=$ac_ltlibobjs
29759
29760
29761 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
29762 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29763 Usually this means the macro was only invoked conditionally." >&5
29764 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
29765 Usually this means the macro was only invoked conditionally." >&2;}
29766 { (exit 1); exit 1; }; }
29767 fi
29768 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
29769 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
29770 Usually this means the macro was only invoked conditionally." >&5
29771 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
29772 Usually this means the macro was only invoked conditionally." >&2;}
29773 { (exit 1); exit 1; }; }
29774 fi
29775 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
29776 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29777 Usually this means the macro was only invoked conditionally." >&5
29778 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
29779 Usually this means the macro was only invoked conditionally." >&2;}
29780 { (exit 1); exit 1; }; }
29781 fi
29782 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
29783 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29784 Usually this means the macro was only invoked conditionally." >&5
29785 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
29786 Usually this means the macro was only invoked conditionally." >&2;}
29787 { (exit 1); exit 1; }; }
29788 fi
29789 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
29790 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29791 Usually this means the macro was only invoked conditionally." >&5
29792 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
29793 Usually this means the macro was only invoked conditionally." >&2;}
29794 { (exit 1); exit 1; }; }
29795 fi
29796 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
29797 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29798 Usually this means the macro was only invoked conditionally." >&5
29799 echo "$as_me: error: conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
29800 Usually this means the macro was only invoked conditionally." >&2;}
29801 { (exit 1); exit 1; }; }
29802 fi
29803 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
29804 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29805 Usually this means the macro was only invoked conditionally." >&5
29806 echo "$as_me: error: conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
29807 Usually this means the macro was only invoked conditionally." >&2;}
29808 { (exit 1); exit 1; }; }
29809 fi
29810 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
29811 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29812 Usually this means the macro was only invoked conditionally." >&5
29813 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
29814 Usually this means the macro was only invoked conditionally." >&2;}
29815 { (exit 1); exit 1; }; }
29816 fi
29817 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29818 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29819 Usually this means the macro was only invoked conditionally." >&5
29820 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29821 Usually this means the macro was only invoked conditionally." >&2;}
29822 { (exit 1); exit 1; }; }
29823 fi
29824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29825 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29826 Usually this means the macro was only invoked conditionally." >&5
29827 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29828 Usually this means the macro was only invoked conditionally." >&2;}
29829 { (exit 1); exit 1; }; }
29830 fi
29831 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
29832 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29833 Usually this means the macro was only invoked conditionally." >&5
29834 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
29835 Usually this means the macro was only invoked conditionally." >&2;}
29836 { (exit 1); exit 1; }; }
29837 fi
29838 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
29839 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29840 Usually this means the macro was only invoked conditionally." >&5
29841 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
29842 Usually this means the macro was only invoked conditionally." >&2;}
29843 { (exit 1); exit 1; }; }
29844 fi
29845 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
29846 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29847 Usually this means the macro was only invoked conditionally." >&5
29848 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
29849 Usually this means the macro was only invoked conditionally." >&2;}
29850 { (exit 1); exit 1; }; }
29851 fi
29852 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
29853 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29854 Usually this means the macro was only invoked conditionally." >&5
29855 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
29856 Usually this means the macro was only invoked conditionally." >&2;}
29857 { (exit 1); exit 1; }; }
29858 fi
29859 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
29860 { { echo "$as_me:$LINENO: error: conditional \"CREATE_PLUGIN\" was never defined.
29861 Usually this means the macro was only invoked conditionally." >&5
29862 echo "$as_me: error: conditional \"CREATE_PLUGIN\" was never defined.
29863 Usually this means the macro was only invoked conditionally." >&2;}
29864 { (exit 1); exit 1; }; }
29865 fi
29866 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
29867 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29868 Usually this means the macro was only invoked conditionally." >&5
29869 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
29870 Usually this means the macro was only invoked conditionally." >&2;}
29871 { (exit 1); exit 1; }; }
29872 fi
29873 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
29874 { { echo "$as_me:$LINENO: error: conditional \"CREATE_WRAPPERS\" was never defined.
29875 Usually this means the macro was only invoked conditionally." >&5
29876 echo "$as_me: error: conditional \"CREATE_WRAPPERS\" was never defined.
29877 Usually this means the macro was only invoked conditionally." >&2;}
29878 { (exit 1); exit 1; }; }
29879 fi
29880 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29881 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29882 Usually this means the macro was only invoked conditionally." >&5
29883 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29884 Usually this means the macro was only invoked conditionally." >&2;}
29885 { (exit 1); exit 1; }; }
29886 fi
29887 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29888 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29889 Usually this means the macro was only invoked conditionally." >&5
29890 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29891 Usually this means the macro was only invoked conditionally." >&2;}
29892 { (exit 1); exit 1; }; }
29893 fi
29894 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29895 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29896 Usually this means the macro was only invoked conditionally." >&5
29897 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29898 Usually this means the macro was only invoked conditionally." >&2;}
29899 { (exit 1); exit 1; }; }
29900 fi
29901 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29902 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29903 Usually this means the macro was only invoked conditionally." >&5
29904 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29905 Usually this means the macro was only invoked conditionally." >&2;}
29906 { (exit 1); exit 1; }; }
29907 fi
29908 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29909 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29910 Usually this means the macro was only invoked conditionally." >&5
29911 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29912 Usually this means the macro was only invoked conditionally." >&2;}
29913 { (exit 1); exit 1; }; }
29914 fi
29915 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29916 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29917 Usually this means the macro was only invoked conditionally." >&5
29918 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29919 Usually this means the macro was only invoked conditionally." >&2;}
29920 { (exit 1); exit 1; }; }
29921 fi
29922 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29923 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29924 Usually this means the macro was only invoked conditionally." >&5
29925 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29926 Usually this means the macro was only invoked conditionally." >&2;}
29927 { (exit 1); exit 1; }; }
29928 fi
29929 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
29930 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
29931 Usually this means the macro was only invoked conditionally." >&5
29932 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
29933 Usually this means the macro was only invoked conditionally." >&2;}
29934 { (exit 1); exit 1; }; }
29935 fi
29936 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
29937 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
29938 Usually this means the macro was only invoked conditionally." >&5
29939 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
29940 Usually this means the macro was only invoked conditionally." >&2;}
29941 { (exit 1); exit 1; }; }
29942 fi
29943 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
29944 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
29945 Usually this means the macro was only invoked conditionally." >&5
29946 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
29947 Usually this means the macro was only invoked conditionally." >&2;}
29948 { (exit 1); exit 1; }; }
29949 fi
29950 if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then
29951 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined.
29952 Usually this means the macro was only invoked conditionally." >&5
29953 echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined.
29954 Usually this means the macro was only invoked conditionally." >&2;}
29955 { (exit 1); exit 1; }; }
29956 fi
29957 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
29958 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
29959 Usually this means the macro was only invoked conditionally." >&5
29960 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
29961 Usually this means the macro was only invoked conditionally." >&2;}
29962 { (exit 1); exit 1; }; }
29963 fi
29964 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
29965 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29966 Usually this means the macro was only invoked conditionally." >&5
29967 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
29968 Usually this means the macro was only invoked conditionally." >&2;}
29969 { (exit 1); exit 1; }; }
29970 fi
29971 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29972 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29973 Usually this means the macro was only invoked conditionally." >&5
29974 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29975 Usually this means the macro was only invoked conditionally." >&2;}
29976 { (exit 1); exit 1; }; }
29977 fi
29978 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
29979 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29980 Usually this means the macro was only invoked conditionally." >&5
29981 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
29982 Usually this means the macro was only invoked conditionally." >&2;}
29983 { (exit 1); exit 1; }; }
29984 fi
29985 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
29986 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29987 Usually this means the macro was only invoked conditionally." >&5
29988 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
29989 Usually this means the macro was only invoked conditionally." >&2;}
29990 { (exit 1); exit 1; }; }
29991 fi
29992 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
29993 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29994 Usually this means the macro was only invoked conditionally." >&5
29995 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
29996 Usually this means the macro was only invoked conditionally." >&2;}
29997 { (exit 1); exit 1; }; }
29998 fi
29999 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
30000 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
30001 Usually this means the macro was only invoked conditionally." >&5
30002 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
30003 Usually this means the macro was only invoked conditionally." >&2;}
30004 { (exit 1); exit 1; }; }
30005 fi
30006 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
30007 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
30008 Usually this means the macro was only invoked conditionally." >&5
30009 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
30010 Usually this means the macro was only invoked conditionally." >&2;}
30011 { (exit 1); exit 1; }; }
30012 fi
30013 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
30014 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30015 Usually this means the macro was only invoked conditionally." >&5
30016 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
30017 Usually this means the macro was only invoked conditionally." >&2;}
30018 { (exit 1); exit 1; }; }
30019 fi
30020 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
30021 { { echo "$as_me:$LINENO: error: conditional \"USE_ESCHER\" was never defined.
30022 Usually this means the macro was only invoked conditionally." >&5
30023 echo "$as_me: error: conditional \"USE_ESCHER\" was never defined.
30024 Usually this means the macro was only invoked conditionally." >&2;}
30025 { (exit 1); exit 1; }; }
30026 fi
30027 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
30028 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30029 Usually this means the macro was only invoked conditionally." >&5
30030 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
30031 Usually this means the macro was only invoked conditionally." >&2;}
30032 { (exit 1); exit 1; }; }
30033 fi
30034
30035 : ${CONFIG_STATUS=./config.status}
30036 ac_clean_files_save=$ac_clean_files
30037 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
30038 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30039 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30040 cat >$CONFIG_STATUS <<_ACEOF
30041 #! $SHELL
30042 # Generated by $as_me.
30043 # Run this file to recreate the current configuration.
30044 # Compiler output produced by configure, useful for debugging
30045 # configure, is in config.log if it exists.
30046
30047 debug=false
30048 ac_cs_recheck=false
30049 ac_cs_silent=false
30050 SHELL=\${CONFIG_SHELL-$SHELL}
30051 _ACEOF
30052
30053 cat >>$CONFIG_STATUS <<\_ACEOF
30054 ## --------------------- ##
30055 ## M4sh Initialization. ##
30056 ## --------------------- ##
30057
30058 # Be Bourne compatible
30059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
30060 emulate sh
30061 NULLCMD=:
30062 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30063 # is contrary to our usage. Disable this feature.
30064 alias -g '${1+"$@"}'='"$@"'
30065 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30066 set -o posix
30067 fi
30068 DUALCASE=1; export DUALCASE # for MKS sh
30069
30070 # Support unset when possible.
30071 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
30072 as_unset=unset
30073 else
30074 as_unset=false
30075 fi
30076
30077
30078 # Work around bugs in pre-3.0 UWIN ksh.
30079 $as_unset ENV MAIL MAILPATH
30080 PS1='$ '
30081 PS2='> '
30082 PS4='+ '
30083
30084 # NLS nuisances.
30085 for as_var in \
30086 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30087 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30088 LC_TELEPHONE LC_TIME
30089 do
30090 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30091 eval $as_var=C; export $as_var
30092 else
30093 $as_unset $as_var
30094 fi
30095 done
30096
30097 # Required to use basename.
30098 if expr a : '\(a\)' >/dev/null 2>&1; then
30099 as_expr=expr
30100 else
30101 as_expr=false
30102 fi
30103
30104 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30105 as_basename=basename
30106 else
30107 as_basename=false
30108 fi
30109
30110
30111 # Name of the executable.
30112 as_me=`$as_basename "$0" ||
30113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30114 X"$0" : 'X\(//\)$' \| \
30115 X"$0" : 'X\(/\)$' \| \
30116 . : '\(.\)' 2>/dev/null ||
30117 echo X/"$0" |
30118 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30119 /^X\/\(\/\/\)$/{ s//\1/; q; }
30120 /^X\/\(\/\).*/{ s//\1/; q; }
30121 s/.*/./; q'`
30122
30123
30124 # PATH needs CR, and LINENO needs CR and PATH.
30125 # Avoid depending upon Character Ranges.
30126 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30127 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30128 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30129 as_cr_digits='0123456789'
30130 as_cr_alnum=$as_cr_Letters$as_cr_digits
30131
30132 # The user is always right.
30133 if test "${PATH_SEPARATOR+set}" != set; then
30134 echo "#! /bin/sh" >conf$$.sh
30135 echo "exit 0" >>conf$$.sh
30136 chmod +x conf$$.sh
30137 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30138 PATH_SEPARATOR=';'
30139 else
30140 PATH_SEPARATOR=:
30141 fi
30142 rm -f conf$$.sh
30143 fi
30144
30145
30146 as_lineno_1=$LINENO
30147 as_lineno_2=$LINENO
30148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30149 test "x$as_lineno_1" != "x$as_lineno_2" &&
30150 test "x$as_lineno_3" = "x$as_lineno_2" || {
30151 # Find who we are. Look in the path if we contain no path at all
30152 # relative or not.
30153 case $0 in
30154 *[\\/]* ) as_myself=$0 ;;
30155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30156 for as_dir in $PATH
30157 do
30158 IFS=$as_save_IFS
30159 test -z "$as_dir" && as_dir=.
30160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30161 done
30162
30163 ;;
30164 esac
30165 # We did not find ourselves, most probably we were run as `sh COMMAND'
30166 # in which case we are not to be found in the path.
30167 if test "x$as_myself" = x; then
30168 as_myself=$0
30169 fi
30170 if test ! -f "$as_myself"; then
30171 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30172 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30173 { (exit 1); exit 1; }; }
30174 fi
30175 case $CONFIG_SHELL in
30176 '')
30177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30178 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30179 do
30180 IFS=$as_save_IFS
30181 test -z "$as_dir" && as_dir=.
30182 for as_base in sh bash ksh sh5; do
30183 case $as_dir in
30184 /*)
30185 if ("$as_dir/$as_base" -c '
30186 as_lineno_1=$LINENO
30187 as_lineno_2=$LINENO
30188 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30189 test "x$as_lineno_1" != "x$as_lineno_2" &&
30190 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30191 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30192 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30193 CONFIG_SHELL=$as_dir/$as_base
30194 export CONFIG_SHELL
30195 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30196 fi;;
30197 esac
30198 done
30199 done
30200 ;;
30201 esac
30202
30203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30204 # uniformly replaced by the line number. The first 'sed' inserts a
30205 # line-number line before each line; the second 'sed' does the real
30206 # work. The second script uses 'N' to pair each line-number line
30207 # with the numbered line, and appends trailing '-' during
30208 # substitution so that $LINENO is not a special case at line end.
30209 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30210 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30211 sed '=' <$as_myself |
30212 sed '
30213 N
30214 s,$,-,
30215 : loop
30216 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30217 t loop
30218 s,-$,,
30219 s,^['$as_cr_digits']*\n,,
30220 ' >$as_me.lineno &&
30221 chmod +x $as_me.lineno ||
30222 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30223 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30224 { (exit 1); exit 1; }; }
30225
30226 # Don't try to exec as it changes $[0], causing all sort of problems
30227 # (the dirname of $[0] is not the place where we might find the
30228 # original and so on. Autoconf is especially sensible to this).
30229 . ./$as_me.lineno
30230 # Exit status is that of the last command.
30231 exit
30232 }
30233
30234
30235 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30236 *c*,-n*) ECHO_N= ECHO_C='
30237 ' ECHO_T=' ' ;;
30238 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
30239 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
30240 esac
30241
30242 if expr a : '\(a\)' >/dev/null 2>&1; then
30243 as_expr=expr
30244 else
30245 as_expr=false
30246 fi
30247
30248 rm -f conf$$ conf$$.exe conf$$.file
30249 echo >conf$$.file
30250 if ln -s conf$$.file conf$$ 2>/dev/null; then
30251 # We could just check for DJGPP; but this test a) works b) is more generic
30252 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30253 if test -f conf$$.exe; then
30254 # Don't use ln at all; we don't have any links
30255 as_ln_s='cp -p'
30256 else
30257 as_ln_s='ln -s'
30258 fi
30259 elif ln conf$$.file conf$$ 2>/dev/null; then
30260 as_ln_s=ln
30261 else
30262 as_ln_s='cp -p'
30263 fi
30264 rm -f conf$$ conf$$.exe conf$$.file
30265
30266 if mkdir -p . 2>/dev/null; then
30267 as_mkdir_p=:
30268 else
30269 test -d ./-p && rmdir ./-p
30270 as_mkdir_p=false
30271 fi
30272
30273 as_executable_p="test -f"
30274
30275 # Sed expression to map a string onto a valid CPP name.
30276 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30277
30278 # Sed expression to map a string onto a valid variable name.
30279 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30280
30281
30282 # IFS
30283 # We need space, tab and new line, in precisely that order.
30284 as_nl='
30285 '
30286 IFS=" $as_nl"
30287
30288 # CDPATH.
30289 $as_unset CDPATH
30290
30291 exec 6>&1
30292
30293 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30294 # report actual input values of CONFIG_FILES etc. instead of their
30295 # values after options handling. Logging --version etc. is OK.
30296 exec 5>>config.log
30297 {
30298 echo
30299 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30300 ## Running $as_me. ##
30301 _ASBOX
30302 } >&5
30303 cat >&5 <<_CSEOF
30304
30305 This file was extended by GNU Classpath $as_me 0.96-pre, which was
30306 generated by GNU Autoconf 2.59. Invocation command line was
30307
30308 CONFIG_FILES = $CONFIG_FILES
30309 CONFIG_HEADERS = $CONFIG_HEADERS
30310 CONFIG_LINKS = $CONFIG_LINKS
30311 CONFIG_COMMANDS = $CONFIG_COMMANDS
30312 $ $0 $@
30313
30314 _CSEOF
30315 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30316 echo >&5
30317 _ACEOF
30318
30319 # Files that config.status was made for.
30320 if test -n "$ac_config_files"; then
30321 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30322 fi
30323
30324 if test -n "$ac_config_headers"; then
30325 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30326 fi
30327
30328 if test -n "$ac_config_links"; then
30329 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30330 fi
30331
30332 if test -n "$ac_config_commands"; then
30333 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30334 fi
30335
30336 cat >>$CONFIG_STATUS <<\_ACEOF
30337
30338 ac_cs_usage="\
30339 \`$as_me' instantiates files from templates according to the
30340 current configuration.
30341
30342 Usage: $0 [OPTIONS] [FILE]...
30343
30344 -h, --help print this help, then exit
30345 -V, --version print version number, then exit
30346 -q, --quiet do not print progress messages
30347 -d, --debug don't remove temporary files
30348 --recheck update $as_me by reconfiguring in the same conditions
30349 --file=FILE[:TEMPLATE]
30350 instantiate the configuration file FILE
30351 --header=FILE[:TEMPLATE]
30352 instantiate the configuration header FILE
30353
30354 Configuration files:
30355 $config_files
30356
30357 Configuration headers:
30358 $config_headers
30359
30360 Configuration links:
30361 $config_links
30362
30363 Configuration commands:
30364 $config_commands
30365
30366 Report bugs to <bug-autoconf@gnu.org>."
30367 _ACEOF
30368
30369 cat >>$CONFIG_STATUS <<_ACEOF
30370 ac_cs_version="\\
30371 GNU Classpath config.status 0.96-pre
30372 configured by $0, generated by GNU Autoconf 2.59,
30373 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30374
30375 Copyright (C) 2003 Free Software Foundation, Inc.
30376 This config.status script is free software; the Free Software Foundation
30377 gives unlimited permission to copy, distribute and modify it."
30378 srcdir=$srcdir
30379 INSTALL="$INSTALL"
30380 _ACEOF
30381
30382 cat >>$CONFIG_STATUS <<\_ACEOF
30383 # If no file are specified by the user, then we need to provide default
30384 # value. By we need to know if files were specified by the user.
30385 ac_need_defaults=:
30386 while test $# != 0
30387 do
30388 case $1 in
30389 --*=*)
30390 ac_option=`expr "x$1" : 'x\([^=]*\)='`
30391 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30392 ac_shift=:
30393 ;;
30394 -*)
30395 ac_option=$1
30396 ac_optarg=$2
30397 ac_shift=shift
30398 ;;
30399 *) # This is not an option, so the user has probably given explicit
30400 # arguments.
30401 ac_option=$1
30402 ac_need_defaults=false;;
30403 esac
30404
30405 case $ac_option in
30406 # Handling of the options.
30407 _ACEOF
30408 cat >>$CONFIG_STATUS <<\_ACEOF
30409 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30410 ac_cs_recheck=: ;;
30411 --version | --vers* | -V )
30412 echo "$ac_cs_version"; exit 0 ;;
30413 --he | --h)
30414 # Conflict between --help and --header
30415 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30416 Try \`$0 --help' for more information." >&5
30417 echo "$as_me: error: ambiguous option: $1
30418 Try \`$0 --help' for more information." >&2;}
30419 { (exit 1); exit 1; }; };;
30420 --help | --hel | -h )
30421 echo "$ac_cs_usage"; exit 0 ;;
30422 --debug | --d* | -d )
30423 debug=: ;;
30424 --file | --fil | --fi | --f )
30425 $ac_shift
30426 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30427 ac_need_defaults=false;;
30428 --header | --heade | --head | --hea )
30429 $ac_shift
30430 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30431 ac_need_defaults=false;;
30432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30433 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30434 ac_cs_silent=: ;;
30435
30436 # This is an error.
30437 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30438 Try \`$0 --help' for more information." >&5
30439 echo "$as_me: error: unrecognized option: $1
30440 Try \`$0 --help' for more information." >&2;}
30441 { (exit 1); exit 1; }; } ;;
30442
30443 *) ac_config_targets="$ac_config_targets $1" ;;
30444
30445 esac
30446 shift
30447 done
30448
30449 ac_configure_extra_args=
30450
30451 if $ac_cs_silent; then
30452 exec 6>/dev/null
30453 ac_configure_extra_args="$ac_configure_extra_args --silent"
30454 fi
30455
30456 _ACEOF
30457 cat >>$CONFIG_STATUS <<_ACEOF
30458 if \$ac_cs_recheck; then
30459 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30460 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30461 fi
30462
30463 _ACEOF
30464
30465 cat >>$CONFIG_STATUS <<_ACEOF
30466 #
30467 # INIT-COMMANDS section.
30468 #
30469
30470
30471 srcdir="$srcdir"
30472 host="$host"
30473 target="$target"
30474 with_multisubdir="$with_multisubdir"
30475 with_multisrctop="$with_multisrctop"
30476 with_target_subdir="$with_target_subdir"
30477 ac_configure_args="${multilib_arg} ${ac_configure_args}"
30478 multi_basedir="$multi_basedir"
30479 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
30480 CC="$CC"
30481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30482
30483
30484 # The HP-UX ksh and POSIX shell print the target directory to stdout
30485 # if CDPATH is set.
30486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30487
30488 sed_quote_subst='$sed_quote_subst'
30489 double_quote_subst='$double_quote_subst'
30490 delay_variable_subst='$delay_variable_subst'
30491 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
30492 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
30493 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
30494 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
30495 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
30496 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
30497 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
30498 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
30499 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
30500 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
30501 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
30502 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
30503 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
30504 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
30505 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
30506 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
30507 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
30508 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
30509 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
30510 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
30511 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
30512 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
30513 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
30514 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
30515 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
30516 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
30517 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
30518 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30519 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
30520 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
30521 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
30522 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30523 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
30524 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
30525 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30526 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30527 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30528 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
30529 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
30530 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
30531 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
30532 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
30533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
30534 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"`'
30535 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
30536 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
30537 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
30538 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
30539 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
30540 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
30541 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
30542 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
30543 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
30544 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
30545 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
30546 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30547 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30548 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
30549 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
30550 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30551 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30552 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
30553 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30554 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30555 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30556 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30557 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30558 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30559 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
30560 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30561 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
30562 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
30563 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
30564 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
30565 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
30566 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
30567 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
30568 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30569 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
30570 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
30571 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
30572 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
30573 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
30574 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30575 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30576 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
30577 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30578 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
30579 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
30580 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
30581 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
30582 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
30583 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30584 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
30585 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
30586 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30587 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
30588 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
30589 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30590 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30591 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
30592 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
30593 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
30594 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30595 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
30596 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
30597 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
30598 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
30599 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
30600 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
30601 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
30602 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30603 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
30604 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
30605 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
30606 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
30607 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30608 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30609 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30610 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30611 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30612 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30613 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30614 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30615 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30616 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30617 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30618 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30619 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30620 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30621 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30622 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30623 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30624 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30625 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30626 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30627 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30628 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30629 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30630 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30631 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30632 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30633 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30634 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30635 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30636 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30637 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30638 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30639 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30640 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30641 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30642 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30643 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30644 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30645 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30646 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30647 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30648 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30649 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30650 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30651 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30652 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
30653
30654 LTCC='$LTCC'
30655 LTCFLAGS='$LTCFLAGS'
30656 compiler='$compiler_DEFAULT'
30657
30658 # Quote evaled strings.
30659 for var in SED \
30660 GREP \
30661 EGREP \
30662 FGREP \
30663 LD \
30664 NM \
30665 LN_S \
30666 lt_SP2NL \
30667 lt_NL2SP \
30668 reload_flag \
30669 deplibs_check_method \
30670 file_magic_cmd \
30671 AR \
30672 AR_FLAGS \
30673 STRIP \
30674 RANLIB \
30675 CC \
30676 CFLAGS \
30677 compiler \
30678 lt_cv_sys_global_symbol_pipe \
30679 lt_cv_sys_global_symbol_to_cdecl \
30680 lt_cv_sys_global_symbol_to_c_name_address \
30681 SHELL \
30682 ECHO \
30683 lt_prog_compiler_no_builtin_flag \
30684 lt_prog_compiler_wl \
30685 lt_prog_compiler_pic \
30686 lt_prog_compiler_static \
30687 lt_cv_prog_compiler_c_o \
30688 need_locks \
30689 shrext_cmds \
30690 export_dynamic_flag_spec \
30691 whole_archive_flag_spec \
30692 compiler_needs_object \
30693 with_gnu_ld \
30694 allow_undefined_flag \
30695 no_undefined_flag \
30696 hardcode_libdir_flag_spec \
30697 hardcode_libdir_flag_spec_ld \
30698 hardcode_libdir_separator \
30699 fix_srcfile_path \
30700 exclude_expsyms \
30701 include_expsyms \
30702 file_list_spec \
30703 variables_saved_for_relink \
30704 libname_spec \
30705 library_names_spec \
30706 soname_spec \
30707 finish_eval \
30708 old_striplib \
30709 striplib \
30710 predep_objects \
30711 postdep_objects \
30712 predeps \
30713 postdeps \
30714 compiler_lib_search_path \
30715 LD_CXX \
30716 compiler_CXX \
30717 lt_prog_compiler_no_builtin_flag_CXX \
30718 lt_prog_compiler_wl_CXX \
30719 lt_prog_compiler_pic_CXX \
30720 lt_prog_compiler_static_CXX \
30721 lt_cv_prog_compiler_c_o_CXX \
30722 export_dynamic_flag_spec_CXX \
30723 whole_archive_flag_spec_CXX \
30724 compiler_needs_object_CXX \
30725 with_gnu_ld_CXX \
30726 allow_undefined_flag_CXX \
30727 no_undefined_flag_CXX \
30728 hardcode_libdir_flag_spec_CXX \
30729 hardcode_libdir_flag_spec_ld_CXX \
30730 hardcode_libdir_separator_CXX \
30731 fix_srcfile_path_CXX \
30732 exclude_expsyms_CXX \
30733 include_expsyms_CXX \
30734 file_list_spec_CXX \
30735 predep_objects_CXX \
30736 postdep_objects_CXX \
30737 predeps_CXX \
30738 postdeps_CXX \
30739 compiler_lib_search_path_CXX; do
30740 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30741 *[\\\\\\\`\\"\\\$]*)
30742 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
30743 ;;
30744 *)
30745 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30746 ;;
30747 esac
30748 done
30749
30750 # Double-quote double-evaled strings.
30751 for var in reload_cmds \
30752 old_postinstall_cmds \
30753 old_postuninstall_cmds \
30754 old_archive_cmds \
30755 extract_expsyms_cmds \
30756 old_archive_from_new_cmds \
30757 old_archive_from_expsyms_cmds \
30758 archive_cmds \
30759 archive_expsym_cmds \
30760 module_cmds \
30761 module_expsym_cmds \
30762 export_symbols_cmds \
30763 prelink_cmds \
30764 postinstall_cmds \
30765 postuninstall_cmds \
30766 finish_cmds \
30767 sys_lib_search_path_spec \
30768 sys_lib_dlsearch_path_spec \
30769 old_archive_cmds_CXX \
30770 old_archive_from_new_cmds_CXX \
30771 old_archive_from_expsyms_cmds_CXX \
30772 archive_cmds_CXX \
30773 archive_expsym_cmds_CXX \
30774 module_cmds_CXX \
30775 module_expsym_cmds_CXX \
30776 export_symbols_cmds_CXX \
30777 prelink_cmds_CXX; do
30778 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
30779 *[\\\\\\\`\\"\\\$]*)
30780 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
30781 ;;
30782 *)
30783 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30784 ;;
30785 esac
30786 done
30787
30788 # Fix-up fallback echo if it was mangled by the above quoting rules.
30789 case \$lt_ECHO in
30790 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
30791 ;;
30792 esac
30793
30794 ac_aux_dir='$ac_aux_dir'
30795 xsi_shell='$xsi_shell'
30796 lt_shell_append='$lt_shell_append'
30797
30798 # See if we are running on zsh, and set the options which allow our
30799 # commands through without removal of \ escapes INIT.
30800 if test -n "\${ZSH_VERSION+set}" ; then
30801 setopt NO_GLOB_SUBST
30802 fi
30803
30804
30805 PACKAGE='$PACKAGE'
30806 VERSION='$VERSION'
30807 TIMESTAMP='$TIMESTAMP'
30808 RM='$RM'
30809 ofile='$ofile'
30810
30811
30812
30813
30814
30815 # variables for create stdint.h replacement
30816 PACKAGE="$PACKAGE"
30817 VERSION="$VERSION"
30818 ac_stdint_h="$ac_stdint_h"
30819 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
30820 ac_cv_stdint_message="$ac_cv_stdint_message"
30821 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
30822 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
30823 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
30824 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
30825 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
30826 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
30827 ac_cv_char_data_model="$ac_cv_char_data_model"
30828 ac_cv_long_data_model="$ac_cv_long_data_model"
30829 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
30830 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
30831 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
30832
30833
30834 _ACEOF
30835
30836
30837
30838 cat >>$CONFIG_STATUS <<\_ACEOF
30839 for ac_config_target in $ac_config_targets
30840 do
30841 case "$ac_config_target" in
30842 # Handling of arguments.
30843 "lib/mkcollections.pl" ) CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
30844 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30845 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
30846 "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
30847 "external/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
30848 "external/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
30849 "external/w3c_dom/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
30850 "external/relaxngDatatype/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
30851 "external/jsr166/Makefile" ) CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
30852 "gnu/classpath/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
30853 "gnu/java/security/Configuration.java" ) CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
30854 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
30855 "native/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
30856 "native/fdlibm/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
30857 "native/jawt/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
30858 "native/jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
30859 "native/jni/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
30860 "native/jni/java-io/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
30861 "native/jni/java-lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
30862 "native/jni/java-net/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
30863 "native/jni/java-nio/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
30864 "native/jni/java-util/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
30865 "native/jni/gtk-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
30866 "native/jni/gconf-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
30867 "native/jni/gstreamer-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
30868 "native/jni/qt-peer/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
30869 "native/jni/xmlj/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
30870 "native/jni/midi-alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
30871 "native/jni/midi-dssi/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
30872 "native/jni/native-lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
30873 "native/plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
30874 "resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
30875 "resource/META-INF/services/java.util.prefs.PreferencesFactory" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
30876 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
30877 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ) CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
30878 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
30879 "scripts/classpath.spec" ) CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
30880 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
30881 "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
30882 "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
30883 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
30884 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
30885 "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
30886 "examples/Makefile.java2d" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
30887 "tools/gappletviewer" ) CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
30888 "tools/gjarsigner" ) CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
30889 "tools/gkeytool" ) CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
30890 "tools/gjar" ) CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
30891 "tools/gnative2ascii" ) CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
30892 "tools/gserialver" ) CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
30893 "tools/grmiregistry" ) CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
30894 "tools/gtnameserv" ) CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
30895 "tools/gorbd" ) CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
30896 "tools/grmid" ) CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
30897 "tools/grmic" ) CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
30898 "tools/gjavah" ) CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
30899 "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
30900 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
30901 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30902 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30903 "mkcollections.pl" ) CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
30904 "$ac_stdint_h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
30905 "gappletviewer" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
30906 "gjarsigner" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
30907 "gkeytool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
30908 "gjar" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
30909 "gnative2ascii" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
30910 "gserialver" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
30911 "grmiregistry" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
30912 "gtnameserv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
30913 "gorbd" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
30914 "grmid" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
30915 "grmic" ) CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
30916 "gjavah" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
30917 "gen-classlist" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
30918 "copy-vmresources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
30919 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
30920 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30921 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30922 { (exit 1); exit 1; }; };;
30923 esac
30924 done
30925
30926 # If the user did not use the arguments to specify the items to instantiate,
30927 # then the envvar interface is used. Set only those that are not.
30928 # We use the long form for the default assignment because of an extremely
30929 # bizarre bug on SunOS 4.1.3.
30930 if $ac_need_defaults; then
30931 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30932 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30933 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
30934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30935 fi
30936
30937 # Have a temporary directory for convenience. Make it in the build tree
30938 # simply because there is no reason to put it here, and in addition,
30939 # creating and moving files from /tmp can sometimes cause problems.
30940 # Create a temporary directory, and hook for its removal unless debugging.
30941 $debug ||
30942 {
30943 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30944 trap '{ (exit 1); exit 1; }' 1 2 13 15
30945 }
30946
30947 # Create a (secure) tmp directory for tmp files.
30948
30949 {
30950 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30951 test -n "$tmp" && test -d "$tmp"
30952 } ||
30953 {
30954 tmp=./confstat$$-$RANDOM
30955 (umask 077 && mkdir $tmp)
30956 } ||
30957 {
30958 echo "$me: cannot create a temporary directory in ." >&2
30959 { (exit 1); exit 1; }
30960 }
30961
30962 _ACEOF
30963
30964 cat >>$CONFIG_STATUS <<_ACEOF
30965
30966 #
30967 # CONFIG_FILES section.
30968 #
30969
30970 # No need to generate the scripts if there are no CONFIG_FILES.
30971 # This happens for instance when ./config.status config.h
30972 if test -n "\$CONFIG_FILES"; then
30973 # Protect against being on the right side of a sed subst in config.status.
30974 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30975 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30976 s,@SHELL@,$SHELL,;t t
30977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30978 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30979 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30980 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30981 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30982 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30983 s,@exec_prefix@,$exec_prefix,;t t
30984 s,@prefix@,$prefix,;t t
30985 s,@program_transform_name@,$program_transform_name,;t t
30986 s,@bindir@,$bindir,;t t
30987 s,@sbindir@,$sbindir,;t t
30988 s,@libexecdir@,$libexecdir,;t t
30989 s,@datadir@,$datadir,;t t
30990 s,@sysconfdir@,$sysconfdir,;t t
30991 s,@sharedstatedir@,$sharedstatedir,;t t
30992 s,@localstatedir@,$localstatedir,;t t
30993 s,@libdir@,$libdir,;t t
30994 s,@includedir@,$includedir,;t t
30995 s,@oldincludedir@,$oldincludedir,;t t
30996 s,@infodir@,$infodir,;t t
30997 s,@mandir@,$mandir,;t t
30998 s,@build_alias@,$build_alias,;t t
30999 s,@host_alias@,$host_alias,;t t
31000 s,@target_alias@,$target_alias,;t t
31001 s,@DEFS@,$DEFS,;t t
31002 s,@ECHO_C@,$ECHO_C,;t t
31003 s,@ECHO_N@,$ECHO_N,;t t
31004 s,@ECHO_T@,$ECHO_T,;t t
31005 s,@LIBS@,$LIBS,;t t
31006 s,@build@,$build,;t t
31007 s,@build_cpu@,$build_cpu,;t t
31008 s,@build_vendor@,$build_vendor,;t t
31009 s,@build_os@,$build_os,;t t
31010 s,@host@,$host,;t t
31011 s,@host_cpu@,$host_cpu,;t t
31012 s,@host_vendor@,$host_vendor,;t t
31013 s,@host_os@,$host_os,;t t
31014 s,@target@,$target,;t t
31015 s,@target_cpu@,$target_cpu,;t t
31016 s,@target_vendor@,$target_vendor,;t t
31017 s,@target_os@,$target_os,;t t
31018 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
31019 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
31020 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
31021 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
31022 s,@multi_basedir@,$multi_basedir,;t t
31023 s,@LIBVERSION@,$LIBVERSION,;t t
31024 s,@CLASSPATH_MODULE@,$CLASSPATH_MODULE,;t t
31025 s,@CLASSPATH_CONVENIENCE@,$CLASSPATH_CONVENIENCE,;t t
31026 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
31027 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
31028 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
31029 s,@CYGPATH_W@,$CYGPATH_W,;t t
31030 s,@PACKAGE@,$PACKAGE,;t t
31031 s,@VERSION@,$VERSION,;t t
31032 s,@ACLOCAL@,$ACLOCAL,;t t
31033 s,@AUTOCONF@,$AUTOCONF,;t t
31034 s,@AUTOMAKE@,$AUTOMAKE,;t t
31035 s,@AUTOHEADER@,$AUTOHEADER,;t t
31036 s,@MAKEINFO@,$MAKEINFO,;t t
31037 s,@install_sh@,$install_sh,;t t
31038 s,@STRIP@,$STRIP,;t t
31039 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31040 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
31041 s,@mkdir_p@,$mkdir_p,;t t
31042 s,@AWK@,$AWK,;t t
31043 s,@SET_MAKE@,$SET_MAKE,;t t
31044 s,@am__leading_dot@,$am__leading_dot,;t t
31045 s,@AMTAR@,$AMTAR,;t t
31046 s,@am__tar@,$am__tar,;t t
31047 s,@am__untar@,$am__untar,;t t
31048 s,@CREATE_COLLECTIONS_TRUE@,$CREATE_COLLECTIONS_TRUE,;t t
31049 s,@CREATE_COLLECTIONS_FALSE@,$CREATE_COLLECTIONS_FALSE,;t t
31050 s,@CREATE_JNI_LIBRARIES_TRUE@,$CREATE_JNI_LIBRARIES_TRUE,;t t
31051 s,@CREATE_JNI_LIBRARIES_FALSE@,$CREATE_JNI_LIBRARIES_FALSE,;t t
31052 s,@CREATE_CORE_JNI_LIBRARIES_TRUE@,$CREATE_CORE_JNI_LIBRARIES_TRUE,;t t
31053 s,@CREATE_CORE_JNI_LIBRARIES_FALSE@,$CREATE_CORE_JNI_LIBRARIES_FALSE,;t t
31054 s,@CREATE_GCONF_PEER_LIBRARIES_TRUE@,$CREATE_GCONF_PEER_LIBRARIES_TRUE,;t t
31055 s,@CREATE_GCONF_PEER_LIBRARIES_FALSE@,$CREATE_GCONF_PEER_LIBRARIES_FALSE,;t t
31056 s,@CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@,$CREATE_GSTREAMER_PEER_LIBRARIES_TRUE,;t t
31057 s,@CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@,$CREATE_GSTREAMER_PEER_LIBRARIES_FALSE,;t t
31058 s,@default_toolkit@,$default_toolkit,;t t
31059 s,@CREATE_XMLJ_LIBRARY_TRUE@,$CREATE_XMLJ_LIBRARY_TRUE,;t t
31060 s,@CREATE_XMLJ_LIBRARY_FALSE@,$CREATE_XMLJ_LIBRARY_FALSE,;t t
31061 s,@CC@,$CC,;t t
31062 s,@CFLAGS@,$CFLAGS,;t t
31063 s,@LDFLAGS@,$LDFLAGS,;t t
31064 s,@CPPFLAGS@,$CPPFLAGS,;t t
31065 s,@ac_ct_CC@,$ac_ct_CC,;t t
31066 s,@EXEEXT@,$EXEEXT,;t t
31067 s,@OBJEXT@,$OBJEXT,;t t
31068 s,@DEPDIR@,$DEPDIR,;t t
31069 s,@am__include@,$am__include,;t t
31070 s,@am__quote@,$am__quote,;t t
31071 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
31072 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
31073 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
31074 s,@CCDEPMODE@,$CCDEPMODE,;t t
31075 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
31076 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
31077 s,@CPP@,$CPP,;t t
31078 s,@EGREP@,$EGREP,;t t
31079 s,@CREATE_ALSA_LIBRARIES_TRUE@,$CREATE_ALSA_LIBRARIES_TRUE,;t t
31080 s,@CREATE_ALSA_LIBRARIES_FALSE@,$CREATE_ALSA_LIBRARIES_FALSE,;t t
31081 s,@CREATE_DSSI_LIBRARIES_TRUE@,$CREATE_DSSI_LIBRARIES_TRUE,;t t
31082 s,@CREATE_DSSI_LIBRARIES_FALSE@,$CREATE_DSSI_LIBRARIES_FALSE,;t t
31083 s,@CREATE_GTK_PEER_LIBRARIES_TRUE@,$CREATE_GTK_PEER_LIBRARIES_TRUE,;t t
31084 s,@CREATE_GTK_PEER_LIBRARIES_FALSE@,$CREATE_GTK_PEER_LIBRARIES_FALSE,;t t
31085 s,@CREATE_QT_PEER_LIBRARIES_TRUE@,$CREATE_QT_PEER_LIBRARIES_TRUE,;t t
31086 s,@CREATE_QT_PEER_LIBRARIES_FALSE@,$CREATE_QT_PEER_LIBRARIES_FALSE,;t t
31087 s,@CREATE_PLUGIN_TRUE@,$CREATE_PLUGIN_TRUE,;t t
31088 s,@CREATE_PLUGIN_FALSE@,$CREATE_PLUGIN_FALSE,;t t
31089 s,@toolexeclibdir@,$toolexeclibdir,;t t
31090 s,@nativeexeclibdir@,$nativeexeclibdir,;t t
31091 s,@glibjdir@,$glibjdir,;t t
31092 s,@VM_BINARY@,$VM_BINARY,;t t
31093 s,@CREATE_JNI_HEADERS_TRUE@,$CREATE_JNI_HEADERS_TRUE,;t t
31094 s,@CREATE_JNI_HEADERS_FALSE@,$CREATE_JNI_HEADERS_FALSE,;t t
31095 s,@CREATE_WRAPPERS_TRUE@,$CREATE_WRAPPERS_TRUE,;t t
31096 s,@CREATE_WRAPPERS_FALSE@,$CREATE_WRAPPERS_FALSE,;t t
31097 s,@LN_S@,$LN_S,;t t
31098 s,@LIBTOOL@,$LIBTOOL,;t t
31099 s,@SED@,$SED,;t t
31100 s,@FGREP@,$FGREP,;t t
31101 s,@GREP@,$GREP,;t t
31102 s,@LD@,$LD,;t t
31103 s,@DUMPBIN@,$DUMPBIN,;t t
31104 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
31105 s,@NM@,$NM,;t t
31106 s,@AR@,$AR,;t t
31107 s,@ac_ct_AR@,$ac_ct_AR,;t t
31108 s,@RANLIB@,$RANLIB,;t t
31109 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
31110 s,@lt_ECHO@,$lt_ECHO,;t t
31111 s,@CXX@,$CXX,;t t
31112 s,@CXXFLAGS@,$CXXFLAGS,;t t
31113 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
31114 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
31115 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
31116 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
31117 s,@CXXCPP@,$CXXCPP,;t t
31118 s,@PERL@,$PERL,;t t
31119 s,@COLLECTIONS_PREFIX@,$COLLECTIONS_PREFIX,;t t
31120 s,@LIBMAGIC@,$LIBMAGIC,;t t
31121 s,@LIBICONV@,$LIBICONV,;t t
31122 s,@LTLIBICONV@,$LTLIBICONV,;t t
31123 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
31124 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
31125 s,@STRICT_WARNING_CFLAGS@,$STRICT_WARNING_CFLAGS,;t t
31126 s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
31127 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
31128 s,@XML_CFLAGS@,$XML_CFLAGS,;t t
31129 s,@XML_LIBS@,$XML_LIBS,;t t
31130 s,@XSLT_CFLAGS@,$XSLT_CFLAGS,;t t
31131 s,@XSLT_LIBS@,$XSLT_LIBS,;t t
31132 s,@X_CFLAGS@,$X_CFLAGS,;t t
31133 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
31134 s,@X_LIBS@,$X_LIBS,;t t
31135 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
31136 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
31137 s,@GTK_LIBS@,$GTK_LIBS,;t t
31138 s,@FREETYPE2_CFLAGS@,$FREETYPE2_CFLAGS,;t t
31139 s,@FREETYPE2_LIBS@,$FREETYPE2_LIBS,;t t
31140 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
31141 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
31142 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
31143 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
31144 s,@XTEST_LIBS@,$XTEST_LIBS,;t t
31145 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
31146 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
31147 s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
31148 s,@GDK_LIBS@,$GDK_LIBS,;t t
31149 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
31150 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
31151 s,@GSTREAMER_BASE_CFLAGS@,$GSTREAMER_BASE_CFLAGS,;t t
31152 s,@GSTREAMER_BASE_LIBS@,$GSTREAMER_BASE_LIBS,;t t
31153 s,@GSTREAMER_PLUGINS_BASE_CFLAGS@,$GSTREAMER_PLUGINS_BASE_CFLAGS,;t t
31154 s,@GSTREAMER_PLUGINS_BASE_LIBS@,$GSTREAMER_PLUGINS_BASE_LIBS,;t t
31155 s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
31156 s,@GSTREAMER_FILE_READER@,$GSTREAMER_FILE_READER,;t t
31157 s,@GSTREAMER_MIXER_PROVIDER@,$GSTREAMER_MIXER_PROVIDER,;t t
31158 s,@QT_CFLAGS@,$QT_CFLAGS,;t t
31159 s,@QT_LIBS@,$QT_LIBS,;t t
31160 s,@MOC@,$MOC,;t t
31161 s,@MOZILLA_CFLAGS@,$MOZILLA_CFLAGS,;t t
31162 s,@MOZILLA_LIBS@,$MOZILLA_LIBS,;t t
31163 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
31164 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
31165 s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t
31166 s,@USER_JAVAH@,$USER_JAVAH,;t t
31167 s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t
31168 s,@GCJ@,$GCJ,;t t
31169 s,@JIKES@,$JIKES,;t t
31170 s,@JIKESENCODING@,$JIKESENCODING,;t t
31171 s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t
31172 s,@KJC@,$KJC,;t t
31173 s,@ECJ@,$ECJ,;t t
31174 s,@JAVAC@,$JAVAC,;t t
31175 s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t
31176 s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t
31177 s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t
31178 s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t
31179 s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t
31180 s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t
31181 s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t
31182 s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t
31183 s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t
31184 s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t
31185 s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t
31186 s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t
31187 s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t
31188 s,@vm_classes@,$vm_classes,;t t
31189 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
31190 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
31191 s,@MAINT@,$MAINT,;t t
31192 s,@LIBDEBUG@,$LIBDEBUG,;t t
31193 s,@INIT_LOAD_LIBRARY@,$INIT_LOAD_LIBRARY,;t t
31194 s,@ECJ_JAR@,$ECJ_JAR,;t t
31195 s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION,;t t
31196 s,@REMOVE@,$REMOVE,;t t
31197 s,@MKDIR@,$MKDIR,;t t
31198 s,@CP@,$CP,;t t
31199 s,@DATE@,$DATE,;t t
31200 s,@FIND@,$FIND,;t t
31201 s,@ZIP@,$ZIP,;t t
31202 s,@FASTJAR@,$FASTJAR,;t t
31203 s,@INSTALL_GLIBJ_ZIP_TRUE@,$INSTALL_GLIBJ_ZIP_TRUE,;t t
31204 s,@INSTALL_GLIBJ_ZIP_FALSE@,$INSTALL_GLIBJ_ZIP_FALSE,;t t
31205 s,@INSTALL_CLASS_FILES_TRUE@,$INSTALL_CLASS_FILES_TRUE,;t t
31206 s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t
31207 s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t
31208 s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t
31209 s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t
31210 s,@GJDOC@,$GJDOC,;t t
31211 s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t
31212 s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t
31213 s,@JAY@,$JAY,;t t
31214 s,@JAY_SKELETON@,$JAY_SKELETON,;t t
31215 s,@REGEN_PARSERS_TRUE@,$REGEN_PARSERS_TRUE,;t t
31216 s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t
31217 s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t
31218 s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t
31219 s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t
31220 s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t
31221 s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t
31222 s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t
31223 s,@ENABLE_LOCAL_SOCKETS_TRUE@,$ENABLE_LOCAL_SOCKETS_TRUE,;t t
31224 s,@ENABLE_LOCAL_SOCKETS_FALSE@,$ENABLE_LOCAL_SOCKETS_FALSE,;t t
31225 s,@DEFAULT_PREFS_PEER@,$DEFAULT_PREFS_PEER,;t t
31226 s,@LIBOBJS@,$LIBOBJS,;t t
31227 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31228 CEOF
31229
31230 _ACEOF
31231
31232 cat >>$CONFIG_STATUS <<\_ACEOF
31233 # Split the substitutions into bite-sized pieces for seds with
31234 # small command number limits, like on Digital OSF/1 and HP-UX.
31235 ac_max_sed_lines=48
31236 ac_sed_frag=1 # Number of current file.
31237 ac_beg=1 # First line for current file.
31238 ac_end=$ac_max_sed_lines # Line after last line for current file.
31239 ac_more_lines=:
31240 ac_sed_cmds=
31241 while $ac_more_lines; do
31242 if test $ac_beg -gt 1; then
31243 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31244 else
31245 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31246 fi
31247 if test ! -s $tmp/subs.frag; then
31248 ac_more_lines=false
31249 else
31250 # The purpose of the label and of the branching condition is to
31251 # speed up the sed processing (if there are no `@' at all, there
31252 # is no need to browse any of the substitutions).
31253 # These are the two extra sed commands mentioned above.
31254 (echo ':t
31255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
31256 if test -z "$ac_sed_cmds"; then
31257 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
31258 else
31259 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31260 fi
31261 ac_sed_frag=`expr $ac_sed_frag + 1`
31262 ac_beg=$ac_end
31263 ac_end=`expr $ac_end + $ac_max_sed_lines`
31264 fi
31265 done
31266 if test -z "$ac_sed_cmds"; then
31267 ac_sed_cmds=cat
31268 fi
31269 fi # test -n "$CONFIG_FILES"
31270
31271 _ACEOF
31272 cat >>$CONFIG_STATUS <<\_ACEOF
31273 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
31274 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31275 case $ac_file in
31276 - | *:- | *:-:* ) # input from stdin
31277 cat >$tmp/stdin
31278 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31279 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31280 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31281 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31282 * ) ac_file_in=$ac_file.in ;;
31283 esac
31284
31285 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31286 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31288 X"$ac_file" : 'X\(//\)[^/]' \| \
31289 X"$ac_file" : 'X\(//\)$' \| \
31290 X"$ac_file" : 'X\(/\)' \| \
31291 . : '\(.\)' 2>/dev/null ||
31292 echo X"$ac_file" |
31293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31295 /^X\(\/\/\)$/{ s//\1/; q; }
31296 /^X\(\/\).*/{ s//\1/; q; }
31297 s/.*/./; q'`
31298 { if $as_mkdir_p; then
31299 mkdir -p "$ac_dir"
31300 else
31301 as_dir="$ac_dir"
31302 as_dirs=
31303 while test ! -d "$as_dir"; do
31304 as_dirs="$as_dir $as_dirs"
31305 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31307 X"$as_dir" : 'X\(//\)[^/]' \| \
31308 X"$as_dir" : 'X\(//\)$' \| \
31309 X"$as_dir" : 'X\(/\)' \| \
31310 . : '\(.\)' 2>/dev/null ||
31311 echo X"$as_dir" |
31312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31314 /^X\(\/\/\)$/{ s//\1/; q; }
31315 /^X\(\/\).*/{ s//\1/; q; }
31316 s/.*/./; q'`
31317 done
31318 test ! -n "$as_dirs" || mkdir $as_dirs
31319 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31321 { (exit 1); exit 1; }; }; }
31322
31323 ac_builddir=.
31324
31325 if test "$ac_dir" != .; then
31326 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31327 # A "../" for each directory in $ac_dir_suffix.
31328 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31329 else
31330 ac_dir_suffix= ac_top_builddir=
31331 fi
31332
31333 case $srcdir in
31334 .) # No --srcdir option. We are building in place.
31335 ac_srcdir=.
31336 if test -z "$ac_top_builddir"; then
31337 ac_top_srcdir=.
31338 else
31339 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31340 fi ;;
31341 [\\/]* | ?:[\\/]* ) # Absolute path.
31342 ac_srcdir=$srcdir$ac_dir_suffix;
31343 ac_top_srcdir=$srcdir ;;
31344 *) # Relative path.
31345 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31346 ac_top_srcdir=$ac_top_builddir$srcdir ;;
31347 esac
31348
31349 # Do not use `cd foo && pwd` to compute absolute paths, because
31350 # the directories may not exist.
31351 case `pwd` in
31352 .) ac_abs_builddir="$ac_dir";;
31353 *)
31354 case "$ac_dir" in
31355 .) ac_abs_builddir=`pwd`;;
31356 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31357 *) ac_abs_builddir=`pwd`/"$ac_dir";;
31358 esac;;
31359 esac
31360 case $ac_abs_builddir in
31361 .) ac_abs_top_builddir=${ac_top_builddir}.;;
31362 *)
31363 case ${ac_top_builddir}. in
31364 .) ac_abs_top_builddir=$ac_abs_builddir;;
31365 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31366 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31367 esac;;
31368 esac
31369 case $ac_abs_builddir in
31370 .) ac_abs_srcdir=$ac_srcdir;;
31371 *)
31372 case $ac_srcdir in
31373 .) ac_abs_srcdir=$ac_abs_builddir;;
31374 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31375 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31376 esac;;
31377 esac
31378 case $ac_abs_builddir in
31379 .) ac_abs_top_srcdir=$ac_top_srcdir;;
31380 *)
31381 case $ac_top_srcdir in
31382 .) ac_abs_top_srcdir=$ac_abs_builddir;;
31383 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31384 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31385 esac;;
31386 esac
31387
31388
31389 case $INSTALL in
31390 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31391 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
31392 esac
31393
31394 if test x"$ac_file" != x-; then
31395 { echo "$as_me:$LINENO: creating $ac_file" >&5
31396 echo "$as_me: creating $ac_file" >&6;}
31397 rm -f "$ac_file"
31398 fi
31399 # Let's still pretend it is `configure' which instantiates (i.e., don't
31400 # use $as_me), people would be surprised to read:
31401 # /* config.h. Generated by config.status. */
31402 if test x"$ac_file" = x-; then
31403 configure_input=
31404 else
31405 configure_input="$ac_file. "
31406 fi
31407 configure_input=$configure_input"Generated from `echo $ac_file_in |
31408 sed 's,.*/,,'` by configure."
31409
31410 # First look for the input files in the build tree, otherwise in the
31411 # src tree.
31412 ac_file_inputs=`IFS=:
31413 for f in $ac_file_in; do
31414 case $f in
31415 -) echo $tmp/stdin ;;
31416 [\\/$]*)
31417 # Absolute (can't be DOS-style, as IFS=:)
31418 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31419 echo "$as_me: error: cannot find input file: $f" >&2;}
31420 { (exit 1); exit 1; }; }
31421 echo "$f";;
31422 *) # Relative
31423 if test -f "$f"; then
31424 # Build tree
31425 echo "$f"
31426 elif test -f "$srcdir/$f"; then
31427 # Source tree
31428 echo "$srcdir/$f"
31429 else
31430 # /dev/null tree
31431 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31432 echo "$as_me: error: cannot find input file: $f" >&2;}
31433 { (exit 1); exit 1; }; }
31434 fi;;
31435 esac
31436 done` || { (exit 1); exit 1; }
31437 _ACEOF
31438 cat >>$CONFIG_STATUS <<_ACEOF
31439 sed "$ac_vpsub
31440 $extrasub
31441 _ACEOF
31442 cat >>$CONFIG_STATUS <<\_ACEOF
31443 :t
31444 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31445 s,@configure_input@,$configure_input,;t t
31446 s,@srcdir@,$ac_srcdir,;t t
31447 s,@abs_srcdir@,$ac_abs_srcdir,;t t
31448 s,@top_srcdir@,$ac_top_srcdir,;t t
31449 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
31450 s,@builddir@,$ac_builddir,;t t
31451 s,@abs_builddir@,$ac_abs_builddir,;t t
31452 s,@top_builddir@,$ac_top_builddir,;t t
31453 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
31454 s,@INSTALL@,$ac_INSTALL,;t t
31455 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31456 rm -f $tmp/stdin
31457 if test x"$ac_file" != x-; then
31458 mv $tmp/out $ac_file
31459 else
31460 cat $tmp/out
31461 rm -f $tmp/out
31462 fi
31463
31464 done
31465 _ACEOF
31466 cat >>$CONFIG_STATUS <<\_ACEOF
31467
31468 #
31469 # CONFIG_HEADER section.
31470 #
31471
31472 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
31473 # NAME is the cpp macro being defined and VALUE is the value it is being given.
31474 #
31475 # ac_d sets the value in "#define NAME VALUE" lines.
31476 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31477 ac_dB='[ ].*$,\1#\2'
31478 ac_dC=' '
31479 ac_dD=',;t'
31480 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31481 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31482 ac_uB='$,\1#\2define\3'
31483 ac_uC=' '
31484 ac_uD=',;t'
31485
31486 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
31487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31488 case $ac_file in
31489 - | *:- | *:-:* ) # input from stdin
31490 cat >$tmp/stdin
31491 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31492 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31493 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31494 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31495 * ) ac_file_in=$ac_file.in ;;
31496 esac
31497
31498 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
31499 echo "$as_me: creating $ac_file" >&6;}
31500
31501 # First look for the input files in the build tree, otherwise in the
31502 # src tree.
31503 ac_file_inputs=`IFS=:
31504 for f in $ac_file_in; do
31505 case $f in
31506 -) echo $tmp/stdin ;;
31507 [\\/$]*)
31508 # Absolute (can't be DOS-style, as IFS=:)
31509 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31510 echo "$as_me: error: cannot find input file: $f" >&2;}
31511 { (exit 1); exit 1; }; }
31512 # Do quote $f, to prevent DOS paths from being IFS'd.
31513 echo "$f";;
31514 *) # Relative
31515 if test -f "$f"; then
31516 # Build tree
31517 echo "$f"
31518 elif test -f "$srcdir/$f"; then
31519 # Source tree
31520 echo "$srcdir/$f"
31521 else
31522 # /dev/null tree
31523 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31524 echo "$as_me: error: cannot find input file: $f" >&2;}
31525 { (exit 1); exit 1; }; }
31526 fi;;
31527 esac
31528 done` || { (exit 1); exit 1; }
31529 # Remove the trailing spaces.
31530 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31531
31532 _ACEOF
31533
31534 # Transform confdefs.h into two sed scripts, `conftest.defines' and
31535 # `conftest.undefs', that substitutes the proper values into
31536 # config.h.in to produce config.h. The first handles `#define'
31537 # templates, and the second `#undef' templates.
31538 # And first: Protect against being on the right side of a sed subst in
31539 # config.status. Protect against being in an unquoted here document
31540 # in config.status.
31541 rm -f conftest.defines conftest.undefs
31542 # Using a here document instead of a string reduces the quoting nightmare.
31543 # Putting comments in sed scripts is not portable.
31544 #
31545 # `end' is used to avoid that the second main sed command (meant for
31546 # 0-ary CPP macros) applies to n-ary macro definitions.
31547 # See the Autoconf documentation for `clear'.
31548 cat >confdef2sed.sed <<\_ACEOF
31549 s/[\\&,]/\\&/g
31550 s,[\\$`],\\&,g
31551 t clear
31552 : clear
31553 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31554 t end
31555 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31556 : end
31557 _ACEOF
31558 # If some macros were called several times there might be several times
31559 # the same #defines, which is useless. Nevertheless, we may not want to
31560 # sort them, since we want the *last* AC-DEFINE to be honored.
31561 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31562 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31563 rm -f confdef2sed.sed
31564
31565 # This sed command replaces #undef with comments. This is necessary, for
31566 # example, in the case of _POSIX_SOURCE, which is predefined and required
31567 # on some systems where configure will not decide to define it.
31568 cat >>conftest.undefs <<\_ACEOF
31569 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31570 _ACEOF
31571
31572 # Break up conftest.defines because some shells have a limit on the size
31573 # of here documents, and old seds have small limits too (100 cmds).
31574 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31575 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31576 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31577 echo ' :' >>$CONFIG_STATUS
31578 rm -f conftest.tail
31579 while grep . conftest.defines >/dev/null
31580 do
31581 # Write a limited-size here document to $tmp/defines.sed.
31582 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31583 # Speed up: don't consider the non `#define' lines.
31584 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31585 # Work around the forget-to-reset-the-flag bug.
31586 echo 't clr' >>$CONFIG_STATUS
31587 echo ': clr' >>$CONFIG_STATUS
31588 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
31589 echo 'CEOF
31590 sed -f $tmp/defines.sed $tmp/in >$tmp/out
31591 rm -f $tmp/in
31592 mv $tmp/out $tmp/in
31593 ' >>$CONFIG_STATUS
31594 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
31595 rm -f conftest.defines
31596 mv conftest.tail conftest.defines
31597 done
31598 rm -f conftest.defines
31599 echo ' fi # grep' >>$CONFIG_STATUS
31600 echo >>$CONFIG_STATUS
31601
31602 # Break up conftest.undefs because some shells have a limit on the size
31603 # of here documents, and old seds have small limits too (100 cmds).
31604 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31605 rm -f conftest.tail
31606 while grep . conftest.undefs >/dev/null
31607 do
31608 # Write a limited-size here document to $tmp/undefs.sed.
31609 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31610 # Speed up: don't consider the non `#undef'
31611 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31612 # Work around the forget-to-reset-the-flag bug.
31613 echo 't clr' >>$CONFIG_STATUS
31614 echo ': clr' >>$CONFIG_STATUS
31615 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31616 echo 'CEOF
31617 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31618 rm -f $tmp/in
31619 mv $tmp/out $tmp/in
31620 ' >>$CONFIG_STATUS
31621 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31622 rm -f conftest.undefs
31623 mv conftest.tail conftest.undefs
31624 done
31625 rm -f conftest.undefs
31626
31627 cat >>$CONFIG_STATUS <<\_ACEOF
31628 # Let's still pretend it is `configure' which instantiates (i.e., don't
31629 # use $as_me), people would be surprised to read:
31630 # /* config.h. Generated by config.status. */
31631 if test x"$ac_file" = x-; then
31632 echo "/* Generated by configure. */" >$tmp/config.h
31633 else
31634 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31635 fi
31636 cat $tmp/in >>$tmp/config.h
31637 rm -f $tmp/in
31638 if test x"$ac_file" != x-; then
31639 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
31640 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31641 echo "$as_me: $ac_file is unchanged" >&6;}
31642 else
31643 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31645 X"$ac_file" : 'X\(//\)[^/]' \| \
31646 X"$ac_file" : 'X\(//\)$' \| \
31647 X"$ac_file" : 'X\(/\)' \| \
31648 . : '\(.\)' 2>/dev/null ||
31649 echo X"$ac_file" |
31650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31652 /^X\(\/\/\)$/{ s//\1/; q; }
31653 /^X\(\/\).*/{ s//\1/; q; }
31654 s/.*/./; q'`
31655 { if $as_mkdir_p; then
31656 mkdir -p "$ac_dir"
31657 else
31658 as_dir="$ac_dir"
31659 as_dirs=
31660 while test ! -d "$as_dir"; do
31661 as_dirs="$as_dir $as_dirs"
31662 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31664 X"$as_dir" : 'X\(//\)[^/]' \| \
31665 X"$as_dir" : 'X\(//\)$' \| \
31666 X"$as_dir" : 'X\(/\)' \| \
31667 . : '\(.\)' 2>/dev/null ||
31668 echo X"$as_dir" |
31669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31671 /^X\(\/\/\)$/{ s//\1/; q; }
31672 /^X\(\/\).*/{ s//\1/; q; }
31673 s/.*/./; q'`
31674 done
31675 test ! -n "$as_dirs" || mkdir $as_dirs
31676 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31678 { (exit 1); exit 1; }; }; }
31679
31680 rm -f $ac_file
31681 mv $tmp/config.h $ac_file
31682 fi
31683 else
31684 cat $tmp/config.h
31685 rm -f $tmp/config.h
31686 fi
31687 # Compute $ac_file's index in $config_headers.
31688 _am_stamp_count=1
31689 for _am_header in $config_headers :; do
31690 case $_am_header in
31691 $ac_file | $ac_file:* )
31692 break ;;
31693 * )
31694 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31695 esac
31696 done
31697 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31698 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31699 X$ac_file : 'X\(//\)[^/]' \| \
31700 X$ac_file : 'X\(//\)$' \| \
31701 X$ac_file : 'X\(/\)' \| \
31702 . : '\(.\)' 2>/dev/null ||
31703 echo X$ac_file |
31704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31706 /^X\(\/\/\)$/{ s//\1/; q; }
31707 /^X\(\/\).*/{ s//\1/; q; }
31708 s/.*/./; q'`/stamp-h$_am_stamp_count
31709 done
31710 _ACEOF
31711 cat >>$CONFIG_STATUS <<\_ACEOF
31712
31713 #
31714 # CONFIG_LINKS section.
31715 #
31716
31717 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
31718 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31719 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31720
31721 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
31722 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
31723
31724 if test ! -r $srcdir/$ac_source; then
31725 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
31726 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
31727 { (exit 1); exit 1; }; }
31728 fi
31729 rm -f $ac_dest
31730
31731 # Make relative symlinks.
31732 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
31733 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31734 X"$ac_dest" : 'X\(//\)[^/]' \| \
31735 X"$ac_dest" : 'X\(//\)$' \| \
31736 X"$ac_dest" : 'X\(/\)' \| \
31737 . : '\(.\)' 2>/dev/null ||
31738 echo X"$ac_dest" |
31739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31741 /^X\(\/\/\)$/{ s//\1/; q; }
31742 /^X\(\/\).*/{ s//\1/; q; }
31743 s/.*/./; q'`
31744 { if $as_mkdir_p; then
31745 mkdir -p "$ac_dest_dir"
31746 else
31747 as_dir="$ac_dest_dir"
31748 as_dirs=
31749 while test ! -d "$as_dir"; do
31750 as_dirs="$as_dir $as_dirs"
31751 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31753 X"$as_dir" : 'X\(//\)[^/]' \| \
31754 X"$as_dir" : 'X\(//\)$' \| \
31755 X"$as_dir" : 'X\(/\)' \| \
31756 . : '\(.\)' 2>/dev/null ||
31757 echo X"$as_dir" |
31758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31760 /^X\(\/\/\)$/{ s//\1/; q; }
31761 /^X\(\/\).*/{ s//\1/; q; }
31762 s/.*/./; q'`
31763 done
31764 test ! -n "$as_dirs" || mkdir $as_dirs
31765 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
31766 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
31767 { (exit 1); exit 1; }; }; }
31768
31769 ac_builddir=.
31770
31771 if test "$ac_dest_dir" != .; then
31772 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
31773 # A "../" for each directory in $ac_dir_suffix.
31774 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31775 else
31776 ac_dir_suffix= ac_top_builddir=
31777 fi
31778
31779 case $srcdir in
31780 .) # No --srcdir option. We are building in place.
31781 ac_srcdir=.
31782 if test -z "$ac_top_builddir"; then
31783 ac_top_srcdir=.
31784 else
31785 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31786 fi ;;
31787 [\\/]* | ?:[\\/]* ) # Absolute path.
31788 ac_srcdir=$srcdir$ac_dir_suffix;
31789 ac_top_srcdir=$srcdir ;;
31790 *) # Relative path.
31791 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31792 ac_top_srcdir=$ac_top_builddir$srcdir ;;
31793 esac
31794
31795 # Do not use `cd foo && pwd` to compute absolute paths, because
31796 # the directories may not exist.
31797 case `pwd` in
31798 .) ac_abs_builddir="$ac_dest_dir";;
31799 *)
31800 case "$ac_dest_dir" in
31801 .) ac_abs_builddir=`pwd`;;
31802 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
31803 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
31804 esac;;
31805 esac
31806 case $ac_abs_builddir in
31807 .) ac_abs_top_builddir=${ac_top_builddir}.;;
31808 *)
31809 case ${ac_top_builddir}. in
31810 .) ac_abs_top_builddir=$ac_abs_builddir;;
31811 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31812 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31813 esac;;
31814 esac
31815 case $ac_abs_builddir in
31816 .) ac_abs_srcdir=$ac_srcdir;;
31817 *)
31818 case $ac_srcdir in
31819 .) ac_abs_srcdir=$ac_abs_builddir;;
31820 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31821 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31822 esac;;
31823 esac
31824 case $ac_abs_builddir in
31825 .) ac_abs_top_srcdir=$ac_top_srcdir;;
31826 *)
31827 case $ac_top_srcdir in
31828 .) ac_abs_top_srcdir=$ac_abs_builddir;;
31829 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31830 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31831 esac;;
31832 esac
31833
31834
31835 case $srcdir in
31836 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
31837 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
31838 esac
31839
31840 # Try a symlink, then a hard link, then a copy.
31841 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
31842 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
31843 cp -p $srcdir/$ac_source $ac_dest ||
31844 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
31845 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
31846 { (exit 1); exit 1; }; }
31847 done
31848 _ACEOF
31849 cat >>$CONFIG_STATUS <<\_ACEOF
31850
31851 #
31852 # CONFIG_COMMANDS section.
31853 #
31854 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
31855 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31856 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31857 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
31858 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31859 X"$ac_dest" : 'X\(//\)[^/]' \| \
31860 X"$ac_dest" : 'X\(//\)$' \| \
31861 X"$ac_dest" : 'X\(/\)' \| \
31862 . : '\(.\)' 2>/dev/null ||
31863 echo X"$ac_dest" |
31864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31866 /^X\(\/\/\)$/{ s//\1/; q; }
31867 /^X\(\/\).*/{ s//\1/; q; }
31868 s/.*/./; q'`
31869 { if $as_mkdir_p; then
31870 mkdir -p "$ac_dir"
31871 else
31872 as_dir="$ac_dir"
31873 as_dirs=
31874 while test ! -d "$as_dir"; do
31875 as_dirs="$as_dir $as_dirs"
31876 as_dir=`(dirname "$as_dir") 2>/dev/null ||
31877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31878 X"$as_dir" : 'X\(//\)[^/]' \| \
31879 X"$as_dir" : 'X\(//\)$' \| \
31880 X"$as_dir" : 'X\(/\)' \| \
31881 . : '\(.\)' 2>/dev/null ||
31882 echo X"$as_dir" |
31883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31885 /^X\(\/\/\)$/{ s//\1/; q; }
31886 /^X\(\/\).*/{ s//\1/; q; }
31887 s/.*/./; q'`
31888 done
31889 test ! -n "$as_dirs" || mkdir $as_dirs
31890 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31892 { (exit 1); exit 1; }; }; }
31893
31894 ac_builddir=.
31895
31896 if test "$ac_dir" != .; then
31897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31898 # A "../" for each directory in $ac_dir_suffix.
31899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31900 else
31901 ac_dir_suffix= ac_top_builddir=
31902 fi
31903
31904 case $srcdir in
31905 .) # No --srcdir option. We are building in place.
31906 ac_srcdir=.
31907 if test -z "$ac_top_builddir"; then
31908 ac_top_srcdir=.
31909 else
31910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31911 fi ;;
31912 [\\/]* | ?:[\\/]* ) # Absolute path.
31913 ac_srcdir=$srcdir$ac_dir_suffix;
31914 ac_top_srcdir=$srcdir ;;
31915 *) # Relative path.
31916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
31918 esac
31919
31920 # Do not use `cd foo && pwd` to compute absolute paths, because
31921 # the directories may not exist.
31922 case `pwd` in
31923 .) ac_abs_builddir="$ac_dir";;
31924 *)
31925 case "$ac_dir" in
31926 .) ac_abs_builddir=`pwd`;;
31927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
31929 esac;;
31930 esac
31931 case $ac_abs_builddir in
31932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
31933 *)
31934 case ${ac_top_builddir}. in
31935 .) ac_abs_top_builddir=$ac_abs_builddir;;
31936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31938 esac;;
31939 esac
31940 case $ac_abs_builddir in
31941 .) ac_abs_srcdir=$ac_srcdir;;
31942 *)
31943 case $ac_srcdir in
31944 .) ac_abs_srcdir=$ac_abs_builddir;;
31945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31947 esac;;
31948 esac
31949 case $ac_abs_builddir in
31950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
31951 *)
31952 case $ac_top_srcdir in
31953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
31954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31956 esac;;
31957 esac
31958
31959
31960 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31961 echo "$as_me: executing $ac_dest commands" >&6;}
31962 case $ac_dest in
31963 default-1 )
31964 # Only add multilib support code if we just rebuilt the top-level
31965 # Makefile.
31966 case " $CONFIG_FILES " in
31967 *" Makefile "*)
31968 ac_file=Makefile . ${multi_basedir}/config-ml.in
31969 ;;
31970 esac ;;
31971 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31972 # Strip MF so we end up with the name of the file.
31973 mf=`echo "$mf" | sed -e 's/:.*$//'`
31974 # Check whether this is an Automake generated Makefile or not.
31975 # We used to match only the files named `Makefile.in', but
31976 # some people rename them; so instead we look at the file content.
31977 # Grep'ing the first line is not enough: some people post-process
31978 # each Makefile.in and add a new line on top of each file to say so.
31979 # So let's grep whole file.
31980 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
31981 dirpart=`(dirname "$mf") 2>/dev/null ||
31982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31983 X"$mf" : 'X\(//\)[^/]' \| \
31984 X"$mf" : 'X\(//\)$' \| \
31985 X"$mf" : 'X\(/\)' \| \
31986 . : '\(.\)' 2>/dev/null ||
31987 echo X"$mf" |
31988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31990 /^X\(\/\/\)$/{ s//\1/; q; }
31991 /^X\(\/\).*/{ s//\1/; q; }
31992 s/.*/./; q'`
31993 else
31994 continue
31995 fi
31996 # Extract the definition of DEPDIR, am__include, and am__quote
31997 # from the Makefile without running `make'.
31998 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31999 test -z "$DEPDIR" && continue
32000 am__include=`sed -n 's/^am__include = //p' < "$mf"`
32001 test -z "am__include" && continue
32002 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
32003 # When using ansi2knr, U may be empty or an underscore; expand it
32004 U=`sed -n 's/^U = //p' < "$mf"`
32005 # Find all dependency output files, they are included files with
32006 # $(DEPDIR) in their names. We invoke sed twice because it is the
32007 # simplest approach to changing $(DEPDIR) to its actual value in the
32008 # expansion.
32009 for file in `sed -n "
32010 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32011 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32012 # Make sure the directory exists.
32013 test -f "$dirpart/$file" && continue
32014 fdir=`(dirname "$file") 2>/dev/null ||
32015 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32016 X"$file" : 'X\(//\)[^/]' \| \
32017 X"$file" : 'X\(//\)$' \| \
32018 X"$file" : 'X\(/\)' \| \
32019 . : '\(.\)' 2>/dev/null ||
32020 echo X"$file" |
32021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32023 /^X\(\/\/\)$/{ s//\1/; q; }
32024 /^X\(\/\).*/{ s//\1/; q; }
32025 s/.*/./; q'`
32026 { if $as_mkdir_p; then
32027 mkdir -p $dirpart/$fdir
32028 else
32029 as_dir=$dirpart/$fdir
32030 as_dirs=
32031 while test ! -d "$as_dir"; do
32032 as_dirs="$as_dir $as_dirs"
32033 as_dir=`(dirname "$as_dir") 2>/dev/null ||
32034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32035 X"$as_dir" : 'X\(//\)[^/]' \| \
32036 X"$as_dir" : 'X\(//\)$' \| \
32037 X"$as_dir" : 'X\(/\)' \| \
32038 . : '\(.\)' 2>/dev/null ||
32039 echo X"$as_dir" |
32040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32042 /^X\(\/\/\)$/{ s//\1/; q; }
32043 /^X\(\/\).*/{ s//\1/; q; }
32044 s/.*/./; q'`
32045 done
32046 test ! -n "$as_dirs" || mkdir $as_dirs
32047 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32048 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32049 { (exit 1); exit 1; }; }; }
32050
32051 # echo "creating $dirpart/$file"
32052 echo '# dummy' > "$dirpart/$file"
32053 done
32054 done
32055 ;;
32056 libtool )
32057
32058 # See if we are running on zsh, and set the options which allow our
32059 # commands through without removal of \ escapes.
32060 if test -n "${ZSH_VERSION+set}" ; then
32061 setopt NO_GLOB_SUBST
32062 fi
32063
32064 cfgfile="${ofile}T"
32065 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32066 $RM "$cfgfile"
32067
32068 cat <<_LT_EOF >> "$cfgfile"
32069 #! $SHELL
32070
32071 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32072 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
32073 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32074 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32075 #
32076 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32077 # 2006, 2007 Free Software Foundation, Inc.
32078 #
32079 # This file is part of GNU Libtool:
32080 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
32081 #
32082 # This program is free software; you can redistribute it and/or modify
32083 # it under the terms of the GNU General Public License as published by
32084 # the Free Software Foundation; either version 2 of the License, or
32085 # (at your option) any later version.
32086 #
32087 # This program is distributed in the hope that it will be useful, but
32088 # WITHOUT ANY WARRANTY; without even the implied warranty of
32089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32090 # General Public License for more details.
32091 #
32092 # You should have received a copy of the GNU General Public License
32093 # along with this program; if not, a copy can be downloaded from
32094 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
32095 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
32096 # MA 02110-1301, USA.
32097 #
32098 # As a special exception to the GNU General Public License, if you
32099 # distribute this file as part of a program that contains a
32100 # configuration script generated by Autoconf, you may include it under
32101 # the same distribution terms that you use for the rest of that program.
32102
32103
32104 # The names of the tagged configurations supported by this script.
32105 available_tags="CXX "
32106
32107 # ### BEGIN LIBTOOL CONFIG
32108
32109 # Whether or not to build static libraries.
32110 build_old_libs=$enable_static
32111
32112 # Which release of libtool.m4 was used?
32113 macro_version=$macro_version
32114 macro_revision=$macro_revision
32115
32116 # Whether or not to build shared libraries.
32117 build_libtool_libs=$enable_shared
32118
32119 # What type of objects to build.
32120 pic_mode=$pic_mode
32121
32122 # Whether or not to optimize for fast installation.
32123 fast_install=$enable_fast_install
32124
32125 # The host system.
32126 host_alias=$host_alias
32127 host=$host
32128 host_os=$host_os
32129
32130 # The build system.
32131 build_alias=$build_alias
32132 build=$build
32133 build_os=$build_os
32134
32135 # A sed program that does not truncate output.
32136 SED=$lt_SED
32137
32138 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32139 Xsed="\$SED -e 1s/^X//"
32140
32141 # A grep program that handles long lines.
32142 GREP=$lt_GREP
32143
32144 # An ERE matcher.
32145 EGREP=$lt_EGREP
32146
32147 # A literal string matcher.
32148 FGREP=$lt_FGREP
32149
32150 # A BSD- or MS-compatible name lister.
32151 NM=$lt_NM
32152
32153 # Whether we need soft or hard links.
32154 LN_S=$lt_LN_S
32155
32156 # What is the maximum length of a command?
32157 max_cmd_len=$max_cmd_len
32158
32159 # Object file suffix (normally "o").
32160 objext=$ac_objext
32161
32162 # Executable file suffix (normally "").
32163 exeext=$exeext
32164
32165 # whether the shell understands "unset".
32166 lt_unset=$lt_unset
32167
32168 # turn spaces into newlines.
32169 SP2NL=$lt_lt_SP2NL
32170
32171 # turn newlines into spaces.
32172 NL2SP=$lt_lt_NL2SP
32173
32174 # How to create reloadable object files.
32175 reload_flag=$lt_reload_flag
32176 reload_cmds=$lt_reload_cmds
32177
32178 # Method to check whether dependent libraries are shared objects.
32179 deplibs_check_method=$lt_deplibs_check_method
32180
32181 # Command to use when deplibs_check_method == "file_magic".
32182 file_magic_cmd=$lt_file_magic_cmd
32183
32184 # The archiver.
32185 AR=$lt_AR
32186 AR_FLAGS=$lt_AR_FLAGS
32187
32188 # A symbol stripping program.
32189 STRIP=$lt_STRIP
32190
32191 # Commands used to install an old-style archive.
32192 RANLIB=$lt_RANLIB
32193 old_postinstall_cmds=$lt_old_postinstall_cmds
32194 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32195
32196 # A C compiler.
32197 LTCC=$lt_CC
32198
32199 # LTCC compiler flags.
32200 LTCFLAGS=$lt_CFLAGS
32201
32202 # Take the output of nm and produce a listing of raw symbols and C names.
32203 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32204
32205 # Transform the output of nm in a proper C declaration.
32206 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32207
32208 # Transform the output of nm in a C name address pair.
32209 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32210
32211 # The name of the directory that contains temporary libtool files.
32212 objdir=$objdir
32213
32214 # Shell to use when invoking shell scripts.
32215 SHELL=$lt_SHELL
32216
32217 # An echo program that does not interpret backslashes.
32218 ECHO=$lt_ECHO
32219
32220 # Used to examine libraries when file_magic_cmd begins with "file".
32221 MAGIC_CMD=$MAGIC_CMD
32222
32223 # Must we lock files when doing compilation?
32224 need_locks=$lt_need_locks
32225
32226 # Old archive suffix (normally "a").
32227 libext=$libext
32228
32229 # Shared library suffix (normally ".so").
32230 shrext_cmds=$lt_shrext_cmds
32231
32232 # The commands to extract the exported symbol list from a shared archive.
32233 extract_expsyms_cmds=$lt_extract_expsyms_cmds
32234
32235 # Variables whose values should be saved in libtool wrapper scripts and
32236 # restored at link time.
32237 variables_saved_for_relink=$lt_variables_saved_for_relink
32238
32239 # Do we need the "lib" prefix for modules?
32240 need_lib_prefix=$need_lib_prefix
32241
32242 # Do we need a version for libraries?
32243 need_version=$need_version
32244
32245 # Library versioning type.
32246 version_type=$version_type
32247
32248 # Shared library runtime path variable.
32249 runpath_var=$runpath_var
32250
32251 # Shared library path variable.
32252 shlibpath_var=$shlibpath_var
32253
32254 # Is shlibpath searched before the hard-coded library search path?
32255 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32256
32257 # Format of library name prefix.
32258 libname_spec=$lt_libname_spec
32259
32260 # List of archive names. First name is the real one, the rest are links.
32261 # The last name is the one that the linker finds with -lNAME
32262 library_names_spec=$lt_library_names_spec
32263
32264 # The coded name of the library, if different from the real name.
32265 soname_spec=$lt_soname_spec
32266
32267 # Command to use after installation of a shared archive.
32268 postinstall_cmds=$lt_postinstall_cmds
32269
32270 # Command to use after uninstallation of a shared archive.
32271 postuninstall_cmds=$lt_postuninstall_cmds
32272
32273 # Commands used to finish a libtool library installation in a directory.
32274 finish_cmds=$lt_finish_cmds
32275
32276 # As "finish_cmds", except a single script fragment to be evaled but
32277 # not shown.
32278 finish_eval=$lt_finish_eval
32279
32280 # Whether we should hardcode library paths into libraries.
32281 hardcode_into_libs=$hardcode_into_libs
32282
32283 # Compile-time system search path for libraries.
32284 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32285
32286 # Run-time system search path for libraries.
32287 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32288
32289 # Whether dlopen is supported.
32290 dlopen_support=$enable_dlopen
32291
32292 # Whether dlopen of programs is supported.
32293 dlopen_self=$enable_dlopen_self
32294
32295 # Whether dlopen of statically linked programs is supported.
32296 dlopen_self_static=$enable_dlopen_self_static
32297
32298 # Commands to strip libraries.
32299 old_striplib=$lt_old_striplib
32300 striplib=$lt_striplib
32301
32302
32303 # The linker used to build libraries.
32304 LD=$lt_LD
32305
32306 # Commands used to build an old-style archive.
32307 old_archive_cmds=$lt_old_archive_cmds
32308
32309 # A language specific compiler.
32310 CC=$lt_compiler
32311
32312 # Is the compiler the GNU compiler?
32313 with_gcc=$GCC
32314
32315 # Compiler flag to turn off builtin functions.
32316 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32317
32318 # How to pass a linker flag through the compiler.
32319 wl=$lt_lt_prog_compiler_wl
32320
32321 # Additional compiler flags for building library objects.
32322 pic_flag=$lt_lt_prog_compiler_pic
32323
32324 # Compiler flag to prevent dynamic linking.
32325 link_static_flag=$lt_lt_prog_compiler_static
32326
32327 # Does compiler simultaneously support -c and -o options?
32328 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32329
32330 # Whether or not to add -lc for building shared libraries.
32331 build_libtool_need_lc=$archive_cmds_need_lc
32332
32333 # Whether or not to disallow shared libs when runtime libs are static.
32334 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32335
32336 # Compiler flag to allow reflexive dlopens.
32337 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32338
32339 # Compiler flag to generate shared objects directly from archives.
32340 whole_archive_flag_spec=$lt_whole_archive_flag_spec
32341
32342 # Whether the compiler copes with passing no objects directly.
32343 compiler_needs_object=$lt_compiler_needs_object
32344
32345 # Create an old-style archive from a shared archive.
32346 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32347
32348 # Create a temporary old-style archive to link instead of a shared archive.
32349 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32350
32351 # Commands used to build a shared archive.
32352 archive_cmds=$lt_archive_cmds
32353 archive_expsym_cmds=$lt_archive_expsym_cmds
32354
32355 # Commands used to build a loadable module if different from building
32356 # a shared archive.
32357 module_cmds=$lt_module_cmds
32358 module_expsym_cmds=$lt_module_expsym_cmds
32359
32360 # Whether we are building with GNU ld or not.
32361 with_gnu_ld=$lt_with_gnu_ld
32362
32363 # Flag that allows shared libraries with undefined symbols to be built.
32364 allow_undefined_flag=$lt_allow_undefined_flag
32365
32366 # Flag that enforces no undefined symbols.
32367 no_undefined_flag=$lt_no_undefined_flag
32368
32369 # Flag to hardcode \$libdir into a binary during linking.
32370 # This must work even if \$libdir does not exist
32371 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32372
32373 # If ld is used when linking, flag to hardcode \$libdir into a binary
32374 # during linking. This must work even if \$libdir does not exist.
32375 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
32376
32377 # Whether we need a single "-rpath" flag with a separated argument.
32378 hardcode_libdir_separator=$lt_hardcode_libdir_separator
32379
32380 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32381 # DIR into the resulting binary.
32382 hardcode_direct=$hardcode_direct
32383
32384 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32385 # DIR into the resulting binary and the resulting library dependency is
32386 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32387 # library is relocated.
32388 hardcode_direct_absolute=$hardcode_direct_absolute
32389
32390 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32391 # into the resulting binary.
32392 hardcode_minus_L=$hardcode_minus_L
32393
32394 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32395 # into the resulting binary.
32396 hardcode_shlibpath_var=$hardcode_shlibpath_var
32397
32398 # Set to "yes" if building a shared library automatically hardcodes DIR
32399 # into the library and all subsequent libraries and executables linked
32400 # against it.
32401 hardcode_automatic=$hardcode_automatic
32402
32403 # Set to yes if linker adds runtime paths of dependent libraries
32404 # to runtime path list.
32405 inherit_rpath=$inherit_rpath
32406
32407 # Whether libtool must link a program against all its dependency libraries.
32408 link_all_deplibs=$link_all_deplibs
32409
32410 # Fix the shell variable \$srcfile for the compiler.
32411 fix_srcfile_path=$lt_fix_srcfile_path
32412
32413 # Set to "yes" if exported symbols are required.
32414 always_export_symbols=$always_export_symbols
32415
32416 # The commands to list exported symbols.
32417 export_symbols_cmds=$lt_export_symbols_cmds
32418
32419 # Symbols that should not be listed in the preloaded symbols.
32420 exclude_expsyms=$lt_exclude_expsyms
32421
32422 # Symbols that must always be exported.
32423 include_expsyms=$lt_include_expsyms
32424
32425 # Commands necessary for linking programs (against libraries) with templates.
32426 prelink_cmds=$lt_prelink_cmds
32427
32428 # Specify filename containing input files.
32429 file_list_spec=$lt_file_list_spec
32430
32431 # How to hardcode a shared library path into an executable.
32432 hardcode_action=$hardcode_action
32433
32434 # Dependencies to place before and after the objects being linked to
32435 # create a shared library.
32436 predep_objects=$lt_predep_objects
32437 postdep_objects=$lt_postdep_objects
32438 predeps=$lt_predeps
32439 postdeps=$lt_postdeps
32440
32441 # The library search path used internally by the compiler when linking
32442 # a shared library.
32443 compiler_lib_search_path=$lt_compiler_lib_search_path
32444
32445 # ### END LIBTOOL CONFIG
32446
32447 _LT_EOF
32448
32449 case $host_os in
32450 aix3*)
32451 cat <<\_LT_EOF >> "$cfgfile"
32452 # AIX sometimes has problems with the GCC collect2 program. For some
32453 # reason, if we set the COLLECT_NAMES environment variable, the problems
32454 # vanish in a puff of smoke.
32455 if test "X${COLLECT_NAMES+set}" != Xset; then
32456 COLLECT_NAMES=
32457 export COLLECT_NAMES
32458 fi
32459 _LT_EOF
32460 ;;
32461 esac
32462
32463
32464 ltmain="$ac_aux_dir/ltmain.sh"
32465
32466
32467 # We use sed instead of cat because bash on DJGPP gets confused if
32468 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32469 # text mode, it properly converts lines to CR/LF. This bash problem
32470 # is reportedly fixed, but why not run on old versions too?
32471 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
32472 || (rm -f "$cfgfile"; exit 1)
32473
32474 case $xsi_shell in
32475 yes)
32476 cat << \_LT_EOF >> "$cfgfile"
32477 # func_dirname file append nondir_replacement
32478 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32479 # otherwise set result to NONDIR_REPLACEMENT.
32480 func_dirname ()
32481 {
32482 case ${1} in
32483 */*) func_dirname_result="${1%/*}${2}" ;;
32484 * ) func_dirname_result="${3}" ;;
32485 esac
32486 }
32487
32488 # func_basename file
32489 func_basename ()
32490 {
32491 func_basename_result="${1##*/}"
32492 }
32493
32494 # func_stripname prefix suffix name
32495 # strip PREFIX and SUFFIX off of NAME.
32496 # PREFIX and SUFFIX must not contain globbing or regex special
32497 # characters, hashes, percent signs, but SUFFIX may contain a leading
32498 # dot (in which case that matches only a dot).
32499 func_stripname ()
32500 {
32501 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
32502 # positional parameters, so assign one to ordinary parameter first.
32503 func_stripname_result=${3}
32504 func_stripname_result=${func_stripname_result#"${1}"}
32505 func_stripname_result=${func_stripname_result%"${2}"}
32506 }
32507
32508 # func_opt_split
32509 func_opt_split ()
32510 {
32511 func_opt_split_opt=${1%%=*}
32512 func_opt_split_arg=${1#*=}
32513 }
32514
32515 # func_lo2o object
32516 func_lo2o ()
32517 {
32518 case ${1} in
32519 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
32520 *) func_lo2o_result=${1} ;;
32521 esac
32522 }
32523 _LT_EOF
32524 ;;
32525 *) # Bourne compatible functions.
32526 cat << \_LT_EOF >> "$cfgfile"
32527 # func_dirname file append nondir_replacement
32528 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
32529 # otherwise set result to NONDIR_REPLACEMENT.
32530 func_dirname ()
32531 {
32532 # Extract subdirectory from the argument.
32533 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
32534 if test "X$func_dirname_result" = "X${1}"; then
32535 func_dirname_result="${3}"
32536 else
32537 func_dirname_result="$func_dirname_result${2}"
32538 fi
32539 }
32540
32541 # func_basename file
32542 func_basename ()
32543 {
32544 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
32545 }
32546
32547 # func_stripname prefix suffix name
32548 # strip PREFIX and SUFFIX off of NAME.
32549 # PREFIX and SUFFIX must not contain globbing or regex special
32550 # characters, hashes, percent signs, but SUFFIX may contain a leading
32551 # dot (in which case that matches only a dot).
32552 # func_strip_suffix prefix name
32553 func_stripname ()
32554 {
32555 case ${2} in
32556 .*) func_stripname_result=`$ECHO "X${3}" \
32557 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
32558 *) func_stripname_result=`$ECHO "X${3}" \
32559 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
32560 esac
32561 }
32562
32563 # sed scripts:
32564 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
32565 my_sed_long_arg='1s/^-[^=]*=//'
32566
32567 # func_opt_split
32568 func_opt_split ()
32569 {
32570 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
32571 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
32572 }
32573
32574 # func_lo2o object
32575 func_lo2o ()
32576 {
32577 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
32578 }
32579 _LT_EOF
32580 esac
32581
32582 case $lt_shell_append in
32583 yes)
32584 cat << \_LT_EOF >> "$cfgfile"
32585
32586 # func_append var value
32587 # Append VALUE to the end of shell variable VAR.
32588 func_append ()
32589 {
32590 eval "$1+=\$2"
32591 }
32592 _LT_EOF
32593 ;;
32594 *)
32595 cat << \_LT_EOF >> "$cfgfile"
32596
32597 # func_append var value
32598 # Append VALUE to the end of shell variable VAR.
32599 func_append ()
32600 {
32601 eval "$1=\$$1\$2"
32602 }
32603 _LT_EOF
32604 ;;
32605 esac
32606
32607
32608 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
32609 || (rm -f "$cfgfile"; exit 1)
32610
32611 mv -f "$cfgfile" "$ofile" ||
32612 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32613 chmod +x "$ofile"
32614
32615
32616 cat <<_LT_EOF >> "$ofile"
32617
32618 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32619
32620 # The linker used to build libraries.
32621 LD=$lt_LD_CXX
32622
32623 # Commands used to build an old-style archive.
32624 old_archive_cmds=$lt_old_archive_cmds_CXX
32625
32626 # A language specific compiler.
32627 CC=$lt_compiler_CXX
32628
32629 # Is the compiler the GNU compiler?
32630 with_gcc=$GCC_CXX
32631
32632 # Compiler flag to turn off builtin functions.
32633 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32634
32635 # How to pass a linker flag through the compiler.
32636 wl=$lt_lt_prog_compiler_wl_CXX
32637
32638 # Additional compiler flags for building library objects.
32639 pic_flag=$lt_lt_prog_compiler_pic_CXX
32640
32641 # Compiler flag to prevent dynamic linking.
32642 link_static_flag=$lt_lt_prog_compiler_static_CXX
32643
32644 # Does compiler simultaneously support -c and -o options?
32645 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32646
32647 # Whether or not to add -lc for building shared libraries.
32648 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32649
32650 # Whether or not to disallow shared libs when runtime libs are static.
32651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32652
32653 # Compiler flag to allow reflexive dlopens.
32654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32655
32656 # Compiler flag to generate shared objects directly from archives.
32657 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32658
32659 # Whether the compiler copes with passing no objects directly.
32660 compiler_needs_object=$lt_compiler_needs_object_CXX
32661
32662 # Create an old-style archive from a shared archive.
32663 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32664
32665 # Create a temporary old-style archive to link instead of a shared archive.
32666 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32667
32668 # Commands used to build a shared archive.
32669 archive_cmds=$lt_archive_cmds_CXX
32670 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32671
32672 # Commands used to build a loadable module if different from building
32673 # a shared archive.
32674 module_cmds=$lt_module_cmds_CXX
32675 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32676
32677 # Whether we are building with GNU ld or not.
32678 with_gnu_ld=$lt_with_gnu_ld_CXX
32679
32680 # Flag that allows shared libraries with undefined symbols to be built.
32681 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32682
32683 # Flag that enforces no undefined symbols.
32684 no_undefined_flag=$lt_no_undefined_flag_CXX
32685
32686 # Flag to hardcode \$libdir into a binary during linking.
32687 # This must work even if \$libdir does not exist
32688 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32689
32690 # If ld is used when linking, flag to hardcode \$libdir into a binary
32691 # during linking. This must work even if \$libdir does not exist.
32692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
32693
32694 # Whether we need a single "-rpath" flag with a separated argument.
32695 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32696
32697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32698 # DIR into the resulting binary.
32699 hardcode_direct=$hardcode_direct_CXX
32700
32701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
32702 # DIR into the resulting binary and the resulting library dependency is
32703 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
32704 # library is relocated.
32705 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32706
32707 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32708 # into the resulting binary.
32709 hardcode_minus_L=$hardcode_minus_L_CXX
32710
32711 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32712 # into the resulting binary.
32713 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32714
32715 # Set to "yes" if building a shared library automatically hardcodes DIR
32716 # into the library and all subsequent libraries and executables linked
32717 # against it.
32718 hardcode_automatic=$hardcode_automatic_CXX
32719
32720 # Set to yes if linker adds runtime paths of dependent libraries
32721 # to runtime path list.
32722 inherit_rpath=$inherit_rpath_CXX
32723
32724 # Whether libtool must link a program against all its dependency libraries.
32725 link_all_deplibs=$link_all_deplibs_CXX
32726
32727 # Fix the shell variable \$srcfile for the compiler.
32728 fix_srcfile_path=$lt_fix_srcfile_path_CXX
32729
32730 # Set to "yes" if exported symbols are required.
32731 always_export_symbols=$always_export_symbols_CXX
32732
32733 # The commands to list exported symbols.
32734 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32735
32736 # Symbols that should not be listed in the preloaded symbols.
32737 exclude_expsyms=$lt_exclude_expsyms_CXX
32738
32739 # Symbols that must always be exported.
32740 include_expsyms=$lt_include_expsyms_CXX
32741
32742 # Commands necessary for linking programs (against libraries) with templates.
32743 prelink_cmds=$lt_prelink_cmds_CXX
32744
32745 # Specify filename containing input files.
32746 file_list_spec=$lt_file_list_spec_CXX
32747
32748 # How to hardcode a shared library path into an executable.
32749 hardcode_action=$hardcode_action_CXX
32750
32751 # Dependencies to place before and after the objects being linked to
32752 # create a shared library.
32753 predep_objects=$lt_predep_objects_CXX
32754 postdep_objects=$lt_postdep_objects_CXX
32755 predeps=$lt_predeps_CXX
32756 postdeps=$lt_postdeps_CXX
32757
32758 # The library search path used internally by the compiler when linking
32759 # a shared library.
32760 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32761
32762 # ### END LIBTOOL TAG CONFIG: CXX
32763 _LT_EOF
32764
32765 ;;
32766 mkcollections.pl ) chmod 755 lib/mkcollections.pl ;;
32767 $ac_stdint_h )
32768 { echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
32769 echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
32770 ac_stdint=$tmp/_stdint.h
32771
32772 echo "#ifndef" $_ac_stdint_h >$ac_stdint
32773 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
32774 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
32775 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
32776 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
32777 if test "_$ac_cv_header_stdint_t" != "_" ; then
32778 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
32779 echo "#include <stdint.h>" >>$ac_stdint
32780 echo "#endif" >>$ac_stdint
32781 echo "#endif" >>$ac_stdint
32782 else
32783
32784 cat >>$ac_stdint <<STDINT_EOF
32785
32786 /* ................... shortcircuit part ........................... */
32787
32788 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
32789 #include <stdint.h>
32790 #else
32791 #include <stddef.h>
32792
32793 /* .................... configured part ............................ */
32794
32795 STDINT_EOF
32796
32797 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
32798 if test "_$ac_cv_header_stdint_x" != "_" ; then
32799 ac_header="$ac_cv_header_stdint_x"
32800 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
32801 else
32802 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
32803 fi
32804
32805 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
32806 if test "_$ac_cv_header_stdint_o" != "_" ; then
32807 ac_header="$ac_cv_header_stdint_o"
32808 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
32809 else
32810 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
32811 fi
32812
32813 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
32814 if test "_$ac_cv_header_stdint_u" != "_" ; then
32815 ac_header="$ac_cv_header_stdint_u"
32816 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
32817 else
32818 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
32819 fi
32820
32821 echo "" >>$ac_stdint
32822
32823 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
32824 echo "#include <$ac_header>" >>$ac_stdint
32825 echo "" >>$ac_stdint
32826 fi fi
32827
32828 echo "/* which 64bit typedef has been found */" >>$ac_stdint
32829 if test "$ac_cv_type_uint64_t" = "yes" ; then
32830 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
32831 else
32832 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
32833 fi
32834 if test "$ac_cv_type_u_int64_t" = "yes" ; then
32835 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
32836 else
32837 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
32838 fi
32839 echo "" >>$ac_stdint
32840
32841 echo "/* which type model has been detected */" >>$ac_stdint
32842 if test "_$ac_cv_char_data_model" != "_" ; then
32843 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
32844 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
32845 else
32846 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
32847 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
32848 fi
32849 echo "" >>$ac_stdint
32850
32851 echo "/* whether int_least types were detected */" >>$ac_stdint
32852 if test "$ac_cv_type_int_least32_t" = "yes"; then
32853 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
32854 else
32855 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
32856 fi
32857 echo "/* whether int_fast types were detected */" >>$ac_stdint
32858 if test "$ac_cv_type_int_fast32_t" = "yes"; then
32859 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
32860 else
32861 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
32862 fi
32863 echo "/* whether intmax_t type was detected */" >>$ac_stdint
32864 if test "$ac_cv_type_intmax_t" = "yes"; then
32865 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
32866 else
32867 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
32868 fi
32869 echo "" >>$ac_stdint
32870
32871 cat >>$ac_stdint <<STDINT_EOF
32872 /* .................... detections part ............................ */
32873
32874 /* whether we need to define bitspecific types from compiler base types */
32875 #ifndef _STDINT_HEADER_INTPTR
32876 #ifndef _STDINT_HEADER_UINT32
32877 #ifndef _STDINT_HEADER_U_INT32
32878 #define _STDINT_NEED_INT_MODEL_T
32879 #else
32880 #define _STDINT_HAVE_U_INT_TYPES
32881 #endif
32882 #endif
32883 #endif
32884
32885 #ifdef _STDINT_HAVE_U_INT_TYPES
32886 #undef _STDINT_NEED_INT_MODEL_T
32887 #endif
32888
32889 #ifdef _STDINT_CHAR_MODEL
32890 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
32891 #ifndef _STDINT_BYTE_MODEL
32892 #define _STDINT_BYTE_MODEL 12
32893 #endif
32894 #endif
32895 #endif
32896
32897 #ifndef _STDINT_HAVE_INT_LEAST32_T
32898 #define _STDINT_NEED_INT_LEAST_T
32899 #endif
32900
32901 #ifndef _STDINT_HAVE_INT_FAST32_T
32902 #define _STDINT_NEED_INT_FAST_T
32903 #endif
32904
32905 #ifndef _STDINT_HEADER_INTPTR
32906 #define _STDINT_NEED_INTPTR_T
32907 #ifndef _STDINT_HAVE_INTMAX_T
32908 #define _STDINT_NEED_INTMAX_T
32909 #endif
32910 #endif
32911
32912
32913 /* .................... definition part ............................ */
32914
32915 /* some system headers have good uint64_t */
32916 #ifndef _HAVE_UINT64_T
32917 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
32918 #define _HAVE_UINT64_T
32919 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
32920 #define _HAVE_UINT64_T
32921 typedef u_int64_t uint64_t;
32922 #endif
32923 #endif
32924
32925 #ifndef _HAVE_UINT64_T
32926 /* .. here are some common heuristics using compiler runtime specifics */
32927 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
32928 #define _HAVE_UINT64_T
32929 #define _HAVE_LONGLONG_UINT64_T
32930 typedef long long int64_t;
32931 typedef unsigned long long uint64_t;
32932
32933 #elif !defined __STRICT_ANSI__
32934 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
32935 #define _HAVE_UINT64_T
32936 typedef __int64 int64_t;
32937 typedef unsigned __int64 uint64_t;
32938
32939 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
32940 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
32941 #if !defined _NO_LONGLONG
32942 #define _HAVE_UINT64_T
32943 #define _HAVE_LONGLONG_UINT64_T
32944 typedef long long int64_t;
32945 typedef unsigned long long uint64_t;
32946 #endif
32947
32948 #elif defined __alpha || (defined __mips && defined _ABIN32)
32949 #if !defined _NO_LONGLONG
32950 typedef long int64_t;
32951 typedef unsigned long uint64_t;
32952 #endif
32953 /* compiler/cpu type to define int64_t */
32954 #endif
32955 #endif
32956 #endif
32957
32958 #if defined _STDINT_HAVE_U_INT_TYPES
32959 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
32960 typedef u_int8_t uint8_t;
32961 typedef u_int16_t uint16_t;
32962 typedef u_int32_t uint32_t;
32963
32964 /* glibc compatibility */
32965 #ifndef __int8_t_defined
32966 #define __int8_t_defined
32967 #endif
32968 #endif
32969
32970 #ifdef _STDINT_NEED_INT_MODEL_T
32971 /* we must guess all the basic types. Apart from byte-adressable system, */
32972 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
32973 /* (btw, those nibble-addressable systems are way off, or so we assume) */
32974
32975
32976 #if defined _STDINT_BYTE_MODEL
32977 #if _STDINT_LONG_MODEL+0 == 242
32978 /* 2:4:2 = IP16 = a normal 16-bit system */
32979 typedef unsigned char uint8_t;
32980 typedef unsigned short uint16_t;
32981 typedef unsigned long uint32_t;
32982 #ifndef __int8_t_defined
32983 #define __int8_t_defined
32984 typedef char int8_t;
32985 typedef short int16_t;
32986 typedef long int32_t;
32987 #endif
32988 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
32989 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
32990 /* 4:4:4 = ILP32 = a normal 32-bit system */
32991 typedef unsigned char uint8_t;
32992 typedef unsigned short uint16_t;
32993 typedef unsigned int uint32_t;
32994 #ifndef __int8_t_defined
32995 #define __int8_t_defined
32996 typedef char int8_t;
32997 typedef short int16_t;
32998 typedef int int32_t;
32999 #endif
33000 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
33001 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
33002 /* 4:8:8 = LP64 = a normal 64-bit system */
33003 typedef unsigned char uint8_t;
33004 typedef unsigned short uint16_t;
33005 typedef unsigned int uint32_t;
33006 #ifndef __int8_t_defined
33007 #define __int8_t_defined
33008 typedef char int8_t;
33009 typedef short int16_t;
33010 typedef int int32_t;
33011 #endif
33012 /* this system has a "long" of 64bit */
33013 #ifndef _HAVE_UINT64_T
33014 #define _HAVE_UINT64_T
33015 typedef unsigned long uint64_t;
33016 typedef long int64_t;
33017 #endif
33018 #elif _STDINT_LONG_MODEL+0 == 448
33019 /* LLP64 a 64-bit system derived from a 32-bit system */
33020 typedef unsigned char uint8_t;
33021 typedef unsigned short uint16_t;
33022 typedef unsigned int uint32_t;
33023 #ifndef __int8_t_defined
33024 #define __int8_t_defined
33025 typedef char int8_t;
33026 typedef short int16_t;
33027 typedef int int32_t;
33028 #endif
33029 /* assuming the system has a "long long" */
33030 #ifndef _HAVE_UINT64_T
33031 #define _HAVE_UINT64_T
33032 #define _HAVE_LONGLONG_UINT64_T
33033 typedef unsigned long long uint64_t;
33034 typedef long long int64_t;
33035 #endif
33036 #else
33037 #define _STDINT_NO_INT32_T
33038 #endif
33039 #else
33040 #define _STDINT_NO_INT8_T
33041 #define _STDINT_NO_INT32_T
33042 #endif
33043 #endif
33044
33045 /*
33046 * quote from SunOS-5.8 sys/inttypes.h:
33047 * Use at your own risk. As of February 1996, the committee is squarely
33048 * behind the fixed sized types; the "least" and "fast" types are still being
33049 * discussed. The probability that the "fast" types may be removed before
33050 * the standard is finalized is high enough that they are not currently
33051 * implemented.
33052 */
33053
33054 #if defined _STDINT_NEED_INT_LEAST_T
33055 typedef int8_t int_least8_t;
33056 typedef int16_t int_least16_t;
33057 typedef int32_t int_least32_t;
33058 #ifdef _HAVE_UINT64_T
33059 typedef int64_t int_least64_t;
33060 #endif
33061
33062 typedef uint8_t uint_least8_t;
33063 typedef uint16_t uint_least16_t;
33064 typedef uint32_t uint_least32_t;
33065 #ifdef _HAVE_UINT64_T
33066 typedef uint64_t uint_least64_t;
33067 #endif
33068 /* least types */
33069 #endif
33070
33071 #if defined _STDINT_NEED_INT_FAST_T
33072 typedef int8_t int_fast8_t;
33073 typedef int int_fast16_t;
33074 typedef int32_t int_fast32_t;
33075 #ifdef _HAVE_UINT64_T
33076 typedef int64_t int_fast64_t;
33077 #endif
33078
33079 typedef uint8_t uint_fast8_t;
33080 typedef unsigned uint_fast16_t;
33081 typedef uint32_t uint_fast32_t;
33082 #ifdef _HAVE_UINT64_T
33083 typedef uint64_t uint_fast64_t;
33084 #endif
33085 /* fast types */
33086 #endif
33087
33088 #ifdef _STDINT_NEED_INTMAX_T
33089 #ifdef _HAVE_UINT64_T
33090 typedef int64_t intmax_t;
33091 typedef uint64_t uintmax_t;
33092 #else
33093 typedef long intmax_t;
33094 typedef unsigned long uintmax_t;
33095 #endif
33096 #endif
33097
33098 #ifdef _STDINT_NEED_INTPTR_T
33099 #ifndef __intptr_t_defined
33100 #define __intptr_t_defined
33101 /* we encourage using "long" to store pointer values, never use "int" ! */
33102 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
33103 typedef unsigned int uintptr_t;
33104 typedef int intptr_t;
33105 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
33106 typedef unsigned long uintptr_t;
33107 typedef long intptr_t;
33108 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
33109 typedef uint64_t uintptr_t;
33110 typedef int64_t intptr_t;
33111 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
33112 typedef unsigned long uintptr_t;
33113 typedef long intptr_t;
33114 #endif
33115 #endif
33116 #endif
33117
33118 /* The ISO C99 standard specifies that in C++ implementations these
33119 should only be defined if explicitly requested. */
33120 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
33121 #ifndef UINT32_C
33122
33123 /* Signed. */
33124 # define INT8_C(c) c
33125 # define INT16_C(c) c
33126 # define INT32_C(c) c
33127 # ifdef _HAVE_LONGLONG_UINT64_T
33128 # define INT64_C(c) c ## L
33129 # else
33130 # define INT64_C(c) c ## LL
33131 # endif
33132
33133 /* Unsigned. */
33134 # define UINT8_C(c) c ## U
33135 # define UINT16_C(c) c ## U
33136 # define UINT32_C(c) c ## U
33137 # ifdef _HAVE_LONGLONG_UINT64_T
33138 # define UINT64_C(c) c ## UL
33139 # else
33140 # define UINT64_C(c) c ## ULL
33141 # endif
33142
33143 /* Maximal type. */
33144 # ifdef _HAVE_LONGLONG_UINT64_T
33145 # define INTMAX_C(c) c ## L
33146 # define UINTMAX_C(c) c ## UL
33147 # else
33148 # define INTMAX_C(c) c ## LL
33149 # define UINTMAX_C(c) c ## ULL
33150 # endif
33151
33152 /* literalnumbers */
33153 #endif
33154 #endif
33155
33156 /* These limits are merily those of a two complement byte-oriented system */
33157
33158 /* Minimum of signed integral types. */
33159 #ifndef INT8_MIN
33160 # define INT8_MIN (-128)
33161 #endif
33162 #ifndef INT16_MIN
33163 # define INT16_MIN (-32767-1)
33164 #endif
33165 #ifndef INT32_MIN
33166 # define INT32_MIN (-2147483647-1)
33167 #endif
33168 #ifndef INT64_MIN
33169 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
33170 #endif
33171
33172 /* Maximum of signed integral types. */
33173 #ifndef INT8_MAX
33174 # define INT8_MAX (127)
33175 #endif
33176 #ifndef INT16_MAX
33177 # define INT16_MAX (32767)
33178 #endif
33179 #ifndef INT32_MAX
33180 # define INT32_MAX (2147483647)
33181 #endif
33182 #ifndef INT64_MAX
33183 # define INT64_MAX (__INT64_C(9223372036854775807))
33184 #endif
33185
33186 /* Maximum of unsigned integral types. */
33187 #ifndef UINT8_MAX
33188 # define UINT8_MAX (255)
33189 #endif
33190 #ifndef UINT16_MAX
33191 # define UINT16_MAX (65535)
33192 #endif
33193 #ifndef UINT32_MAX
33194 # define UINT32_MAX (4294967295U)
33195 #endif
33196 #ifndef UINT64_MAX
33197 # define UINT64_MAX (__UINT64_C(18446744073709551615))
33198 #endif
33199
33200 /* Minimum of signed integral types having a minimum size. */
33201 # define INT_LEAST8_MIN INT8_MIN
33202 # define INT_LEAST16_MIN INT16_MIN
33203 # define INT_LEAST32_MIN INT32_MIN
33204 # define INT_LEAST64_MIN INT64_MIN
33205 /* Maximum of signed integral types having a minimum size. */
33206 # define INT_LEAST8_MAX INT8_MAX
33207 # define INT_LEAST16_MAX INT16_MAX
33208 # define INT_LEAST32_MAX INT32_MAX
33209 # define INT_LEAST64_MAX INT64_MAX
33210
33211 /* Maximum of unsigned integral types having a minimum size. */
33212 # define UINT_LEAST8_MAX UINT8_MAX
33213 # define UINT_LEAST16_MAX UINT16_MAX
33214 # define UINT_LEAST32_MAX UINT32_MAX
33215 # define UINT_LEAST64_MAX UINT64_MAX
33216
33217 /* shortcircuit*/
33218 #endif
33219 /* once */
33220 #endif
33221 #endif
33222 STDINT_EOF
33223 fi
33224 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
33225 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
33226 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
33227 else
33228 ac_dir=`(dirname "$ac_stdint_h") 2>/dev/null ||
33229 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33230 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
33231 X"$ac_stdint_h" : 'X\(//\)$' \| \
33232 X"$ac_stdint_h" : 'X\(/\)' \| \
33233 . : '\(.\)' 2>/dev/null ||
33234 echo X"$ac_stdint_h" |
33235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33237 /^X\(\/\/\)$/{ s//\1/; q; }
33238 /^X\(\/\).*/{ s//\1/; q; }
33239 s/.*/./; q'`
33240 { if $as_mkdir_p; then
33241 mkdir -p "$ac_dir"
33242 else
33243 as_dir="$ac_dir"
33244 as_dirs=
33245 while test ! -d "$as_dir"; do
33246 as_dirs="$as_dir $as_dirs"
33247 as_dir=`(dirname "$as_dir") 2>/dev/null ||
33248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33249 X"$as_dir" : 'X\(//\)[^/]' \| \
33250 X"$as_dir" : 'X\(//\)$' \| \
33251 X"$as_dir" : 'X\(/\)' \| \
33252 . : '\(.\)' 2>/dev/null ||
33253 echo X"$as_dir" |
33254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33256 /^X\(\/\/\)$/{ s//\1/; q; }
33257 /^X\(\/\).*/{ s//\1/; q; }
33258 s/.*/./; q'`
33259 done
33260 test ! -n "$as_dirs" || mkdir $as_dirs
33261 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33263 { (exit 1); exit 1; }; }; }
33264
33265 rm -f $ac_stdint_h
33266 mv $ac_stdint $ac_stdint_h
33267 fi
33268 ;;
33269 gappletviewer ) chmod 755 tools/gappletviewer ;;
33270 gjarsigner ) chmod 755 tools/gjarsigner ;;
33271 gkeytool ) chmod 755 tools/gkeytool ;;
33272 gjar ) chmod 755 tools/gjar ;;
33273 gnative2ascii ) chmod 755 tools/gnative2ascii ;;
33274 gserialver ) chmod 755 tools/gserialver ;;
33275 grmiregistry ) chmod 755 tools/grmiregistry ;;
33276 gtnameserv ) chmod 755 tools/gtnameserv ;;
33277 gorbd ) chmod 755 tools/gorbd ;;
33278 grmid ) chmod 755 tools/grmid ;;
33279 grmic ) chmod 755 tools/grmic ;;
33280 gjavah ) chmod 755 tools/gjavah ;;
33281 gen-classlist ) chmod 755 lib/gen-classlist.sh ;;
33282 copy-vmresources ) chmod 755 lib/copy-vmresources.sh ;;
33283 esac
33284 done
33285 _ACEOF
33286
33287 cat >>$CONFIG_STATUS <<\_ACEOF
33288
33289 { (exit 0); exit 0; }
33290 _ACEOF
33291 chmod +x $CONFIG_STATUS
33292 ac_clean_files=$ac_clean_files_save
33293
33294
33295 # configure is writing to config.log, and then calls config.status.
33296 # config.status does its own redirection, appending to config.log.
33297 # Unfortunately, on DOS this fails, as config.log is still kept open
33298 # by configure, so config.status won't be able to write to it; its
33299 # output is simply discarded. So we exec the FD to /dev/null,
33300 # effectively closing config.log, so it can be properly (re)opened and
33301 # appended to by config.status. When coming back to configure, we
33302 # need to make the FD available again.
33303 if test "$no_create" != yes; then
33304 ac_cs_success=:
33305 ac_config_status_args=
33306 test "$silent" = yes &&
33307 ac_config_status_args="$ac_config_status_args --quiet"
33308 exec 5>/dev/null
33309 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
33310 exec 5>>config.log
33311 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33312 # would make configure fail if this is the last instruction.
33313 $ac_cs_success || { (exit 1); exit 1; }
33314 fi
33315
33316
33317 # Create standard.omit based on decisions we just made.
33318 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
33319 if test x$use_escher != xtrue; then
33320 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
33321 fi