2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
243 # Find the correct PATH separator. Usually this is `:', but
244 # DJGPP uses `;' like DOS.
245 if test "X${PATH_SEPARATOR+set}" != Xset; then
246 UNAME=${UNAME-`uname 2>/dev/null`}
248 *-DOS) lt_cv_sys_path_separator=';' ;;
249 *) lt_cv_sys_path_separator=':' ;;
251 PATH_SEPARATOR=$lt_cv_sys_path_separator
255 # Check that we are running under the correct shell.
256 SHELL=${CONFIG_SHELL-/bin/sh}
260 # Remove one level of quotation (which was required for Make).
261 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
266 if test "X$1" = X--no-reexec; then
267 # Discard the --no-reexec flag, and continue.
269 elif test "X$1" = X--fallback-echo; then
270 # Avoid inline document here, it may be left over
272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
273 # Yippee, $echo works!
276 # Restart under the correct shell.
277 exec $SHELL "$0" --no-reexec ${1+"$@"}
280 if test "X$1" = X--fallback-echo; then
281 # used as fallback echo
289 # The HP-UX ksh and POSIX shell print the target directory to stdout
291 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
293 if test -z "$ECHO"; then
294 if test "X${echo_test_string+set}" != Xset; then
295 # find a string as large as possible, as long as the shell can cope with it
296 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
297 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
298 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
299 echo_test_string="`eval $cmd`" &&
300 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
307 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
308 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
309 test "X$echo_testing_string" = "X$echo_test_string"; then
312 # The Solaris, AIX, and Digital Unix default echo programs unquote
313 # backslashes. This makes it impossible to quote backslashes using
314 # echo "$something" | sed 's/\\/\\\\/g'
316 # So, first we look for a working echo in the user's PATH.
318 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
319 for dir in $PATH /usr/ucb; do
320 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
321 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
322 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
323 test "X$echo_testing_string" = "X$echo_test_string"; then
330 if test "X$echo" = Xecho; then
331 # We didn't find a better echo, so look for alternatives.
332 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
333 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
334 test "X$echo_testing_string" = "X$echo_test_string"; then
335 # This shell has a builtin print -r that does the trick.
337 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
338 test "X$CONFIG_SHELL" != X/bin/ksh; then
339 # If we have ksh, try running configure again with it.
340 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
341 export ORIGINAL_CONFIG_SHELL
342 CONFIG_SHELL=/bin/ksh
344 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
348 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
349 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
353 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
359 SHELL="$CONFIG_SHELL"
361 echo="$CONFIG_SHELL $0 --fallback-echo"
362 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
363 test "X$echo_testing_string" = 'X\t' &&
364 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
365 test "X$echo_testing_string" = "X$echo_test_string"; then
366 echo="$CONFIG_SHELL $0 --fallback-echo"
368 # maybe with a smaller string...
371 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
372 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
379 if test "$prev" != 'sed 50q "$0"'; then
380 echo_test_string=`eval $prev`
381 export echo_test_string
382 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
384 # Oops. We lost completely, so just stick with echo.
393 # Copy echo and quote the copy suitably for passing to libtool from
394 # the Makefile, instead of quoting the original, which is used later.
396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
397 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404 # so uname gets run too.
405 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
412 ac_default_prefix=/usr/local
413 ac_config_libobj_dir=.
418 SHELL=${CONFIG_SHELL-/bin/sh}
420 # Maximum number of lines to put in a shell here document.
421 # This variable seems obsolete. It should probably be removed, and
422 # only ac_max_sed_lines should be used.
423 : ${ac_max_here_lines=38}
425 # Identity of this package.
432 ac_unique_file="libgnomevfs/gnome-vfs.h"
433 # Factoring default headers for most tests.
434 ac_includes_default="\
437 # include <sys/types.h>
440 # include <sys/stat.h>
451 # if !STDC_HEADERS && HAVE_MEMORY_H
457 # include <strings.h>
460 # include <inttypes.h>
470 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 LIBGNOMEVFS_CURRENT LIBGNOMEVFS_REVISION LIBGNOMEVFS_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE ACLOCAL_AMFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GNOME_ACLOCAL_DIR GNOME_ACLOCAL_FLAGS INSIDE_GNOME_DOCU_TRUE INSIDE_GNOME_DOCU_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP AWK build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL BONOBO_ACTIVATION_REQUIRED BONOBO_REQUIRED GCONF_REQUIRED GLIB_REQUIRED LIBIDL_REQUIRED ORBIT_REQUIRED XML_REQUIRED PKG_CONFIG MODULES_XML_CFLAGS MODULES_XML_LIBS MODULES_CFLAGS MODULES_LIBS MODULES_FILE_CFLAGS MODULES_FILE_LIBS MODULES_GCONF_CFLAGS MODULES_GCONF_LIBS MODULES_XML_GCONF_CFLAGS MODULES_XML_GCONF_LIBS MONIKERS_CFLAGS MONIKERS_LIBS TEST_CFLAGS TEST_LIBS ORBIT_IDL BONOBO_IDLDIR WARN_CFLAGS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS ALLOCA GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE VFS_SIZE VFS_OFFSET VFS_SIZE_IS VFS_OFFSET_IS VFS_SIZE_PRINTF VFS_OFFSET_PRINTF ENABLE_PROFILER ENABLE_PROFILER_TRUE ENABLE_PROFILER_FALSE VFS_CFLAGS GNOME_VFS_DIR VFS_LIBDIR VFS_INCLUDEDIR VFS_LIBS HAVE_LIBEFS_TRUE HAVE_LIBEFS_FALSE LIBEFS_LIBS LIBEFS_CFLAGS BZ2_LIBS HAVE_CDDA_TRUE HAVE_CDDA_FALSE BUILD_CDEMENU_MODULE_TRUE BUILD_CDEMENU_MODULE_FALSE HAVE_SSL_TRUE HAVE_SSL_FALSE OPENSSL_CFLAGS OPENSSL_LIBS LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBGNOMEVFS_CFLAGS LIBGNOMEVFS_LIBS FAM_LIBS HTML_DIR GTKDOC DB2HTML HAVE_DOCBOOK_TRUE HAVE_DOCBOOK_FALSE HAVE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE HAVE_GTK_DOC ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE POPT_LIBS TOP_BUILDDIR LIBOBJS LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CPP_set=${CPP+set}
928 ac_env_CPP_value=$CPP
929 ac_cv_env_CPP_set=${CPP+set}
930 ac_cv_env_CPP_value=$CPP
933 # Report the --help message.
935 if test "$ac_init_help" = "long"; then
936 # Omit some internal or obsolete options to make the list less imposing.
937 # This message is too long to be a string in the A/UX 3.1 sh.
939 \`configure' configures this package to adapt to many kinds of systems.
941 Usage: $0 [OPTION]... [VAR=VALUE]...
943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
944 VAR=VALUE. See below for descriptions of some of the useful variables.
946 Defaults for the options are specified in brackets.
949 -h, --help display this help and exit
950 --help=short display options specific to this package
951 --help=recursive display the short help of all the included packages
952 -V, --version display version information and exit
953 -q, --quiet, --silent do not print \`checking...' messages
954 --cache-file=FILE cache test results in FILE [disabled]
955 -C, --config-cache alias for \`--cache-file=config.cache'
956 -n, --no-create do not create output files
957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
962 Installation directories:
963 --prefix=PREFIX install architecture-independent files in PREFIX
965 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
968 By default, \`make install' will install all the files in
969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
971 for instance \`--prefix=\$HOME'.
973 For better control, use the options below.
975 Fine tuning of the installation directories:
976 --bindir=DIR user executables [EPREFIX/bin]
977 --sbindir=DIR system admin executables [EPREFIX/sbin]
978 --libexecdir=DIR program executables [EPREFIX/libexec]
979 --datadir=DIR read-only architecture-independent data [PREFIX/share]
980 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
981 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
982 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
983 --libdir=DIR object code libraries [EPREFIX/lib]
984 --includedir=DIR C header files [PREFIX/include]
985 --oldincludedir=DIR C header files for non-gcc [/usr/include]
986 --infodir=DIR info documentation [PREFIX/info]
987 --mandir=DIR man documentation [PREFIX/man]
993 --program-prefix=PREFIX prepend PREFIX to installed program names
994 --program-suffix=SUFFIX append SUFFIX to installed program names
995 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
998 --build=BUILD configure for building on BUILD [guessed]
999 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1003 if test -n "$ac_init_help"; then
1008 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1009 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared=PKGS build shared libraries default=yes
1013 --enable-static=PKGS build static libraries default=yes
1014 --enable-fast-install=PKGS optimize for fast installation default=yes
1015 --disable-libtool-lock avoid locking (might break parallel builds)
1016 --enable-compile-warnings=no/minimum/yes/maximum/error Turn on compiler warnings.
1017 --enable-iso-c Try to warn if code is not ISO C
1018 --disable-schemas-install Disable the schemas installation
1019 --enable-profiler Enable profiler
1020 --enable-more-warnings Maximum compiler warnings
1021 --disable-openssl build without openssl support
1022 --enable-gnutls build with gnutls support
1023 --enable-gtk-doc Use gtk-doc to build documentation default=auto
1024 --enable-ipv6 enable IPv6 extensions
1027 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1028 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1029 --with-gnu-ld assume the C compiler uses GNU ld default=no
1030 --with-pic try to use only PIC/non-PIC objects default=use both
1031 --with-gconf-source=sourceaddress Config database for installing schema files.
1032 --with-gconf-schema-file-dir=dir Directory for installing schema files.
1033 --with-openssl-includes=PREFIX Location of OpenSSL includes.
1034 --with-openssl-libs=PREFIX Location of OpenSSL libs.
1035 --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional)
1036 --with-html-dir=PATH path to installed docs
1037 --with-afs support -fstype afs
1039 Some influential environment variables:
1040 CC C compiler command
1041 CFLAGS C compiler flags
1042 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1043 nonstandard directory <lib dir>
1044 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1045 headers in a nonstandard directory <include dir>
1048 Use these variables to override the choices made by `configure' or to help
1049 it to find libraries and programs with nonstandard names/locations.
1054 if test "$ac_init_help" = "recursive"; then
1055 # If there are subdirs, report their specific --help.
1057 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1058 test -d $ac_dir || continue
1061 if test "$ac_dir" != .; then
1062 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1063 # A "../" for each directory in $ac_dir_suffix.
1064 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1066 ac_dir_suffix= ac_top_builddir=
1070 .) # No --srcdir option. We are building in place.
1072 if test -z "$ac_top_builddir"; then
1075 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1077 [\\/]* | ?:[\\/]* ) # Absolute path.
1078 ac_srcdir=$srcdir$ac_dir_suffix;
1079 ac_top_srcdir=$srcdir ;;
1081 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1082 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1086 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1087 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1088 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1089 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1092 # Check for guested configure; otherwise get Cygnus style configure.
1093 if test -f $ac_srcdir/configure.gnu; then
1095 $SHELL $ac_srcdir/configure.gnu --help=recursive
1096 elif test -f $ac_srcdir/configure; then
1098 $SHELL $ac_srcdir/configure --help=recursive
1099 elif test -f $ac_srcdir/configure.ac ||
1100 test -f $ac_srcdir/configure.in; then
1102 $ac_configure --help
1104 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1110 test -n "$ac_init_help" && exit 0
1111 if $ac_init_version; then
1114 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1115 Free Software Foundation, Inc.
1116 This configure script is free software; the Free Software Foundation
1117 gives unlimited permission to copy, distribute and modify it.
1123 This file contains any messages produced by compilers while
1124 running configure, to aid debugging if configure makes a mistake.
1126 It was created by $as_me, which was
1127 generated by GNU Autoconf 2.57. Invocation command line was
1138 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1139 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1140 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1141 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1142 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1144 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1145 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1147 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1148 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1149 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1150 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1151 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1152 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1153 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1161 test -z "$as_dir" && as_dir=.
1162 echo "PATH: $as_dir"
1177 # Keep a trace of the command line.
1178 # Strip out --no-create and --no-recursion so they do not pile up.
1179 # Strip out --silent because we don't want to record it for future runs.
1180 # Also quote any args containing shell meta-characters.
1181 # Make two passes to allow for proper duplicate-argument suppression.
1186 ac_must_keep_next=false
1192 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1194 | -silent | --silent | --silen | --sile | --sil)
1196 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1197 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1200 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1202 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1203 if test $ac_must_keep_next = true; then
1204 ac_must_keep_next=false # Got value, back to normal.
1207 *=* | --config-cache | -C | -disable-* | --disable-* \
1208 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1209 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1210 | -with-* | --with-* | -without-* | --without-* | --x)
1211 case "$ac_configure_args0 " in
1212 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1215 -* ) ac_must_keep_next=true ;;
1218 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1219 # Get rid of the leading space.
1225 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1226 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1228 # When interrupted or exit'd, cleanup temporary files, and complete
1229 # config.log. We remove comments because anyway the quotes in there
1230 # would cause problems or look ugly.
1231 # WARNING: Be sure not to use single quotes in there, as some shells,
1232 # such as our DU 5.0 friend, will then `close' the trap.
1233 trap 'exit_status=$?
1234 # Save into config.log some information that might help in debugging.
1239 ## ---------------- ##
1240 ## Cache variables. ##
1241 ## ---------------- ##
1244 # The following way of writing the cache mishandles newlines in values,
1247 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1250 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1255 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1262 ## ----------------- ##
1263 ## Output variables. ##
1264 ## ----------------- ##
1267 for ac_var in $ac_subst_vars
1269 eval ac_val=$`echo $ac_var`
1270 echo "$ac_var='"'"'$ac_val'"'"'"
1274 if test -n "$ac_subst_files"; then
1281 for ac_var in $ac_subst_files
1283 eval ac_val=$`echo $ac_var`
1284 echo "$ac_var='"'"'$ac_val'"'"'"
1289 if test -s confdefs.h; then
1296 sed "/^$/d" confdefs.h | sort
1299 test "$ac_signal" != 0 &&
1300 echo "$as_me: caught signal $ac_signal"
1301 echo "$as_me: exit $exit_status"
1303 rm -f core core.* *.core &&
1304 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1307 for ac_signal in 1 2 13 15; do
1308 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1313 rm -rf conftest* confdefs.h
1314 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1317 # Predefined preprocessor variables.
1319 cat >>confdefs.h <<_ACEOF
1320 #define PACKAGE_NAME "$PACKAGE_NAME"
1324 cat >>confdefs.h <<_ACEOF
1325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1329 cat >>confdefs.h <<_ACEOF
1330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1334 cat >>confdefs.h <<_ACEOF
1335 #define PACKAGE_STRING "$PACKAGE_STRING"
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1344 # Let the site file select an alternate cache file if it wants to.
1345 # Prefer explicitly selected file to automatically selected ones.
1346 if test -z "$CONFIG_SITE"; then
1347 if test "x$prefix" != xNONE; then
1348 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1350 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1353 for ac_site_file in $CONFIG_SITE; do
1354 if test -r "$ac_site_file"; then
1355 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1356 echo "$as_me: loading site script $ac_site_file" >&6;}
1357 sed 's/^/| /' "$ac_site_file" >&5
1362 if test -r "$cache_file"; then
1363 # Some versions of bash will fail to source /dev/null (special
1364 # files actually), so we avoid doing that.
1365 if test -f "$cache_file"; then
1366 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1367 echo "$as_me: loading cache $cache_file" >&6;}
1369 [\\/]* | ?:[\\/]* ) . $cache_file;;
1370 *) . ./$cache_file;;
1374 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1375 echo "$as_me: creating cache $cache_file" >&6;}
1379 # Check that the precious variables saved in the cache have kept the same
1381 ac_cache_corrupted=false
1382 for ac_var in `(set) 2>&1 |
1383 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1384 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1385 eval ac_new_set=\$ac_env_${ac_var}_set
1386 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1387 eval ac_new_val="\$ac_env_${ac_var}_value"
1388 case $ac_old_set,$ac_new_set in
1390 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1391 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1392 ac_cache_corrupted=: ;;
1394 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1395 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1396 ac_cache_corrupted=: ;;
1399 if test "x$ac_old_val" != "x$ac_new_val"; then
1400 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1401 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1402 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1403 echo "$as_me: former value: $ac_old_val" >&2;}
1404 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1405 echo "$as_me: current value: $ac_new_val" >&2;}
1406 ac_cache_corrupted=:
1409 # Pass precious variables to config.status.
1410 if test "$ac_new_set" = set; then
1412 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1413 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1414 *) ac_arg=$ac_var=$ac_new_val ;;
1416 case " $ac_configure_args " in
1417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1418 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1422 if $ac_cache_corrupted; then
1423 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1424 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1425 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1426 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1427 { (exit 1); exit 1; }; }
1431 ac_cpp='$CPP $CPPFLAGS'
1432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1456 # LIBGNOMEVFS_MICRO_VERSION += 1;
1457 # LIBGNOMEVFS_INTERFACE_AGE += 1;
1458 # if any functions have been added, set LIBGNOMEVFS_INTERFACE_AGE to 0.
1459 # if backwards compatibility has been broken,
1460 # set LIBGNOMEVFS_BINARY_AGE and LIBGNOMEVFS_INTERFACE_AGE to 0.
1462 LIBGNOMEVFS_MAJOR_VERSION=2
1463 LIBGNOMEVFS_MINOR_VERSION=3
1464 LIBGNOMEVFS_MICRO_VERSION=8
1465 LIBGNOMEVFS_INTERFACE_AGE=8
1466 # If you need a modifier for the version number.
1467 # Normally empty, but can be used to make "fixup" releases.
1468 LIBGNOMEVFS_EXTRAVERSION=
1471 LIBGNOMEVFS_CURRENT=`expr 100 '*' $LIBGNOMEVFS_MINOR_VERSION + $LIBGNOMEVFS_MICRO_VERSION - $LIBGNOMEVFS_INTERFACE_AGE`
1472 LIBGNOMEVFS_BINARY_AGE=`expr 100 '*' $LIBGNOMEVFS_MINOR_VERSION + $LIBGNOMEVFS_MICRO_VERSION`
1473 LIBGNOMEVFS_REVISION=$LIBGNOMEVFS_INTERFACE_AGE
1474 LIBGNOMEVFS_AGE=`expr $LIBGNOMEVFS_BINARY_AGE - $LIBGNOMEVFS_INTERFACE_AGE`
1475 LIBGNOMEVFS_VERSION=$LIBGNOMEVFS_MAJOR_VERSION.$LIBGNOMEVFS_MINOR_VERSION.$LIBGNOMEVFS_MICRO_VERSION$LIBGNOMEVFS_EXTRAVERSION
1483 ac_config_headers="$ac_config_headers config.h"
1485 ac_config_commands="$ac_config_commands default-1"
1487 am__api_version="1.4"
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 # Find a good install program. We prefer a C program (faster),
1514 # so one script is as good as another. But avoid the broken or
1515 # incompatible versions:
1516 # SysV /etc/install, /usr/sbin/install
1517 # SunOS /usr/etc/install
1518 # IRIX /sbin/install
1520 # AmigaOS /C/install, which installs bootblocks on floppy discs
1521 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1524 # ./install, which can be erroneously created by make from ./install.sh.
1525 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1526 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1527 if test -z "$INSTALL"; then
1528 if test "${ac_cv_path_install+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 # Account for people who put trailing slashes in PATH elements.
1538 ./ | .// | /cC/* | \
1539 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1542 # OSF1 and SCO ODT 3.0 have their own names for install.
1543 # Don't use installbsd from OSF since it installs stuff as root
1545 for ac_prog in ginstall scoinst install; do
1546 for ac_exec_ext in '' $ac_executable_extensions; do
1547 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1548 if test $ac_prog = install &&
1549 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1550 # AIX install. It has an incompatible calling convention.
1552 elif test $ac_prog = install &&
1553 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1554 # program-specific install script used by HP pwplus--don't use.
1557 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1569 if test "${ac_cv_path_install+set}" = set; then
1570 INSTALL=$ac_cv_path_install
1572 # As a last resort, use the slow shell script. We don't cache a
1573 # path for INSTALL within a source directory, because that will
1574 # break other packages using the cache if that directory is
1575 # removed, or if the path is relative.
1576 INSTALL=$ac_install_sh
1579 echo "$as_me:$LINENO: result: $INSTALL" >&5
1580 echo "${ECHO_T}$INSTALL" >&6
1582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1583 # It thinks the first close brace ends the variable substitution.
1584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1590 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1591 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1594 echo timestamp > conftestfile
1595 # Do `set' in a subshell so we don't clobber the current shell's
1596 # arguments. Must try -L first in case configure is actually a
1597 # symlink; some systems play weird games with the mod time of symlinks
1598 # (eg FreeBSD returns the mod time of the symlink's containing
1601 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1602 if test "$*" = "X"; then
1604 set X `ls -t $srcdir/configure conftestfile`
1606 if test "$*" != "X $srcdir/configure conftestfile" \
1607 && test "$*" != "X conftestfile $srcdir/configure"; then
1609 # If neither matched, then we have a broken ls. This can happen
1610 # if, for instance, CONFIG_SHELL is bash and it inherits a
1611 # broken ls alias from the environment. This has actually
1612 # happened. Such a system could not be considered "sane".
1613 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1614 alias in your environment" >&5
1615 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1616 alias in your environment" >&2;}
1617 { (exit 1); exit 1; }; }
1620 test "$2" = conftestfile
1626 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1627 Check your system clock" >&5
1628 echo "$as_me: error: newly created file is older than distributed files!
1629 Check your system clock" >&2;}
1630 { (exit 1); exit 1; }; }
1633 echo "$as_me:$LINENO: result: yes" >&5
1634 echo "${ECHO_T}yes" >&6
1635 test "$program_prefix" != NONE &&
1636 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1637 # Use a double $ so make ignores it.
1638 test "$program_suffix" != NONE &&
1639 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1640 # Double any \ or $. echo might interpret backslashes.
1641 # By default was `s,x,x', remove it if useless.
1642 cat <<\_ACEOF >conftest.sed
1643 s/[\\$]/&&/g;s/;s,x,x,$//
1645 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1648 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1649 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1650 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1651 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 cat >conftest.make <<\_ACEOF
1656 @echo 'ac_maketemp="$(MAKE)"'
1658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1659 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1660 if test -n "$ac_maketemp"; then
1661 eval ac_cv_prog_make_${ac_make}_set=yes
1663 eval ac_cv_prog_make_${ac_make}_set=no
1667 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1668 echo "$as_me:$LINENO: result: yes" >&5
1669 echo "${ECHO_T}yes" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1674 SET_MAKE="MAKE=${MAKE-make}"
1680 VERSION=$LIBGNOMEVFS_VERSION
1682 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1683 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1684 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1685 { (exit 1); exit 1; }; }
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE "$PACKAGE"
1693 cat >>confdefs.h <<_ACEOF
1694 #define VERSION "$VERSION"
1699 missing_dir=`cd $ac_aux_dir && pwd`
1700 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1701 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1702 # Run test in a subshell; some versions of sh will print an error if
1703 # an executable is not found, even if stderr is redirected.
1704 # Redirect stdin to placate older versions of autoconf. Sigh.
1705 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1706 ACLOCAL=aclocal-${am__api_version}
1707 echo "$as_me:$LINENO: result: found" >&5
1708 echo "${ECHO_T}found" >&6
1710 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1711 echo "$as_me:$LINENO: result: missing" >&5
1712 echo "${ECHO_T}missing" >&6
1715 echo "$as_me:$LINENO: checking for working autoconf" >&5
1716 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1717 # Run test in a subshell; some versions of sh will print an error if
1718 # an executable is not found, even if stderr is redirected.
1719 # Redirect stdin to placate older versions of autoconf. Sigh.
1720 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1722 echo "$as_me:$LINENO: result: found" >&5
1723 echo "${ECHO_T}found" >&6
1725 AUTOCONF="$missing_dir/missing autoconf"
1726 echo "$as_me:$LINENO: result: missing" >&5
1727 echo "${ECHO_T}missing" >&6
1730 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1731 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1732 # Run test in a subshell; some versions of sh will print an error if
1733 # an executable is not found, even if stderr is redirected.
1734 # Redirect stdin to placate older versions of autoconf. Sigh.
1735 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1736 AUTOMAKE=automake-${am__api_version}
1737 echo "$as_me:$LINENO: result: found" >&5
1738 echo "${ECHO_T}found" >&6
1740 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1741 echo "$as_me:$LINENO: result: missing" >&5
1742 echo "${ECHO_T}missing" >&6
1745 echo "$as_me:$LINENO: checking for working autoheader" >&5
1746 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1747 # Run test in a subshell; some versions of sh will print an error if
1748 # an executable is not found, even if stderr is redirected.
1749 # Redirect stdin to placate older versions of autoconf. Sigh.
1750 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1751 AUTOHEADER=autoheader
1752 echo "$as_me:$LINENO: result: found" >&5
1753 echo "${ECHO_T}found" >&6
1755 AUTOHEADER="$missing_dir/missing autoheader"
1756 echo "$as_me:$LINENO: result: missing" >&5
1757 echo "${ECHO_T}missing" >&6
1760 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1761 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1762 # Run test in a subshell; some versions of sh will print an error if
1763 # an executable is not found, even if stderr is redirected.
1764 # Redirect stdin to placate older versions of autoconf. Sigh.
1765 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1767 echo "$as_me:$LINENO: result: found" >&5
1768 echo "${ECHO_T}found" >&6
1770 MAKEINFO="$missing_dir/missing makeinfo"
1771 echo "$as_me:$LINENO: result: missing" >&5
1772 echo "${ECHO_T}missing" >&6
1777 ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS"
1780 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1781 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1782 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1783 if test "${enable_maintainer_mode+set}" = set; then
1784 enableval="$enable_maintainer_mode"
1785 USE_MAINTAINER_MODE=$enableval
1787 USE_MAINTAINER_MODE=no
1789 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1790 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1793 if test $USE_MAINTAINER_MODE = yes; then
1794 MAINTAINER_MODE_TRUE=
1795 MAINTAINER_MODE_FALSE='#'
1797 MAINTAINER_MODE_TRUE='#'
1798 MAINTAINER_MODE_FALSE=
1800 MAINT=$MAINTAINER_MODE_TRUE
1805 if test "${ac_cv_gnome_aclocal_dir+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 ac_cv_gnome_aclocal_dir="$GNOME_COMMON_MACROS_DIR"
1811 if test "${ac_cv_gnome_aclocal_flags+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 ac_cv_gnome_aclocal_flags="$ACLOCAL_FLAGS"
1817 GNOME_ACLOCAL_DIR="$ac_cv_gnome_aclocal_dir"
1818 GNOME_ACLOCAL_FLAGS="$ac_cv_gnome_aclocal_flags"
1822 ACLOCAL="$ACLOCAL $GNOME_ACLOCAL_FLAGS"
1827 INSIDE_GNOME_DOCU_TRUE=
1828 INSIDE_GNOME_DOCU_FALSE='#'
1830 INSIDE_GNOME_DOCU_TRUE='#'
1831 INSIDE_GNOME_DOCU_FALSE=
1838 ac_cpp='$CPP $CPPFLAGS'
1839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1842 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1844 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$CC"; then
1851 ac_cv_prog_CC="$CC" # Let the user override the test.
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 if test -n "$CC"; then
1871 echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$ac_cv_prog_CC"; then
1881 # Extract the first word of "gcc", so it can be a program name with args.
1882 set dummy gcc; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$ac_ct_CC"; then
1889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_CC="gcc"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1908 if test -n "$ac_ct_CC"; then
1909 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1910 echo "${ECHO_T}$ac_ct_CC" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1921 if test -z "$CC"; then
1922 if test -n "$ac_tool_prefix"; then
1923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1924 set dummy ${ac_tool_prefix}cc; ac_word=$2
1925 echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927 if test "${ac_cv_prog_CC+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_CC="${ac_tool_prefix}cc"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 if test -n "$CC"; then
1951 echo "$as_me:$LINENO: result: $CC" >&5
1952 echo "${ECHO_T}$CC" >&6
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1959 if test -z "$ac_cv_prog_CC"; then
1961 # Extract the first word of "cc", so it can be a program name with args.
1962 set dummy cc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$ac_ct_CC"; then
1969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_ac_ct_CC="cc"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1988 if test -n "$ac_ct_CC"; then
1989 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1990 echo "${ECHO_T}$ac_ct_CC" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
2002 if test -z "$CC"; then
2003 # Extract the first word of "cc", so it can be a program name with args.
2004 set dummy cc; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2022 ac_prog_rejected=yes
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 if test $ac_prog_rejected = yes; then
2033 # We found a bogon in the path, so make sure we never use it.
2034 set dummy $ac_cv_prog_CC
2036 if test $# != 0; then
2037 # We chose a different compiler from the bogus one.
2038 # However, it has the same basename, so the bogon will be chosen
2039 # first if we set CC to just the basename; use the full file name.
2041 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2047 if test -n "$CC"; then
2048 echo "$as_me:$LINENO: result: $CC" >&5
2049 echo "${ECHO_T}$CC" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2056 if test -z "$CC"; then
2057 if test -n "$ac_tool_prefix"; then
2060 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2061 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2064 if test "${ac_cv_prog_CC+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$CC"; then
2068 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2077 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 if test -n "$CC"; then
2088 echo "$as_me:$LINENO: result: $CC" >&5
2089 echo "${ECHO_T}$CC" >&6
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2095 test -n "$CC" && break
2098 if test -z "$CC"; then
2102 # Extract the first word of "$ac_prog", so it can be a program name with args.
2103 set dummy $ac_prog; ac_word=$2
2104 echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2106 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 if test -n "$ac_ct_CC"; then
2110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir=.
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_ac_ct_CC="$ac_prog"
2120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2129 if test -n "$ac_ct_CC"; then
2130 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2131 echo "${ECHO_T}$ac_ct_CC" >&6
2133 echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6
2137 test -n "$ac_ct_CC" && break
2146 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2147 See \`config.log' for more details." >&5
2148 echo "$as_me: error: no acceptable C compiler found in \$PATH
2149 See \`config.log' for more details." >&2;}
2150 { (exit 1); exit 1; }; }
2152 # Provide some information about the compiler.
2153 echo "$as_me:$LINENO:" \
2154 "checking for C compiler version" >&5
2155 ac_compiler=`set X $ac_compile; echo $2`
2156 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2157 (eval $ac_compiler --version </dev/null >&5) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }
2161 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2162 (eval $ac_compiler -v </dev/null >&5) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }
2166 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2167 (eval $ac_compiler -V </dev/null >&5) 2>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }
2172 cat >conftest.$ac_ext <<_ACEOF
2173 #line $LINENO "configure"
2176 cat confdefs.h >>conftest.$ac_ext
2177 cat >>conftest.$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2188 ac_clean_files_save=$ac_clean_files
2189 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2190 # Try to create an executable without -o first, disregard a.out.
2191 # It will help us diagnose broken compilers, and finding out an intuition
2193 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2194 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2195 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2196 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2197 (eval $ac_link_default) 2>&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; then
2201 # Find the output, starting from the most likely. This scheme is
2202 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2205 # Be careful to initialize this variable, since it used to be cached.
2206 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2208 # b.out is created by i960 compilers.
2209 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2211 test -f "$ac_file" || continue
2213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2216 # This is the source file.
2219 # We found the default executable, but exeext='' is most
2223 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 # FIXME: I believe we export ac_cv_exeext for Libtool,
2225 # but it would be cool to find out if it's true. Does anybody
2226 # maintain Libtool? --akim.
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2237 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2238 See \`config.log' for more details." >&5
2239 echo "$as_me: error: C compiler cannot create executables
2240 See \`config.log' for more details." >&2;}
2241 { (exit 77); exit 77; }; }
2244 ac_exeext=$ac_cv_exeext
2245 echo "$as_me:$LINENO: result: $ac_file" >&5
2246 echo "${ECHO_T}$ac_file" >&6
2248 # Check the compiler produces executables we can run. If not, either
2249 # the compiler is broken, or we cross compile.
2250 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2251 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2252 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2253 # If not cross compiling, check that we can run a simple program.
2254 if test "$cross_compiling" != yes; then
2255 if { ac_try='./$ac_file'
2256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; }; then
2263 if test "$cross_compiling" = maybe; then
2266 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2267 If you meant to cross compile, use \`--host'.
2268 See \`config.log' for more details." >&5
2269 echo "$as_me: error: cannot run C compiled programs.
2270 If you meant to cross compile, use \`--host'.
2271 See \`config.log' for more details." >&2;}
2272 { (exit 1); exit 1; }; }
2276 echo "$as_me:$LINENO: result: yes" >&5
2277 echo "${ECHO_T}yes" >&6
2279 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2280 ac_clean_files=$ac_clean_files_save
2281 # Check the compiler produces executables we can run. If not, either
2282 # the compiler is broken, or we cross compile.
2283 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2284 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2285 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2286 echo "${ECHO_T}$cross_compiling" >&6
2288 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2289 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2291 (eval $ac_link) 2>&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; then
2295 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2296 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2297 # work properly (i.e., refer to `conftest.exe'), while it won't with
2299 for ac_file in conftest.exe conftest conftest.*; do
2300 test -f "$ac_file" || continue
2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2303 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2310 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2313 See \`config.log' for more details." >&2;}
2314 { (exit 1); exit 1; }; }
2317 rm -f conftest$ac_cv_exeext
2318 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2319 echo "${ECHO_T}$ac_cv_exeext" >&6
2321 rm -f conftest.$ac_ext
2322 EXEEXT=$ac_cv_exeext
2324 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2325 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2326 if test "${ac_cv_objext+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 cat >conftest.$ac_ext <<_ACEOF
2330 #line $LINENO "configure"
2333 cat confdefs.h >>conftest.$ac_ext
2334 cat >>conftest.$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2345 rm -f conftest.o conftest.obj
2346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; then
2351 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2359 echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2371 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2372 echo "${ECHO_T}$ac_cv_objext" >&6
2373 OBJEXT=$ac_cv_objext
2375 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 cat >conftest.$ac_ext <<_ACEOF
2381 #line $LINENO "configure"
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2399 rm -f conftest.$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try='test -s conftest.$ac_objext'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.$ac_ext >&5
2418 rm -f conftest.$ac_objext conftest.$ac_ext
2419 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2422 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2423 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2424 GCC=`test $ac_compiler_gnu = yes && echo yes`
2425 ac_test_CFLAGS=${CFLAGS+set}
2426 ac_save_CFLAGS=$CFLAGS
2428 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2430 if test "${ac_cv_prog_cc_g+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 cat >conftest.$ac_ext <<_ACEOF
2434 #line $LINENO "configure"
2437 cat confdefs.h >>conftest.$ac_ext
2438 cat >>conftest.$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2449 rm -f conftest.$ac_objext
2450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2451 (eval $ac_compile) 2>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try='test -s conftest.$ac_objext'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; }; then
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2468 rm -f conftest.$ac_objext conftest.$ac_ext
2470 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2471 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2472 if test "$ac_test_CFLAGS" = set; then
2473 CFLAGS=$ac_save_CFLAGS
2474 elif test $ac_cv_prog_cc_g = yes; then
2475 if test "$GCC" = yes; then
2481 if test "$GCC" = yes; then
2487 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2488 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2489 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 ac_cv_prog_cc_stdc=no
2494 cat >conftest.$ac_ext <<_ACEOF
2495 #line $LINENO "configure"
2498 cat confdefs.h >>conftest.$ac_ext
2499 cat >>conftest.$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2503 #include <sys/types.h>
2504 #include <sys/stat.h>
2505 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2506 struct buf { int x; };
2507 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2508 static char *e (p, i)
2514 static char *f (char * (*g) (char **, int), char **p, ...)
2519 s = g (p, va_arg (v,int));
2523 int test (int i, double x);
2524 struct s1 {int (*f) (int a);};
2525 struct s2 {int (*f) (double a);};
2526 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2532 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2537 # Don't try gcc -ansi; that turns off useful extensions and
2538 # breaks some systems' header files.
2539 # AIX -qlanglvl=ansi
2540 # Ultrix and OSF/1 -std1
2541 # HP-UX 10.20 and later -Ae
2542 # HP-UX older versions -Aa -D_HPUX_SOURCE
2543 # SVR4 -Xc -D__EXTENSIONS__
2544 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2546 CC="$ac_save_CC $ac_arg"
2547 rm -f conftest.$ac_objext
2548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549 (eval $ac_compile) 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2559 ac_cv_prog_cc_stdc=$ac_arg
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2566 rm -f conftest.$ac_objext
2568 rm -f conftest.$ac_ext conftest.$ac_objext
2573 case "x$ac_cv_prog_cc_stdc" in
2575 echo "$as_me:$LINENO: result: none needed" >&5
2576 echo "${ECHO_T}none needed" >&6 ;;
2578 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2579 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2580 CC="$CC $ac_cv_prog_cc_stdc" ;;
2583 # Some people use a C++ compiler to compile C. Since we use `exit',
2584 # in C++ we need to declare it. In case someone uses the same compiler
2585 # for both compiling C and C++ we need to have the C++ compiler decide
2586 # the declaration of exit, since it's the most demanding environment.
2587 cat >conftest.$ac_ext <<_ACEOF
2592 rm -f conftest.$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2604 for ac_declaration in \
2606 '#include <stdlib.h>' \
2607 'extern "C" void std::exit (int) throw (); using std::exit;' \
2608 'extern "C" void std::exit (int); using std::exit;' \
2609 'extern "C" void exit (int) throw ();' \
2610 'extern "C" void exit (int);' \
2613 cat >conftest.$ac_ext <<_ACEOF
2614 #line $LINENO "configure"
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try='test -s conftest.$ac_objext'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; }; then
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2649 rm -f conftest.$ac_objext conftest.$ac_ext
2650 cat >conftest.$ac_ext <<_ACEOF
2651 #line $LINENO "configure"
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 rm -f conftest.$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2684 rm -f conftest.$ac_objext conftest.$ac_ext
2687 if test -n "$ac_declaration"; then
2688 echo '#ifdef __cplusplus' >>confdefs.h
2689 echo $ac_declaration >>confdefs.h
2690 echo '#endif' >>confdefs.h
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2698 rm -f conftest.$ac_objext conftest.$ac_ext
2700 ac_cpp='$CPP $CPPFLAGS'
2701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2707 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2708 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2709 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 ac_check_lib_save_LIBS=$LIBS
2713 LIBS="-lcposix $LIBS"
2714 cat >conftest.$ac_ext <<_ACEOF
2715 #line $LINENO "configure"
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2722 /* Override any gcc2 internal prototype to avoid an error. */
2726 /* We use char because int might match the return type of a gcc2
2727 builtin and then its argument prototype would still apply. */
2737 rm -f conftest.$ac_objext conftest$ac_exeext
2738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2739 (eval $ac_link) 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try='test -s conftest$ac_exeext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 ac_cv_lib_cposix_strerror=yes
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 ac_cv_lib_cposix_strerror=no
2756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2757 LIBS=$ac_check_lib_save_LIBS
2759 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2760 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2761 if test $ac_cv_lib_cposix_strerror = yes; then
2762 LIBS="$LIBS -lcposix"
2768 ac_cpp='$CPP $CPPFLAGS'
2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2774 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2775 echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2777 if test "${ac_cv_prog_CC+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC="$CC" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 if test -n "$CC"; then
2801 echo "$as_me:$LINENO: result: $CC" >&5
2802 echo "${ECHO_T}$CC" >&6
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2809 if test -z "$ac_cv_prog_CC"; then
2811 # Extract the first word of "gcc", so it can be a program name with args.
2812 set dummy gcc; ac_word=$2
2813 echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$ac_ct_CC"; then
2819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_ac_ct_CC="gcc"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2838 if test -n "$ac_ct_CC"; then
2839 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2840 echo "${ECHO_T}$ac_ct_CC" >&6
2842 echo "$as_me:$LINENO: result: no" >&5
2843 echo "${ECHO_T}no" >&6
2851 if test -z "$CC"; then
2852 if test -n "$ac_tool_prefix"; then
2853 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2854 set dummy ${ac_tool_prefix}cc; ac_word=$2
2855 echo "$as_me:$LINENO: checking for $ac_word" >&5
2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2857 if test "${ac_cv_prog_CC+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 if test -n "$CC"; then
2861 ac_cv_prog_CC="$CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870 ac_cv_prog_CC="${ac_tool_prefix}cc"
2871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test -n "$CC"; then
2881 echo "$as_me:$LINENO: result: $CC" >&5
2882 echo "${ECHO_T}$CC" >&6
2884 echo "$as_me:$LINENO: result: no" >&5
2885 echo "${ECHO_T}no" >&6
2889 if test -z "$ac_cv_prog_CC"; then
2891 # Extract the first word of "cc", so it can be a program name with args.
2892 set dummy cc; ac_word=$2
2893 echo "$as_me:$LINENO: checking for $ac_word" >&5
2894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2895 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 if test -n "$ac_ct_CC"; then
2899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_ac_ct_CC="cc"
2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2918 if test -n "$ac_ct_CC"; then
2919 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2920 echo "${ECHO_T}$ac_ct_CC" >&6
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2932 if test -z "$CC"; then
2933 # Extract the first word of "cc", so it can be a program name with args.
2934 set dummy cc; ac_word=$2
2935 echo "$as_me:$LINENO: checking for $ac_word" >&5
2936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2937 if test "${ac_cv_prog_CC+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2952 ac_prog_rejected=yes
2956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test $ac_prog_rejected = yes; then
2963 # We found a bogon in the path, so make sure we never use it.
2964 set dummy $ac_cv_prog_CC
2966 if test $# != 0; then
2967 # We chose a different compiler from the bogus one.
2968 # However, it has the same basename, so the bogon will be chosen
2969 # first if we set CC to just the basename; use the full file name.
2971 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2977 if test -n "$CC"; then
2978 echo "$as_me:$LINENO: result: $CC" >&5
2979 echo "${ECHO_T}$CC" >&6
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2994 if test "${ac_cv_prog_CC+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 if test -n "$CC"; then
2998 ac_cv_prog_CC="$CC" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test -n "$CC"; then
3018 echo "$as_me:$LINENO: result: $CC" >&5
3019 echo "${ECHO_T}$CC" >&6
3021 echo "$as_me:$LINENO: result: no" >&5
3022 echo "${ECHO_T}no" >&6
3025 test -n "$CC" && break
3028 if test -z "$CC"; then
3032 # Extract the first word of "$ac_prog", so it can be a program name with args.
3033 set dummy $ac_prog; ac_word=$2
3034 echo "$as_me:$LINENO: checking for $ac_word" >&5
3035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 if test -n "$ac_ct_CC"; then
3040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_ac_ct_CC="$ac_prog"
3050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3061 echo "${ECHO_T}$ac_ct_CC" >&6
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3067 test -n "$ac_ct_CC" && break
3076 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3077 See \`config.log' for more details." >&5
3078 echo "$as_me: error: no acceptable C compiler found in \$PATH
3079 See \`config.log' for more details." >&2;}
3080 { (exit 1); exit 1; }; }
3082 # Provide some information about the compiler.
3083 echo "$as_me:$LINENO:" \
3084 "checking for C compiler version" >&5
3085 ac_compiler=`set X $ac_compile; echo $2`
3086 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3087 (eval $ac_compiler --version </dev/null >&5) 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }
3091 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3092 (eval $ac_compiler -v </dev/null >&5) 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3097 (eval $ac_compiler -V </dev/null >&5) 2>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }
3102 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3103 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3104 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 cat >conftest.$ac_ext <<_ACEOF
3108 #line $LINENO "configure"
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3145 rm -f conftest.$ac_objext conftest.$ac_ext
3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3149 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3150 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3151 GCC=`test $ac_compiler_gnu = yes && echo yes`
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3155 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3157 if test "${ac_cv_prog_cc_g+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 cat >conftest.$ac_ext <<_ACEOF
3161 #line $LINENO "configure"
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -s conftest.$ac_objext'
3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); }; }; then
3190 echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3195 rm -f conftest.$ac_objext conftest.$ac_ext
3197 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3198 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3199 if test "$ac_test_CFLAGS" = set; then
3200 CFLAGS=$ac_save_CFLAGS
3201 elif test $ac_cv_prog_cc_g = yes; then
3202 if test "$GCC" = yes; then
3208 if test "$GCC" = yes; then
3214 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3215 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3216 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 ac_cv_prog_cc_stdc=no
3221 cat >conftest.$ac_ext <<_ACEOF
3222 #line $LINENO "configure"
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3250 int test (int i, double x);
3251 struct s1 {int (*f) (int a);};
3252 struct s2 {int (*f) (double a);};
3253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3264 # Don't try gcc -ansi; that turns off useful extensions and
3265 # breaks some systems' header files.
3266 # AIX -qlanglvl=ansi
3267 # Ultrix and OSF/1 -std1
3268 # HP-UX 10.20 and later -Ae
3269 # HP-UX older versions -Aa -D_HPUX_SOURCE
3270 # SVR4 -Xc -D__EXTENSIONS__
3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3273 CC="$ac_save_CC $ac_arg"
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try='test -s conftest.$ac_objext'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3286 ac_cv_prog_cc_stdc=$ac_arg
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3293 rm -f conftest.$ac_objext
3295 rm -f conftest.$ac_ext conftest.$ac_objext
3300 case "x$ac_cv_prog_cc_stdc" in
3302 echo "$as_me:$LINENO: result: none needed" >&5
3303 echo "${ECHO_T}none needed" >&6 ;;
3305 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3306 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3307 CC="$CC $ac_cv_prog_cc_stdc" ;;
3310 # Some people use a C++ compiler to compile C. Since we use `exit',
3311 # in C++ we need to declare it. In case someone uses the same compiler
3312 # for both compiling C and C++ we need to have the C++ compiler decide
3313 # the declaration of exit, since it's the most demanding environment.
3314 cat >conftest.$ac_ext <<_ACEOF
3319 rm -f conftest.$ac_objext
3320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3321 (eval $ac_compile) 2>&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } &&
3325 { ac_try='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3331 for ac_declaration in \
3333 '#include <stdlib.h>' \
3334 'extern "C" void std::exit (int) throw (); using std::exit;' \
3335 'extern "C" void std::exit (int); using std::exit;' \
3336 'extern "C" void exit (int) throw ();' \
3337 'extern "C" void exit (int);' \
3340 cat >conftest.$ac_ext <<_ACEOF
3341 #line $LINENO "configure"
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3357 rm -f conftest.$ac_objext
3358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } &&
3363 { ac_try='test -s conftest.$ac_objext'
3364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; }; then
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3376 rm -f conftest.$ac_objext conftest.$ac_ext
3377 cat >conftest.$ac_ext <<_ACEOF
3378 #line $LINENO "configure"
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -s conftest.$ac_objext'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; }; then
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3411 rm -f conftest.$ac_objext conftest.$ac_ext
3414 if test -n "$ac_declaration"; then
3415 echo '#ifdef __cplusplus' >>confdefs.h
3416 echo $ac_declaration >>confdefs.h
3417 echo '#endif' >>confdefs.h
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3425 rm -f conftest.$ac_objext conftest.$ac_ext
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 ac_cpp='$CPP $CPPFLAGS'
3434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3437 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3438 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3439 # On Suns, sometimes $CPP names a directory.
3440 if test -n "$CPP" && test -d "$CPP"; then
3443 if test -z "$CPP"; then
3444 if test "${ac_cv_prog_CPP+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 # Double quotes because CPP needs to be expanded
3448 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3451 for ac_c_preproc_warn_flag in '' yes
3453 # Use a header file that comes with gcc, so configuring glibc
3454 # with a fresh cross-compiler works.
3455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3456 # <limits.h> exists even on freestanding compilers.
3457 # On the NeXT, cc -E runs the code through the compiler's parser,
3458 # not just through cpp. "Syntax error" is here to catch this case.
3459 cat >conftest.$ac_ext <<_ACEOF
3460 #line $LINENO "configure"
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3467 # include <limits.h>
3469 # include <assert.h>
3473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3476 grep -v '^ *+' conftest.er1 >conftest.err
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } >/dev/null; then
3481 if test -s conftest.err; then
3482 ac_cpp_err=$ac_c_preproc_warn_flag
3489 if test -z "$ac_cpp_err"; then
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 # Broken: fails on valid input.
3498 rm -f conftest.err conftest.$ac_ext
3500 # OK, works on sane cases. Now check whether non-existent headers
3501 # can be detected and how.
3502 cat >conftest.$ac_ext <<_ACEOF
3503 #line $LINENO "configure"
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3509 #include <ac_nonexistent.h>
3511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3514 grep -v '^ *+' conftest.er1 >conftest.err
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } >/dev/null; then
3519 if test -s conftest.err; then
3520 ac_cpp_err=$ac_c_preproc_warn_flag
3527 if test -z "$ac_cpp_err"; then
3528 # Broken: success on invalid input.
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3534 # Passes both tests.
3538 rm -f conftest.err conftest.$ac_ext
3541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3542 rm -f conftest.err conftest.$ac_ext
3543 if $ac_preproc_ok; then
3555 echo "$as_me:$LINENO: result: $CPP" >&5
3556 echo "${ECHO_T}$CPP" >&6
3558 for ac_c_preproc_warn_flag in '' yes
3560 # Use a header file that comes with gcc, so configuring glibc
3561 # with a fresh cross-compiler works.
3562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3563 # <limits.h> exists even on freestanding compilers.
3564 # On the NeXT, cc -E runs the code through the compiler's parser,
3565 # not just through cpp. "Syntax error" is here to catch this case.
3566 cat >conftest.$ac_ext <<_ACEOF
3567 #line $LINENO "configure"
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3574 # include <limits.h>
3576 # include <assert.h>
3580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3583 grep -v '^ *+' conftest.er1 >conftest.err
3585 cat conftest.err >&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); } >/dev/null; then
3588 if test -s conftest.err; then
3589 ac_cpp_err=$ac_c_preproc_warn_flag
3596 if test -z "$ac_cpp_err"; then
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3602 # Broken: fails on valid input.
3605 rm -f conftest.err conftest.$ac_ext
3607 # OK, works on sane cases. Now check whether non-existent headers
3608 # can be detected and how.
3609 cat >conftest.$ac_ext <<_ACEOF
3610 #line $LINENO "configure"
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3616 #include <ac_nonexistent.h>
3618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3621 grep -v '^ *+' conftest.er1 >conftest.err
3623 cat conftest.err >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } >/dev/null; then
3626 if test -s conftest.err; then
3627 ac_cpp_err=$ac_c_preproc_warn_flag
3634 if test -z "$ac_cpp_err"; then
3635 # Broken: success on invalid input.
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 # Passes both tests.
3645 rm -f conftest.err conftest.$ac_ext
3648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3649 rm -f conftest.err conftest.$ac_ext
3650 if $ac_preproc_ok; then
3653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3654 See \`config.log' for more details." >&5
3655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3656 See \`config.log' for more details." >&2;}
3657 { (exit 1); exit 1; }; }
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 for ac_prog in gawk mawk nawk awk
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 echo "$as_me:$LINENO: checking for $ac_word" >&5
3671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3672 if test "${ac_cv_prog_AWK+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 if test -n "$AWK"; then
3676 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_AWK="$ac_prog"
3686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 if test -n "$AWK"; then
3696 echo "$as_me:$LINENO: result: $AWK" >&5
3697 echo "${ECHO_T}$AWK" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3703 test -n "$AWK" && break
3707 # Check whether --enable-shared or --disable-shared was given.
3708 if test "${enable_shared+set}" = set; then
3709 enableval="$enable_shared"
3710 p=${PACKAGE-default}
3712 yes) enable_shared=yes ;;
3713 no) enable_shared=no ;;
3716 # Look at the argument we got. We use all the common list separators.
3717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3718 for pkg in $enableval; do
3719 if test "X$pkg" = "X$p"; then
3729 # Check whether --enable-static or --disable-static was given.
3730 if test "${enable_static+set}" = set; then
3731 enableval="$enable_static"
3732 p=${PACKAGE-default}
3734 yes) enable_static=yes ;;
3735 no) enable_static=no ;;
3738 # Look at the argument we got. We use all the common list separators.
3739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3740 for pkg in $enableval; do
3741 if test "X$pkg" = "X$p"; then
3751 # Check whether --enable-fast-install or --disable-fast-install was given.
3752 if test "${enable_fast_install+set}" = set; then
3753 enableval="$enable_fast_install"
3754 p=${PACKAGE-default}
3756 yes) enable_fast_install=yes ;;
3757 no) enable_fast_install=no ;;
3759 enable_fast_install=no
3760 # Look at the argument we got. We use all the common list separators.
3761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3762 for pkg in $enableval; do
3763 if test "X$pkg" = "X$p"; then
3764 enable_fast_install=yes
3771 enable_fast_install=yes
3773 # Make sure we can run config.sub.
3774 $ac_config_sub sun4 >/dev/null 2>&1 ||
3775 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3776 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3777 { (exit 1); exit 1; }; }
3779 echo "$as_me:$LINENO: checking build system type" >&5
3780 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3781 if test "${ac_cv_build+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 ac_cv_build_alias=$build_alias
3785 test -z "$ac_cv_build_alias" &&
3786 ac_cv_build_alias=`$ac_config_guess`
3787 test -z "$ac_cv_build_alias" &&
3788 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3789 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3790 { (exit 1); exit 1; }; }
3791 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3792 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3793 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3794 { (exit 1); exit 1; }; }
3797 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3798 echo "${ECHO_T}$ac_cv_build" >&6
3800 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3801 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3802 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3805 echo "$as_me:$LINENO: checking host system type" >&5
3806 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3807 if test "${ac_cv_host+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 ac_cv_host_alias=$host_alias
3811 test -z "$ac_cv_host_alias" &&
3812 ac_cv_host_alias=$ac_cv_build_alias
3813 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3814 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3815 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3816 { (exit 1); exit 1; }; }
3819 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3820 echo "${ECHO_T}$ac_cv_host" >&6
3822 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3823 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3824 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3827 # Find the correct PATH separator. Usually this is `:', but
3828 # DJGPP uses `;' like DOS.
3829 if test "X${PATH_SEPARATOR+set}" != Xset; then
3830 UNAME=${UNAME-`uname 2>/dev/null`}
3832 *-DOS) lt_cv_sys_path_separator=';' ;;
3833 *) lt_cv_sys_path_separator=':' ;;
3835 PATH_SEPARATOR=$lt_cv_sys_path_separator
3839 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3840 if test "${with_gnu_ld+set}" = set; then
3841 withval="$with_gnu_ld"
3842 test "$withval" = no || with_gnu_ld=yes
3847 if test "$GCC" = yes; then
3848 # Check if gcc -print-prog-name=ld gives a path.
3849 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3850 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3853 # gcc leaves a trailing carriage return which upsets mingw
3854 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3856 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3859 # Accept absolute paths.
3860 [\\/]* | [A-Za-z]:[\\/]*)
3861 re_direlt='/[^/][^/]*/\.\./'
3862 # Canonicalize the path of ld
3863 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3864 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3865 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3867 test -z "$LD" && LD="$ac_prog"
3870 # If it fails, then pretend we aren't using GCC.
3874 # If it is relative, then search for the first ld in PATH.
3878 elif test "$with_gnu_ld" = yes; then
3879 echo "$as_me:$LINENO: checking for GNU ld" >&5
3880 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3882 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3883 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3885 if test "${lt_cv_path_LD+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 if test -z "$LD"; then
3889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3890 for ac_dir in $PATH; do
3891 test -z "$ac_dir" && ac_dir=.
3892 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3893 lt_cv_path_LD="$ac_dir/$ac_prog"
3894 # Check to see if the program is GNU ld. I'd rather use --version,
3895 # but apparently some GNU ld's only accept -v.
3896 # Break only if it was the GNU/non-GNU ld that we prefer.
3897 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3898 test "$with_gnu_ld" != no && break
3900 test "$with_gnu_ld" != yes && break
3906 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3911 if test -n "$LD"; then
3912 echo "$as_me:$LINENO: result: $LD" >&5
3913 echo "${ECHO_T}$LD" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3918 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3919 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3920 { (exit 1); exit 1; }; }
3921 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3922 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3923 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3927 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3928 lt_cv_prog_gnu_ld=yes
3930 lt_cv_prog_gnu_ld=no
3933 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3934 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3935 with_gnu_ld=$lt_cv_prog_gnu_ld
3938 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3939 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3940 if test "${lt_cv_ld_reload_flag+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 lt_cv_ld_reload_flag='-r'
3945 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3946 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3947 reload_flag=$lt_cv_ld_reload_flag
3948 test -n "$reload_flag" && reload_flag=" $reload_flag"
3950 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3951 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3952 if test "${lt_cv_path_NM+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 if test -n "$NM"; then
3956 # Let the user override the test.
3959 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3960 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3961 test -z "$ac_dir" && ac_dir=.
3962 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3963 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3964 # Check to see if the nm accepts a BSD-compat flag.
3965 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3966 # nm: unknown option "B" ignored
3967 # Tru64's nm complains that /dev/null is an invalid object file
3968 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3969 lt_cv_path_NM="$tmp_nm -B"
3971 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3972 lt_cv_path_NM="$tmp_nm -p"
3975 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3976 continue # so that we can try to find one that supports BSD flags
3981 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3986 echo "$as_me:$LINENO: result: $NM" >&5
3987 echo "${ECHO_T}$NM" >&6
3989 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3990 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3991 if test "${lt_cv_path_SED+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 # Loop through the user's path and test for sed and gsed.
3995 # Then use that list of sed's as ones to test for truncation.
3996 as_executable_p="test -f"
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir=.
4002 for ac_prog in sed gsed; do
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4005 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4011 # Create a temporary directory, and hook for its removal unless debugging.
4014 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4015 trap '{ (exit 1); exit 1; }' 1 2 13 15
4018 # Create a (secure) tmp directory for tmp files.
4021 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4022 test -n "$tmp" && test -d "$tmp"
4025 tmp=$TMPDIR/sed$$-$RANDOM
4026 (umask 077 && mkdir $tmp)
4029 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4030 { (exit 1); exit 1; }
4034 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4035 # along with /bin/sed that truncates output.
4036 for _sed in $_sed_list /usr/xpg4/bin/sed; do
4037 test ! -f ${_sed} && break
4038 cat /dev/null > "$tmp/sed.in"
4040 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4041 # Check for GNU sed and select it if it is found.
4042 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4043 lt_cv_path_SED=${_sed}
4047 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4048 mv "$tmp/sed.tmp" "$tmp/sed.in"
4049 cp "$tmp/sed.in" "$tmp/sed.nl"
4050 echo >>"$tmp/sed.nl"
4051 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4052 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4053 # 40000 chars as input seems more than enough
4054 test $_count -gt 10 && break
4055 _count=`expr $_count + 1`
4056 if test $_count -gt $_max; then
4058 lt_cv_path_SED=$_sed
4066 if test "X$SED" != "X"; then
4071 echo "$as_me:$LINENO: result: $SED" >&5
4072 echo "${ECHO_T}$SED" >&6
4074 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4075 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4077 if test "$LN_S" = "ln -s"; then
4078 echo "$as_me:$LINENO: result: yes" >&5
4079 echo "${ECHO_T}yes" >&6
4081 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4082 echo "${ECHO_T}no, using $LN_S" >&6
4085 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4086 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4087 if test "${lt_cv_deplibs_check_method+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 lt_cv_file_magic_cmd='$MAGIC_CMD'
4091 lt_cv_file_magic_test_file=
4092 lt_cv_deplibs_check_method='unknown'
4093 # Need to set the preceding variable on all platforms that support
4094 # interlibrary dependencies.
4095 # 'none' -- dependencies not supported.
4096 # `unknown' -- same as none, but documents that we really don't know.
4097 # 'pass_all' -- all dependencies passed with no checks.
4098 # 'test_compile' -- check by making test program.
4099 # 'file_magic [[regex]]' -- check by looking for files in library path
4100 # which responds to the $file_magic_cmd with a given egrep regex.
4101 # If you have `file' or equivalent on your system and you're not sure
4102 # whether `pass_all' will *always* work, you probably want this one.
4106 lt_cv_deplibs_check_method=pass_all
4110 lt_cv_deplibs_check_method=pass_all
4114 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4115 lt_cv_file_magic_cmd='/usr/bin/file -L'
4116 lt_cv_file_magic_test_file=/shlib/libc.so
4119 cygwin* | mingw* | pw32*)
4120 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4121 lt_cv_file_magic_cmd='$OBJDUMP -f'
4124 darwin* | rhapsody*)
4125 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4126 lt_cv_file_magic_cmd='/usr/bin/file -L'
4128 rhapsody* | darwin1.[012])
4129 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
4132 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4138 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4141 # Not sure whether the presence of OpenBSD here was a mistake.
4142 # Let's accept both of them until this is cleared up.
4143 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4144 lt_cv_file_magic_cmd=/usr/bin/file
4145 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4149 lt_cv_deplibs_check_method=pass_all
4154 lt_cv_deplibs_check_method=pass_all
4158 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4159 lt_cv_file_magic_cmd=/usr/bin/file
4160 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4163 irix5* | irix6* | nonstopux*)
4165 irix5* | nonstopux*)
4166 # this will be overridden with pass_all, but let us keep it just in case
4167 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4171 *-32|*"-32 ") libmagic=32-bit;;
4172 *-n32|*"-n32 ") libmagic=N32;;
4173 *-64|*"-64 ") libmagic=64-bit;;
4174 *) libmagic=never-match;;
4176 # this will be overridden with pass_all, but let us keep it just in case
4177 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4180 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4181 lt_cv_deplibs_check_method=pass_all
4184 # This must be Linux ELF.
4187 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
4188 lt_cv_deplibs_check_method=pass_all ;;
4190 # glibc up to 2.1.1 does not perform some relocations on ARM
4191 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4193 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4197 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4198 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4200 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4205 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4206 lt_cv_file_magic_cmd=/usr/bin/file
4207 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4211 lt_cv_file_magic_cmd=/usr/bin/file
4212 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4213 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4214 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4216 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4220 osf3* | osf4* | osf5*)
4221 # this will be overridden with pass_all, but let us keep it just in case
4222 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4223 lt_cv_file_magic_test_file=/shlib/libc.so
4224 lt_cv_deplibs_check_method=pass_all
4228 lt_cv_deplibs_check_method=pass_all
4232 lt_cv_deplibs_check_method=pass_all
4233 lt_cv_file_magic_test_file=/lib/libc.so
4236 sysv5uw[78]* | sysv4*uw2*)
4237 lt_cv_deplibs_check_method=pass_all
4240 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4241 case $host_vendor in
4243 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]'
4244 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4247 lt_cv_deplibs_check_method=pass_all
4250 lt_cv_file_magic_cmd='/bin/file'
4251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4254 lt_cv_file_magic_cmd='/bin/file'
4255 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4256 lt_cv_file_magic_test_file=/lib/libc.so
4259 lt_cv_deplibs_check_method=pass_all
4266 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4267 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4268 file_magic_cmd=$lt_cv_file_magic_cmd
4269 deplibs_check_method=$lt_cv_deplibs_check_method
4277 # Check for command to grab the raw symbol name followed by C symbol from nm.
4278 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4279 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4280 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 # These are sane defaults that work on at least a few old systems.
4285 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4287 # Character class describing NM global symbol codes.
4288 symcode='[BCDEGRST]'
4290 # Regexp to match symbols that can be accessed directly from C.
4291 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4293 # Transform the above into a raw symbol and a C symbol.
4294 symxfrm='\1 \2\3 \3'
4296 # Transform an extracted symbol line into a proper C declaration
4297 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4299 # Transform an extracted symbol line into symbol name and symbol address
4300 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4302 # Define system-specific variables.
4307 cygwin* | mingw* | pw32*)
4308 symcode='[ABCDGISTW]'
4310 hpux*) # Its linker distinguishes data from code symbols
4311 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4312 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4315 symcode='[BCDEGRST]'
4318 symcode='[BCDEGQRST]'
4328 # Handle CRLF in mingw tool chain
4332 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4336 # If we're using GNU nm, then use its standard symbol codes.
4337 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4338 symcode='[ABCDGISTW]'
4341 # Try without a prefix undercore, then with it.
4342 for ac_symprfx in "" "_"; do
4344 # Write the raw and C identifiers.
4345 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
4347 # Check to see that the pipe works correctly.
4350 cat > conftest.$ac_ext <<EOF
4355 void nm_test_func(){}
4359 int main(){nm_test_var='a';nm_test_func();return(0);}
4362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363 (eval $ac_compile) 2>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; then
4367 # Now try to grab the symbols.
4369 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4370 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } && test -s "$nlist"; then
4374 # Try sorting and uniquifying the output.
4375 if sort "$nlist" | uniq > "$nlist"T; then
4376 mv -f "$nlist"T "$nlist"
4381 # Make sure that we snagged all the symbols we need.
4382 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
4383 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
4384 cat <<EOF > conftest.$ac_ext
4390 # Now generate the symbol file.
4391 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
4393 cat <<EOF >> conftest.$ac_ext
4394 #if defined (__STDC__) && __STDC__
4395 # define lt_ptr void *
4397 # define lt_ptr char *
4401 /* The mapping between symbol names and symbols. */
4406 lt_preloaded_symbols[] =
4409 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
4410 cat <<\EOF >> conftest.$ac_ext
4418 # Now try linking the two files.
4419 mv conftest.$ac_objext conftstm.$ac_objext
4421 save_CFLAGS="$CFLAGS"
4422 LIBS="conftstm.$ac_objext"
4423 CFLAGS="$CFLAGS$no_builtin_flag"
4424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4425 (eval $ac_link) 2>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } && test -s conftest$ac_exeext; then
4432 CFLAGS="$save_CFLAGS"
4434 echo "cannot find nm_test_func in $nlist" >&5
4437 echo "cannot find nm_test_var in $nlist" >&5
4440 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4443 echo "$progname: failed program was:" >&5
4444 cat conftest.$ac_ext >&5
4446 rm -f conftest* conftst*
4448 # Do not use the global_symbol_pipe unless it works.
4449 if test "$pipe_works" = yes; then
4452 lt_cv_sys_global_symbol_pipe=
4458 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4459 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4460 global_symbol_to_cdecl=
4461 global_symbol_to_c_name_address=
4463 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4464 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4466 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4468 echo "$as_me:$LINENO: result: failed" >&5
4469 echo "${ECHO_T}failed" >&6
4471 echo "$as_me:$LINENO: result: ok" >&5
4472 echo "${ECHO_T}ok" >&6
4476 echo "$as_me:$LINENO: checking for egrep" >&5
4477 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4478 if test "${ac_cv_prog_egrep+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4482 then ac_cv_prog_egrep='grep -E'
4483 else ac_cv_prog_egrep='egrep'
4486 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4487 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4488 EGREP=$ac_cv_prog_egrep
4491 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4493 if test "${ac_cv_header_stdc+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 cat >conftest.$ac_ext <<_ACEOF
4497 #line $LINENO "configure"
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4516 rm -f conftest.$ac_objext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 ac_cv_header_stdc=yes
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4533 ac_cv_header_stdc=no
4535 rm -f conftest.$ac_objext conftest.$ac_ext
4537 if test $ac_cv_header_stdc = yes; then
4538 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4539 cat >conftest.$ac_ext <<_ACEOF
4540 #line $LINENO "configure"
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4550 $EGREP "memchr" >/dev/null 2>&1; then
4553 ac_cv_header_stdc=no
4559 if test $ac_cv_header_stdc = yes; then
4560 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4561 cat >conftest.$ac_ext <<_ACEOF
4562 #line $LINENO "configure"
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4572 $EGREP "free" >/dev/null 2>&1; then
4575 ac_cv_header_stdc=no
4581 if test $ac_cv_header_stdc = yes; then
4582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4583 if test "$cross_compiling" = yes; then
4586 cat >conftest.$ac_ext <<_ACEOF
4587 #line $LINENO "configure"
4590 cat confdefs.h >>conftest.$ac_ext
4591 cat >>conftest.$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4594 #if ((' ' & 0x0FF) == 0x020)
4595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4598 # define ISLOWER(c) \
4599 (('a' <= (c) && (c) <= 'i') \
4600 || ('j' <= (c) && (c) <= 'r') \
4601 || ('s' <= (c) && (c) <= 'z'))
4602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4610 for (i = 0; i < 256; i++)
4611 if (XOR (islower (i), ISLOWER (i))
4612 || toupper (i) != TOUPPER (i))
4617 rm -f conftest$ac_exeext
4618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4619 (eval $ac_link) 2>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; }; then
4630 echo "$as_me: program exited with status $ac_status" >&5
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.$ac_ext >&5
4635 ac_cv_header_stdc=no
4637 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4641 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4642 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4643 if test $ac_cv_header_stdc = yes; then
4645 cat >>confdefs.h <<\_ACEOF
4646 #define STDC_HEADERS 1
4651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4661 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4662 inttypes.h stdint.h unistd.h
4664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4665 echo "$as_me:$LINENO: checking for $ac_header" >&5
4666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 cat >conftest.$ac_ext <<_ACEOF
4671 #line $LINENO "configure"
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 $ac_includes_default
4679 #include <$ac_header>
4681 rm -f conftest.$ac_objext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4683 (eval $ac_compile) 2>&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } &&
4687 { ac_try='test -s conftest.$ac_objext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 eval "$as_ac_Header=yes"
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.$ac_ext >&5
4698 eval "$as_ac_Header=no"
4700 rm -f conftest.$ac_objext conftest.$ac_ext
4702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4705 cat >>confdefs.h <<_ACEOF
4706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4715 for ac_header in dlfcn.h
4717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4719 echo "$as_me:$LINENO: checking for $ac_header" >&5
4720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4727 # Is the header compilable?
4728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4730 cat >conftest.$ac_ext <<_ACEOF
4731 #line $LINENO "configure"
4734 cat confdefs.h >>conftest.$ac_ext
4735 cat >>conftest.$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4737 $ac_includes_default
4738 #include <$ac_header>
4740 rm -f conftest.$ac_objext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4742 (eval $ac_compile) 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try='test -s conftest.$ac_objext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_header_compiler=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_header_compiler=no
4759 rm -f conftest.$ac_objext conftest.$ac_ext
4760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4761 echo "${ECHO_T}$ac_header_compiler" >&6
4763 # Is the header present?
4764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4766 cat >conftest.$ac_ext <<_ACEOF
4767 #line $LINENO "configure"
4770 cat confdefs.h >>conftest.$ac_ext
4771 cat >>conftest.$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4773 #include <$ac_header>
4775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4778 grep -v '^ *+' conftest.er1 >conftest.err
4780 cat conftest.err >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } >/dev/null; then
4783 if test -s conftest.err; then
4784 ac_cpp_err=$ac_c_preproc_warn_flag
4791 if test -z "$ac_cpp_err"; then
4792 ac_header_preproc=yes
4794 echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.$ac_ext >&5
4797 ac_header_preproc=no
4799 rm -f conftest.err conftest.$ac_ext
4800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4801 echo "${ECHO_T}$ac_header_preproc" >&6
4803 # So? What about this header?
4804 case $ac_header_compiler:$ac_header_preproc in
4806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4812 ## ------------------------------------ ##
4813 ## Report this to bug-autoconf@gnu.org. ##
4814 ## ------------------------------------ ##
4817 sed "s/^/$as_me: WARNING: /" >&2
4820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4828 ## ------------------------------------ ##
4829 ## Report this to bug-autoconf@gnu.org. ##
4830 ## ------------------------------------ ##
4833 sed "s/^/$as_me: WARNING: /" >&2
4836 echo "$as_me:$LINENO: checking for $ac_header" >&5
4837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 eval "$as_ac_Header=$ac_header_preproc"
4843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4848 cat >>confdefs.h <<_ACEOF
4849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4861 # Only perform the check for file, if the check method requires it
4862 case $deplibs_check_method in
4864 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4865 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4866 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4867 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4875 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4878 ac_save_MAGIC_CMD="$MAGIC_CMD"
4879 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4880 ac_dummy="/usr/bin:$PATH"
4881 for ac_dir in $ac_dummy; do
4882 test -z "$ac_dir" && ac_dir=.
4883 if test -f $ac_dir/${ac_tool_prefix}file; then
4884 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4885 if test -n "$file_magic_test_file"; then
4886 case $deplibs_check_method in
4888 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4889 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4890 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4891 egrep "$file_magic_regex" > /dev/null; then
4896 *** Warning: the command libtool uses to detect shared libraries,
4897 *** $file_magic_cmd, produces output that libtool cannot recognize.
4898 *** The result is that libtool may fail to recognize shared libraries
4899 *** as such. This will affect the creation of libtool libraries that
4900 *** depend on shared libraries, but programs linked with such libtool
4901 *** libraries will work regardless of this problem. Nevertheless, you
4902 *** may want to report the problem to your system manager and/or to
4903 *** bug-libtool@gnu.org
4913 MAGIC_CMD="$ac_save_MAGIC_CMD"
4918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4919 if test -n "$MAGIC_CMD"; then
4920 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4921 echo "${ECHO_T}$MAGIC_CMD" >&6
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4927 if test -z "$lt_cv_path_MAGIC_CMD"; then
4928 if test -n "$ac_tool_prefix"; then
4929 echo "$as_me:$LINENO: checking for file" >&5
4930 echo $ECHO_N "checking for file... $ECHO_C" >&6
4931 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4942 ac_save_MAGIC_CMD="$MAGIC_CMD"
4943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4944 ac_dummy="/usr/bin:$PATH"
4945 for ac_dir in $ac_dummy; do
4946 test -z "$ac_dir" && ac_dir=.
4947 if test -f $ac_dir/file; then
4948 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4949 if test -n "$file_magic_test_file"; then
4950 case $deplibs_check_method in
4952 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4955 egrep "$file_magic_regex" > /dev/null; then
4960 *** Warning: the command libtool uses to detect shared libraries,
4961 *** $file_magic_cmd, produces output that libtool cannot recognize.
4962 *** The result is that libtool may fail to recognize shared libraries
4963 *** as such. This will affect the creation of libtool libraries that
4964 *** depend on shared libraries, but programs linked with such libtool
4965 *** libraries will work regardless of this problem. Nevertheless, you
4966 *** may want to report the problem to your system manager and/or to
4967 *** bug-libtool@gnu.org
4977 MAGIC_CMD="$ac_save_MAGIC_CMD"
4982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4983 if test -n "$MAGIC_CMD"; then
4984 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4985 echo "${ECHO_T}$MAGIC_CMD" >&6
4987 echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6
5000 if test -n "$ac_tool_prefix"; then
5001 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5002 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5003 echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5005 if test "${ac_cv_prog_RANLIB+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 if test -n "$RANLIB"; then
5009 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir=.
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 RANLIB=$ac_cv_prog_RANLIB
5028 if test -n "$RANLIB"; then
5029 echo "$as_me:$LINENO: result: $RANLIB" >&5
5030 echo "${ECHO_T}$RANLIB" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5037 if test -z "$ac_cv_prog_RANLIB"; then
5038 ac_ct_RANLIB=$RANLIB
5039 # Extract the first word of "ranlib", so it can be a program name with args.
5040 set dummy ranlib; ac_word=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 if test -n "$ac_ct_RANLIB"; then
5047 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_RANLIB="ranlib"
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5066 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5067 if test -n "$ac_ct_RANLIB"; then
5068 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5069 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5075 RANLIB=$ac_ct_RANLIB
5077 RANLIB="$ac_cv_prog_RANLIB"
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}strip; ac_word=$2
5083 echo "$as_me:$LINENO: checking for $ac_word" >&5
5084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5085 if test "${ac_cv_prog_STRIP+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 if test -n "$STRIP"; then
5089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 STRIP=$ac_cv_prog_STRIP
5108 if test -n "$STRIP"; then
5109 echo "$as_me:$LINENO: result: $STRIP" >&5
5110 echo "${ECHO_T}$STRIP" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5117 if test -z "$ac_cv_prog_STRIP"; then
5119 # Extract the first word of "strip", so it can be a program name with args.
5120 set dummy strip; ac_word=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$ac_ct_STRIP"; then
5127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_ac_ct_STRIP="strip"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5147 if test -n "$ac_ct_STRIP"; then
5148 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5149 echo "${ECHO_T}$ac_ct_STRIP" >&6
5151 echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6
5157 STRIP="$ac_cv_prog_STRIP"
5164 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5165 if test "${enable_libtool_lock+set}" = set; then
5166 enableval="$enable_libtool_lock"
5169 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5171 # Some flags need to be propagated to the compiler or linker for good
5175 # Find out which ABI we are using.
5176 echo '#line 5176 "configure"' > conftest.$ac_ext
5177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5178 (eval $ac_compile) 2>&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; then
5182 case `/usr/bin/file conftest.$ac_objext` in
5198 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5199 SAVE_CFLAGS="$CFLAGS"
5200 CFLAGS="$CFLAGS -belf"
5201 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5202 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5203 if test "${lt_cv_cc_needs_belf+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 ac_cpp='$CPP $CPPFLAGS'
5210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5214 cat >conftest.$ac_ext <<_ACEOF
5215 #line $LINENO "configure"
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5230 rm -f conftest.$ac_objext conftest$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try='test -s conftest$ac_exeext'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; }; then
5242 lt_cv_cc_needs_belf=yes
5244 echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.$ac_ext >&5
5247 lt_cv_cc_needs_belf=no
5249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5251 ac_cpp='$CPP $CPPFLAGS'
5252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5257 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5258 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5259 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5260 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5261 CFLAGS="$SAVE_CFLAGS"
5268 # Sed substitution that helps us do robust quoting. It backslashifies
5269 # metacharacters that are still active within double-quoted strings.
5270 Xsed='sed -e s/^X//'
5271 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5273 # Same as above, but do not quote variable references.
5274 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5276 # Sed substitution to delay expansion of an escaped shell variable in a
5277 # double_quote_subst'ed string.
5278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5284 default_ofile=libtool
5285 can_build_shared=yes
5287 # All known linkers require a `.a' archive for static linking (except M$VC,
5288 # which needs '.lib').
5290 ltmain="$ac_aux_dir/ltmain.sh"
5291 ofile="$default_ofile"
5292 with_gnu_ld="$lt_cv_prog_gnu_ld"
5293 need_locks="$enable_libtool_lock"
5296 old_CFLAGS="$CFLAGS"
5298 # Set sane defaults for various variables
5299 test -z "$AR" && AR=ar
5300 test -z "$AR_FLAGS" && AR_FLAGS=cru
5301 test -z "$AS" && AS=as
5302 test -z "$CC" && CC=cc
5303 test -z "$DLLTOOL" && DLLTOOL=dlltool
5304 test -z "$LD" && LD=ld
5305 test -z "$LN_S" && LN_S="ln -s"
5306 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5307 test -z "$NM" && NM=nm
5308 test -z "$OBJDUMP" && OBJDUMP=objdump
5309 test -z "$RANLIB" && RANLIB=:
5310 test -z "$STRIP" && STRIP=:
5311 test -z "$ac_objext" && ac_objext=o
5313 if test x"$host" != x"$build"; then
5314 ac_tool_prefix=${host_alias}-
5319 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
5322 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
5327 # AIX sometimes has problems with the GCC collect2 program. For some
5328 # reason, if we set the COLLECT_NAMES environment variable, the problems
5329 # vanish in a puff of smoke.
5330 if test "X${COLLECT_NAMES+set}" != Xset; then
5332 export COLLECT_NAMES
5337 # Determine commands to create old-style static archives.
5338 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5339 old_postinstall_cmds='chmod 644 $oldlib'
5340 old_postuninstall_cmds=
5342 if test -n "$RANLIB"; then
5345 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5348 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5351 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5354 # Allow CC to be a program name with arguments.
5358 echo "$as_me:$LINENO: checking for objdir" >&5
5359 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5360 rm -f .libs 2>/dev/null
5361 mkdir .libs 2>/dev/null
5362 if test -d .libs; then
5365 # MS-DOS does not allow filenames that begin with a dot.
5368 rmdir .libs 2>/dev/null
5369 echo "$as_me:$LINENO: result: $objdir" >&5
5370 echo "${ECHO_T}$objdir" >&6
5374 # Check whether --with-pic or --without-pic was given.
5375 if test "${with_pic+set}" = set; then
5381 test -z "$pic_mode" && pic_mode=default
5383 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5384 # in isolation, and that seeing it set (from the cache) indicates that
5385 # the associated values are set (in the cache) correctly too.
5386 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5387 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5388 if test "${lt_cv_prog_cc_pic+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 lt_cv_prog_cc_shlib=
5394 lt_cv_prog_cc_static=
5395 lt_cv_prog_cc_no_builtin=
5396 lt_cv_prog_cc_can_build_shared=$can_build_shared
5398 if test "$GCC" = yes; then
5399 lt_cv_prog_cc_wl='-Wl,'
5400 lt_cv_prog_cc_static='-static'
5404 # Below there is a dirty hack to force normal static linking with -ldl
5405 # The problem is because libdl dynamically linked with both libc and
5406 # libC (AIX C++ library), which obviously doesn't included in libraries
5407 # list by gcc. This cause undefined symbols with -static flags.
5408 # This hack allows C programs to be linked with "-static -ldl", but
5409 # not sure about C++ programs.
5410 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
5413 # FIXME: we need at least 68020 code to build shared libraries, but
5414 # adding the `-m68020' flag to GCC prevents building anything better,
5416 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5418 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5419 # PIC is the default for these OSes.
5421 darwin* | rhapsody*)
5422 # PIC is the default on this platform
5423 # Common symbols not allowed in MH_DYLIB files
5424 lt_cv_prog_cc_pic='-fno-common'
5426 cygwin* | mingw* | pw32* | os2*)
5427 # This hack is so that the source file can tell whether it is being
5428 # built for inclusion in a dll (and should export symbols for example).
5429 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5432 if test -d /usr/nec; then
5433 lt_cv_prog_cc_pic=-Kconform_pic
5437 lt_cv_prog_cc_pic='-fPIC'
5441 # PORTME Check for PIC flags for the system compiler.
5443 aix3* | aix4* | aix5*)
5444 lt_cv_prog_cc_wl='-Wl,'
5445 # All AIX code is PIC.
5446 if test "$host_cpu" = ia64; then
5447 # AIX 5 now supports IA64 processor
5448 lt_cv_prog_cc_static='-Bstatic'
5450 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
5454 hpux9* | hpux10* | hpux11*)
5455 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
5456 lt_cv_prog_cc_wl='-Wl,'
5457 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
5458 lt_cv_prog_cc_pic='+Z'
5461 irix5* | irix6* | nonstopux*)
5462 lt_cv_prog_cc_wl='-Wl,'
5463 lt_cv_prog_cc_static='-non_shared'
5464 # PIC (with -KPIC) is the default.
5467 cygwin* | mingw* | pw32* | os2*)
5468 # This hack is so that the source file can tell whether it is being
5469 # built for inclusion in a dll (and should export symbols for example).
5470 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5474 lt_cv_prog_cc_pic='-KPIC'
5475 lt_cv_prog_cc_static='-Bstatic'
5478 osf3* | osf4* | osf5*)
5479 # All OSF/1 code is PIC.
5480 lt_cv_prog_cc_wl='-Wl,'
5481 lt_cv_prog_cc_static='-non_shared'
5485 lt_cv_prog_cc_pic='-Kpic'
5486 lt_cv_prog_cc_static='-dn'
5487 lt_cv_prog_cc_shlib='-belf'
5491 lt_cv_prog_cc_pic='-KPIC'
5492 lt_cv_prog_cc_static='-Bstatic'
5493 lt_cv_prog_cc_wl='-Wl,'
5497 lt_cv_prog_cc_pic='-PIC'
5498 lt_cv_prog_cc_static='-Bstatic'
5499 lt_cv_prog_cc_wl='-Qoption ld '
5502 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5503 lt_cv_prog_cc_pic='-KPIC'
5504 lt_cv_prog_cc_static='-Bstatic'
5505 lt_cv_prog_cc_wl='-Wl,'
5509 lt_cv_prog_cc_pic='-pic'
5510 lt_cv_prog_cc_static='-Bstatic'
5514 if test -d /usr/nec ;then
5515 lt_cv_prog_cc_pic='-Kconform_pic'
5516 lt_cv_prog_cc_static='-Bstatic'
5521 lt_cv_prog_cc_can_build_shared=no
5528 if test -z "$lt_cv_prog_cc_pic"; then
5529 echo "$as_me:$LINENO: result: none" >&5
5530 echo "${ECHO_T}none" >&6
5532 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5533 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5535 # Check to make sure the pic_flag actually works.
5536 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5537 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5538 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 save_CFLAGS="$CFLAGS"
5542 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5543 cat >conftest.$ac_ext <<_ACEOF
5544 #line $LINENO "configure"
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5559 rm -f conftest.$ac_objext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5561 (eval $ac_compile) 2>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } &&
5565 { ac_try='test -s conftest.$ac_objext'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; }; then
5572 hpux9* | hpux10* | hpux11*)
5573 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5574 # they create non-PIC objects. So, if there were any warnings, we
5575 # assume that PIC is not supported.
5576 if test -s conftest.err; then
5577 lt_cv_prog_cc_pic_works=no
5579 lt_cv_prog_cc_pic_works=yes
5583 lt_cv_prog_cc_pic_works=yes
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5591 lt_cv_prog_cc_pic_works=no
5594 rm -f conftest.$ac_objext conftest.$ac_ext
5595 CFLAGS="$save_CFLAGS"
5600 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
5602 lt_cv_prog_cc_can_build_shared=no
5604 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5607 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5608 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5611 # Check for any special shared library compilation flags.
5612 if test -n "$lt_cv_prog_cc_shlib"; then
5613 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5614 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5615 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5617 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5618 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5619 lt_cv_prog_cc_can_build_shared=no
5623 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5624 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5625 if test "${lt_cv_prog_cc_static_works+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 lt_cv_prog_cc_static_works=no
5629 save_LDFLAGS="$LDFLAGS"
5630 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5631 cat >conftest.$ac_ext <<_ACEOF
5632 #line $LINENO "configure"
5635 cat confdefs.h >>conftest.$ac_ext
5636 cat >>conftest.$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5647 rm -f conftest.$ac_objext conftest$ac_exeext
5648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5649 (eval $ac_link) 2>&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } &&
5653 { ac_try='test -s conftest$ac_exeext'
5654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; }; then
5659 lt_cv_prog_cc_static_works=yes
5661 echo "$as_me: failed program was:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5666 LDFLAGS="$save_LDFLAGS"
5671 # Belt *and* braces to stop my trousers falling down:
5672 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5673 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5674 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5676 pic_flag="$lt_cv_prog_cc_pic"
5677 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5678 wl="$lt_cv_prog_cc_wl"
5679 link_static_flag="$lt_cv_prog_cc_static"
5680 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5681 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5684 # Check to see if options -o and -c are simultaneously supported by compiler
5685 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5686 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5687 if test "${lt_cv_compiler_c_o+set}" = set; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 $rm -r conftest 2>/dev/null
5694 echo "int some_variable = 0;" > conftest.$ac_ext
5696 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5697 # that will create temporary files in the current directory regardless of
5698 # the output directory. Thus, making CWD read-only will cause this test
5699 # to fail, enabling locking or at least warning the user not to do parallel
5702 save_CFLAGS="$CFLAGS"
5703 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5705 if { (eval echo configure:5705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5706 # The compiler can only warn and ignore the option if not recognized
5707 # So say no if there are warnings
5708 if test -s out/conftest.err; then
5709 lt_cv_compiler_c_o=no
5711 lt_cv_compiler_c_o=yes
5714 # Append any errors to the config.log.
5715 cat out/conftest.err 1>&5
5716 lt_cv_compiler_c_o=no
5718 CFLAGS="$save_CFLAGS"
5724 $rm -r conftest 2>/dev/null
5728 compiler_c_o=$lt_cv_compiler_c_o
5729 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5730 echo "${ECHO_T}$compiler_c_o" >&6
5732 if test x"$compiler_c_o" = x"yes"; then
5733 # Check to see if we can write to a .lo
5734 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5735 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5736 if test "${lt_cv_compiler_o_lo+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 lt_cv_compiler_o_lo=no
5741 save_CFLAGS="$CFLAGS"
5742 CFLAGS="$CFLAGS -c -o conftest.lo"
5743 save_objext="$ac_objext"
5745 cat >conftest.$ac_ext <<_ACEOF
5746 #line $LINENO "configure"
5749 cat confdefs.h >>conftest.$ac_ext
5750 cat >>conftest.$ac_ext <<_ACEOF
5751 /* end confdefs.h. */
5756 int some_variable = 0;
5761 rm -f conftest.$ac_objext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5763 (eval $ac_compile) 2>&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); } &&
5767 { ac_try='test -s conftest.$ac_objext'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; }; then
5773 # The compiler can only warn and ignore the option if not recognized
5774 # So say no if there are warnings
5775 if test -s conftest.err; then
5776 lt_cv_compiler_o_lo=no
5778 lt_cv_compiler_o_lo=yes
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5786 rm -f conftest.$ac_objext conftest.$ac_ext
5787 ac_objext="$save_objext"
5788 CFLAGS="$save_CFLAGS"
5792 compiler_o_lo=$lt_cv_compiler_o_lo
5793 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5794 echo "${ECHO_T}$compiler_o_lo" >&6
5799 # Check to see if we can do hard links to lock some files if needed
5800 hard_links="nottested"
5801 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5802 # do not overwrite the value of need_locks provided by the user
5803 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5804 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5807 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5809 ln conftest.a conftest.b 2>&5 || hard_links=no
5810 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5811 echo "$as_me:$LINENO: result: $hard_links" >&5
5812 echo "${ECHO_T}$hard_links" >&6
5813 if test "$hard_links" = no; then
5814 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5815 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5822 if test "$GCC" = yes; then
5823 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5824 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5825 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5826 echo "int some_variable = 0;" > conftest.$ac_ext
5827 save_CFLAGS="$CFLAGS"
5828 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5829 compiler_rtti_exceptions=no
5830 cat >conftest.$ac_ext <<_ACEOF
5831 #line $LINENO "configure"
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5841 int some_variable = 0;
5846 rm -f conftest.$ac_objext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5848 (eval $ac_compile) 2>&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } &&
5852 { ac_try='test -s conftest.$ac_objext'
5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }; }; then
5858 # The compiler can only warn and ignore the option if not recognized
5859 # So say no if there are warnings
5860 if test -s conftest.err; then
5861 compiler_rtti_exceptions=no
5863 compiler_rtti_exceptions=yes
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5871 rm -f conftest.$ac_objext conftest.$ac_ext
5872 CFLAGS="$save_CFLAGS"
5873 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
5874 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5876 if test "$compiler_rtti_exceptions" = "yes"; then
5877 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5879 no_builtin_flag=' -fno-builtin'
5883 # See if the linker supports building shared libraries.
5884 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
5885 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5887 allow_undefined_flag=
5889 need_lib_prefix=unknown
5890 need_version=unknown
5891 # when you set need_version to no, make sure it does not cause -set_version
5892 # flags to be left without arguments
5894 archive_expsym_cmds=
5895 old_archive_from_new_cmds=
5896 old_archive_from_expsyms_cmds=
5897 export_dynamic_flag_spec=
5898 whole_archive_flag_spec=
5899 thread_safe_flag_spec=
5900 hardcode_into_libs=no
5901 hardcode_libdir_flag_spec=
5902 hardcode_libdir_separator=
5905 hardcode_shlibpath_var=unsupported
5907 link_all_deplibs=unknown
5908 always_export_symbols=no
5909 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5910 # include_expsyms should be a list of space-separated symbols to be *always*
5911 # included in the symbol list
5913 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5914 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5915 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5916 # as well as any symbol that contains `d'.
5917 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5918 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5919 # platforms (ab)use it in PIC code, but their linkers get confused if
5920 # the symbol is explicitly referenced. Since portable code cannot
5921 # rely on this symbol name, it's probably fine to never include it in
5922 # preloaded symbol tables.
5923 extract_expsyms_cmds=
5926 cygwin* | mingw* | pw32*)
5927 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5928 # When not using gcc, we currently assume that we are using
5929 # Microsoft Visual C++.
5930 if test "$GCC" != yes; then
5940 if test "$with_gnu_ld" = yes; then
5941 # If archive_cmds runs LD, not CC, wlarc should be empty
5944 # See if GNU ld supports shared libraries.
5946 aix3* | aix4* | aix5*)
5947 # On AIX, the GNU linker is very broken
5948 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
5952 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5953 *** to be unable to reliably create shared libraries on AIX.
5954 *** Therefore, libtool is disabling shared libraries support. If you
5955 *** really care for shared libraries, you may want to modify your PATH
5956 *** so that a non-GNU linker is found, and then restart.
5962 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)'
5963 hardcode_libdir_flag_spec='-L$libdir'
5964 hardcode_minus_L=yes
5966 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5967 # that the semantics of dynamic libraries on AmigaOS, at least up
5968 # to version 4, is to share data among multiple programs linked
5969 # with the same dynamic library. Since this doesn't match the
5970 # behavior of shared libraries on other platforms, we can use
5976 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5977 allow_undefined_flag=unsupported
5978 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5979 # support --undefined. This deserves some investigation. FIXME
5980 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5986 cygwin* | mingw* | pw32*)
5987 # hardcode_libdir_flag_spec is actually meaningless, as there is
5988 # no search path for DLLs.
5989 hardcode_libdir_flag_spec='-L$libdir'
5990 allow_undefined_flag=unsupported
5991 always_export_symbols=yes
5993 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
5994 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
5995 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
5996 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
5997 else $CC -o impgen impgen.c ; fi)~
5998 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
6000 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
6002 # cygwin and mingw dlls have different entry points and sets of symbols
6004 # FIXME: what about values for MSVC?
6005 dll_entry=__cygwin_dll_entry@12
6006 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
6010 dll_entry=_DllMainCRTStartup@12
6011 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
6015 # mingw and cygwin differ, and it's simplest to just exclude the union
6016 # of the two symbol sets.
6017 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
6019 # recent cygwin and mingw systems supply a stub DllMain which the user
6020 # can override, but on older systems we have to supply one (in ltdll.c)
6021 if test "x$lt_cv_need_dllmain" = "xyes"; then
6022 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
6023 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
6024 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
6030 # Extract the symbol export list from an `--export-all' def file,
6031 # then regenerate the def file from the symbol export list, so that
6032 # the compiled dll only exports the symbol export list.
6033 # Be careful not to strip the DATA tag left be newer dlltools.
6034 export_symbols_cmds="$ltdll_cmds"'
6035 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
6036 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
6038 # If the export-symbols file already is a .def file (1st line
6039 # is EXPORTS), use it as is.
6040 # If DATA tags from a recent dlltool are present, honour them!
6041 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
6042 cp $export_symbols $output_objdir/$soname-def;
6044 echo EXPORTS > $output_objdir/$soname-def;
6046 cat $export_symbols | while read symbol; do
6049 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
6050 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
6051 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
6053 _lt_hint=`expr 1 + \$_lt_hint`;
6057 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
6058 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
6059 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
6060 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
6061 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
6065 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6066 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6069 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6070 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6075 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
6079 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6080 *** create shared libraries on Solaris systems. Therefore, libtool
6081 *** is disabling shared libraries support. We urge you to upgrade GNU
6082 *** binutils to release 2.9.1 or newer. Another option is to modify
6083 *** your PATH or compiler configuration so that the native linker is
6084 *** used, and then restart.
6087 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6088 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6089 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6096 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6099 hardcode_shlibpath_var=no
6103 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6104 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6105 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6112 if test "$ld_shlibs" = yes; then
6113 runpath_var=LD_RUN_PATH
6114 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6115 export_dynamic_flag_spec='${wl}--export-dynamic'
6117 cygwin* | mingw* | pw32*)
6118 # dlltool doesn't understand --whole-archive et. al.
6119 whole_archive_flag_spec=
6122 # ancient GNU ld didn't support --whole-archive et. al.
6123 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
6124 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6126 whole_archive_flag_spec=
6132 # PORTME fill in a description of your system's linker (not GNU ld)
6135 allow_undefined_flag=unsupported
6136 always_export_symbols=yes
6137 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'
6138 # Note: this linker hardcodes the directories in LIBPATH if there
6139 # are no directories specified by -L.
6140 hardcode_minus_L=yes
6141 if test "$GCC" = yes && test -z "$link_static_flag"; then
6142 # Neither direct hardcoding nor static linking is supported with a
6144 hardcode_direct=unsupported
6149 if test "$host_cpu" = ia64; then
6150 # On IA64, the linker does run time linking by default, so we don't
6151 # have to do anything special.
6152 aix_use_runtimelinking=no
6153 exp_sym_flag='-Bexport'
6156 aix_use_runtimelinking=no
6158 # Test if we are trying to use run time linking or normal
6159 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6160 # need to do runtime linking.
6161 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6162 for ld_flag in $LDFLAGS; do
6165 aix_use_runtimelinking=yes
6172 exp_sym_flag='-bexport'
6173 no_entry_flag='-bnoentry'
6176 # When large executables or shared objects are built, AIX ld can
6177 # have problems creating the table of contents. If linking a library
6178 # or program results in "error TOC overflow" add -mminimal-toc to
6179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6184 hardcode_libdir_separator=':'
6185 if test "$GCC" = yes; then
6186 case $host_os in aix4.[012]|aix4.[012].*)
6187 collect2name=`${CC} -print-prog-name=collect2`
6188 if test -f "$collect2name" && \
6189 strings "$collect2name" | grep resolve_lib_name >/dev/null
6191 # We have reworked collect2
6194 # We have old collect2
6195 hardcode_direct=unsupported
6196 # It fails to find uninstalled libraries when the uninstalled
6197 # path is not listed in the libpath. Setting hardcode_minus_L
6198 # to unsupported forces relinking
6199 hardcode_minus_L=yes
6200 hardcode_libdir_flag_spec='-L$libdir'
6201 hardcode_libdir_separator=
6205 shared_flag='-shared'
6208 if test "$host_cpu" = ia64; then
6209 shared_flag='${wl}-G'
6211 if test "$aix_use_runtimelinking" = yes; then
6212 shared_flag='${wl}-G'
6214 shared_flag='${wl}-bM:SRE'
6219 # It seems that -bexpall can do strange things, so it is better to
6220 # generate a list of symbols to export.
6221 always_export_symbols=yes
6222 if test "$aix_use_runtimelinking" = yes; then
6223 # Warning - without using the other runtime loading flags (-brtl),
6224 # -berok will link without error, but may produce a broken library.
6225 allow_undefined_flag='-berok'
6226 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
6227 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6229 if test "$host_cpu" = ia64; then
6230 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6231 allow_undefined_flag="-z nodefs"
6232 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6234 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
6235 # Warning - without using the other run time loading flags,
6236 # -berok will link without error, but may produce a broken library.
6237 allow_undefined_flag='${wl}-berok'
6238 # This is a bit strange, but is similar to how AIX traditionally builds
6239 # it's shared libraries.
6240 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
6246 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)'
6247 hardcode_libdir_flag_spec='-L$libdir'
6248 hardcode_minus_L=yes
6249 # see comment about different semantics on the GNU ld section
6253 cygwin* | mingw* | pw32*)
6254 # When not using gcc, we currently assume that we are using
6255 # Microsoft Visual C++.
6256 # hardcode_libdir_flag_spec is actually meaningless, as there is
6257 # no search path for DLLs.
6258 hardcode_libdir_flag_spec=' '
6259 allow_undefined_flag=unsupported
6260 # Tell ltmain to make .lib files, not .a files.
6262 # FIXME: Setting linknames here is a bad hack.
6263 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6264 # The linker will automatically build a .lib file if we build a DLL.
6265 old_archive_from_new_cmds='true'
6266 # FIXME: Should let the user specify the lib program.
6267 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6268 fix_srcfile_path='`cygpath -w "$srcfile"`'
6271 darwin* | rhapsody*)
6273 rhapsody* | darwin1.[012])
6274 allow_undefined_flag='-undefined suppress'
6277 allow_undefined_flag='-flat_namespace -undefined suppress'
6280 # FIXME: Relying on posixy $() will cause problems for
6281 # cross-compilation, but unfortunately the echo tests do not
6282 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6283 # `"' quotes if we put them in here... so don't!
6284 archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
6285 # We need to add '_' to the symbols in $export_symbols first
6286 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6288 hardcode_shlibpath_var=no
6289 whole_archive_flag_spec='-all_load $convenience'
6296 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6297 # support. Future versions do this automatically, but an explicit c++rt0.o
6298 # does not break anything, and helps significantly (at the cost of a little
6301 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6302 hardcode_libdir_flag_spec='-R$libdir'
6304 hardcode_shlibpath_var=no
6307 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6309 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6311 hardcode_minus_L=yes
6312 hardcode_shlibpath_var=no
6315 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6317 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6318 hardcode_libdir_flag_spec='-R$libdir'
6320 hardcode_shlibpath_var=no
6323 hpux9* | hpux10* | hpux11*)
6325 hpux9*) 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' ;;
6326 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
6328 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6329 hardcode_libdir_separator=:
6331 hardcode_minus_L=yes # Not in the search PATH, but as the default
6332 # location of the library.
6333 export_dynamic_flag_spec='${wl}-E'
6336 irix5* | irix6* | nonstopux*)
6337 if test "$GCC" = yes; then
6338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6341 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6342 hardcode_libdir_flag_spec='-rpath $libdir'
6344 hardcode_libdir_separator=:
6345 link_all_deplibs=yes
6349 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6350 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6352 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6354 hardcode_libdir_flag_spec='-R$libdir'
6356 hardcode_shlibpath_var=no
6360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6362 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6363 hardcode_libdir_separator=:
6364 hardcode_shlibpath_var=no
6369 hardcode_shlibpath_var=no
6370 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6371 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6372 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6373 export_dynamic_flag_spec='${wl}-E'
6376 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6377 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6378 hardcode_libdir_flag_spec='-R$libdir'
6381 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6382 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6389 hardcode_libdir_flag_spec='-L$libdir'
6390 hardcode_minus_L=yes
6391 allow_undefined_flag=unsupported
6392 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'
6393 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6397 if test "$GCC" = yes; then
6398 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6399 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6401 allow_undefined_flag=' -expect_unresolved \*'
6402 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6404 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6405 hardcode_libdir_separator=:
6408 osf4* | osf5*) # as osf3* with the addition of -msym flag
6409 if test "$GCC" = yes; then
6410 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6411 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6412 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6414 allow_undefined_flag=' -expect_unresolved \*'
6415 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6416 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6417 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
6419 #Both c and cxx compiler support -rpath directly
6420 hardcode_libdir_flag_spec='-rpath $libdir'
6422 hardcode_libdir_separator=:
6426 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6427 hardcode_shlibpath_var=no
6428 runpath_var=LD_RUN_PATH
6429 hardcode_runpath_var=yes
6430 export_dynamic_flag_spec='${wl}-Bexport'
6434 # gcc --version < 3.0 without binutils cannot create self contained
6435 # shared libraries reliably, requiring libgcc.a to resolve some of
6436 # the object symbols generated in some cases. Libraries that use
6437 # assert need libgcc.a to resolve __eprintf, for example. Linking
6438 # a copy of libgcc.a into every shared library to guarantee resolving
6439 # such symbols causes other problems: According to Tim Van Holder
6440 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
6441 # (to the application) exception stack for one thing.
6442 no_undefined_flag=' -z defs'
6443 if test "$GCC" = yes; then
6444 case `$CC --version 2>/dev/null` in
6448 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
6449 *** create self contained shared libraries on Solaris systems, without
6450 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
6451 *** -no-undefined support, which will at least allow you to build shared
6452 *** libraries. However, you may find that when you link such libraries
6453 *** into an application without using GCC, you have to manually add
6454 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
6455 *** upgrade to a newer version of GCC. Another option is to rebuild your
6456 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
6463 # $CC -shared without GNU ld will not create a library from C++
6464 # object files and a static libstdc++, better avoid it by now
6465 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6466 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6467 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6468 hardcode_libdir_flag_spec='-R$libdir'
6469 hardcode_shlibpath_var=no
6471 solaris2.[0-5] | solaris2.[0-5].*) ;;
6472 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6473 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6475 link_all_deplibs=yes
6479 if test "x$host_vendor" = xsequent; then
6480 # Use $CC to link under sequent, because it throws in some extra .o
6481 # files that make .init and .fini sections work.
6482 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6484 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6486 hardcode_libdir_flag_spec='-L$libdir'
6488 hardcode_minus_L=yes
6489 hardcode_shlibpath_var=no
6493 case $host_vendor in
6495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6496 hardcode_direct=yes # is this really true???
6499 ## LD is ld it makes a PLAMLIB
6500 ## CC just makes a GrossModule.
6501 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6502 reload_cmds='$CC -r -o $output$reload_objs'
6506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6507 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6510 runpath_var='LD_RUN_PATH'
6511 hardcode_shlibpath_var=no
6515 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6516 hardcode_shlibpath_var=no
6517 export_dynamic_flag_spec='-Bexport'
6521 no_undefined_flag=' -z text'
6522 # $CC -shared without GNU ld will not create a library from C++
6523 # object files and a static libstdc++, better avoid it by now
6524 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6525 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6526 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6527 hardcode_libdir_flag_spec=
6528 hardcode_shlibpath_var=no
6529 runpath_var='LD_RUN_PATH'
6533 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6534 hardcode_libdir_flag_spec='-L$libdir'
6535 hardcode_shlibpath_var=no
6539 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6540 hardcode_libdir_flag_spec='-L$libdir'
6541 hardcode_shlibpath_var=no
6545 if test -d /usr/nec; then
6546 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6547 hardcode_shlibpath_var=no
6548 runpath_var=LD_RUN_PATH
6549 hardcode_runpath_var=yes
6555 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6558 hardcode_shlibpath_var=no
6559 hardcode_runpath_var=yes
6560 runpath_var=LD_RUN_PATH
6563 sysv5uw7* | unixware7*)
6564 no_undefined_flag='${wl}-z ${wl}text'
6565 if test "$GCC" = yes; then
6566 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6568 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6570 runpath_var='LD_RUN_PATH'
6571 hardcode_shlibpath_var=no
6579 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6580 echo "${ECHO_T}$ld_shlibs" >&6
6581 test "$ld_shlibs" = no && can_build_shared=no
6583 # Check hardcoding attributes.
6584 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6585 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6587 if test -n "$hardcode_libdir_flag_spec" || \
6588 test -n "$runpath_var"; then
6590 # We can hardcode non-existant directories.
6591 if test "$hardcode_direct" != no &&
6592 # If the only mechanism to avoid hardcoding is shlibpath_var, we
6593 # have to relink, otherwise we might link with an installed library
6594 # when we should be linking with a yet-to-be-installed one
6595 ## test "$hardcode_shlibpath_var" != no &&
6596 test "$hardcode_minus_L" != no; then
6597 # Linking always hardcodes the temporary library directory.
6598 hardcode_action=relink
6600 # We can link without hardcoding, and we can hardcode nonexisting dirs.
6601 hardcode_action=immediate
6604 # We cannot hardcode anything, or else we can only hardcode existing
6606 hardcode_action=unsupported
6608 echo "$as_me:$LINENO: result: $hardcode_action" >&5
6609 echo "${ECHO_T}$hardcode_action" >&6
6613 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6614 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6615 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6616 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6617 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6625 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6626 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6628 # PORTME Fill in your ld.so characteristics
6629 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6630 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6632 libname_spec='lib$name'
6639 shlibpath_overrides_runpath=unknown
6641 dynamic_linker="$host_os ld.so"
6642 sys_lib_dlsearch_path_spec="/lib /usr/lib"
6643 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6648 library_names_spec='${libname}${release}.so$versuffix $libname.a'
6649 shlibpath_var=LIBPATH
6651 # AIX has no versioning support, so we append a major version to the name.
6652 soname_spec='${libname}${release}.so$major'
6659 hardcode_into_libs=yes
6660 if test "$host_cpu" = ia64; then
6661 # AIX 5 supports IA64
6662 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6663 shlibpath_var=LD_LIBRARY_PATH
6665 # With GCC up to 2.95.x, collect2 would create an import file
6666 # for dependence libraries. The import file would start with
6667 # the line `#! .'. This would cause the generated library to
6668 # depend on `.', always an invalid library. This was fixed in
6669 # development snapshots of GCC prior to 3.0.
6671 aix4 | aix4.[01] | aix4.[01].*)
6672 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6674 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6681 # AIX (on Power*) has no versioning support, so currently we can
6682 # not hardcode correct soname into executable. Probably we can
6683 # add versioning support to collect2, so additional links can
6684 # be useful in future.
6685 if test "$aix_use_runtimelinking" = yes; then
6686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6687 # instead of lib<name>.a to let people know that these are not
6688 # typical AIX shared libraries.
6689 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6691 # We preserve .a as extension for shared libraries through AIX4.2
6692 # and later when we are not doing run time linking.
6693 library_names_spec='${libname}${release}.a $libname.a'
6694 soname_spec='${libname}${release}.so$major'
6696 shlibpath_var=LIBPATH
6698 hardcode_into_libs=yes
6702 library_names_spec='$libname.ixlibrary $libname.a'
6703 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6704 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'
6708 library_names_spec='${libname}.so'
6709 dynamic_linker="$host_os ld.so"
6710 shlibpath_var=LIBRARY_PATH
6716 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6717 soname_spec='${libname}${release}.so$major'
6718 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6719 shlibpath_var=LD_LIBRARY_PATH
6720 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6721 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6722 export_dynamic_flag_spec=-rdynamic
6723 # the default ld.so.conf also contains /usr/contrib/lib and
6724 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6725 # libtool to hard-code these into programs
6728 cygwin* | mingw* | pw32*)
6729 version_type=windows
6732 case $GCC,$host_os in
6734 library_names_spec='$libname.dll.a'
6735 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6736 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6737 dldir=$destdir/`dirname \$dlpath`~
6738 test -d \$dldir || mkdir -p \$dldir~
6739 $install_prog .libs/$dlname \$dldir/$dlname'
6740 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6741 dlpath=$dir/\$dldll~
6745 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6746 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
6749 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6752 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6755 dynamic_linker='Win32 ld.exe'
6756 # FIXME: first we should search . and the directory the executable is in
6760 darwin* | rhapsody*)
6761 dynamic_linker="$host_os dyld"
6765 # FIXME: Relying on posixy $() will cause problems for
6766 # cross-compilation, but unfortunately the echo tests do not
6767 # yet detect zsh echo's removal of \ escapes.
6768 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
6769 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6770 shlibpath_overrides_runpath=yes
6771 shlibpath_var=DYLD_LIBRARY_PATH
6779 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6780 version_type=freebsd-$objformat
6781 case $version_type in
6783 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6788 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6792 shlibpath_var=LD_LIBRARY_PATH
6795 shlibpath_overrides_runpath=yes
6798 shlibpath_overrides_runpath=no
6799 hardcode_into_libs=yes
6808 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6809 soname_spec='${libname}${release}.so$major'
6810 shlibpath_var=LD_LIBRARY_PATH
6811 hardcode_into_libs=yes
6814 hpux9* | hpux10* | hpux11*)
6815 # Give a soname corresponding to the major version so that dld.sl refuses to
6816 # link against other versions.
6817 dynamic_linker="$host_os dld.sl"
6821 shlibpath_var=SHLIB_PATH
6822 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6823 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6824 soname_spec='${libname}${release}.sl$major'
6825 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6826 postinstall_cmds='chmod 555 $lib'
6829 irix5* | irix6* | nonstopux*)
6831 nonstopux*) version_type=nonstopux ;;
6832 *) version_type=irix ;;
6836 soname_spec='${libname}${release}.so$major'
6837 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6839 irix5* | nonstopux*)
6843 case $LD in # libtool.m4 will add one of these switches to LD
6844 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6845 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6846 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6847 *) libsuff= shlibsuff= libmagic=never-match;;
6851 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6852 shlibpath_overrides_runpath=no
6853 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6854 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6857 # No shared lib support for Linux oldld, aout, or coff.
6858 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6862 # This must be Linux ELF.
6867 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6868 soname_spec='${libname}${release}.so$major'
6869 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6870 shlibpath_var=LD_LIBRARY_PATH
6871 shlibpath_overrides_runpath=no
6872 # This implies no fast_install, which is unacceptable.
6873 # Some rework will be needed to allow for fast_install
6874 # before this can be enabled.
6875 hardcode_into_libs=yes
6877 # We used to test for /lib/ld.so.1 and disable shared libraries on
6878 # powerpc, because MkLinux only supported shared libraries with the
6879 # GNU dynamic linker. Since this was broken with cross compilers,
6880 # most powerpc-linux boxes support dynamic linking these days and
6881 # people can always --disable-shared, the test was removed, and we
6882 # assume the GNU/Linux dynamic linker is in use.
6883 dynamic_linker='GNU/Linux ld.so'
6885 # Find out which ABI we are using (multilib Linux x86_64 hack).
6889 echo '#line 6889 "configure"' > conftest.$ac_ext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6891 (eval $ac_compile) 2>&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; then
6895 case `/usr/bin/file conftest.$ac_objext` in
6906 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
6907 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
6914 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6915 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6916 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6917 dynamic_linker='NetBSD (a.out) ld.so'
6919 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6920 soname_spec='${libname}${release}.so$major'
6921 dynamic_linker='NetBSD ld.elf_so'
6923 shlibpath_var=LD_LIBRARY_PATH
6924 shlibpath_overrides_runpath=yes
6925 hardcode_into_libs=yes
6930 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6931 shlibpath_var=LD_LIBRARY_PATH
6932 shlibpath_overrides_runpath=yes
6939 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6941 openbsd2.[89] | openbsd2.[89].*)
6942 shlibpath_overrides_runpath=no
6945 shlibpath_overrides_runpath=yes
6949 shlibpath_overrides_runpath=yes
6951 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6953 shlibpath_var=LD_LIBRARY_PATH
6957 libname_spec='$name'
6959 library_names_spec='$libname.dll $libname.a'
6960 dynamic_linker='OS/2 ld.exe'
6961 shlibpath_var=LIBPATH
6964 osf3* | osf4* | osf5*)
6967 soname_spec='${libname}${release}.so$major'
6968 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6969 shlibpath_var=LD_LIBRARY_PATH
6970 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6971 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6972 hardcode_into_libs=yes
6977 soname_spec='${libname}${release}.so$major'
6978 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6979 shlibpath_var=LD_LIBRARY_PATH
6986 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6987 soname_spec='${libname}${release}.so$major'
6988 shlibpath_var=LD_LIBRARY_PATH
6989 shlibpath_overrides_runpath=yes
6990 hardcode_into_libs=yes
6991 # ldd complains unless libraries are executable
6992 postinstall_cmds='chmod +x $lib'
6997 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6998 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6999 shlibpath_var=LD_LIBRARY_PATH
7000 shlibpath_overrides_runpath=yes
7001 if test "$with_gnu_ld" = yes; then
7007 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7009 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7010 soname_spec='${libname}${release}.so$major'
7011 shlibpath_var=LD_LIBRARY_PATH
7012 case $host_vendor in
7014 shlibpath_overrides_runpath=no
7016 export_dynamic_flag_spec='${wl}-Blargedynsym'
7017 runpath_var=LD_RUN_PATH
7025 shlibpath_overrides_runpath=no
7026 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7033 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7034 soname_spec='${libname}${release}.so$major'
7035 shlibpath_var=LD_LIBRARY_PATH
7042 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7043 soname_spec='${libname}${release}.so$major'
7044 shlibpath_var=LD_LIBRARY_PATH
7048 if test -d /usr/nec ;then
7050 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
7051 soname_spec='$libname.so.$major'
7052 shlibpath_var=LD_LIBRARY_PATH
7060 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7061 echo "${ECHO_T}$dynamic_linker" >&6
7062 test "$dynamic_linker" = no && can_build_shared=no
7064 # Report the final consequences.
7065 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7066 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7067 echo "$as_me:$LINENO: result: $can_build_shared" >&5
7068 echo "${ECHO_T}$can_build_shared" >&6
7070 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7071 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7072 test "$can_build_shared" = "no" && enable_shared=no
7074 # On AIX, shared libraries and static libraries use the same namespace, and
7075 # are all built from PIC.
7078 test "$enable_shared" = yes && enable_static=no
7079 if test -n "$RANLIB"; then
7080 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7081 postinstall_cmds='$RANLIB $lib'
7086 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7087 test "$enable_shared" = yes && enable_static=no
7091 echo "$as_me:$LINENO: result: $enable_shared" >&5
7092 echo "${ECHO_T}$enable_shared" >&6
7094 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7095 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7096 # Make sure either enable_shared or enable_static is yes.
7097 test "$enable_shared" = yes || enable_static=yes
7098 echo "$as_me:$LINENO: result: $enable_static" >&5
7099 echo "${ECHO_T}$enable_static" >&6
7101 if test "$hardcode_action" = relink; then
7102 # Fast installation is not supported
7103 enable_fast_install=no
7104 elif test "$shlibpath_overrides_runpath" = yes ||
7105 test "$enable_shared" = no; then
7106 # Fast installation is not necessary
7107 enable_fast_install=needless
7110 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7111 if test "$GCC" = yes; then
7112 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7115 if test "x$enable_dlopen" != xyes; then
7116 enable_dlopen=unknown
7117 enable_dlopen_self=unknown
7118 enable_dlopen_self_static=unknown
7125 lt_cv_dlopen="load_add_on"
7127 lt_cv_dlopen_self=yes
7130 cygwin* | mingw* | pw32*)
7131 lt_cv_dlopen="LoadLibrary"
7136 echo "$as_me:$LINENO: checking for shl_load" >&5
7137 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7138 if test "${ac_cv_func_shl_load+set}" = set; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 cat >conftest.$ac_ext <<_ACEOF
7142 #line $LINENO "configure"
7145 cat confdefs.h >>conftest.$ac_ext
7146 cat >>conftest.$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7148 /* System header to define __stub macros and hopefully few prototypes,
7149 which can conflict with char shl_load (); below.
7150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7151 <limits.h> exists even on freestanding compilers. */
7153 # include <limits.h>
7155 # include <assert.h>
7157 /* Override any gcc2 internal prototype to avoid an error. */
7162 /* We use char because int might match the return type of a gcc2
7163 builtin and then its argument prototype would still apply. */
7165 /* The GNU C library defines this for functions which it implements
7166 to always fail with ENOSYS. Some functions are actually named
7167 something starting with __ and the normal name is an alias. */
7168 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7171 char (*f) () = shl_load;
7180 return f != shl_load;
7185 rm -f conftest.$ac_objext conftest$ac_exeext
7186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7187 (eval $ac_link) 2>&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); } &&
7191 { ac_try='test -s conftest$ac_exeext'
7192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); }; }; then
7197 ac_cv_func_shl_load=yes
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 ac_cv_func_shl_load=no
7204 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7206 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7207 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7208 if test $ac_cv_func_shl_load = yes; then
7209 lt_cv_dlopen="shl_load"
7211 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7212 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7213 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7216 ac_check_lib_save_LIBS=$LIBS
7218 cat >conftest.$ac_ext <<_ACEOF
7219 #line $LINENO "configure"
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7226 /* Override any gcc2 internal prototype to avoid an error. */
7230 /* We use char because int might match the return type of a gcc2
7231 builtin and then its argument prototype would still apply. */
7241 rm -f conftest.$ac_objext conftest$ac_exeext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7243 (eval $ac_link) 2>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -s conftest$ac_exeext'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; }; then
7253 ac_cv_lib_dld_shl_load=yes
7255 echo "$as_me: failed program was:" >&5
7256 sed 's/^/| /' conftest.$ac_ext >&5
7258 ac_cv_lib_dld_shl_load=no
7260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7261 LIBS=$ac_check_lib_save_LIBS
7263 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7264 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7265 if test $ac_cv_lib_dld_shl_load = yes; then
7266 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7268 echo "$as_me:$LINENO: checking for dlopen" >&5
7269 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7270 if test "${ac_cv_func_dlopen+set}" = set; then
7271 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 cat >conftest.$ac_ext <<_ACEOF
7274 #line $LINENO "configure"
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7280 /* System header to define __stub macros and hopefully few prototypes,
7281 which can conflict with char dlopen (); below.
7282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7283 <limits.h> exists even on freestanding compilers. */
7285 # include <limits.h>
7287 # include <assert.h>
7289 /* Override any gcc2 internal prototype to avoid an error. */
7294 /* We use char because int might match the return type of a gcc2
7295 builtin and then its argument prototype would still apply. */
7297 /* The GNU C library defines this for functions which it implements
7298 to always fail with ENOSYS. Some functions are actually named
7299 something starting with __ and the normal name is an alias. */
7300 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7303 char (*f) () = dlopen;
7317 rm -f conftest.$ac_objext conftest$ac_exeext
7318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7319 (eval $ac_link) 2>&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } &&
7323 { ac_try='test -s conftest$ac_exeext'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; }; then
7329 ac_cv_func_dlopen=yes
7331 echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.$ac_ext >&5
7334 ac_cv_func_dlopen=no
7336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7338 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7339 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7340 if test $ac_cv_func_dlopen = yes; then
7341 lt_cv_dlopen="dlopen"
7343 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7344 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 ac_check_lib_save_LIBS=$LIBS
7350 cat >conftest.$ac_ext <<_ACEOF
7351 #line $LINENO "configure"
7354 cat confdefs.h >>conftest.$ac_ext
7355 cat >>conftest.$ac_ext <<_ACEOF
7356 /* end confdefs.h. */
7358 /* Override any gcc2 internal prototype to avoid an error. */
7362 /* We use char because int might match the return type of a gcc2
7363 builtin and then its argument prototype would still apply. */
7373 rm -f conftest.$ac_objext conftest$ac_exeext
7374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7375 (eval $ac_link) 2>&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); } &&
7379 { ac_try='test -s conftest$ac_exeext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_cv_lib_dl_dlopen=yes
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 ac_cv_lib_dl_dlopen=no
7392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7393 LIBS=$ac_check_lib_save_LIBS
7395 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7396 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7397 if test $ac_cv_lib_dl_dlopen = yes; then
7398 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7400 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7401 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7402 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 ac_check_lib_save_LIBS=$LIBS
7407 cat >conftest.$ac_ext <<_ACEOF
7408 #line $LINENO "configure"
7411 cat confdefs.h >>conftest.$ac_ext
7412 cat >>conftest.$ac_ext <<_ACEOF
7413 /* end confdefs.h. */
7415 /* Override any gcc2 internal prototype to avoid an error. */
7419 /* We use char because int might match the return type of a gcc2
7420 builtin and then its argument prototype would still apply. */
7430 rm -f conftest.$ac_objext conftest$ac_exeext
7431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7432 (eval $ac_link) 2>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try='test -s conftest$ac_exeext'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; }; then
7442 ac_cv_lib_svld_dlopen=yes
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.$ac_ext >&5
7447 ac_cv_lib_svld_dlopen=no
7449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7450 LIBS=$ac_check_lib_save_LIBS
7452 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7453 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7454 if test $ac_cv_lib_svld_dlopen = yes; then
7455 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7457 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7458 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7459 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 ac_check_lib_save_LIBS=$LIBS
7464 cat >conftest.$ac_ext <<_ACEOF
7465 #line $LINENO "configure"
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7472 /* Override any gcc2 internal prototype to avoid an error. */
7476 /* We use char because int might match the return type of a gcc2
7477 builtin and then its argument prototype would still apply. */
7487 rm -f conftest.$ac_objext conftest$ac_exeext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7489 (eval $ac_link) 2>&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); } &&
7493 { ac_try='test -s conftest$ac_exeext'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; }; then
7499 ac_cv_lib_dld_dld_link=yes
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.$ac_ext >&5
7504 ac_cv_lib_dld_dld_link=no
7506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7507 LIBS=$ac_check_lib_save_LIBS
7509 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7510 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7511 if test $ac_cv_lib_dld_dld_link = yes; then
7512 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7533 if test "x$lt_cv_dlopen" != xno; then
7539 case $lt_cv_dlopen in
7541 save_CPPFLAGS="$CPPFLAGS"
7542 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7544 save_LDFLAGS="$LDFLAGS"
7545 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7548 LIBS="$lt_cv_dlopen_libs $LIBS"
7550 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7551 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7552 if test "${lt_cv_dlopen_self+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 if test "$cross_compiling" = yes; then :
7556 lt_cv_dlopen_self=cross
7558 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7559 lt_status=$lt_dlunknown
7560 cat > conftest.$ac_ext <<EOF
7561 #line 7561 "configure"
7562 #include "confdefs.h"
7571 # define LT_DLGLOBAL RTLD_GLOBAL
7574 # define LT_DLGLOBAL DL_GLOBAL
7576 # define LT_DLGLOBAL 0
7580 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7581 find out it does not work in some platform. */
7582 #ifndef LT_DLLAZY_OR_NOW
7584 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7587 # define LT_DLLAZY_OR_NOW DL_LAZY
7590 # define LT_DLLAZY_OR_NOW RTLD_NOW
7593 # define LT_DLLAZY_OR_NOW DL_NOW
7595 # define LT_DLLAZY_OR_NOW 0
7603 extern "C" void exit (int);
7606 void fnord() { int i=42;}
7609 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7610 int status = $lt_dlunknown;
7614 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7615 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7616 /* dlclose (self); */
7622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7623 (eval $ac_link) 2>&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7627 (./conftest; exit; ) 2>/dev/null
7630 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7631 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7632 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7635 # compilation failed
7636 lt_cv_dlopen_self=no
7643 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7644 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7646 if test "x$lt_cv_dlopen_self" = xyes; then
7647 LDFLAGS="$LDFLAGS $link_static_flag"
7648 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7649 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7650 if test "${lt_cv_dlopen_self_static+set}" = set; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 if test "$cross_compiling" = yes; then :
7654 lt_cv_dlopen_self_static=cross
7656 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7657 lt_status=$lt_dlunknown
7658 cat > conftest.$ac_ext <<EOF
7659 #line 7659 "configure"
7660 #include "confdefs.h"
7669 # define LT_DLGLOBAL RTLD_GLOBAL
7672 # define LT_DLGLOBAL DL_GLOBAL
7674 # define LT_DLGLOBAL 0
7678 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7679 find out it does not work in some platform. */
7680 #ifndef LT_DLLAZY_OR_NOW
7682 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7685 # define LT_DLLAZY_OR_NOW DL_LAZY
7688 # define LT_DLLAZY_OR_NOW RTLD_NOW
7691 # define LT_DLLAZY_OR_NOW DL_NOW
7693 # define LT_DLLAZY_OR_NOW 0
7701 extern "C" void exit (int);
7704 void fnord() { int i=42;}
7707 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7708 int status = $lt_dlunknown;
7712 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7713 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7714 /* dlclose (self); */
7720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7721 (eval $ac_link) 2>&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7725 (./conftest; exit; ) 2>/dev/null
7728 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7729 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7730 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7733 # compilation failed
7734 lt_cv_dlopen_self_static=no
7741 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7742 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7745 CPPFLAGS="$save_CPPFLAGS"
7746 LDFLAGS="$save_LDFLAGS"
7751 case $lt_cv_dlopen_self in
7752 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7753 *) enable_dlopen_self=unknown ;;
7756 case $lt_cv_dlopen_self_static in
7757 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7758 *) enable_dlopen_self_static=unknown ;;
7763 if test "$enable_shared" = yes && test "$GCC" = yes; then
7764 case $archive_cmds in
7766 # FIXME: we may have to deal with multi-command sequences.
7769 # Test whether the compiler implicitly links with -lc since on some
7770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7771 # to ld, don't add -lc before -lgcc.
7772 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7773 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7774 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7775 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 echo 'static int dummy;' > conftest.$ac_ext
7780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7781 (eval $ac_compile) 2>&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); }; then
7787 libobjs=conftest.$ac_objext
7789 wl=$lt_cv_prog_cc_wl
7795 save_allow_undefined_flag=$allow_undefined_flag
7796 allow_undefined_flag=
7797 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7798 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }
7803 lt_cv_archive_cmds_need_lc=no
7805 lt_cv_archive_cmds_need_lc=yes
7807 allow_undefined_flag=$save_allow_undefined_flag
7809 cat conftest.err 1>&5
7813 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7814 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7818 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7820 # The second clause should only fire when bootstrapping the
7821 # libtool distribution, otherwise you forgot to ship ltmain.sh
7822 # with your package, and you will get complaints that there are
7823 # no rules to generate ltmain.sh.
7824 if test -f "$ltmain"; then
7827 # If there is no Makefile yet, we rely on a make rule to execute
7828 # `config.status --recheck' to rerun these tests and create the
7829 # libtool script then.
7830 test -f Makefile && make "$ltmain"
7833 if test -f "$ltmain"; then
7834 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7837 echo creating $ofile
7839 # Now quote all the things that may contain metacharacters while being
7840 # careful not to overquote the AC_SUBSTed values. We take copies of the
7841 # variables and quote the copies for generation of the libtool script.
7842 for var in echo old_CC old_CFLAGS SED \
7843 AR AR_FLAGS CC LD LN_S NM SHELL \
7844 reload_flag reload_cmds wl \
7845 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7846 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7847 library_names_spec soname_spec \
7848 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7849 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7850 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7851 old_striplib striplib file_magic_cmd export_symbols_cmds \
7852 deplibs_check_method allow_undefined_flag no_undefined_flag \
7853 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7854 global_symbol_to_c_name_address \
7855 hardcode_libdir_flag_spec hardcode_libdir_separator \
7856 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7857 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7860 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7861 old_postinstall_cmds | old_postuninstall_cmds | \
7862 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7863 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7864 postinstall_cmds | postuninstall_cmds | \
7865 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7866 # Double-quote double-evaled strings.
7867 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7870 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7875 cat <<__EOF__ > "${ofile}T"
7878 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7879 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7880 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7882 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7883 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7885 # This program is free software; you can redistribute it and/or modify
7886 # it under the terms of the GNU General Public License as published by
7887 # the Free Software Foundation; either version 2 of the License, or
7888 # (at your option) any later version.
7890 # This program is distributed in the hope that it will be useful, but
7891 # WITHOUT ANY WARRANTY; without even the implied warranty of
7892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7893 # General Public License for more details.
7895 # You should have received a copy of the GNU General Public License
7896 # along with this program; if not, write to the Free Software
7897 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7899 # As a special exception to the GNU General Public License, if you
7900 # distribute this file as part of a program that contains a
7901 # configuration script generated by Autoconf, you may include it under
7902 # the same distribution terms that you use for the rest of that program.
7904 # A sed that does not truncate output.
7907 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7908 Xsed="${SED} -e s/^X//"
7910 # The HP-UX ksh and POSIX shell print the target directory to stdout
7912 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7914 # ### BEGIN LIBTOOL CONFIG
7916 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7918 # Shell to use when invoking shell scripts.
7921 # Whether or not to build shared libraries.
7922 build_libtool_libs=$enable_shared
7924 # Whether or not to build static libraries.
7925 build_old_libs=$enable_static
7927 # Whether or not to add -lc for building shared libraries.
7928 build_libtool_need_lc=$need_lc
7930 # Whether or not to optimize for fast installation.
7931 fast_install=$enable_fast_install
7934 host_alias=$host_alias
7937 # An echo program that does not interpret backslashes.
7942 AR_FLAGS=$lt_AR_FLAGS
7944 # The default C compiler.
7947 # Is the compiler the GNU C compiler?
7950 # The linker used to build libraries.
7953 # Whether we need hard or soft links.
7956 # A BSD-compatible nm program.
7959 # A symbol stripping program
7962 # Used to examine libraries when file_magic_cmd begins "file"
7963 MAGIC_CMD=$MAGIC_CMD
7965 # Used on cygwin: DLL creation program.
7968 # Used on cygwin: object dumper.
7971 # Used on cygwin: assembler.
7974 # The name of the directory that contains temporary libtool files.
7977 # How to create reloadable object files.
7978 reload_flag=$lt_reload_flag
7979 reload_cmds=$lt_reload_cmds
7981 # How to pass a linker flag through the compiler.
7984 # Object file suffix (normally "o").
7987 # Old archive suffix (normally "a").
7990 # Executable file suffix (normally "").
7993 # Additional compiler flags for building library objects.
7994 pic_flag=$lt_pic_flag
7997 # Does compiler simultaneously support -c and -o options?
7998 compiler_c_o=$lt_compiler_c_o
8000 # Can we write directly to a .lo ?
8001 compiler_o_lo=$lt_compiler_o_lo
8003 # Must we lock files when doing compilation ?
8004 need_locks=$lt_need_locks
8006 # Do we need the lib prefix for modules?
8007 need_lib_prefix=$need_lib_prefix
8009 # Do we need a version for libraries?
8010 need_version=$need_version
8012 # Whether dlopen is supported.
8013 dlopen_support=$enable_dlopen
8015 # Whether dlopen of programs is supported.
8016 dlopen_self=$enable_dlopen_self
8018 # Whether dlopen of statically linked programs is supported.
8019 dlopen_self_static=$enable_dlopen_self_static
8021 # Compiler flag to prevent dynamic linking.
8022 link_static_flag=$lt_link_static_flag
8024 # Compiler flag to turn off builtin functions.
8025 no_builtin_flag=$lt_no_builtin_flag
8027 # Compiler flag to allow reflexive dlopens.
8028 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
8030 # Compiler flag to generate shared objects directly from archives.
8031 whole_archive_flag_spec=$lt_whole_archive_flag_spec
8033 # Compiler flag to generate thread-safe objects.
8034 thread_safe_flag_spec=$lt_thread_safe_flag_spec
8036 # Library versioning type.
8037 version_type=$version_type
8039 # Format of library name prefix.
8040 libname_spec=$lt_libname_spec
8042 # List of archive names. First name is the real one, the rest are links.
8043 # The last name is the one that the linker finds with -lNAME.
8044 library_names_spec=$lt_library_names_spec
8046 # The coded name of the library, if different from the real name.
8047 soname_spec=$lt_soname_spec
8049 # Commands used to build and install an old-style archive.
8051 old_archive_cmds=$lt_old_archive_cmds
8052 old_postinstall_cmds=$lt_old_postinstall_cmds
8053 old_postuninstall_cmds=$lt_old_postuninstall_cmds
8055 # Create an old-style archive from a shared archive.
8056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
8058 # Create a temporary old-style archive to link instead of a shared archive.
8059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
8061 # Commands used to build and install a shared archive.
8062 archive_cmds=$lt_archive_cmds
8063 archive_expsym_cmds=$lt_archive_expsym_cmds
8064 postinstall_cmds=$lt_postinstall_cmds
8065 postuninstall_cmds=$lt_postuninstall_cmds
8067 # Commands to strip libraries.
8068 old_striplib=$lt_old_striplib
8069 striplib=$lt_striplib
8071 # Method to check whether dependent libraries are shared objects.
8072 deplibs_check_method=$lt_deplibs_check_method
8074 # Command to use when deplibs_check_method == file_magic.
8075 file_magic_cmd=$lt_file_magic_cmd
8077 # Flag that allows shared libraries with undefined symbols to be built.
8078 allow_undefined_flag=$lt_allow_undefined_flag
8080 # Flag that forces no undefined symbols.
8081 no_undefined_flag=$lt_no_undefined_flag
8083 # Commands used to finish a libtool library installation in a directory.
8084 finish_cmds=$lt_finish_cmds
8086 # Same as above, but a single script fragment to be evaled but not shown.
8087 finish_eval=$lt_finish_eval
8089 # Take the output of nm and produce a listing of raw symbols and C names.
8090 global_symbol_pipe=$lt_global_symbol_pipe
8092 # Transform the output of nm in a proper C declaration
8093 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
8095 # Transform the output of nm in a C name address pair
8096 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
8098 # This is the shared library runtime path variable.
8099 runpath_var=$runpath_var
8101 # This is the shared library path variable.
8102 shlibpath_var=$shlibpath_var
8104 # Is shlibpath searched before the hard-coded library search path?
8105 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
8107 # How to hardcode a shared library path into an executable.
8108 hardcode_action=$hardcode_action
8110 # Whether we should hardcode library paths into libraries.
8111 hardcode_into_libs=$hardcode_into_libs
8113 # Flag to hardcode \$libdir into a binary during linking.
8114 # This must work even if \$libdir does not exist.
8115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
8117 # Whether we need a single -rpath flag with a separated argument.
8118 hardcode_libdir_separator=$lt_hardcode_libdir_separator
8120 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
8122 hardcode_direct=$hardcode_direct
8124 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
8126 hardcode_minus_L=$hardcode_minus_L
8128 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
8129 # the resulting binary.
8130 hardcode_shlibpath_var=$hardcode_shlibpath_var
8132 # Variables whose values should be saved in libtool wrapper scripts and
8133 # restored at relink time.
8134 variables_saved_for_relink="$variables_saved_for_relink"
8136 # Whether libtool must link a program against all its dependency libraries.
8137 link_all_deplibs=$link_all_deplibs
8139 # Compile-time system search path for libraries
8140 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
8142 # Run-time system search path for libraries
8143 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8145 # Fix the shell variable \$srcfile for the compiler.
8146 fix_srcfile_path="$fix_srcfile_path"
8148 # Set to yes if exported symbols are required.
8149 always_export_symbols=$always_export_symbols
8151 # The commands to list exported symbols.
8152 export_symbols_cmds=$lt_export_symbols_cmds
8154 # The commands to extract the exported symbol list from a shared archive.
8155 extract_expsyms_cmds=$lt_extract_expsyms_cmds
8157 # Symbols that should not be listed in the preloaded symbols.
8158 exclude_expsyms=$lt_exclude_expsyms
8160 # Symbols that must always be exported.
8161 include_expsyms=$lt_include_expsyms
8163 # ### END LIBTOOL CONFIG
8169 cat <<\EOF >> "${ofile}T"
8171 # AIX sometimes has problems with the GCC collect2 program. For some
8172 # reason, if we set the COLLECT_NAMES environment variable, the problems
8173 # vanish in a puff of smoke.
8174 if test "X${COLLECT_NAMES+set}" != Xset; then
8176 export COLLECT_NAMES
8183 cygwin* | mingw* | pw32* | os2*)
8184 cat <<'EOF' >> "${ofile}T"
8185 # This is a source program that is used to create dlls on Windows
8186 # Don't remove nor modify the starting and closing comments
8187 # /* ltdll.c starts here */
8188 # #define WIN32_LEAN_AND_MEAN
8189 # #include <windows.h>
8190 # #undef WIN32_LEAN_AND_MEAN
8191 # #include <stdio.h>
8193 # #ifndef __CYGWIN__
8194 # # ifdef __CYGWIN32__
8195 # # define __CYGWIN__ __CYGWIN32__
8199 # #ifdef __cplusplus
8202 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8203 # #ifdef __cplusplus
8208 # #include <cygwin/cygwin_dll.h>
8209 # DECLARE_CYGWIN_DLL( DllMain );
8211 # HINSTANCE __hDllInstance_base;
8214 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8216 # __hDllInstance_base = hInst;
8219 # /* ltdll.c ends here */
8220 # This is a source program that is used to create import libraries
8221 # on Windows for dlls which lack them. Don't remove nor modify the
8222 # starting and closing comments
8223 # /* impgen.c starts here */
8224 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
8226 # This file is part of GNU libtool.
8228 # This program is free software; you can redistribute it and/or modify
8229 # it under the terms of the GNU General Public License as published by
8230 # the Free Software Foundation; either version 2 of the License, or
8231 # (at your option) any later version.
8233 # This program is distributed in the hope that it will be useful,
8234 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8235 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8236 # GNU General Public License for more details.
8238 # You should have received a copy of the GNU General Public License
8239 # along with this program; if not, write to the Free Software
8240 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8243 # #include <stdio.h> /* for printf() */
8244 # #include <unistd.h> /* for open(), lseek(), read() */
8245 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
8246 # #include <string.h> /* for strdup() */
8248 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
8250 # #define O_BINARY 0
8253 # static unsigned int
8254 # pe_get16 (fd, offset)
8258 # unsigned char b[2];
8259 # lseek (fd, offset, SEEK_SET);
8261 # return b[0] + (b[1]<<8);
8264 # static unsigned int
8265 # pe_get32 (fd, offset)
8269 # unsigned char b[4];
8270 # lseek (fd, offset, SEEK_SET);
8272 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8275 # static unsigned int
8279 # unsigned char *b = ptr;
8280 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8289 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
8290 # unsigned long export_rva, export_size, nsections, secptr, expptr;
8291 # unsigned long name_rvas, nexp;
8292 # unsigned char *expdata, *erva;
8293 # char *filename, *dll_name;
8295 # filename = argv[1];
8297 # dll = open(filename, O_RDONLY|O_BINARY);
8301 # dll_name = filename;
8303 # for (i=0; filename[i]; i++)
8304 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
8305 # dll_name = filename + i +1;
8307 # pe_header_offset = pe_get32 (dll, 0x3c);
8308 # opthdr_ofs = pe_header_offset + 4 + 20;
8309 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
8311 # if (num_entries < 1) /* no exports */
8314 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
8315 # export_size = pe_get32 (dll, opthdr_ofs + 100);
8316 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
8317 # secptr = (pe_header_offset + 4 + 20 +
8318 # pe_get16 (dll, pe_header_offset + 4 + 16));
8321 # for (i = 0; i < nsections; i++)
8324 # unsigned long secptr1 = secptr + 40 * i;
8325 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
8326 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
8327 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
8328 # lseek(dll, secptr1, SEEK_SET);
8329 # read(dll, sname, 8);
8330 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
8332 # expptr = fptr + (export_rva - vaddr);
8333 # if (export_rva + export_size > vaddr + vsize)
8334 # export_size = vsize - (export_rva - vaddr);
8339 # expdata = (unsigned char*)malloc(export_size);
8340 # lseek (dll, expptr, SEEK_SET);
8341 # read (dll, expdata, export_size);
8342 # erva = expdata - export_rva;
8344 # nexp = pe_as32 (expdata+24);
8345 # name_rvas = pe_as32 (expdata+32);
8347 # printf ("EXPORTS\n");
8348 # for (i = 0; i<nexp; i++)
8350 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
8351 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
8356 # /* impgen.c ends here */
8362 # We use sed instead of cat because bash on DJGPP gets confused if
8363 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8364 # text mode, it properly converts lines to CR/LF. This bash problem
8365 # is reportedly fixed, but why not run on old versions too?
8366 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
8368 mv -f "${ofile}T" "$ofile" || \
8369 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
8377 # This can be used to rebuild libtool when needed
8378 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
8380 # Always use our own libtool.
8381 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8383 # Prevent multiple expansion
8389 echo "$as_me:$LINENO: checking for intltool >= " >&5
8390 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
8392 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
8393 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }' < ${srcdir}/intltool-update.in`
8395 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${srcdir}/intltool-update.in`
8398 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
8399 echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
8400 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
8402 echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&5
8403 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&6
8408 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8409 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8410 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -k -u -c $(top_builddir)/po/.intltool-merge-cache'
8411 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8412 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -p'
8413 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache'
8414 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -u -c $(top_builddir)/po/.intltool-merge-cache'
8415 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache'
8416 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8417 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache'
8418 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache'
8419 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8420 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -s -u -c $(top_builddir)/po/.intltool-merge-cache'
8421 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache'
8438 # Use the tools built into the package, not the ones that are installed.
8440 INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
8441 INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
8442 INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
8448 # Extract the first word of "perl", so it can be a program name with args.
8449 set dummy perl; ac_word=$2
8450 echo "$as_me:$LINENO: checking for $ac_word" >&5
8451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8452 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8455 case $INTLTOOL_PERL in
8457 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8467 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8477 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8479 if test -n "$INTLTOOL_PERL"; then
8480 echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8481 echo "${ECHO_T}$INTLTOOL_PERL" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8487 if test -z "$INTLTOOL_PERL"; then
8488 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
8489 echo "$as_me: error: perl not found; required for intltool" >&2;}
8490 { (exit 1); exit 1; }; }
8492 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
8493 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
8494 echo "$as_me: error: perl 5.x required for intltool" >&2;}
8495 { (exit 1); exit 1; }; }
8498 # Remove file type tags (using []) from po/POTFILES.
8506 # Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
8508 ac_config_commands="$ac_config_commands default-2"
8513 BONOBO_ACTIVATION_REQUIRED=1.0.0
8514 BONOBO_REQUIRED=2.0.0
8515 GCONF_REQUIRED=1.1.1
8517 ORBIT_REQUIRED=2.4.0
8531 if test -z "$PKG_CONFIG"; then
8532 # Extract the first word of "pkg-config", so it can be a program name with args.
8533 set dummy pkg-config; ac_word=$2
8534 echo "$as_me:$LINENO: checking for $ac_word" >&5
8535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8536 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir=.
8549 for ac_exec_ext in '' $ac_executable_extensions; do
8550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8551 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8562 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8564 if test -n "$PKG_CONFIG"; then
8565 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8566 echo "${ECHO_T}$PKG_CONFIG" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 if test "$PKG_CONFIG" = "no" ; then
8575 echo "*** The pkg-config script could not be found. Make sure it is"
8576 echo "*** in your path, or set the PKG_CONFIG environment variable"
8577 echo "*** to the full path to pkg-config."
8578 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8580 PKG_CONFIG_MIN_VERSION=0.9.0
8581 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8582 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED" >&5
8583 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED... $ECHO_C" >&6
8585 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED" ; then
8586 echo "$as_me:$LINENO: result: yes" >&5
8587 echo "${ECHO_T}yes" >&6
8590 echo "$as_me:$LINENO: checking MODULES_XML_CFLAGS" >&5
8591 echo $ECHO_N "checking MODULES_XML_CFLAGS... $ECHO_C" >&6
8592 MODULES_XML_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED"`
8593 echo "$as_me:$LINENO: result: $MODULES_XML_CFLAGS" >&5
8594 echo "${ECHO_T}$MODULES_XML_CFLAGS" >&6
8596 echo "$as_me:$LINENO: checking MODULES_XML_LIBS" >&5
8597 echo $ECHO_N "checking MODULES_XML_LIBS... $ECHO_C" >&6
8598 MODULES_XML_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED"`
8599 echo "$as_me:$LINENO: result: $MODULES_XML_LIBS" >&5
8600 echo "${ECHO_T}$MODULES_XML_LIBS" >&6
8602 MODULES_XML_CFLAGS=""
8604 ## If we have a custom action on failure, don't print errors, but
8605 ## do set a variable so people can do so.
8606 MODULES_XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED"`
8607 echo $MODULES_XML_PKG_ERRORS
8613 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8614 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8618 if test $succeeded = yes; then
8621 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_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
8622 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_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;}
8623 { (exit 1); exit 1; }; }
8632 if test -z "$PKG_CONFIG"; then
8633 # Extract the first word of "pkg-config", so it can be a program name with args.
8634 set dummy pkg-config; ac_word=$2
8635 echo "$as_me:$LINENO: checking for $ac_word" >&5
8636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8637 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 test -z "$as_dir" && as_dir=.
8650 for ac_exec_ext in '' $ac_executable_extensions; do
8651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8652 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8659 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8663 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8665 if test -n "$PKG_CONFIG"; then
8666 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8667 echo "${ECHO_T}$PKG_CONFIG" >&6
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8675 if test "$PKG_CONFIG" = "no" ; then
8676 echo "*** The pkg-config script could not be found. Make sure it is"
8677 echo "*** in your path, or set the PKG_CONFIG environment variable"
8678 echo "*** to the full path to pkg-config."
8679 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8681 PKG_CONFIG_MIN_VERSION=0.9.0
8682 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8683 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" >&5
8684 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
8686 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" ; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: checking MODULES_CFLAGS" >&5
8692 echo $ECHO_N "checking MODULES_CFLAGS... $ECHO_C" >&6
8693 MODULES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8694 echo "$as_me:$LINENO: result: $MODULES_CFLAGS" >&5
8695 echo "${ECHO_T}$MODULES_CFLAGS" >&6
8697 echo "$as_me:$LINENO: checking MODULES_LIBS" >&5
8698 echo $ECHO_N "checking MODULES_LIBS... $ECHO_C" >&6
8699 MODULES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8700 echo "$as_me:$LINENO: result: $MODULES_LIBS" >&5
8701 echo "${ECHO_T}$MODULES_LIBS" >&6
8705 ## If we have a custom action on failure, don't print errors, but
8706 ## do set a variable so people can do so.
8707 MODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8708 echo $MODULES_PKG_ERRORS
8714 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8715 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8719 if test $succeeded = yes; then
8722 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_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
8723 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_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;}
8724 { (exit 1); exit 1; }; }
8733 if test -z "$PKG_CONFIG"; then
8734 # Extract the first word of "pkg-config", so it can be a program name with args.
8735 set dummy pkg-config; ac_word=$2
8736 echo "$as_me:$LINENO: checking for $ac_word" >&5
8737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8738 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8764 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8766 if test -n "$PKG_CONFIG"; then
8767 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8768 echo "${ECHO_T}$PKG_CONFIG" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 if test "$PKG_CONFIG" = "no" ; then
8777 echo "*** The pkg-config script could not be found. Make sure it is"
8778 echo "*** in your path, or set the PKG_CONFIG environment variable"
8779 echo "*** to the full path to pkg-config."
8780 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8782 PKG_CONFIG_MIN_VERSION=0.9.0
8783 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8784 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" >&5
8785 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
8787 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" ; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: checking MODULES_FILE_CFLAGS" >&5
8793 echo $ECHO_N "checking MODULES_FILE_CFLAGS... $ECHO_C" >&6
8794 MODULES_FILE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8795 echo "$as_me:$LINENO: result: $MODULES_FILE_CFLAGS" >&5
8796 echo "${ECHO_T}$MODULES_FILE_CFLAGS" >&6
8798 echo "$as_me:$LINENO: checking MODULES_FILE_LIBS" >&5
8799 echo $ECHO_N "checking MODULES_FILE_LIBS... $ECHO_C" >&6
8800 MODULES_FILE_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8801 echo "$as_me:$LINENO: result: $MODULES_FILE_LIBS" >&5
8802 echo "${ECHO_T}$MODULES_FILE_LIBS" >&6
8804 MODULES_FILE_CFLAGS=""
8805 MODULES_FILE_LIBS=""
8806 ## If we have a custom action on failure, don't print errors, but
8807 ## do set a variable so people can do so.
8808 MODULES_FILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
8809 echo $MODULES_FILE_PKG_ERRORS
8815 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8816 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8820 if test $succeeded = yes; then
8823 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_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
8824 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_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;}
8825 { (exit 1); exit 1; }; }
8834 if test -z "$PKG_CONFIG"; then
8835 # Extract the first word of "pkg-config", so it can be a program name with args.
8836 set dummy pkg-config; ac_word=$2
8837 echo "$as_me:$LINENO: checking for $ac_word" >&5
8838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8839 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8840 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8865 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8867 if test -n "$PKG_CONFIG"; then
8868 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8869 echo "${ECHO_T}$PKG_CONFIG" >&6
8871 echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6
8877 if test "$PKG_CONFIG" = "no" ; then
8878 echo "*** The pkg-config script could not be found. Make sure it is"
8879 echo "*** in your path, or set the PKG_CONFIG environment variable"
8880 echo "*** to the full path to pkg-config."
8881 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8883 PKG_CONFIG_MIN_VERSION=0.9.0
8884 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8885 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" >&5
8886 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED... $ECHO_C" >&6
8888 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" ; then
8889 echo "$as_me:$LINENO: result: yes" >&5
8890 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: checking MODULES_GCONF_CFLAGS" >&5
8894 echo $ECHO_N "checking MODULES_GCONF_CFLAGS... $ECHO_C" >&6
8895 MODULES_GCONF_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
8896 echo "$as_me:$LINENO: result: $MODULES_GCONF_CFLAGS" >&5
8897 echo "${ECHO_T}$MODULES_GCONF_CFLAGS" >&6
8899 echo "$as_me:$LINENO: checking MODULES_GCONF_LIBS" >&5
8900 echo $ECHO_N "checking MODULES_GCONF_LIBS... $ECHO_C" >&6
8901 MODULES_GCONF_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
8902 echo "$as_me:$LINENO: result: $MODULES_GCONF_LIBS" >&5
8903 echo "${ECHO_T}$MODULES_GCONF_LIBS" >&6
8905 MODULES_GCONF_CFLAGS=""
8906 MODULES_GCONF_LIBS=""
8907 ## If we have a custom action on failure, don't print errors, but
8908 ## do set a variable so people can do so.
8909 MODULES_GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
8910 echo $MODULES_GCONF_PKG_ERRORS
8916 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8917 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8921 if test $succeeded = yes; then
8924 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_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
8925 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_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;}
8926 { (exit 1); exit 1; }; }
8935 if test -z "$PKG_CONFIG"; then
8936 # Extract the first word of "pkg-config", so it can be a program name with args.
8937 set dummy pkg-config; ac_word=$2
8938 echo "$as_me:$LINENO: checking for $ac_word" >&5
8939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8940 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8952 test -z "$as_dir" && as_dir=.
8953 for ac_exec_ext in '' $ac_executable_extensions; do
8954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8955 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8966 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8968 if test -n "$PKG_CONFIG"; then
8969 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8970 echo "${ECHO_T}$PKG_CONFIG" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 if test "$PKG_CONFIG" = "no" ; then
8979 echo "*** The pkg-config script could not be found. Make sure it is"
8980 echo "*** in your path, or set the PKG_CONFIG environment variable"
8981 echo "*** to the full path to pkg-config."
8982 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8984 PKG_CONFIG_MIN_VERSION=0.9.0
8985 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8986 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" >&5
8987 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED... $ECHO_C" >&6
8989 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" ; then
8990 echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6
8994 echo "$as_me:$LINENO: checking MODULES_XML_GCONF_CFLAGS" >&5
8995 echo $ECHO_N "checking MODULES_XML_GCONF_CFLAGS... $ECHO_C" >&6
8996 MODULES_XML_GCONF_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
8997 echo "$as_me:$LINENO: result: $MODULES_XML_GCONF_CFLAGS" >&5
8998 echo "${ECHO_T}$MODULES_XML_GCONF_CFLAGS" >&6
9000 echo "$as_me:$LINENO: checking MODULES_XML_GCONF_LIBS" >&5
9001 echo $ECHO_N "checking MODULES_XML_GCONF_LIBS... $ECHO_C" >&6
9002 MODULES_XML_GCONF_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
9003 echo "$as_me:$LINENO: result: $MODULES_XML_GCONF_LIBS" >&5
9004 echo "${ECHO_T}$MODULES_XML_GCONF_LIBS" >&6
9006 MODULES_XML_GCONF_CFLAGS=""
9007 MODULES_XML_GCONF_LIBS=""
9008 ## If we have a custom action on failure, don't print errors, but
9009 ## do set a variable so people can do so.
9010 MODULES_XML_GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_REQUIRED"`
9011 echo $MODULES_XML_GCONF_PKG_ERRORS
9017 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9018 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9022 if test $succeeded = yes; then
9025 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_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
9026 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED libxml-2.0 >= $XML_REQUIRED gconf-2.0 >= $GCONF_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;}
9027 { (exit 1); exit 1; }; }
9036 if test -z "$PKG_CONFIG"; then
9037 # Extract the first word of "pkg-config", so it can be a program name with args.
9038 set dummy pkg-config; ac_word=$2
9039 echo "$as_me:$LINENO: checking for $ac_word" >&5
9040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9041 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9042 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9063 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9067 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9069 if test -n "$PKG_CONFIG"; then
9070 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9071 echo "${ECHO_T}$PKG_CONFIG" >&6
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9079 if test "$PKG_CONFIG" = "no" ; then
9080 echo "*** The pkg-config script could not be found. Make sure it is"
9081 echo "*** in your path, or set the PKG_CONFIG environment variable"
9082 echo "*** to the full path to pkg-config."
9083 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9085 PKG_CONFIG_MIN_VERSION=0.9.0
9086 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9087 echo "$as_me:$LINENO: checking for libbonobo-2.0 >= $BONOBO_REQUIRED" >&5
9088 echo $ECHO_N "checking for libbonobo-2.0 >= $BONOBO_REQUIRED... $ECHO_C" >&6
9090 if $PKG_CONFIG --exists "libbonobo-2.0 >= $BONOBO_REQUIRED" ; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9095 echo "$as_me:$LINENO: checking MONIKERS_CFLAGS" >&5
9096 echo $ECHO_N "checking MONIKERS_CFLAGS... $ECHO_C" >&6
9097 MONIKERS_CFLAGS=`$PKG_CONFIG --cflags "libbonobo-2.0 >= $BONOBO_REQUIRED"`
9098 echo "$as_me:$LINENO: result: $MONIKERS_CFLAGS" >&5
9099 echo "${ECHO_T}$MONIKERS_CFLAGS" >&6
9101 echo "$as_me:$LINENO: checking MONIKERS_LIBS" >&5
9102 echo $ECHO_N "checking MONIKERS_LIBS... $ECHO_C" >&6
9103 MONIKERS_LIBS=`$PKG_CONFIG --libs "libbonobo-2.0 >= $BONOBO_REQUIRED"`
9104 echo "$as_me:$LINENO: result: $MONIKERS_LIBS" >&5
9105 echo "${ECHO_T}$MONIKERS_LIBS" >&6
9109 ## If we have a custom action on failure, don't print errors, but
9110 ## do set a variable so people can do so.
9111 MONIKERS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbonobo-2.0 >= $BONOBO_REQUIRED"`
9112 echo $MONIKERS_PKG_ERRORS
9118 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9119 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9123 if test $succeeded = yes; then
9126 { { echo "$as_me:$LINENO: error: Library requirements (libbonobo-2.0 >= $BONOBO_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
9127 echo "$as_me: error: Library requirements (libbonobo-2.0 >= $BONOBO_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;}
9128 { (exit 1); exit 1; }; }
9137 if test -z "$PKG_CONFIG"; then
9138 # Extract the first word of "pkg-config", so it can be a program name with args.
9139 set dummy pkg-config; ac_word=$2
9140 echo "$as_me:$LINENO: checking for $ac_word" >&5
9141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9142 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9143 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154 test -z "$as_dir" && as_dir=.
9155 for ac_exec_ext in '' $ac_executable_extensions; do
9156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9157 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9164 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9168 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9170 if test -n "$PKG_CONFIG"; then
9171 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9172 echo "${ECHO_T}$PKG_CONFIG" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 if test "$PKG_CONFIG" = "no" ; then
9181 echo "*** The pkg-config script could not be found. Make sure it is"
9182 echo "*** in your path, or set the PKG_CONFIG environment variable"
9183 echo "*** to the full path to pkg-config."
9184 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9186 PKG_CONFIG_MIN_VERSION=0.9.0
9187 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9188 echo "$as_me:$LINENO: checking for bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" >&5
9189 echo $ECHO_N "checking for bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
9191 if $PKG_CONFIG --exists "bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED" ; then
9192 echo "$as_me:$LINENO: result: yes" >&5
9193 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: checking TEST_CFLAGS" >&5
9197 echo $ECHO_N "checking TEST_CFLAGS... $ECHO_C" >&6
9198 TEST_CFLAGS=`$PKG_CONFIG --cflags "bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
9199 echo "$as_me:$LINENO: result: $TEST_CFLAGS" >&5
9200 echo "${ECHO_T}$TEST_CFLAGS" >&6
9202 echo "$as_me:$LINENO: checking TEST_LIBS" >&5
9203 echo $ECHO_N "checking TEST_LIBS... $ECHO_C" >&6
9204 TEST_LIBS=`$PKG_CONFIG --libs "bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
9205 echo "$as_me:$LINENO: result: $TEST_LIBS" >&5
9206 echo "${ECHO_T}$TEST_LIBS" >&6
9210 ## If we have a custom action on failure, don't print errors, but
9211 ## do set a variable so people can do so.
9212 TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_REQUIRED"`
9213 echo $TEST_PKG_ERRORS
9219 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9220 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9224 if test $succeeded = yes; then
9227 { { echo "$as_me:$LINENO: error: Library requirements (bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_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
9228 echo "$as_me: error: Library requirements (bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED gconf-2.0 >= $GCONF_REQUIRED gthread-2.0 >= $GLIB_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;}
9229 { (exit 1); exit 1; }; }
9235 ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
9238 BONOBO_IDLDIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
9244 if test -z "" ; then
9245 default_compile_warnings=yes
9247 default_compile_warnings=""
9250 # Check whether --enable-compile-warnings or --disable-compile-warnings was given.
9251 if test "${enable_compile_warnings+set}" = set; then
9252 enableval="$enable_compile_warnings"
9255 enable_compile_warnings="$default_compile_warnings"
9259 if test "x$GCC" != xyes; then
9260 enable_compile_warnings=no
9264 realsave_CFLAGS="$CFLAGS"
9266 case "$enable_compile_warnings" in
9271 warning_flags="-Wall"
9274 warning_flags="-Wall -Wmissing-prototypes"
9277 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
9278 CFLAGS="$warning_flags $CFLAGS"
9279 for option in -Wno-sign-compare; do
9280 SAVE_CFLAGS="$CFLAGS"
9281 CFLAGS="$CFLAGS $option"
9282 echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
9283 echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6
9284 cat >conftest.$ac_ext <<_ACEOF
9285 #line $LINENO "configure"
9288 cat confdefs.h >>conftest.$ac_ext
9289 cat >>conftest.$ac_ext <<_ACEOF
9290 /* end confdefs.h. */
9300 rm -f conftest.$ac_objext
9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9302 (eval $ac_compile) 2>&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } &&
9306 { ac_try='test -s conftest.$ac_objext'
9307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); }; }; then
9314 echo "$as_me: failed program was:" >&5
9315 sed 's/^/| /' conftest.$ac_ext >&5
9319 rm -f conftest.$ac_objext conftest.$ac_ext
9320 CFLAGS="$SAVE_CFLAGS"
9321 echo "$as_me:$LINENO: result: $has_option" >&5
9322 echo "${ECHO_T}$has_option" >&6
9323 if test $has_option = yes; then
9324 warning_flags="$warning_flags $option"
9330 if test "$enable_compile_warnings" = "error" ; then
9331 warning_flags="$warning_flags -Werror"
9335 { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
9336 echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
9337 { (exit 1); exit 1; }; }
9340 CFLAGS="$realsave_CFLAGS"
9341 echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
9342 echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6
9343 echo "$as_me:$LINENO: result: $warning_flags" >&5
9344 echo "${ECHO_T}$warning_flags" >&6
9346 # Check whether --enable-iso-c or --disable-iso-c was given.
9347 if test "${enable_iso_c+set}" = set; then
9348 enableval="$enable_iso_c"
9354 echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
9355 echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6
9357 if test "x$enable_iso_c" != "xno"; then
9358 if test "x$GCC" = "xyes"; then
9361 *) complCFLAGS="$complCFLAGS -ansi" ;;
9364 *\ \ -pedantic\ \ *) ;;
9365 *) complCFLAGS="$complCFLAGS -pedantic" ;;
9369 echo "$as_me:$LINENO: result: $complCFLAGS" >&5
9370 echo "${ECHO_T}$complCFLAGS" >&6
9372 WARN_CFLAGS="$warning_flags $complCFLAGS"
9375 VFS_CFLAGS="$warnCFLAGS $complCFLAGS"
9379 echo "$as_me:$LINENO: checking for sem_wait in -lrt" >&5
9380 echo $ECHO_N "checking for sem_wait in -lrt... $ECHO_C" >&6
9381 if test "${ac_cv_lib_rt_sem_wait+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 ac_check_lib_save_LIBS=$LIBS
9386 cat >conftest.$ac_ext <<_ACEOF
9387 #line $LINENO "configure"
9390 cat confdefs.h >>conftest.$ac_ext
9391 cat >>conftest.$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9394 /* Override any gcc2 internal prototype to avoid an error. */
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9409 rm -f conftest.$ac_objext conftest$ac_exeext
9410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9411 (eval $ac_link) 2>&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); } &&
9415 { ac_try='test -s conftest$ac_exeext'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9421 ac_cv_lib_rt_sem_wait=yes
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9426 ac_cv_lib_rt_sem_wait=no
9428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9429 LIBS=$ac_check_lib_save_LIBS
9431 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_wait" >&5
9432 echo "${ECHO_T}$ac_cv_lib_rt_sem_wait" >&6
9433 if test $ac_cv_lib_rt_sem_wait = yes; then
9434 cat >>confdefs.h <<_ACEOF
9435 #define HAVE_LIBRT 1
9443 echo "$as_me:$LINENO: checking size_t in <sys/types.h>" >&5
9444 echo $ECHO_N "checking size_t in <sys/types.h>... $ECHO_C" >&6
9445 if test "${ac_cv_type_size_t+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9448 cat >conftest.$ac_ext <<_ACEOF
9449 #line $LINENO "configure"
9452 cat confdefs.h >>conftest.$ac_ext
9453 cat >>conftest.$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9456 #include <sys/types.h>
9470 rm -f conftest.$ac_objext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9472 (eval $ac_compile) 2>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } &&
9476 { ac_try='test -s conftest.$ac_objext'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_cv_type_size_t=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_cv_type_size_t=no
9489 rm -f conftest.$ac_objext conftest.$ac_ext
9491 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9492 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9493 if test $ac_cv_type_size_t = no; then
9495 cat >>confdefs.h <<\_ACEOF
9496 #define size_t unsigned
9503 echo "$as_me:$LINENO: checking off_t in <sys/types.h>" >&5
9504 echo $ECHO_N "checking off_t in <sys/types.h>... $ECHO_C" >&6
9505 if test "${ac_cv_type_off_t+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 cat >conftest.$ac_ext <<_ACEOF
9509 #line $LINENO "configure"
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9516 #include <sys/types.h>
9530 rm -f conftest.$ac_objext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9532 (eval $ac_compile) 2>&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } &&
9536 { ac_try='test -s conftest.$ac_objext'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then
9542 ac_cv_type_off_t=yes
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9549 rm -f conftest.$ac_objext conftest.$ac_ext
9551 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9552 echo "${ECHO_T}$ac_cv_type_off_t" >&6
9553 if test $ac_cv_type_off_t = no; then
9555 cat >>confdefs.h <<\_ACEOF
9564 echo "$as_me:$LINENO: checking for off64_t" >&5
9565 echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
9566 if test "${ac_cv_have_off64_t+set}" = set; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 cat >conftest.$ac_ext <<_ACEOF
9570 #line $LINENO "configure"
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 # define _LARGEFILE64_SOURCE
9578 # include <sys/types.h>
9587 rm -f conftest.$ac_objext
9588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9589 (eval $ac_compile) 2>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try='test -s conftest.$ac_objext'
9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_have_off64_t=yes
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.$ac_ext >&5
9604 ac_cv_have_off64_t=no
9606 rm -f conftest.$ac_objext conftest.$ac_ext
9608 echo "$as_me:$LINENO: result: $ac_cv_have_off64_t" >&5
9609 echo "${ECHO_T}$ac_cv_have_off64_t" >&6
9610 if test x"$ac_cv_have_off64_t" = "xyes" ; then
9611 cat >>confdefs.h <<\_ACEOF
9612 #define HAVE_OFF64_T 1
9617 GETTEXT_PACKAGE=gnome-vfs-2.0
9619 cat >>confdefs.h <<_ACEOF
9620 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
9624 ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el eo es et eu fa fi fr ga gl he hi hu id is it ja ko li lt lv mk ml mn ms nl nn no pl pt pt_BR ro ru sk sl sq sr sr@Latn sv tr uk vi wa yi zh_CN zh_TW"
9627 for ac_header in locale.h
9629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9631 echo "$as_me:$LINENO: checking for $ac_header" >&5
9632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9639 # Is the header compilable?
9640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9642 cat >conftest.$ac_ext <<_ACEOF
9643 #line $LINENO "configure"
9646 cat confdefs.h >>conftest.$ac_ext
9647 cat >>conftest.$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9649 $ac_includes_default
9650 #include <$ac_header>
9652 rm -f conftest.$ac_objext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9654 (eval $ac_compile) 2>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } &&
9658 { ac_try='test -s conftest.$ac_objext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9664 ac_header_compiler=yes
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.$ac_ext >&5
9669 ac_header_compiler=no
9671 rm -f conftest.$ac_objext conftest.$ac_ext
9672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9673 echo "${ECHO_T}$ac_header_compiler" >&6
9675 # Is the header present?
9676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9678 cat >conftest.$ac_ext <<_ACEOF
9679 #line $LINENO "configure"
9682 cat confdefs.h >>conftest.$ac_ext
9683 cat >>conftest.$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9685 #include <$ac_header>
9687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9690 grep -v '^ *+' conftest.er1 >conftest.err
9692 cat conftest.err >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); } >/dev/null; then
9695 if test -s conftest.err; then
9696 ac_cpp_err=$ac_c_preproc_warn_flag
9703 if test -z "$ac_cpp_err"; then
9704 ac_header_preproc=yes
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9709 ac_header_preproc=no
9711 rm -f conftest.err conftest.$ac_ext
9712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9713 echo "${ECHO_T}$ac_header_preproc" >&6
9715 # So? What about this header?
9716 case $ac_header_compiler:$ac_header_preproc in
9718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9724 ## ------------------------------------ ##
9725 ## Report this to bug-autoconf@gnu.org. ##
9726 ## ------------------------------------ ##
9729 sed "s/^/$as_me: WARNING: /" >&2
9732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9740 ## ------------------------------------ ##
9741 ## Report this to bug-autoconf@gnu.org. ##
9742 ## ------------------------------------ ##
9745 sed "s/^/$as_me: WARNING: /" >&2
9748 echo "$as_me:$LINENO: checking for $ac_header" >&5
9749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 eval "$as_ac_Header=$ac_header_preproc"
9755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9760 cat >>confdefs.h <<_ACEOF
9761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9768 if test $ac_cv_header_locale_h = yes; then
9769 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9770 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
9771 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 cat >conftest.$ac_ext <<_ACEOF
9775 #line $LINENO "configure"
9778 cat confdefs.h >>conftest.$ac_ext
9779 cat >>conftest.$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9790 rm -f conftest.$ac_objext conftest$ac_exeext
9791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9792 (eval $ac_link) 2>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } &&
9796 { ac_try='test -s conftest$ac_exeext'
9797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); }; }; then
9802 am_cv_val_LC_MESSAGES=yes
9804 echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.$ac_ext >&5
9807 am_cv_val_LC_MESSAGES=no
9809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9811 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9812 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
9813 if test $am_cv_val_LC_MESSAGES = yes; then
9815 cat >>confdefs.h <<\_ACEOF
9816 #define HAVE_LC_MESSAGES 1
9824 gt_cv_have_gettext=no
9830 if test "${ac_cv_header_libintl_h+set}" = set; then
9831 echo "$as_me:$LINENO: checking for libintl.h" >&5
9832 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
9833 if test "${ac_cv_header_libintl_h+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
9837 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
9839 # Is the header compilable?
9840 echo "$as_me:$LINENO: checking libintl.h usability" >&5
9841 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
9842 cat >conftest.$ac_ext <<_ACEOF
9843 #line $LINENO "configure"
9846 cat confdefs.h >>conftest.$ac_ext
9847 cat >>conftest.$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9849 $ac_includes_default
9850 #include <libintl.h>
9852 rm -f conftest.$ac_objext
9853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9854 (eval $ac_compile) 2>&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } &&
9858 { ac_try='test -s conftest.$ac_objext'
9859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; }; then
9864 ac_header_compiler=yes
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 ac_header_compiler=no
9871 rm -f conftest.$ac_objext conftest.$ac_ext
9872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9873 echo "${ECHO_T}$ac_header_compiler" >&6
9875 # Is the header present?
9876 echo "$as_me:$LINENO: checking libintl.h presence" >&5
9877 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
9878 cat >conftest.$ac_ext <<_ACEOF
9879 #line $LINENO "configure"
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 #include <libintl.h>
9887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9890 grep -v '^ *+' conftest.er1 >conftest.err
9892 cat conftest.err >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } >/dev/null; then
9895 if test -s conftest.err; then
9896 ac_cpp_err=$ac_c_preproc_warn_flag
9903 if test -z "$ac_cpp_err"; then
9904 ac_header_preproc=yes
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.$ac_ext >&5
9909 ac_header_preproc=no
9911 rm -f conftest.err conftest.$ac_ext
9912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9913 echo "${ECHO_T}$ac_header_preproc" >&6
9915 # So? What about this header?
9916 case $ac_header_compiler:$ac_header_preproc in
9918 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
9919 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
9921 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
9924 ## ------------------------------------ ##
9925 ## Report this to bug-autoconf@gnu.org. ##
9926 ## ------------------------------------ ##
9929 sed "s/^/$as_me: WARNING: /" >&2
9932 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
9933 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
9934 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
9935 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
9936 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
9937 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
9940 ## ------------------------------------ ##
9941 ## Report this to bug-autoconf@gnu.org. ##
9942 ## ------------------------------------ ##
9945 sed "s/^/$as_me: WARNING: /" >&2
9948 echo "$as_me:$LINENO: checking for libintl.h" >&5
9949 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
9950 if test "${ac_cv_header_libintl_h+set}" = set; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 ac_cv_header_libintl_h=$ac_header_preproc
9955 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
9956 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
9959 if test $ac_cv_header_libintl_h = yes; then
9960 gt_cv_func_dgettext_libintl="no"
9961 libintl_extra_libs=""
9964 # First check in libc
9966 echo "$as_me:$LINENO: checking for dgettext in libc" >&5
9967 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
9968 if test "${gt_cv_func_dgettext_libc+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 cat >conftest.$ac_ext <<_ACEOF
9972 #line $LINENO "configure"
9975 cat confdefs.h >>conftest.$ac_ext
9976 cat >>conftest.$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9979 #include <libintl.h>
9984 return (int) dgettext ("","")
9989 rm -f conftest.$ac_objext conftest$ac_exeext
9990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9991 (eval $ac_link) 2>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } &&
9995 { ac_try='test -s conftest$ac_exeext'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 gt_cv_func_dgettext_libc=yes
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 gt_cv_func_dgettext_libc=no
10008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10011 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
10012 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
10014 if test "$gt_cv_func_dgettext_libc" = "yes" ; then
10016 for ac_func in bind_textdomain_codeset
10018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10019 echo "$as_me:$LINENO: checking for $ac_func" >&5
10020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10021 if eval "test \"\${$as_ac_var+set}\" = set"; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 cat >conftest.$ac_ext <<_ACEOF
10025 #line $LINENO "configure"
10028 cat confdefs.h >>conftest.$ac_ext
10029 cat >>conftest.$ac_ext <<_ACEOF
10030 /* end confdefs.h. */
10031 /* System header to define __stub macros and hopefully few prototypes,
10032 which can conflict with char $ac_func (); below.
10033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10034 <limits.h> exists even on freestanding compilers. */
10036 # include <limits.h>
10038 # include <assert.h>
10040 /* Override any gcc2 internal prototype to avoid an error. */
10045 /* We use char because int might match the return type of a gcc2
10046 builtin and then its argument prototype would still apply. */
10048 /* The GNU C library defines this for functions which it implements
10049 to always fail with ENOSYS. Some functions are actually named
10050 something starting with __ and the normal name is an alias. */
10051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10054 char (*f) () = $ac_func;
10063 return f != $ac_func;
10068 rm -f conftest.$ac_objext conftest$ac_exeext
10069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10070 (eval $ac_link) 2>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } &&
10074 { ac_try='test -s conftest$ac_exeext'
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10076 (eval $ac_try) 2>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; }; then
10080 eval "$as_ac_var=yes"
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.$ac_ext >&5
10085 eval "$as_ac_var=no"
10087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10091 if test `eval echo '${'$as_ac_var'}'` = yes; then
10092 cat >>confdefs.h <<_ACEOF
10093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10102 # If we don't have everything we want, check in libintl
10104 if test "$gt_cv_func_dgettext_libc" != "yes" \
10105 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10107 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10108 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
10109 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 ac_check_lib_save_LIBS=$LIBS
10113 LIBS="-lintl $LIBS"
10114 cat >conftest.$ac_ext <<_ACEOF
10115 #line $LINENO "configure"
10118 cat confdefs.h >>conftest.$ac_ext
10119 cat >>conftest.$ac_ext <<_ACEOF
10120 /* end confdefs.h. */
10122 /* Override any gcc2 internal prototype to avoid an error. */
10126 /* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10128 char bindtextdomain ();
10137 rm -f conftest.$ac_objext conftest$ac_exeext
10138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10139 (eval $ac_link) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); } &&
10143 { ac_try='test -s conftest$ac_exeext'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; }; then
10149 ac_cv_lib_intl_bindtextdomain=yes
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.$ac_ext >&5
10154 ac_cv_lib_intl_bindtextdomain=no
10156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10157 LIBS=$ac_check_lib_save_LIBS
10159 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10160 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
10161 if test $ac_cv_lib_intl_bindtextdomain = yes; then
10162 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
10163 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
10164 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 ac_check_lib_save_LIBS=$LIBS
10168 LIBS="-lintl $LIBS"
10169 cat >conftest.$ac_ext <<_ACEOF
10170 #line $LINENO "configure"
10173 cat confdefs.h >>conftest.$ac_ext
10174 cat >>conftest.$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10177 /* Override any gcc2 internal prototype to avoid an error. */
10181 /* We use char because int might match the return type of a gcc2
10182 builtin and then its argument prototype would still apply. */
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); } &&
10198 { ac_try='test -s conftest$ac_exeext'
10199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200 (eval $ac_try) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); }; }; then
10204 ac_cv_lib_intl_dgettext=yes
10206 echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.$ac_ext >&5
10209 ac_cv_lib_intl_dgettext=no
10211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10212 LIBS=$ac_check_lib_save_LIBS
10214 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
10215 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
10216 if test $ac_cv_lib_intl_dgettext = yes; then
10217 gt_cv_func_dgettext_libintl=yes
10223 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
10224 echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
10225 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
10226 echo "$as_me:$LINENO: result: " >&5
10227 echo "${ECHO_T}" >&6
10228 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
10229 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
10230 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 ac_check_lib_save_LIBS=$LIBS
10234 LIBS="-lintl -liconv $LIBS"
10235 cat >conftest.$ac_ext <<_ACEOF
10236 #line $LINENO "configure"
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any gcc2 internal prototype to avoid an error. */
10247 /* We use char because int might match the return type of a gcc2
10248 builtin and then its argument prototype would still apply. */
10258 rm -f conftest.$ac_objext conftest$ac_exeext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10260 (eval $ac_link) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); } &&
10264 { ac_try='test -s conftest$ac_exeext'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; }; then
10270 ac_cv_lib_intl_dcgettext=yes
10272 echo "$as_me: failed program was:" >&5
10273 sed 's/^/| /' conftest.$ac_ext >&5
10275 ac_cv_lib_intl_dcgettext=no
10277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10280 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
10281 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
10282 if test $ac_cv_lib_intl_dcgettext = yes; then
10283 gt_cv_func_dgettext_libintl=yes
10284 libintl_extra_libs=-liconv
10292 # If we found libintl, then check in it for bind_textdomain_codeset();
10293 # we'll prefer libc if neither have bind_textdomain_codeset(),
10294 # and both have dgettext
10296 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
10297 glib_save_LIBS="$LIBS"
10298 LIBS="$LIBS -lintl $libintl_extra_libs"
10299 unset ac_cv_func_bind_textdomain_codeset
10301 for ac_func in bind_textdomain_codeset
10303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10304 echo "$as_me:$LINENO: checking for $ac_func" >&5
10305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10306 if eval "test \"\${$as_ac_var+set}\" = set"; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 cat >conftest.$ac_ext <<_ACEOF
10310 #line $LINENO "configure"
10313 cat confdefs.h >>conftest.$ac_ext
10314 cat >>conftest.$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10316 /* System header to define __stub macros and hopefully few prototypes,
10317 which can conflict with char $ac_func (); below.
10318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10319 <limits.h> exists even on freestanding compilers. */
10321 # include <limits.h>
10323 # include <assert.h>
10325 /* Override any gcc2 internal prototype to avoid an error. */
10330 /* We use char because int might match the return type of a gcc2
10331 builtin and then its argument prototype would still apply. */
10333 /* The GNU C library defines this for functions which it implements
10334 to always fail with ENOSYS. Some functions are actually named
10335 something starting with __ and the normal name is an alias. */
10336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10339 char (*f) () = $ac_func;
10348 return f != $ac_func;
10353 rm -f conftest.$ac_objext conftest$ac_exeext
10354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10355 (eval $ac_link) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); } &&
10359 { ac_try='test -s conftest$ac_exeext'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; }; then
10365 eval "$as_ac_var=yes"
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.$ac_ext >&5
10370 eval "$as_ac_var=no"
10372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10376 if test `eval echo '${'$as_ac_var'}'` = yes; then
10377 cat >>confdefs.h <<_ACEOF
10378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10384 LIBS="$glib_save_LIBS"
10386 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
10387 gt_cv_func_dgettext_libc=no
10389 if test "$gt_cv_func_dgettext_libc" = "yes"; then
10390 gt_cv_func_dgettext_libintl=no
10396 if test "$gt_cv_func_dgettext_libc" = "yes" \
10397 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
10398 gt_cv_have_gettext=yes
10401 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
10402 INTLLIBS="-lintl $libintl_extra_libs"
10405 if test "$gt_cv_have_gettext" = "yes"; then
10407 cat >>confdefs.h <<\_ACEOF
10408 #define HAVE_GETTEXT 1
10411 # Extract the first word of "msgfmt", so it can be a program name with args.
10412 set dummy msgfmt; ac_word=$2
10413 echo "$as_me:$LINENO: checking for $ac_word" >&5
10414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10415 if test "${ac_cv_path_MSGFMT+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10423 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
10424 for ac_dir in $PATH; do
10425 test -z "$ac_dir" && ac_dir=.
10426 if test -f $ac_dir/$ac_word; then
10427 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
10428 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
10434 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
10438 MSGFMT="$ac_cv_path_MSGFMT"
10439 if test "$MSGFMT" != "no"; then
10440 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10441 echo "${ECHO_T}$MSGFMT" >&6
10443 echo "$as_me:$LINENO: result: no" >&5
10444 echo "${ECHO_T}no" >&6
10446 if test "$MSGFMT" != "no"; then
10448 for ac_func in dcgettext
10450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10451 echo "$as_me:$LINENO: checking for $ac_func" >&5
10452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10453 if eval "test \"\${$as_ac_var+set}\" = set"; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 cat >conftest.$ac_ext <<_ACEOF
10457 #line $LINENO "configure"
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 /* System header to define __stub macros and hopefully few prototypes,
10464 which can conflict with char $ac_func (); below.
10465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10466 <limits.h> exists even on freestanding compilers. */
10468 # include <limits.h>
10470 # include <assert.h>
10472 /* Override any gcc2 internal prototype to avoid an error. */
10477 /* We use char because int might match the return type of a gcc2
10478 builtin and then its argument prototype would still apply. */
10480 /* The GNU C library defines this for functions which it implements
10481 to always fail with ENOSYS. Some functions are actually named
10482 something starting with __ and the normal name is an alias. */
10483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10486 char (*f) () = $ac_func;
10495 return f != $ac_func;
10500 rm -f conftest.$ac_objext conftest$ac_exeext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502 (eval $ac_link) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try='test -s conftest$ac_exeext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 eval "$as_ac_var=yes"
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10517 eval "$as_ac_var=no"
10519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10523 if test `eval echo '${'$as_ac_var'}'` = yes; then
10524 cat >>confdefs.h <<_ACEOF
10525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10531 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10532 set dummy gmsgfmt; ac_word=$2
10533 echo "$as_me:$LINENO: checking for $ac_word" >&5
10534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10535 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10536 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10544 for as_dir in $PATH
10547 test -z "$as_dir" && as_dir=.
10548 for ac_exec_ext in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10557 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10561 GMSGFMT=$ac_cv_path_GMSGFMT
10563 if test -n "$GMSGFMT"; then
10564 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10565 echo "${ECHO_T}$GMSGFMT" >&6
10567 echo "$as_me:$LINENO: result: no" >&5
10568 echo "${ECHO_T}no" >&6
10571 # Extract the first word of "xgettext", so it can be a program name with args.
10572 set dummy xgettext; ac_word=$2
10573 echo "$as_me:$LINENO: checking for $ac_word" >&5
10574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10575 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 case "$XGETTEXT" in
10580 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10583 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
10584 for ac_dir in $PATH; do
10585 test -z "$ac_dir" && ac_dir=.
10586 if test -f $ac_dir/$ac_word; then
10587 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
10588 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
10594 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
10598 XGETTEXT="$ac_cv_path_XGETTEXT"
10599 if test "$XGETTEXT" != ":"; then
10600 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10601 echo "${ECHO_T}$XGETTEXT" >&6
10603 echo "$as_me:$LINENO: result: no" >&5
10604 echo "${ECHO_T}no" >&6
10607 cat >conftest.$ac_ext <<_ACEOF
10608 #line $LINENO "configure"
10611 cat confdefs.h >>conftest.$ac_ext
10612 cat >>conftest.$ac_ext <<_ACEOF
10613 /* end confdefs.h. */
10618 extern int _nl_msg_cat_cntr;
10619 return _nl_msg_cat_cntr
10624 rm -f conftest.$ac_objext conftest$ac_exeext
10625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10626 (eval $ac_link) 2>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -s conftest$ac_exeext'
10631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632 (eval $ac_try) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; }; then
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10644 echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
10645 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
10646 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10649 cat >conftest.$ac_ext <<_ACEOF
10650 #line $LINENO "configure"
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10656 /* System header to define __stub macros and hopefully few prototypes,
10657 which can conflict with char bind_textdomain_codeset (); below.
10658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10659 <limits.h> exists even on freestanding compilers. */
10661 # include <limits.h>
10663 # include <assert.h>
10665 /* Override any gcc2 internal prototype to avoid an error. */
10670 /* We use char because int might match the return type of a gcc2
10671 builtin and then its argument prototype would still apply. */
10672 char bind_textdomain_codeset ();
10673 /* The GNU C library defines this for functions which it implements
10674 to always fail with ENOSYS. Some functions are actually named
10675 something starting with __ and the normal name is an alias. */
10676 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
10679 char (*f) () = bind_textdomain_codeset;
10688 return f != bind_textdomain_codeset;
10693 rm -f conftest.$ac_objext conftest$ac_exeext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10695 (eval $ac_link) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try='test -s conftest$ac_exeext'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; }; then
10705 ac_cv_func_bind_textdomain_codeset=yes
10707 echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.$ac_ext >&5
10710 ac_cv_func_bind_textdomain_codeset=no
10712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10714 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
10715 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
10716 if test $ac_cv_func_bind_textdomain_codeset = yes; then
10731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10734 gt_cv_have_gettext=no
10742 if test "$gt_cv_have_gettext" = "yes" ; then
10744 cat >>confdefs.h <<\_ACEOF
10745 #define ENABLE_NLS 1
10750 if test "$XGETTEXT" != ":"; then
10751 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
10754 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
10755 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
10760 # We need to process the po/ directory.
10763 ac_config_commands="$ac_config_commands default-3"
10766 for lang in $ALL_LINGUAS; do
10767 GMOFILES="$GMOFILES $lang.gmo"
10768 POFILES="$POFILES $lang.po"
10783 if test "$gt_cv_have_gettext" = "yes"; then
10784 if test "x$ALL_LINGUAS" = "x"; then
10787 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10788 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10790 for presentlang in $ALL_LINGUAS; do
10792 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
10793 desiredlanguages="$LINGUAS"
10795 desiredlanguages="$ALL_LINGUAS"
10797 for desiredlang in $desiredlanguages; do
10798 # Use the presentlang catalog if desiredlang is
10799 # a. equal to presentlang, or
10800 # b. a variant of presentlang (because in this case,
10801 # presentlang can be used as a fallback for messages
10802 # which are not translated in the desiredlang catalog).
10803 case "$desiredlang" in
10804 "$presentlang"*) useit=yes;;
10807 if test $useit = yes; then
10808 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
10811 LINGUAS=$NEW_LINGUAS
10812 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10813 echo "${ECHO_T}$LINGUAS" >&6
10816 if test -n "$LINGUAS"; then
10817 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
10822 if test -n "$ac_aux_dir"; then
10823 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
10825 if test -z "$MKINSTALLDIRS"; then
10826 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10830 test -d po || mkdir po
10831 if test "x$srcdir" != "x."; then
10832 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
10833 posrcprefix="$srcdir/"
10835 posrcprefix="../$srcdir/"
10841 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
10842 < $srcdir/po/POTFILES.in > po/POTFILES
10846 echo "$as_me:$LINENO: checking for t_accept in -lnsl" >&5
10847 echo $ECHO_N "checking for t_accept in -lnsl... $ECHO_C" >&6
10848 if test "${ac_cv_lib_nsl_t_accept+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 ac_check_lib_save_LIBS=$LIBS
10853 cat >conftest.$ac_ext <<_ACEOF
10854 #line $LINENO "configure"
10857 cat confdefs.h >>conftest.$ac_ext
10858 cat >>conftest.$ac_ext <<_ACEOF
10859 /* end confdefs.h. */
10861 /* Override any gcc2 internal prototype to avoid an error. */
10865 /* We use char because int might match the return type of a gcc2
10866 builtin and then its argument prototype would still apply. */
10876 rm -f conftest.$ac_objext conftest$ac_exeext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10878 (eval $ac_link) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try='test -s conftest$ac_exeext'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 ac_cv_lib_nsl_t_accept=yes
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_cv_lib_nsl_t_accept=no
10895 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10898 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_t_accept" >&5
10899 echo "${ECHO_T}$ac_cv_lib_nsl_t_accept" >&6
10900 if test $ac_cv_lib_nsl_t_accept = yes; then
10901 cat >>confdefs.h <<_ACEOF
10902 #define HAVE_LIBNSL 1
10910 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
10911 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
10912 if test "${ac_cv_lib_socket_socket+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lsocket $LIBS"
10917 cat >conftest.$ac_ext <<_ACEOF
10918 #line $LINENO "configure"
10921 cat confdefs.h >>conftest.$ac_ext
10922 cat >>conftest.$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10925 /* Override any gcc2 internal prototype to avoid an error. */
10929 /* We use char because int might match the return type of a gcc2
10930 builtin and then its argument prototype would still apply. */
10940 rm -f conftest.$ac_objext conftest$ac_exeext
10941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10942 (eval $ac_link) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } &&
10946 { ac_try='test -s conftest$ac_exeext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 ac_cv_lib_socket_socket=yes
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10957 ac_cv_lib_socket_socket=no
10959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
10963 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
10964 if test $ac_cv_lib_socket_socket = yes; then
10965 cat >>confdefs.h <<_ACEOF
10966 #define HAVE_LIBSOCKET 1
10969 LIBS="-lsocket $LIBS"
10974 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10975 # for constant arguments. Useless!
10976 echo "$as_me:$LINENO: checking for working alloca.h" >&5
10977 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
10978 if test "${ac_cv_working_alloca_h+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 cat >conftest.$ac_ext <<_ACEOF
10982 #line $LINENO "configure"
10985 cat confdefs.h >>conftest.$ac_ext
10986 cat >>conftest.$ac_ext <<_ACEOF
10987 /* end confdefs.h. */
10988 #include <alloca.h>
10992 char *p = (char *) alloca (2 * sizeof (int));
10997 rm -f conftest.$ac_objext conftest$ac_exeext
10998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10999 (eval $ac_link) 2>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } &&
11003 { ac_try='test -s conftest$ac_exeext'
11004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005 (eval $ac_try) 2>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); }; }; then
11009 ac_cv_working_alloca_h=yes
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11014 ac_cv_working_alloca_h=no
11016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11018 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11019 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11020 if test $ac_cv_working_alloca_h = yes; then
11022 cat >>confdefs.h <<\_ACEOF
11023 #define HAVE_ALLOCA_H 1
11028 echo "$as_me:$LINENO: checking for alloca" >&5
11029 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11030 if test "${ac_cv_func_alloca_works+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 cat >conftest.$ac_ext <<_ACEOF
11034 #line $LINENO "configure"
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 # define alloca __builtin_alloca
11044 # include <malloc.h>
11045 # define alloca _alloca
11048 # include <alloca.h>
11053 # ifndef alloca /* predefined by HP cc +Olibcalls */
11064 char *p = (char *) alloca (1);
11069 rm -f conftest.$ac_objext conftest$ac_exeext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11071 (eval $ac_link) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_cv_func_alloca_works=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_func_alloca_works=no
11088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11090 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11091 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11093 if test $ac_cv_func_alloca_works = yes; then
11095 cat >>confdefs.h <<\_ACEOF
11096 #define HAVE_ALLOCA 1
11100 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11101 # that cause trouble. Some versions do not even contain alloca or
11102 # contain a buggy version. If you still want to use their alloca,
11103 # use ar to extract alloca.o from them instead of compiling alloca.c.
11105 ALLOCA=alloca.$ac_objext
11107 cat >>confdefs.h <<\_ACEOF
11112 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11113 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11114 if test "${ac_cv_os_cray+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11117 cat >conftest.$ac_ext <<_ACEOF
11118 #line $LINENO "configure"
11121 cat confdefs.h >>conftest.$ac_ext
11122 cat >>conftest.$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11124 #if defined(CRAY) && ! defined(CRAY2)
11131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11132 $EGREP "webecray" >/dev/null 2>&1; then
11140 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11141 echo "${ECHO_T}$ac_cv_os_cray" >&6
11142 if test $ac_cv_os_cray = yes; then
11143 for ac_func in _getb67 GETB67 getb67; do
11144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11145 echo "$as_me:$LINENO: checking for $ac_func" >&5
11146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11147 if eval "test \"\${$as_ac_var+set}\" = set"; then
11148 echo $ECHO_N "(cached) $ECHO_C" >&6
11150 cat >conftest.$ac_ext <<_ACEOF
11151 #line $LINENO "configure"
11154 cat confdefs.h >>conftest.$ac_ext
11155 cat >>conftest.$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 /* System header to define __stub macros and hopefully few prototypes,
11158 which can conflict with char $ac_func (); below.
11159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11160 <limits.h> exists even on freestanding compilers. */
11162 # include <limits.h>
11164 # include <assert.h>
11166 /* Override any gcc2 internal prototype to avoid an error. */
11171 /* We use char because int might match the return type of a gcc2
11172 builtin and then its argument prototype would still apply. */
11174 /* The GNU C library defines this for functions which it implements
11175 to always fail with ENOSYS. Some functions are actually named
11176 something starting with __ and the normal name is an alias. */
11177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11180 char (*f) () = $ac_func;
11189 return f != $ac_func;
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } &&
11200 { ac_try='test -s conftest$ac_exeext'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; }; then
11206 eval "$as_ac_var=yes"
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11211 eval "$as_ac_var=no"
11213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11217 if test `eval echo '${'$as_ac_var'}'` = yes; then
11219 cat >>confdefs.h <<_ACEOF
11220 #define CRAY_STACKSEG_END $ac_func
11229 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11230 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11231 if test "${ac_cv_c_stack_direction+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 if test "$cross_compiling" = yes; then
11235 ac_cv_c_stack_direction=0
11237 cat >conftest.$ac_ext <<_ACEOF
11238 #line $LINENO "configure"
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11245 find_stack_direction ()
11247 static char *addr = 0;
11252 return find_stack_direction ();
11255 return (&dummy > addr) ? 1 : -1;
11261 exit (find_stack_direction () < 0);
11264 rm -f conftest$ac_exeext
11265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11266 (eval $ac_link) 2>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; }; then
11275 ac_cv_c_stack_direction=1
11277 echo "$as_me: program exited with status $ac_status" >&5
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 ( exit $ac_status )
11282 ac_cv_c_stack_direction=-1
11284 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11287 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11288 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11290 cat >>confdefs.h <<_ACEOF
11291 #define STACK_DIRECTION $ac_cv_c_stack_direction
11309 for ac_func in getdtablesize open64 lseek64 statvfs seteuid setegid setresuid setresgid readdir_r mbrtowc inet_pton getdelim
11311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11312 echo "$as_me:$LINENO: checking for $ac_func" >&5
11313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11314 if eval "test \"\${$as_ac_var+set}\" = set"; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 cat >conftest.$ac_ext <<_ACEOF
11318 #line $LINENO "configure"
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11324 /* System header to define __stub macros and hopefully few prototypes,
11325 which can conflict with char $ac_func (); below.
11326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11327 <limits.h> exists even on freestanding compilers. */
11329 # include <limits.h>
11331 # include <assert.h>
11333 /* Override any gcc2 internal prototype to avoid an error. */
11338 /* We use char because int might match the return type of a gcc2
11339 builtin and then its argument prototype would still apply. */
11341 /* The GNU C library defines this for functions which it implements
11342 to always fail with ENOSYS. Some functions are actually named
11343 something starting with __ and the normal name is an alias. */
11344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11347 char (*f) () = $ac_func;
11356 return f != $ac_func;
11361 rm -f conftest.$ac_objext conftest$ac_exeext
11362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11363 (eval $ac_link) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } &&
11367 { ac_try='test -s conftest$ac_exeext'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; }; then
11373 eval "$as_ac_var=yes"
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.$ac_ext >&5
11378 eval "$as_ac_var=no"
11380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11384 if test `eval echo '${'$as_ac_var'}'` = yes; then
11385 cat >>confdefs.h <<_ACEOF
11386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11394 # Extract the first word of "gconftool-2", so it can be a program name with args.
11395 set dummy gconftool-2; ac_word=$2
11396 echo "$as_me:$LINENO: checking for $ac_word" >&5
11397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11398 if test "${ac_cv_path_GCONFTOOL+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
11406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11407 for as_dir in $PATH
11410 test -z "$as_dir" && as_dir=.
11411 for ac_exec_ext in '' $ac_executable_extensions; do
11412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11413 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
11414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11420 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
11424 GCONFTOOL=$ac_cv_path_GCONFTOOL
11426 if test -n "$GCONFTOOL"; then
11427 echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
11428 echo "${ECHO_T}$GCONFTOOL" >&6
11430 echo "$as_me:$LINENO: result: no" >&5
11431 echo "${ECHO_T}no" >&6
11435 if test x"$GCONFTOOL" = xno; then
11436 { { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
11437 echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
11438 { (exit 1); exit 1; }; }
11442 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11443 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
11445 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
11449 # Check whether --with-gconf-source or --without-gconf-source was given.
11450 if test "${with_gconf_source+set}" = set; then
11451 withval="$with_gconf_source"
11452 GCONF_SCHEMA_CONFIG_SOURCE="$withval"
11456 echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
11457 echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6
11459 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
11460 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas/'
11462 GCONF_SCHEMA_FILE_DIR=$GCONF_SCHEMA_FILE_DIR
11466 # Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given.
11467 if test "${with_gconf_schema_file_dir+set}" = set; then
11468 withval="$with_gconf_schema_file_dir"
11469 GCONF_SCHEMA_FILE_DIR="$withval"
11473 echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
11474 echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6
11476 # Check whether --enable-schemas-install or --disable-schemas-install was given.
11477 if test "${enable_schemas_install+set}" = set; then
11478 enableval="$enable_schemas_install"
11479 case "${enableval}" in
11480 yes) schemas_install=true ;;
11481 no) schemas_install=false ;;
11482 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-schemas-install" >&5
11483 echo "$as_me: error: bad value ${enableval} for --disable-schemas-install" >&2;}
11484 { (exit 1); exit 1; }; } ;;
11487 schemas_install=true
11491 if test x$schemas_install = xtrue; then
11492 GCONF_SCHEMAS_INSTALL_TRUE=
11493 GCONF_SCHEMAS_INSTALL_FALSE='#'
11495 GCONF_SCHEMAS_INSTALL_TRUE='#'
11496 GCONF_SCHEMAS_INSTALL_FALSE=
11500 echo "$as_me:$LINENO: checking for int" >&5
11501 echo $ECHO_N "checking for int... $ECHO_C" >&6
11502 if test "${ac_cv_type_int+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 cat >conftest.$ac_ext <<_ACEOF
11506 #line $LINENO "configure"
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 $ac_includes_default
11524 rm -f conftest.$ac_objext
11525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11526 (eval $ac_compile) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } &&
11530 { ac_try='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11543 rm -f conftest.$ac_objext conftest.$ac_ext
11545 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11546 echo "${ECHO_T}$ac_cv_type_int" >&6
11548 echo "$as_me:$LINENO: checking size of int" >&5
11549 echo $ECHO_N "checking size of int... $ECHO_C" >&6
11550 if test "${ac_cv_sizeof_int+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 if test "$ac_cv_type_int" = yes; then
11554 # The cast to unsigned long works around a bug in the HP C Compiler
11555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11557 # This bug is HP SR number 8606223364.
11558 if test "$cross_compiling" = yes; then
11559 # Depending upon the size, compute the lo and hi bounds.
11560 cat >conftest.$ac_ext <<_ACEOF
11561 #line $LINENO "configure"
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11567 $ac_includes_default
11571 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
11578 rm -f conftest.$ac_objext
11579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11580 (eval $ac_compile) 2>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try='test -s conftest.$ac_objext'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; }; then
11592 cat >conftest.$ac_ext <<_ACEOF
11593 #line $LINENO "configure"
11596 cat confdefs.h >>conftest.$ac_ext
11597 cat >>conftest.$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11599 $ac_includes_default
11603 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11610 rm -f conftest.$ac_objext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612 (eval $ac_compile) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try='test -s conftest.$ac_objext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_hi=$ac_mid; break
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_lo=`expr $ac_mid + 1`
11628 if test $ac_lo -le $ac_mid; then
11632 ac_mid=`expr 2 '*' $ac_mid + 1`
11634 rm -f conftest.$ac_objext conftest.$ac_ext
11637 echo "$as_me: failed program was:" >&5
11638 sed 's/^/| /' conftest.$ac_ext >&5
11640 cat >conftest.$ac_ext <<_ACEOF
11641 #line $LINENO "configure"
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11647 $ac_includes_default
11651 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
11658 rm -f conftest.$ac_objext
11659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11660 (eval $ac_compile) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } &&
11664 { ac_try='test -s conftest.$ac_objext'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; }; then
11672 cat >conftest.$ac_ext <<_ACEOF
11673 #line $LINENO "configure"
11676 cat confdefs.h >>conftest.$ac_ext
11677 cat >>conftest.$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11679 $ac_includes_default
11683 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
11690 rm -f conftest.$ac_objext
11691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11692 (eval $ac_compile) 2>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try='test -s conftest.$ac_objext'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; }; then
11702 ac_lo=$ac_mid; break
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11707 ac_hi=`expr '(' $ac_mid ')' - 1`
11708 if test $ac_mid -le $ac_hi; then
11712 ac_mid=`expr 2 '*' $ac_mid`
11714 rm -f conftest.$ac_objext conftest.$ac_ext
11717 echo "$as_me: failed program was:" >&5
11718 sed 's/^/| /' conftest.$ac_ext >&5
11722 rm -f conftest.$ac_objext conftest.$ac_ext
11724 rm -f conftest.$ac_objext conftest.$ac_ext
11725 # Binary search between lo and hi bounds.
11726 while test "x$ac_lo" != "x$ac_hi"; do
11727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11728 cat >conftest.$ac_ext <<_ACEOF
11729 #line $LINENO "configure"
11732 cat confdefs.h >>conftest.$ac_ext
11733 cat >>conftest.$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11735 $ac_includes_default
11739 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11746 rm -f conftest.$ac_objext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11748 (eval $ac_compile) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } &&
11752 { ac_try='test -s conftest.$ac_objext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.$ac_ext >&5
11763 ac_lo=`expr '(' $ac_mid ')' + 1`
11765 rm -f conftest.$ac_objext conftest.$ac_ext
11768 ?*) ac_cv_sizeof_int=$ac_lo;;
11769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11770 See \`config.log' for more details." >&5
11771 echo "$as_me: error: cannot compute sizeof (int), 77
11772 See \`config.log' for more details." >&2;}
11773 { (exit 1); exit 1; }; } ;;
11776 if test "$cross_compiling" = yes; then
11777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11778 See \`config.log' for more details." >&5
11779 echo "$as_me: error: cannot run test program while cross compiling
11780 See \`config.log' for more details." >&2;}
11781 { (exit 1); exit 1; }; }
11783 cat >conftest.$ac_ext <<_ACEOF
11784 #line $LINENO "configure"
11787 cat confdefs.h >>conftest.$ac_ext
11788 cat >>conftest.$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11790 $ac_includes_default
11791 long longval () { return (long) (sizeof (int)); }
11792 unsigned long ulongval () { return (long) (sizeof (int)); }
11794 #include <stdlib.h>
11799 FILE *f = fopen ("conftest.val", "w");
11802 if (((long) (sizeof (int))) < 0)
11804 long i = longval ();
11805 if (i != ((long) (sizeof (int))))
11807 fprintf (f, "%ld\n", i);
11811 unsigned long i = ulongval ();
11812 if (i != ((long) (sizeof (int))))
11814 fprintf (f, "%lu\n", i);
11816 exit (ferror (f) || fclose (f) != 0);
11822 rm -f conftest$ac_exeext
11823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11824 (eval $ac_link) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_cv_sizeof_int=`cat conftest.val`
11835 echo "$as_me: program exited with status $ac_status" >&5
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.$ac_ext >&5
11839 ( exit $ac_status )
11840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11841 See \`config.log' for more details." >&5
11842 echo "$as_me: error: cannot compute sizeof (int), 77
11843 See \`config.log' for more details." >&2;}
11844 { (exit 1); exit 1; }; }
11846 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11855 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11856 cat >>confdefs.h <<_ACEOF
11857 #define SIZEOF_INT $ac_cv_sizeof_int
11861 echo "$as_me:$LINENO: checking for long" >&5
11862 echo $ECHO_N "checking for long... $ECHO_C" >&6
11863 if test "${ac_cv_type_long+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 cat >conftest.$ac_ext <<_ACEOF
11867 #line $LINENO "configure"
11870 cat confdefs.h >>conftest.$ac_ext
11871 cat >>conftest.$ac_ext <<_ACEOF
11872 /* end confdefs.h. */
11873 $ac_includes_default
11885 rm -f conftest.$ac_objext
11886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11887 (eval $ac_compile) 2>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } &&
11891 { ac_try='test -s conftest.$ac_objext'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then
11897 ac_cv_type_long=yes
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.$ac_ext >&5
11904 rm -f conftest.$ac_objext conftest.$ac_ext
11906 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11907 echo "${ECHO_T}$ac_cv_type_long" >&6
11909 echo "$as_me:$LINENO: checking size of long" >&5
11910 echo $ECHO_N "checking size of long... $ECHO_C" >&6
11911 if test "${ac_cv_sizeof_long+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 if test "$ac_cv_type_long" = yes; then
11915 # The cast to unsigned long works around a bug in the HP C Compiler
11916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11918 # This bug is HP SR number 8606223364.
11919 if test "$cross_compiling" = yes; then
11920 # Depending upon the size, compute the lo and hi bounds.
11921 cat >conftest.$ac_ext <<_ACEOF
11922 #line $LINENO "configure"
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 $ac_includes_default
11932 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
11939 rm -f conftest.$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try='test -s conftest.$ac_objext'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; }; then
11953 cat >conftest.$ac_ext <<_ACEOF
11954 #line $LINENO "configure"
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 $ac_includes_default
11964 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
11971 rm -f conftest.$ac_objext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11973 (eval $ac_compile) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try='test -s conftest.$ac_objext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_hi=$ac_mid; break
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.$ac_ext >&5
11988 ac_lo=`expr $ac_mid + 1`
11989 if test $ac_lo -le $ac_mid; then
11993 ac_mid=`expr 2 '*' $ac_mid + 1`
11995 rm -f conftest.$ac_objext conftest.$ac_ext
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 cat >conftest.$ac_ext <<_ACEOF
12002 #line $LINENO "configure"
12005 cat confdefs.h >>conftest.$ac_ext
12006 cat >>conftest.$ac_ext <<_ACEOF
12007 /* end confdefs.h. */
12008 $ac_includes_default
12012 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12019 rm -f conftest.$ac_objext
12020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12021 (eval $ac_compile) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } &&
12025 { ac_try='test -s conftest.$ac_objext'
12026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12027 (eval $ac_try) 2>&5
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); }; }; then
12033 cat >conftest.$ac_ext <<_ACEOF
12034 #line $LINENO "configure"
12037 cat confdefs.h >>conftest.$ac_ext
12038 cat >>conftest.$ac_ext <<_ACEOF
12039 /* end confdefs.h. */
12040 $ac_includes_default
12044 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12051 rm -f conftest.$ac_objext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12053 (eval $ac_compile) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -s conftest.$ac_objext'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; }; then
12063 ac_lo=$ac_mid; break
12065 echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.$ac_ext >&5
12068 ac_hi=`expr '(' $ac_mid ')' - 1`
12069 if test $ac_mid -le $ac_hi; then
12073 ac_mid=`expr 2 '*' $ac_mid`
12075 rm -f conftest.$ac_objext conftest.$ac_ext
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12083 rm -f conftest.$ac_objext conftest.$ac_ext
12085 rm -f conftest.$ac_objext conftest.$ac_ext
12086 # Binary search between lo and hi bounds.
12087 while test "x$ac_lo" != "x$ac_hi"; do
12088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12089 cat >conftest.$ac_ext <<_ACEOF
12090 #line $LINENO "configure"
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 $ac_includes_default
12100 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ac_lo=`expr '(' $ac_mid ')' + 1`
12126 rm -f conftest.$ac_objext conftest.$ac_ext
12129 ?*) ac_cv_sizeof_long=$ac_lo;;
12130 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12131 See \`config.log' for more details." >&5
12132 echo "$as_me: error: cannot compute sizeof (long), 77
12133 See \`config.log' for more details." >&2;}
12134 { (exit 1); exit 1; }; } ;;
12137 if test "$cross_compiling" = yes; then
12138 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12139 See \`config.log' for more details." >&5
12140 echo "$as_me: error: cannot run test program while cross compiling
12141 See \`config.log' for more details." >&2;}
12142 { (exit 1); exit 1; }; }
12144 cat >conftest.$ac_ext <<_ACEOF
12145 #line $LINENO "configure"
12148 cat confdefs.h >>conftest.$ac_ext
12149 cat >>conftest.$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12151 $ac_includes_default
12152 long longval () { return (long) (sizeof (long)); }
12153 unsigned long ulongval () { return (long) (sizeof (long)); }
12155 #include <stdlib.h>
12160 FILE *f = fopen ("conftest.val", "w");
12163 if (((long) (sizeof (long))) < 0)
12165 long i = longval ();
12166 if (i != ((long) (sizeof (long))))
12168 fprintf (f, "%ld\n", i);
12172 unsigned long i = ulongval ();
12173 if (i != ((long) (sizeof (long))))
12175 fprintf (f, "%lu\n", i);
12177 exit (ferror (f) || fclose (f) != 0);
12183 rm -f conftest$ac_exeext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12185 (eval $ac_link) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 ac_cv_sizeof_long=`cat conftest.val`
12196 echo "$as_me: program exited with status $ac_status" >&5
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12200 ( exit $ac_status )
12201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12202 See \`config.log' for more details." >&5
12203 echo "$as_me: error: cannot compute sizeof (long), 77
12204 See \`config.log' for more details." >&2;}
12205 { (exit 1); exit 1; }; }
12207 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12212 ac_cv_sizeof_long=0
12215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12216 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12217 cat >>confdefs.h <<_ACEOF
12218 #define SIZEOF_LONG $ac_cv_sizeof_long
12222 echo "$as_me:$LINENO: checking for long long" >&5
12223 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12224 if test "${ac_cv_type_long_long+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 cat >conftest.$ac_ext <<_ACEOF
12228 #line $LINENO "configure"
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 $ac_includes_default
12238 if ((long long *) 0)
12240 if (sizeof (long long))
12246 rm -f conftest.$ac_objext
12247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12248 (eval $ac_compile) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } &&
12252 { ac_try='test -s conftest.$ac_objext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_type_long_long=yes
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12263 ac_cv_type_long_long=no
12265 rm -f conftest.$ac_objext conftest.$ac_ext
12267 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12268 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12270 echo "$as_me:$LINENO: checking size of long long" >&5
12271 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12272 if test "${ac_cv_sizeof_long_long+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 if test "$ac_cv_type_long_long" = yes; then
12276 # The cast to unsigned long works around a bug in the HP C Compiler
12277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12279 # This bug is HP SR number 8606223364.
12280 if test "$cross_compiling" = yes; then
12281 # Depending upon the size, compute the lo and hi bounds.
12282 cat >conftest.$ac_ext <<_ACEOF
12283 #line $LINENO "configure"
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 $ac_includes_default
12293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12300 rm -f conftest.$ac_objext
12301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12302 (eval $ac_compile) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -s conftest.$ac_objext'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; }; then
12314 cat >conftest.$ac_ext <<_ACEOF
12315 #line $LINENO "configure"
12318 cat confdefs.h >>conftest.$ac_ext
12319 cat >>conftest.$ac_ext <<_ACEOF
12320 /* end confdefs.h. */
12321 $ac_includes_default
12325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12332 rm -f conftest.$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 ac_hi=$ac_mid; break
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 ac_lo=`expr $ac_mid + 1`
12350 if test $ac_lo -le $ac_mid; then
12354 ac_mid=`expr 2 '*' $ac_mid + 1`
12356 rm -f conftest.$ac_objext conftest.$ac_ext
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 cat >conftest.$ac_ext <<_ACEOF
12363 #line $LINENO "configure"
12366 cat confdefs.h >>conftest.$ac_ext
12367 cat >>conftest.$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12369 $ac_includes_default
12373 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12380 rm -f conftest.$ac_objext
12381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12382 (eval $ac_compile) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } &&
12386 { ac_try='test -s conftest.$ac_objext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12394 cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12401 $ac_includes_default
12405 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12412 rm -f conftest.$ac_objext
12413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12414 (eval $ac_compile) 2>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try='test -s conftest.$ac_objext'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; }; then
12424 ac_lo=$ac_mid; break
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.$ac_ext >&5
12429 ac_hi=`expr '(' $ac_mid ')' - 1`
12430 if test $ac_mid -le $ac_hi; then
12434 ac_mid=`expr 2 '*' $ac_mid`
12436 rm -f conftest.$ac_objext conftest.$ac_ext
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12444 rm -f conftest.$ac_objext conftest.$ac_ext
12446 rm -f conftest.$ac_objext conftest.$ac_ext
12447 # Binary search between lo and hi bounds.
12448 while test "x$ac_lo" != "x$ac_hi"; do
12449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12450 cat >conftest.$ac_ext <<_ACEOF
12451 #line $LINENO "configure"
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 $ac_includes_default
12461 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12468 rm -f conftest.$ac_objext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>&5
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
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.$ac_ext >&5
12485 ac_lo=`expr '(' $ac_mid ')' + 1`
12487 rm -f conftest.$ac_objext conftest.$ac_ext
12490 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12492 See \`config.log' for more details." >&5
12493 echo "$as_me: error: cannot compute sizeof (long long), 77
12494 See \`config.log' for more details." >&2;}
12495 { (exit 1); exit 1; }; } ;;
12498 if test "$cross_compiling" = yes; then
12499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12500 See \`config.log' for more details." >&5
12501 echo "$as_me: error: cannot run test program while cross compiling
12502 See \`config.log' for more details." >&2;}
12503 { (exit 1); exit 1; }; }
12505 cat >conftest.$ac_ext <<_ACEOF
12506 #line $LINENO "configure"
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512 $ac_includes_default
12513 long longval () { return (long) (sizeof (long long)); }
12514 unsigned long ulongval () { return (long) (sizeof (long long)); }
12516 #include <stdlib.h>
12521 FILE *f = fopen ("conftest.val", "w");
12524 if (((long) (sizeof (long long))) < 0)
12526 long i = longval ();
12527 if (i != ((long) (sizeof (long long))))
12529 fprintf (f, "%ld\n", i);
12533 unsigned long i = ulongval ();
12534 if (i != ((long) (sizeof (long long))))
12536 fprintf (f, "%lu\n", i);
12538 exit (ferror (f) || fclose (f) != 0);
12544 rm -f conftest$ac_exeext
12545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12546 (eval $ac_link) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 ac_cv_sizeof_long_long=`cat conftest.val`
12557 echo "$as_me: program exited with status $ac_status" >&5
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 ( exit $ac_status )
12562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
12563 See \`config.log' for more details." >&5
12564 echo "$as_me: error: cannot compute sizeof (long long), 77
12565 See \`config.log' for more details." >&2;}
12566 { (exit 1); exit 1; }; }
12568 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12573 ac_cv_sizeof_long_long=0
12576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12577 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
12578 cat >>confdefs.h <<_ACEOF
12579 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12584 VFS_SIZE="unsigned long"
12586 VFS_SIZE_IS="UNSIGNED_LONG"
12587 VFS_OFFSET_IS="LONG"
12588 VFS_SIZE_PRINTF="lu"
12589 VFS_OFFSET_PRINTF="ld"
12593 VFS_SIZE="unsigned int"
12595 VFS_SIZE_IS="UNSIGNED_INT"
12596 VFS_OFFSET_IS="INT"
12597 VFS_SIZE_PRINTF="u"
12598 VFS_OFFSET_PRINTF="d"
12600 $ac_cv_sizeof_long)
12601 # Nothing happens here, we are already using a long
12603 $ac_cv_sizeof_long_long)
12604 VFS_SIZE="unsigned long long"
12605 VFS_OFFSET="long long"
12606 VFS_SIZE_IS="UNSIGNED_LONG_LONG"
12607 VFS_OFFSET_IS="LONG_LONG"
12608 VFS_SIZE_PRINTF="Lu"
12609 VFS_OFFSET_PRINTF="Ld"
12626 for ac_header in sys/param.h sys/resource.h sys/vfs.h sys/mount.h sys/statvfs.h wctype.h
12628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12630 echo "$as_me:$LINENO: checking for $ac_header" >&5
12631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12638 # Is the header compilable?
12639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12641 cat >conftest.$ac_ext <<_ACEOF
12642 #line $LINENO "configure"
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 $ac_includes_default
12649 #include <$ac_header>
12651 rm -f conftest.$ac_objext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12653 (eval $ac_compile) 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try='test -s conftest.$ac_objext'
12658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659 (eval $ac_try) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }; }; then
12663 ac_header_compiler=yes
12665 echo "$as_me: failed program was:" >&5
12666 sed 's/^/| /' conftest.$ac_ext >&5
12668 ac_header_compiler=no
12670 rm -f conftest.$ac_objext conftest.$ac_ext
12671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12672 echo "${ECHO_T}$ac_header_compiler" >&6
12674 # Is the header present?
12675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12677 cat >conftest.$ac_ext <<_ACEOF
12678 #line $LINENO "configure"
12681 cat confdefs.h >>conftest.$ac_ext
12682 cat >>conftest.$ac_ext <<_ACEOF
12683 /* end confdefs.h. */
12684 #include <$ac_header>
12686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12689 grep -v '^ *+' conftest.er1 >conftest.err
12691 cat conftest.err >&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); } >/dev/null; then
12694 if test -s conftest.err; then
12695 ac_cpp_err=$ac_c_preproc_warn_flag
12702 if test -z "$ac_cpp_err"; then
12703 ac_header_preproc=yes
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12708 ac_header_preproc=no
12710 rm -f conftest.err conftest.$ac_ext
12711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12712 echo "${ECHO_T}$ac_header_preproc" >&6
12714 # So? What about this header?
12715 case $ac_header_compiler:$ac_header_preproc in
12717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12723 ## ------------------------------------ ##
12724 ## Report this to bug-autoconf@gnu.org. ##
12725 ## ------------------------------------ ##
12728 sed "s/^/$as_me: WARNING: /" >&2
12731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12739 ## ------------------------------------ ##
12740 ## Report this to bug-autoconf@gnu.org. ##
12741 ## ------------------------------------ ##
12744 sed "s/^/$as_me: WARNING: /" >&2
12747 echo "$as_me:$LINENO: checking for $ac_header" >&5
12748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 eval "$as_ac_Header=$ac_header_preproc"
12754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12759 cat >>confdefs.h <<_ACEOF
12760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12769 # Check whether --enable-profiler or --disable-profiler was given.
12770 if test "${enable_profiler+set}" = set; then
12771 enableval="$enable_profiler"
12773 cat >>confdefs.h <<\_ACEOF
12774 #define ENABLE_PROFILER 1
12779 if test "x$ENABLE_PROFILER" = "x1"
12781 CFLAGS="-g -O -gdwarf-2 -finstrument-functions -D__NO_STRING_INLINES"
12782 LDFLAGS="/gnome/PROFILE/lib/libprofiler.so -lpthread"
12788 if test "x$ENABLE_PROFILER" = "x1"; then
12789 ENABLE_PROFILER_TRUE=
12790 ENABLE_PROFILER_FALSE='#'
12792 ENABLE_PROFILER_TRUE='#'
12793 ENABLE_PROFILER_FALSE=
12797 # Check whether --enable-more-warnings or --disable-more-warnings was given.
12798 if test "${enable_more_warnings+set}" = set; then
12799 enableval="$enable_more_warnings"
12800 set_more_warnings="$enableval"
12803 if test -f $srcdir/CVSVERSION; then
12804 set_more_warnings=yes
12806 set_more_warnings=no
12811 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
12812 echo "enable compile warnings = $set_more_warnings"
12813 VFS_CFLAGS="-Wall -Werror \
12814 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
12815 -Wnested-externs -Wpointer-arith"
12817 for option in -Wno-strict-aliasing -Wno-sign-compare; do
12818 SAVE_CFLAGS="$CFLAGS"
12819 CFLAGS="$VFS_CFLAGS $option $CFLAGS"
12820 echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
12821 echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6
12822 cat >conftest.$ac_ext <<_ACEOF
12823 #line $LINENO "configure"
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12838 rm -f conftest.$ac_objext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.$ac_ext >&5
12857 rm -f conftest.$ac_objext conftest.$ac_ext
12858 CFLAGS="$SAVE_CFLAGS"
12859 if test $has_option = yes; then
12860 VFS_CFLAGS="$VFS_CFLAGS $option"
12862 echo "$as_me:$LINENO: result: $has_option" >&5
12863 echo "${ECHO_T}$has_option" >&6
12871 GNOME_VFS_DIR=`(cd $srcdir; pwd)`
12874 VFS_LIBS="-lgnomevfs $VFS_GLIB_LIBS"
12875 VFS_LIBDIR='-L${libdir}'
12876 VFS_INCLUDEDIR='-I${includedir} -I${libdir}/vfs/include'" $VFS_GLIB_CFLAGS"
12887 HAVE_LIBEFS_FALSE='#'
12889 HAVE_LIBEFS_TRUE='#'
12901 for ac_func in socket
12903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12904 echo "$as_me:$LINENO: checking for $ac_func" >&5
12905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12906 if eval "test \"\${$as_ac_var+set}\" = set"; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 cat >conftest.$ac_ext <<_ACEOF
12910 #line $LINENO "configure"
12913 cat confdefs.h >>conftest.$ac_ext
12914 cat >>conftest.$ac_ext <<_ACEOF
12915 /* end confdefs.h. */
12916 /* System header to define __stub macros and hopefully few prototypes,
12917 which can conflict with char $ac_func (); below.
12918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12919 <limits.h> exists even on freestanding compilers. */
12921 # include <limits.h>
12923 # include <assert.h>
12925 /* Override any gcc2 internal prototype to avoid an error. */
12930 /* We use char because int might match the return type of a gcc2
12931 builtin and then its argument prototype would still apply. */
12933 /* The GNU C library defines this for functions which it implements
12934 to always fail with ENOSYS. Some functions are actually named
12935 something starting with __ and the normal name is an alias. */
12936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12939 char (*f) () = $ac_func;
12948 return f != $ac_func;
12953 rm -f conftest.$ac_objext conftest$ac_exeext
12954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12955 (eval $ac_link) 2>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try='test -s conftest$ac_exeext'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; }; then
12965 eval "$as_ac_var=yes"
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.$ac_ext >&5
12970 eval "$as_ac_var=no"
12972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12976 if test `eval echo '${'$as_ac_var'}'` = yes; then
12977 cat >>confdefs.h <<_ACEOF
12978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12984 if test $have_socket = no; then
12985 # socket is not in the default libraries. See if it's in some other.
12986 for lib in bsd socket inet; do
12987 as_ac_Lib=`echo "ac_cv_lib_$lib''_socket" | $as_tr_sh`
12988 echo "$as_me:$LINENO: checking for socket in -l$lib" >&5
12989 echo $ECHO_N "checking for socket in -l$lib... $ECHO_C" >&6
12990 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 ac_check_lib_save_LIBS=$LIBS
12994 LIBS="-l$lib $LIBS"
12995 cat >conftest.$ac_ext <<_ACEOF
12996 #line $LINENO "configure"
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13003 /* Override any gcc2 internal prototype to avoid an error. */
13007 /* We use char because int might match the return type of a gcc2
13008 builtin and then its argument prototype would still apply. */
13018 rm -f conftest.$ac_objext conftest$ac_exeext
13019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13020 (eval $ac_link) 2>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } &&
13024 { ac_try='test -s conftest$ac_exeext'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; }; then
13030 eval "$as_ac_Lib=yes"
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.$ac_ext >&5
13035 eval "$as_ac_Lib=no"
13037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13038 LIBS=$ac_check_lib_save_LIBS
13040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
13041 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
13042 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13044 LIBS="$LIBS -l$lib"
13046 cat >>confdefs.h <<\_ACEOF
13047 #define HAVE_SOCKET 1
13056 have_gethostbyname=no
13057 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13058 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13059 if test "${ac_cv_func_gethostbyname+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 cat >conftest.$ac_ext <<_ACEOF
13063 #line $LINENO "configure"
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13069 /* System header to define __stub macros and hopefully few prototypes,
13070 which can conflict with char gethostbyname (); below.
13071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13072 <limits.h> exists even on freestanding compilers. */
13074 # include <limits.h>
13076 # include <assert.h>
13078 /* Override any gcc2 internal prototype to avoid an error. */
13083 /* We use char because int might match the return type of a gcc2
13084 builtin and then its argument prototype would still apply. */
13085 char gethostbyname ();
13086 /* The GNU C library defines this for functions which it implements
13087 to always fail with ENOSYS. Some functions are actually named
13088 something starting with __ and the normal name is an alias. */
13089 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13092 char (*f) () = gethostbyname;
13101 return f != gethostbyname;
13106 rm -f conftest.$ac_objext conftest$ac_exeext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13108 (eval $ac_link) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try='test -s conftest$ac_exeext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 ac_cv_func_gethostbyname=yes
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13123 ac_cv_func_gethostbyname=no
13125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13127 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13128 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13129 if test $ac_cv_func_gethostbyname = yes; then
13130 have_gethostbyname=yes
13133 if test $have_gethostbyname = no; then
13134 # gethostbyname is not in the default libraries. See if it's in some other.
13135 for lib in bsd socket inet; do
13136 as_ac_Lib=`echo "ac_cv_lib_$lib''_gethostbyname" | $as_tr_sh`
13137 echo "$as_me:$LINENO: checking for gethostbyname in -l$lib" >&5
13138 echo $ECHO_N "checking for gethostbyname in -l$lib... $ECHO_C" >&6
13139 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 ac_check_lib_save_LIBS=$LIBS
13143 LIBS="-l$lib $LIBS"
13144 cat >conftest.$ac_ext <<_ACEOF
13145 #line $LINENO "configure"
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13152 /* Override any gcc2 internal prototype to avoid an error. */
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13158 char gethostbyname ();
13167 rm -f conftest.$ac_objext conftest$ac_exeext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13169 (eval $ac_link) 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try='test -s conftest$ac_exeext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 eval "$as_ac_Lib=yes"
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13184 eval "$as_ac_Lib=no"
13186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
13190 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
13191 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13192 LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break
13198 echo "$as_me:$LINENO: checking for bzCompressInit in -lbz2" >&5
13199 echo $ECHO_N "checking for bzCompressInit in -lbz2... $ECHO_C" >&6
13200 if test "${ac_cv_lib_bz2_bzCompressInit+set}" = set; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13203 ac_check_lib_save_LIBS=$LIBS
13205 cat >conftest.$ac_ext <<_ACEOF
13206 #line $LINENO "configure"
13209 cat confdefs.h >>conftest.$ac_ext
13210 cat >>conftest.$ac_ext <<_ACEOF
13211 /* end confdefs.h. */
13213 /* Override any gcc2 internal prototype to avoid an error. */
13217 /* We use char because int might match the return type of a gcc2
13218 builtin and then its argument prototype would still apply. */
13219 char bzCompressInit ();
13228 rm -f conftest.$ac_objext conftest$ac_exeext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13230 (eval $ac_link) 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } &&
13234 { ac_try='test -s conftest$ac_exeext'
13235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 (eval $ac_try) 2>&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; }; then
13240 ac_cv_lib_bz2_bzCompressInit=yes
13242 echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.$ac_ext >&5
13245 ac_cv_lib_bz2_bzCompressInit=no
13247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_lib_save_LIBS
13250 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzCompressInit" >&5
13251 echo "${ECHO_T}$ac_cv_lib_bz2_bzCompressInit" >&6
13252 if test $ac_cv_lib_bz2_bzCompressInit = yes; then
13253 cat >>confdefs.h <<\_ACEOF
13254 #define HAVE_OLDER_BZIP2 1
13260 for ac_header in bzlib.h
13262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13264 echo "$as_me:$LINENO: checking for $ac_header" >&5
13265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13272 # Is the header compilable?
13273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13275 cat >conftest.$ac_ext <<_ACEOF
13276 #line $LINENO "configure"
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 $ac_includes_default
13283 #include <$ac_header>
13285 rm -f conftest.$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try='test -s conftest.$ac_objext'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; }; then
13297 ac_header_compiler=yes
13299 echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.$ac_ext >&5
13302 ac_header_compiler=no
13304 rm -f conftest.$ac_objext conftest.$ac_ext
13305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13306 echo "${ECHO_T}$ac_header_compiler" >&6
13308 # Is the header present?
13309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13311 cat >conftest.$ac_ext <<_ACEOF
13312 #line $LINENO "configure"
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318 #include <$ac_header>
13320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13323 grep -v '^ *+' conftest.er1 >conftest.err
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } >/dev/null; then
13328 if test -s conftest.err; then
13329 ac_cpp_err=$ac_c_preproc_warn_flag
13336 if test -z "$ac_cpp_err"; then
13337 ac_header_preproc=yes
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13342 ac_header_preproc=no
13344 rm -f conftest.err conftest.$ac_ext
13345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13346 echo "${ECHO_T}$ac_header_preproc" >&6
13348 # So? What about this header?
13349 case $ac_header_compiler:$ac_header_preproc in
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13357 ## ------------------------------------ ##
13358 ## Report this to bug-autoconf@gnu.org. ##
13359 ## ------------------------------------ ##
13362 sed "s/^/$as_me: WARNING: /" >&2
13365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13373 ## ------------------------------------ ##
13374 ## Report this to bug-autoconf@gnu.org. ##
13375 ## ------------------------------------ ##
13378 sed "s/^/$as_me: WARNING: /" >&2
13381 echo "$as_me:$LINENO: checking for $ac_header" >&5
13382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 eval "$as_ac_Header=$ac_header_preproc"
13388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13393 cat >>confdefs.h <<_ACEOF
13394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13396 BZ2_LIBS="$BZ2_LIBS -lbz2"
13398 { { echo "$as_me:$LINENO: error: Gnome-vfs requires libbz2 to compile." >&5
13399 echo "$as_me: error: Gnome-vfs requires libbz2 to compile." >&2;}
13400 { (exit 1); exit 1; }; }
13408 if test $have_socket = yes; then
13410 av_struct_linger=no
13411 echo "$as_me:$LINENO: checking struct linger is available" >&5
13412 echo $ECHO_N "checking struct linger is available... $ECHO_C" >&6
13413 if test "$cross_compiling" = yes; then
13415 av_struct_linger=no
13418 cat >conftest.$ac_ext <<_ACEOF
13419 #line $LINENO "configure"
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13426 #include <sys/types.h>
13427 #include <sys/socket.h>
13439 rm -f conftest$ac_exeext
13440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13441 (eval $ac_link) 2>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13451 cat >>confdefs.h <<\_ACEOF
13452 #define HAVE_STRUCT_LINGER 1
13455 av_struct_linger=yes
13458 echo "$as_me: program exited with status $ac_status" >&5
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 ( exit $ac_status )
13464 av_struct_linger=no
13467 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13469 echo "$as_me:$LINENO: result: $av_struct_linger" >&5
13470 echo "${ECHO_T}$av_struct_linger" >&6
13479 HAVE_CDDA_FALSE='#'
13486 for ac_header in cdda_interface.h cdda_paranoia.h
13488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo "$as_me:$LINENO: checking for $ac_header" >&5
13491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13498 # Is the header compilable?
13499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13501 cat >conftest.$ac_ext <<_ACEOF
13502 #line $LINENO "configure"
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508 $ac_includes_default
13509 #include <$ac_header>
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 ac_header_compiler=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13528 ac_header_compiler=no
13530 rm -f conftest.$ac_objext conftest.$ac_ext
13531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13532 echo "${ECHO_T}$ac_header_compiler" >&6
13534 # Is the header present?
13535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13537 cat >conftest.$ac_ext <<_ACEOF
13538 #line $LINENO "configure"
13541 cat confdefs.h >>conftest.$ac_ext
13542 cat >>conftest.$ac_ext <<_ACEOF
13543 /* end confdefs.h. */
13544 #include <$ac_header>
13546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13549 grep -v '^ *+' conftest.er1 >conftest.err
13551 cat conftest.err >&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } >/dev/null; then
13554 if test -s conftest.err; then
13555 ac_cpp_err=$ac_c_preproc_warn_flag
13562 if test -z "$ac_cpp_err"; then
13563 ac_header_preproc=yes
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13568 ac_header_preproc=no
13570 rm -f conftest.err conftest.$ac_ext
13571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13572 echo "${ECHO_T}$ac_header_preproc" >&6
13574 # So? What about this header?
13575 case $ac_header_compiler:$ac_header_preproc in
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13583 ## ------------------------------------ ##
13584 ## Report this to bug-autoconf@gnu.org. ##
13585 ## ------------------------------------ ##
13588 sed "s/^/$as_me: WARNING: /" >&2
13591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13599 ## ------------------------------------ ##
13600 ## Report this to bug-autoconf@gnu.org. ##
13601 ## ------------------------------------ ##
13604 sed "s/^/$as_me: WARNING: /" >&2
13607 echo "$as_me:$LINENO: checking for $ac_header" >&5
13608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 eval "$as_ac_Header=$ac_header_preproc"
13614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13619 cat >>confdefs.h <<_ACEOF
13620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13623 CDDA_LIBS="$CDDA_LIBS -lcdda_paranoia, -lcdda_interface"
13628 HAVE_CDDA_FALSE='#'
13640 echo "$as_me:$LINENO: checking for Solaris platform" >&5
13641 echo $ECHO_N "checking for Solaris platform... $ECHO_C" >&6
13643 *solaris*) build_cdemenu_module=yes ;;
13644 *) build_cdemenu_module=no ;;
13646 echo "$as_me:$LINENO: result: $build_cdemenu_module" >&5
13647 echo "${ECHO_T}$build_cdemenu_module" >&6
13650 if test "$build_cdemenu_module" = "yes"; then
13651 BUILD_CDEMENU_MODULE_TRUE=
13652 BUILD_CDEMENU_MODULE_FALSE='#'
13654 BUILD_CDEMENU_MODULE_TRUE='#'
13655 BUILD_CDEMENU_MODULE_FALSE=
13659 # Check whether --enable-openssl or --disable-openssl was given.
13660 if test "${enable_openssl+set}" = set; then
13661 enableval="$enable_openssl"
13664 if test "x$enable_openssl" != "xno"; then
13668 if test -z "$PKG_CONFIG"; then
13669 # Extract the first word of "pkg-config", so it can be a program name with args.
13670 set dummy pkg-config; ac_word=$2
13671 echo "$as_me:$LINENO: checking for $ac_word" >&5
13672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 case $PKG_CONFIG in
13678 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13682 for as_dir in $PATH
13685 test -z "$as_dir" && as_dir=.
13686 for ac_exec_ext in '' $ac_executable_extensions; do
13687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13688 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13695 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13699 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13701 if test -n "$PKG_CONFIG"; then
13702 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13703 echo "${ECHO_T}$PKG_CONFIG" >&6
13705 echo "$as_me:$LINENO: result: no" >&5
13706 echo "${ECHO_T}no" >&6
13711 if test "$PKG_CONFIG" = "no" ; then
13712 echo "*** The pkg-config script could not be found. Make sure it is"
13713 echo "*** in your path, or set the PKG_CONFIG environment variable"
13714 echo "*** to the full path to pkg-config."
13715 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13717 PKG_CONFIG_MIN_VERSION=0.9.0
13718 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13719 echo "$as_me:$LINENO: checking for openssl" >&5
13720 echo $ECHO_N "checking for openssl... $ECHO_C" >&6
13722 if $PKG_CONFIG --exists "openssl" ; then
13723 echo "$as_me:$LINENO: result: yes" >&5
13724 echo "${ECHO_T}yes" >&6
13727 echo "$as_me:$LINENO: checking OPENSSL_CFLAGS" >&5
13728 echo $ECHO_N "checking OPENSSL_CFLAGS... $ECHO_C" >&6
13729 OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl"`
13730 echo "$as_me:$LINENO: result: $OPENSSL_CFLAGS" >&5
13731 echo "${ECHO_T}$OPENSSL_CFLAGS" >&6
13733 echo "$as_me:$LINENO: checking OPENSSL_LIBS" >&5
13734 echo $ECHO_N "checking OPENSSL_LIBS... $ECHO_C" >&6
13735 OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl"`
13736 echo "$as_me:$LINENO: result: $OPENSSL_LIBS" >&5
13737 echo "${ECHO_T}$OPENSSL_LIBS" >&6
13741 ## If we have a custom action on failure, don't print errors, but
13742 ## do set a variable so people can do so.
13743 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl"`
13750 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13751 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13755 if test $succeeded = yes; then
13768 # Check whether --with-openssl-includes or --without-openssl-includes was given.
13769 if test "${with_openssl_includes+set}" = set; then
13770 withval="$with_openssl_includes"
13771 with_openssl_includes="$withval"
13773 with_openssl_includes="/usr/include"
13775 have_openssl_includes="no"
13776 if test "x${with_openssl_includes}" != "xno"; then
13777 CPPFLAGS_save="$CPPFLAGS"
13779 echo "$as_me:$LINENO: checking for OpenSSL includes" >&5
13780 echo $ECHO_N "checking for OpenSSL includes... $ECHO_C" >&6
13781 echo "$as_me:$LINENO: result: \"\"" >&5
13782 echo "${ECHO_T}\"\"" >&6
13784 CPPFLAGS="$CPPFLAGS -I$with_openssl_includes"
13787 for ac_header in openssl/ssl.h openssl/x509.h
13789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13791 echo "$as_me:$LINENO: checking for $ac_header" >&5
13792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13794 echo $ECHO_N "(cached) $ECHO_C" >&6
13796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13799 # Is the header compilable?
13800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13802 cat >conftest.$ac_ext <<_ACEOF
13803 #line $LINENO "configure"
13806 cat confdefs.h >>conftest.$ac_ext
13807 cat >>conftest.$ac_ext <<_ACEOF
13808 /* end confdefs.h. */
13809 $ac_includes_default
13810 #include <$ac_header>
13812 rm -f conftest.$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_header_compiler=yes
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.$ac_ext >&5
13829 ac_header_compiler=no
13831 rm -f conftest.$ac_objext conftest.$ac_ext
13832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13833 echo "${ECHO_T}$ac_header_compiler" >&6
13835 # Is the header present?
13836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13838 cat >conftest.$ac_ext <<_ACEOF
13839 #line $LINENO "configure"
13842 cat confdefs.h >>conftest.$ac_ext
13843 cat >>conftest.$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 #include <$ac_header>
13847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13850 grep -v '^ *+' conftest.er1 >conftest.err
13852 cat conftest.err >&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } >/dev/null; then
13855 if test -s conftest.err; then
13856 ac_cpp_err=$ac_c_preproc_warn_flag
13863 if test -z "$ac_cpp_err"; then
13864 ac_header_preproc=yes
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13869 ac_header_preproc=no
13871 rm -f conftest.err conftest.$ac_ext
13872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13873 echo "${ECHO_T}$ac_header_preproc" >&6
13875 # So? What about this header?
13876 case $ac_header_compiler:$ac_header_preproc in
13878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13884 ## ------------------------------------ ##
13885 ## Report this to bug-autoconf@gnu.org. ##
13886 ## ------------------------------------ ##
13889 sed "s/^/$as_me: WARNING: /" >&2
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13900 ## ------------------------------------ ##
13901 ## Report this to bug-autoconf@gnu.org. ##
13902 ## ------------------------------------ ##
13905 sed "s/^/$as_me: WARNING: /" >&2
13908 echo "$as_me:$LINENO: checking for $ac_header" >&5
13909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 eval "$as_ac_Header=$ac_header_preproc"
13915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13920 cat >>confdefs.h <<_ACEOF
13921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13923 openssl_includes="yes"
13928 CPPFLAGS="$CPPFLAGS_save"
13930 if test "x{$openssl_includes}" != "xno" -a "x{$openssl_includes}" != "x"; then
13931 have_openssl_includes="yes"
13932 if test "${with_openssl_includes}" != "/usr/include" ; then
13933 OPENSSL_CFLAGS="-I$with_openssl_includes"
13941 echo "$as_me:$LINENO: checking for OpenSSL includes" >&5
13942 echo $ECHO_N "checking for OpenSSL includes... $ECHO_C" >&6
13943 echo "$as_me:$LINENO: result: no" >&5
13944 echo "${ECHO_T}no" >&6
13948 # Check whether --with-openssl-libs or --without-openssl-libs was given.
13949 if test "${with_openssl_libs+set}" = set; then
13950 withval="$with_openssl_libs"
13951 with_openssl_libs="$withval"
13953 with_openssl_libs="/usr/lib"
13956 if test "x${with_openssl_libs}" != "xno" -a "x${have_openssl_includes}" != "xno"; then
13957 LDFLAGS_save="$LDFLAGS"
13959 echo "$as_me:$LINENO: checking for OpenSSL libraries" >&5
13960 echo $ECHO_N "checking for OpenSSL libraries... $ECHO_C" >&6
13961 if test "${openssl_libs+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
13966 cat >conftest.$ac_ext <<_ACEOF
13967 #line $LINENO "configure"
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h. */
13974 /* Override any gcc2 internal prototype to avoid an error. */
13978 /* We use char because int might match the return type of a gcc2
13979 builtin and then its argument prototype would still apply. */
13989 rm -f conftest.$ac_objext conftest$ac_exeext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13991 (eval $ac_link) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } &&
13995 { ac_try='test -s conftest$ac_exeext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14009 LDFLAGS="$LDFLAGS_save"
14012 echo "$as_me:$LINENO: result: $openssl_libs" >&5
14013 echo "${ECHO_T}$openssl_libs" >&6
14014 if test "x${openssl_libs}" != "xno"; then
14015 cat >>confdefs.h <<\_ACEOF
14016 #define HAVE_OPENSSL 1
14020 if test x$with_openssl_libs != x/usr/lib; then
14021 OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcrypto"
14023 OPENSSL_LIBS="-lssl -lcrypto"
14048 echo "$as_me:$LINENO: checking for OpenSSL libraries" >&5
14049 echo $ECHO_N "checking for OpenSSL libraries... $ECHO_C" >&6
14050 echo "$as_me:$LINENO: result: no" >&5
14051 echo "${ECHO_T}no" >&6
14060 # Check whether --enable-gnutls or --disable-gnutls was given.
14061 if test "${enable_gnutls+set}" = set; then
14062 enableval="$enable_gnutls"
14065 if test "x$enable_gnutls" = "xyes"; then
14066 if test "x${OPENSSL_LIBS}" != "x"; then
14067 { { echo "$as_me:$LINENO: error: *** Can't use both openssl and gnutls at the same time. Please pick one only. ***" >&5
14068 echo "$as_me: error: *** Can't use both openssl and gnutls at the same time. Please pick one only. ***" >&2;}
14069 { (exit 1); exit 1; }; }
14072 # Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
14073 if test "${with_libgnutls_prefix+set}" = set; then
14074 withval="$with_libgnutls_prefix"
14075 libgnutls_config_prefix="$withval"
14077 libgnutls_config_prefix=""
14080 if test x$libgnutls_config_prefix != x ; then
14081 libgnutls_config_args="$libgnutls_config_args --prefix=$libgnutls_config_prefix"
14082 if test x${LIBGNUTLS_CONFIG+set} != xset ; then
14083 LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
14087 # Extract the first word of "libgnutls-config", so it can be a program name with args.
14088 set dummy libgnutls-config; ac_word=$2
14089 echo "$as_me:$LINENO: checking for $ac_word" >&5
14090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14091 if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 case $LIBGNUTLS_CONFIG in
14096 ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
14099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100 for as_dir in $PATH
14103 test -z "$as_dir" && as_dir=.
14104 for ac_exec_ext in '' $ac_executable_extensions; do
14105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14106 ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14113 test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
14117 LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
14119 if test -n "$LIBGNUTLS_CONFIG"; then
14120 echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
14121 echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
14123 echo "$as_me:$LINENO: result: no" >&5
14124 echo "${ECHO_T}no" >&6
14127 min_libgnutls_version=0.5.1
14128 echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
14129 echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6
14131 if test "$LIBGNUTLS_CONFIG" = "no" ; then
14134 LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
14135 LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
14136 libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
14139 ac_save_CFLAGS="$CFLAGS"
14140 ac_save_LIBS="$LIBS"
14141 CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
14142 LIBS="$LIBS $LIBGNUTLS_LIBS"
14143 rm -f conf.libgnutlstest
14144 if test "$cross_compiling" = yes; then
14145 echo $ac_n "cross compiling; assumed OK... $ac_c"
14147 cat >conftest.$ac_ext <<_ACEOF
14148 #line $LINENO "configure"
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14156 #include <stdlib.h>
14157 #include <string.h>
14158 #include <gnutls/gnutls.h>
14163 system ("touch conf.libgnutlstest");
14165 if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
14167 printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
14168 "$libgnutls_config_version", gnutls_check_version(NULL) );
14169 printf("*** was found! If libgnutls-config was correct, then it is best\n");
14170 printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
14171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
14172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
14173 printf("*** required on your system.\n");
14174 printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
14175 printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
14176 printf("*** before re-running configure\n");
14178 else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
14180 printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
14181 printf("*** library (version %s)\n", gnutls_check_version(NULL) );
14185 if ( gnutls_check_version( "$min_libgnutls_version" ) )
14191 printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
14192 gnutls_check_version(NULL) );
14193 printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
14194 "$min_libgnutls_version" );
14195 printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
14197 printf("*** If you have already installed a sufficiently new version, this error\n");
14198 printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
14199 printf("*** being found. The easiest way to fix this is to remove the old version\n");
14200 printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
14201 printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
14202 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
14203 printf("*** so that the correct libraries are found at run-time))\n");
14210 rm -f conftest$ac_exeext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14212 (eval $ac_link) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; }; then
14223 echo "$as_me: program exited with status $ac_status" >&5
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14227 ( exit $ac_status )
14230 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14232 CFLAGS="$ac_save_CFLAGS"
14233 LIBS="$ac_save_LIBS"
14236 if test "x$no_libgnutls" = x ; then
14237 echo "$as_me:$LINENO: result: yes" >&5
14238 echo "${ECHO_T}yes" >&6
14239 cat >>confdefs.h <<\_ACEOF
14240 #define HAVE_GNUTLS 1
14244 if test -f conf.libgnutlstest ; then
14247 echo "$as_me:$LINENO: result: no" >&5
14248 echo "${ECHO_T}no" >&6
14250 if test "$LIBGNUTLS_CONFIG" = "no" ; then
14251 echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
14252 echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
14253 echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
14254 echo "*** full path to libgnutls-config."
14256 if test -f conf.libgnutlstest ; then
14259 echo "*** Could not run libgnutls test program, checking why..."
14260 CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
14261 LIBS="$LIBS $LIBGNUTLS_LIBS"
14262 cat >conftest.$ac_ext <<_ACEOF
14263 #line $LINENO "configure"
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14271 #include <stdlib.h>
14272 #include <string.h>
14273 #include <gnutls/gnutls.h>
14278 return !!gnutls_check_version(NULL);
14283 rm -f conftest.$ac_objext conftest$ac_exeext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14285 (eval $ac_link) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } &&
14289 { ac_try='test -s conftest$ac_exeext'
14290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14291 (eval $ac_try) 2>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); }; }; then
14295 echo "*** The test program compiled, but did not run. This usually means"
14296 echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
14297 echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
14298 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14299 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14300 echo "*** is required on your system"
14302 echo "*** If you have an old version installed, it is best to remove it, although"
14303 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14309 echo "*** The test program failed to compile or link. See the file config.log for the"
14310 echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
14311 echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
14312 echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
14314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14315 CFLAGS="$ac_save_CFLAGS"
14316 LIBS="$ac_save_LIBS"
14319 LIBGNUTLS_CFLAGS=""
14321 { { echo "$as_me:$LINENO: error: Unable to find GNUTLS" >&5
14322 echo "$as_me: error: Unable to find GNUTLS" >&2;}
14323 { (exit 1); exit 1; }; }
14325 rm -f conf.libgnutlstest
14335 if test -z "$PKG_CONFIG"; then
14336 # Extract the first word of "pkg-config", so it can be a program name with args.
14337 set dummy pkg-config; ac_word=$2
14338 echo "$as_me:$LINENO: checking for $ac_word" >&5
14339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14340 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14343 case $PKG_CONFIG in
14345 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14349 for as_dir in $PATH
14352 test -z "$as_dir" && as_dir=.
14353 for ac_exec_ext in '' $ac_executable_extensions; do
14354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14355 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14362 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14366 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14368 if test -n "$PKG_CONFIG"; then
14369 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14370 echo "${ECHO_T}$PKG_CONFIG" >&6
14372 echo "$as_me:$LINENO: result: no" >&5
14373 echo "${ECHO_T}no" >&6
14378 if test "$PKG_CONFIG" = "no" ; then
14379 echo "*** The pkg-config script could not be found. Make sure it is"
14380 echo "*** in your path, or set the PKG_CONFIG environment variable"
14381 echo "*** to the full path to pkg-config."
14382 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14384 PKG_CONFIG_MIN_VERSION=0.9.0
14385 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14386 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0" >&5
14387 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0... $ECHO_C" >&6
14389 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0" ; then
14390 echo "$as_me:$LINENO: result: yes" >&5
14391 echo "${ECHO_T}yes" >&6
14394 echo "$as_me:$LINENO: checking LIBGNOMEVFS_CFLAGS" >&5
14395 echo $ECHO_N "checking LIBGNOMEVFS_CFLAGS... $ECHO_C" >&6
14396 LIBGNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0"`
14397 echo "$as_me:$LINENO: result: $LIBGNOMEVFS_CFLAGS" >&5
14398 echo "${ECHO_T}$LIBGNOMEVFS_CFLAGS" >&6
14400 echo "$as_me:$LINENO: checking LIBGNOMEVFS_LIBS" >&5
14401 echo $ECHO_N "checking LIBGNOMEVFS_LIBS... $ECHO_C" >&6
14402 LIBGNOMEVFS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0"`
14403 echo "$as_me:$LINENO: result: $LIBGNOMEVFS_LIBS" >&5
14404 echo "${ECHO_T}$LIBGNOMEVFS_LIBS" >&6
14406 LIBGNOMEVFS_CFLAGS=""
14407 LIBGNOMEVFS_LIBS=""
14408 ## If we have a custom action on failure, don't print errors, but
14409 ## do set a variable so people can do so.
14410 LIBGNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0"`
14411 echo $LIBGNOMEVFS_PKG_ERRORS
14417 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14418 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14422 if test $succeeded = yes; then
14425 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-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
14426 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED ORBit-2.0 >= $ORBIT_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-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;}
14427 { (exit 1); exit 1; }; }
14430 LIBGNOMEVFS_CFLAGS="$LIBGNOMEVFS_CFLAGS $OPENSSL_CFLAGS $LIBGNUTLS_CFLAGS"
14431 LIBGNOMEVFS_LIBS="$LIBGNOMEVFS_LIBS $OPENSSL_LIBS $LIBGNUTLS_LIBS"
14437 FAM_MISSING_WARNING="Gnome-vfs depends on FAM to provide notification when files are altered (either through filesystem polling, or a kernel notification mechanism). If Gnome-vfs is built without FAM support, directories viewed with Nautilus or other applications will not remain in synch with the actual filesystem when they are altered by external processes. Particularly if you are a distributor please compile Nautilus with FAM support. FAM is available from http://oss.sgi.com/projects/fam/. A patch to add Linux Kernel 2.4 directory notify support to FAM (highly desirable) is available from http://people.redhat.com/alexl/files/"
14439 echo "$as_me:$LINENO: checking for FAMOpen in -lfam" >&5
14440 echo $ECHO_N "checking for FAMOpen in -lfam... $ECHO_C" >&6
14441 if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 ac_check_lib_save_LIBS=$LIBS
14446 cat >conftest.$ac_ext <<_ACEOF
14447 #line $LINENO "configure"
14450 cat confdefs.h >>conftest.$ac_ext
14451 cat >>conftest.$ac_ext <<_ACEOF
14452 /* end confdefs.h. */
14454 /* Override any gcc2 internal prototype to avoid an error. */
14458 /* We use char because int might match the return type of a gcc2
14459 builtin and then its argument prototype would still apply. */
14469 rm -f conftest.$ac_objext conftest$ac_exeext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14471 (eval $ac_link) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } &&
14475 { ac_try='test -s conftest$ac_exeext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 ac_cv_lib_fam_FAMOpen=yes
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14486 ac_cv_lib_fam_FAMOpen=no
14488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 echo "$as_me:$LINENO: result: $ac_cv_lib_fam_FAMOpen" >&5
14492 echo "${ECHO_T}$ac_cv_lib_fam_FAMOpen" >&6
14493 if test $ac_cv_lib_fam_FAMOpen = yes; then
14495 for ac_header in fam.h
14497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14499 echo "$as_me:$LINENO: checking for $ac_header" >&5
14500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14507 # Is the header compilable?
14508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14510 cat >conftest.$ac_ext <<_ACEOF
14511 #line $LINENO "configure"
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 $ac_includes_default
14518 #include <$ac_header>
14520 rm -f conftest.$ac_objext
14521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522 (eval $ac_compile) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -s conftest.$ac_objext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14532 ac_header_compiler=yes
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.$ac_ext >&5
14537 ac_header_compiler=no
14539 rm -f conftest.$ac_objext conftest.$ac_ext
14540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14541 echo "${ECHO_T}$ac_header_compiler" >&6
14543 # Is the header present?
14544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14546 cat >conftest.$ac_ext <<_ACEOF
14547 #line $LINENO "configure"
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14553 #include <$ac_header>
14555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14558 grep -v '^ *+' conftest.er1 >conftest.err
14560 cat conftest.err >&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } >/dev/null; then
14563 if test -s conftest.err; then
14564 ac_cpp_err=$ac_c_preproc_warn_flag
14571 if test -z "$ac_cpp_err"; then
14572 ac_header_preproc=yes
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14577 ac_header_preproc=no
14579 rm -f conftest.err conftest.$ac_ext
14580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14581 echo "${ECHO_T}$ac_header_preproc" >&6
14583 # So? What about this header?
14584 case $ac_header_compiler:$ac_header_preproc in
14586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14592 ## ------------------------------------ ##
14593 ## Report this to bug-autoconf@gnu.org. ##
14594 ## ------------------------------------ ##
14597 sed "s/^/$as_me: WARNING: /" >&2
14600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14608 ## ------------------------------------ ##
14609 ## Report this to bug-autoconf@gnu.org. ##
14610 ## ------------------------------------ ##
14613 sed "s/^/$as_me: WARNING: /" >&2
14616 echo "$as_me:$LINENO: checking for $ac_header" >&5
14617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 eval "$as_ac_Header=$ac_header_preproc"
14623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14628 cat >>confdefs.h <<_ACEOF
14629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14631 cat >>confdefs.h <<\_ACEOF
14637 { echo "$as_me:$LINENO: WARNING: *** FAM support will not be built (header files not found) $FAM_MISSING_WARNING ***" >&5
14638 echo "$as_me: WARNING: *** FAM support will not be built (header files not found) $FAM_MISSING_WARNING ***" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: *** FAM support will not be built (FAM library not found) $FAM_MISSING_WARNING ***" >&5
14645 echo "$as_me: WARNING: *** FAM support will not be built (FAM library not found) $FAM_MISSING_WARNING ***" >&2;}
14655 # Check whether --with-html-dir or --without-html-dir was given.
14656 if test "${with_html_dir+set}" = set; then
14657 withval="$with_html_dir"
14661 if test "x$with_html_dir" = "x" ; then
14662 HTML_DIR='${datadir}/gtk-doc/html'
14664 HTML_DIR=$with_html_dir
14669 # Extract the first word of "gtkdoc-mkdb", so it can be a program name with args.
14670 set dummy gtkdoc-mkdb; ac_word=$2
14671 echo "$as_me:$LINENO: checking for $ac_word" >&5
14672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14673 if test "${ac_cv_prog_GTKDOC+set}" = set; then
14674 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 if test -n "$GTKDOC"; then
14677 ac_cv_prog_GTKDOC="$GTKDOC" # Let the user override the test.
14679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14680 for as_dir in $PATH
14683 test -z "$as_dir" && as_dir=.
14684 for ac_exec_ext in '' $ac_executable_extensions; do
14685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14686 ac_cv_prog_GTKDOC="true"
14687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14693 test -z "$ac_cv_prog_GTKDOC" && ac_cv_prog_GTKDOC="false"
14696 GTKDOC=$ac_cv_prog_GTKDOC
14697 if test -n "$GTKDOC"; then
14698 echo "$as_me:$LINENO: result: $GTKDOC" >&5
14699 echo "${ECHO_T}$GTKDOC" >&6
14701 echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6
14706 gtk_doc_min_version=0.10
14708 gtk_doc_version=`gtkdoc-mkdb --version`
14709 echo "$as_me:$LINENO: checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version" >&5
14710 echo $ECHO_N "checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version... $ECHO_C" >&6
14712 IFS="${IFS= }"; gnome_vfs_save_IFS="$IFS"; IFS="."
14713 set $gtk_doc_version
14714 for min in $gtk_doc_min_version ; do
14716 if test -z $min ; then break; fi
14717 if test -z $cur ; then GTKDOC=false; break; fi
14718 if test $cur -gt $min ; then break ; fi
14719 if test $cur -lt $min ; then GTKDOC=false; break ; fi
14721 IFS="$gnome_vfs_save_IFS"
14724 echo "$as_me:$LINENO: result: yes" >&5
14725 echo "${ECHO_T}yes" >&6
14727 echo "$as_me:$LINENO: result: no" >&5
14728 echo "${ECHO_T}no" >&6
14732 # Extract the first word of "db2html", so it can be a program name with args.
14733 set dummy db2html; ac_word=$2
14734 echo "$as_me:$LINENO: checking for $ac_word" >&5
14735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14736 if test "${ac_cv_prog_DB2HTML+set}" = set; then
14737 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 if test -n "$DB2HTML"; then
14740 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
14742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14743 for as_dir in $PATH
14746 test -z "$as_dir" && as_dir=.
14747 for ac_exec_ext in '' $ac_executable_extensions; do
14748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14749 ac_cv_prog_DB2HTML="true"
14750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14756 test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
14759 DB2HTML=$ac_cv_prog_DB2HTML
14760 if test -n "$DB2HTML"; then
14761 echo "$as_me:$LINENO: result: $DB2HTML" >&5
14762 echo "${ECHO_T}$DB2HTML" >&6
14764 echo "$as_me:$LINENO: result: no" >&5
14765 echo "${ECHO_T}no" >&6
14772 HAVE_DOCBOOK_FALSE='#'
14774 HAVE_DOCBOOK_TRUE='#'
14775 HAVE_DOCBOOK_FALSE=
14782 HAVE_GTK_DOC_FALSE='#'
14784 HAVE_GTK_DOC_TRUE='#'
14785 HAVE_GTK_DOC_FALSE=
14789 # Check whether --enable-gtk-doc or --disable-gtk-doc was given.
14790 if test "${enable_gtk_doc+set}" = set; then
14791 enableval="$enable_gtk_doc"
14792 enable_gtk_doc="$enableval"
14794 enable_gtk_doc=auto
14797 if test "x$enable_gtk_doc" = xauto ; then
14798 if test "x$GTKDOC" = xtrue ; then
14807 if test x$enable_gtk_doc = xyes; then
14808 ENABLE_GTK_DOC_TRUE=
14809 ENABLE_GTK_DOC_FALSE='#'
14811 ENABLE_GTK_DOC_TRUE='#'
14812 ENABLE_GTK_DOC_FALSE=
14819 # Check whether --with-afs or --without-afs was given.
14820 if test "${with_afs+set}" = set; then
14821 withval="$with_afs"
14822 cat >>confdefs.h <<\_ACEOF
14826 CPPFLAGS="$CPPFLAGS -I/usr/afsws/include"
14827 LIBS="$LIBS -L/usr/afsws/lib -L/usr/afsws/lib/afs -lsys -lrx -llwp"
14830 echo "$as_me:$LINENO: checking how to get filesystem type" >&5
14831 echo $ECHO_N "checking how to get filesystem type... $ECHO_C" >&6
14833 # The order of these tests is important.
14834 cat >conftest.$ac_ext <<_ACEOF
14835 #line $LINENO "configure"
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14841 #include <sys/statvfs.h>
14842 #include <sys/fstyp.h>
14844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1 >conftest.err
14849 cat conftest.err >&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } >/dev/null; then
14852 if test -s conftest.err; then
14853 ac_cpp_err=$ac_c_preproc_warn_flag
14860 if test -z "$ac_cpp_err"; then
14861 cat >>confdefs.h <<\_ACEOF
14862 #define FSTYPE_STATVFS 1
14866 echo "$as_me: failed program was:" >&5
14867 sed 's/^/| /' conftest.$ac_ext >&5
14871 rm -f conftest.err conftest.$ac_ext
14872 if test $fstype = no; then
14873 cat >conftest.$ac_ext <<_ACEOF
14874 #line $LINENO "configure"
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14880 #include <sys/statfs.h>
14881 #include <sys/fstyp.h>
14883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14886 grep -v '^ *+' conftest.er1 >conftest.err
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } >/dev/null; then
14891 if test -s conftest.err; then
14892 ac_cpp_err=$ac_c_preproc_warn_flag
14899 if test -z "$ac_cpp_err"; then
14900 cat >>confdefs.h <<\_ACEOF
14901 #define FSTYPE_USG_STATFS 1
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14910 rm -f conftest.err conftest.$ac_ext
14912 if test $fstype = no; then
14913 cat >conftest.$ac_ext <<_ACEOF
14914 #line $LINENO "configure"
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 #include <sys/statfs.h>
14921 #include <sys/vmount.h>
14923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14926 grep -v '^ *+' conftest.er1 >conftest.err
14928 cat conftest.err >&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } >/dev/null; then
14931 if test -s conftest.err; then
14932 ac_cpp_err=$ac_c_preproc_warn_flag
14939 if test -z "$ac_cpp_err"; then
14940 cat >>confdefs.h <<\_ACEOF
14941 #define FSTYPE_AIX_STATFS 1
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.$ac_ext >&5
14950 rm -f conftest.err conftest.$ac_ext
14952 if test $fstype = no; then
14953 cat >conftest.$ac_ext <<_ACEOF
14954 #line $LINENO "configure"
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 #include <mntent.h>
14962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14965 grep -v '^ *+' conftest.er1 >conftest.err
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } >/dev/null; then
14970 if test -s conftest.err; then
14971 ac_cpp_err=$ac_c_preproc_warn_flag
14978 if test -z "$ac_cpp_err"; then
14979 cat >>confdefs.h <<\_ACEOF
14980 #define FSTYPE_MNTENT 1
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14989 rm -f conftest.err conftest.$ac_ext
14991 if test $fstype = no; then
14992 cat >conftest.$ac_ext <<_ACEOF
14993 #line $LINENO "configure"
14996 cat confdefs.h >>conftest.$ac_ext
14997 cat >>conftest.$ac_ext <<_ACEOF
14998 /* end confdefs.h. */
14999 #include <sys/mount.h>
15002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15003 $EGREP "f_type;" >/dev/null 2>&1; then
15004 cat >>confdefs.h <<\_ACEOF
15005 #define FSTYPE_STATFS 1
15012 if test $fstype = no; then
15013 cat >conftest.$ac_ext <<_ACEOF
15014 #line $LINENO "configure"
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 #include <sys/mount.h>
15021 #include <sys/fs_types.h>
15023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15026 grep -v '^ *+' conftest.er1 >conftest.err
15028 cat conftest.err >&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } >/dev/null; then
15031 if test -s conftest.err; then
15032 ac_cpp_err=$ac_c_preproc_warn_flag
15039 if test -z "$ac_cpp_err"; then
15040 cat >>confdefs.h <<\_ACEOF
15041 #define FSTYPE_GETMNT 1
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15050 rm -f conftest.err conftest.$ac_ext
15052 echo "$as_me:$LINENO: result: $fstype" >&5
15053 echo "${ECHO_T}$fstype" >&6
15056 echo "$as_me:$LINENO: checking for poptGetArg in -lpopt" >&5
15057 echo $ECHO_N "checking for poptGetArg in -lpopt... $ECHO_C" >&6
15058 if test "${ac_cv_lib_popt_poptGetArg+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 ac_check_lib_save_LIBS=$LIBS
15062 LIBS="-lpopt $LIBS"
15063 cat >conftest.$ac_ext <<_ACEOF
15064 #line $LINENO "configure"
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15071 /* Override any gcc2 internal prototype to avoid an error. */
15075 /* We use char because int might match the return type of a gcc2
15076 builtin and then its argument prototype would still apply. */
15077 char poptGetArg ();
15086 rm -f conftest.$ac_objext conftest$ac_exeext
15087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15088 (eval $ac_link) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } &&
15092 { ac_try='test -s conftest$ac_exeext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_cv_lib_popt_poptGetArg=yes
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 ac_cv_lib_popt_poptGetArg=no
15105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_lib_save_LIBS
15108 echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptGetArg" >&5
15109 echo "${ECHO_T}$ac_cv_lib_popt_poptGetArg" >&6
15110 if test $ac_cv_lib_popt_poptGetArg = yes; then
15113 if test "${ac_cv_header_popt_h+set}" = set; then
15114 echo "$as_me:$LINENO: checking for popt.h" >&5
15115 echo $ECHO_N "checking for popt.h... $ECHO_C" >&6
15116 if test "${ac_cv_header_popt_h+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 echo "$as_me:$LINENO: result: $ac_cv_header_popt_h" >&5
15120 echo "${ECHO_T}$ac_cv_header_popt_h" >&6
15122 # Is the header compilable?
15123 echo "$as_me:$LINENO: checking popt.h usability" >&5
15124 echo $ECHO_N "checking popt.h usability... $ECHO_C" >&6
15125 cat >conftest.$ac_ext <<_ACEOF
15126 #line $LINENO "configure"
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 $ac_includes_default
15135 rm -f conftest.$ac_objext
15136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15137 (eval $ac_compile) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); } &&
15141 { ac_try='test -s conftest.$ac_objext'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15147 ac_header_compiler=yes
15149 echo "$as_me: failed program was:" >&5
15150 sed 's/^/| /' conftest.$ac_ext >&5
15152 ac_header_compiler=no
15154 rm -f conftest.$ac_objext conftest.$ac_ext
15155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15156 echo "${ECHO_T}$ac_header_compiler" >&6
15158 # Is the header present?
15159 echo "$as_me:$LINENO: checking popt.h presence" >&5
15160 echo $ECHO_N "checking popt.h presence... $ECHO_C" >&6
15161 cat >conftest.$ac_ext <<_ACEOF
15162 #line $LINENO "configure"
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15173 grep -v '^ *+' conftest.er1 >conftest.err
15175 cat conftest.err >&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } >/dev/null; then
15178 if test -s conftest.err; then
15179 ac_cpp_err=$ac_c_preproc_warn_flag
15186 if test -z "$ac_cpp_err"; then
15187 ac_header_preproc=yes
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15192 ac_header_preproc=no
15194 rm -f conftest.err conftest.$ac_ext
15195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15196 echo "${ECHO_T}$ac_header_preproc" >&6
15198 # So? What about this header?
15199 case $ac_header_compiler:$ac_header_preproc in
15201 { echo "$as_me:$LINENO: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&5
15202 echo "$as_me: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15203 { echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5
15204 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;}
15207 ## ------------------------------------ ##
15208 ## Report this to bug-autoconf@gnu.org. ##
15209 ## ------------------------------------ ##
15212 sed "s/^/$as_me: WARNING: /" >&2
15215 { echo "$as_me:$LINENO: WARNING: popt.h: present but cannot be compiled" >&5
15216 echo "$as_me: WARNING: popt.h: present but cannot be compiled" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: popt.h: check for missing prerequisite headers?" >&5
15218 echo "$as_me: WARNING: popt.h: check for missing prerequisite headers?" >&2;}
15219 { echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5
15220 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;}
15223 ## ------------------------------------ ##
15224 ## Report this to bug-autoconf@gnu.org. ##
15225 ## ------------------------------------ ##
15228 sed "s/^/$as_me: WARNING: /" >&2
15231 echo "$as_me:$LINENO: checking for popt.h" >&5
15232 echo $ECHO_N "checking for popt.h... $ECHO_C" >&6
15233 if test "${ac_cv_header_popt_h+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 ac_cv_header_popt_h=$ac_header_preproc
15238 echo "$as_me:$LINENO: result: $ac_cv_header_popt_h" >&5
15239 echo "${ECHO_T}$ac_cv_header_popt_h" >&6
15242 if test $ac_cv_header_popt_h = yes; then
15245 { { echo "$as_me:$LINENO: error:
15246 *** Couldn't find popt. Please download and install from
15247 *** ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ and try again." >&5
15248 echo "$as_me: error:
15249 *** Couldn't find popt. Please download and install from
15250 *** ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ and try again." >&2;}
15251 { (exit 1); exit 1; }; }
15264 TOP_BUILDDIR="`pwd`"
15267 echo "$as_me:$LINENO: checking whether to enable ipv6" >&5
15268 echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6
15269 # Check whether --enable-ipv6 or --disable-ipv6 was given.
15270 if test "${enable_ipv6+set}" = set; then
15271 enableval="$enable_ipv6"
15276 if test $enable_ipv6 = yes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 #line $LINENO "configure"
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15287 #include <sys/types.h>
15288 #include <sys/socket.h>
15293 socket(AF_INET6, SOCK_STREAM, 0)
15299 rm -f conftest.$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } &&
15305 { ac_try='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15319 rm -f conftest.$ac_objext conftest.$ac_ext
15320 echo "$as_me:$LINENO: result: $have_ipv6" >&5
15321 echo "${ECHO_T}$have_ipv6" >&6
15323 have_getaddrinfo=no
15324 if test $have_ipv6 = yes; then
15325 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
15326 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
15327 if test "${ac_cv_func_getaddrinfo+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 cat >conftest.$ac_ext <<_ACEOF
15331 #line $LINENO "configure"
15334 cat confdefs.h >>conftest.$ac_ext
15335 cat >>conftest.$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15337 /* System header to define __stub macros and hopefully few prototypes,
15338 which can conflict with char getaddrinfo (); below.
15339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15340 <limits.h> exists even on freestanding compilers. */
15342 # include <limits.h>
15344 # include <assert.h>
15346 /* Override any gcc2 internal prototype to avoid an error. */
15351 /* We use char because int might match the return type of a gcc2
15352 builtin and then its argument prototype would still apply. */
15353 char getaddrinfo ();
15354 /* The GNU C library defines this for functions which it implements
15355 to always fail with ENOSYS. Some functions are actually named
15356 something starting with __ and the normal name is an alias. */
15357 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
15360 char (*f) () = getaddrinfo;
15369 return f != getaddrinfo;
15374 rm -f conftest.$ac_objext conftest$ac_exeext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15376 (eval $ac_link) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try='test -s conftest$ac_exeext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_cv_func_getaddrinfo=yes
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_cv_func_getaddrinfo=no
15393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15395 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
15396 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
15397 if test $ac_cv_func_getaddrinfo = yes; then
15398 have_getaddrinfo=yes
15401 if test $have_getaddrinfo != yes; then
15402 # getaddrinfo is not in the default libraries. See if it's in some other.
15403 for lib in bsd socket inet; do
15404 as_ac_Lib=`echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
15405 echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
15406 echo $ECHO_N "checking for getaddrinfo in -l$lib... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-l$lib $LIBS"
15412 cat >conftest.$ac_ext <<_ACEOF
15413 #line $LINENO "configure"
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15420 /* Override any gcc2 internal prototype to avoid an error. */
15424 /* We use char because int might match the return type of a gcc2
15425 builtin and then its argument prototype would still apply. */
15426 char getaddrinfo ();
15435 rm -f conftest.$ac_objext conftest$ac_exeext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15437 (eval $ac_link) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try='test -s conftest$ac_exeext'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; }; then
15447 eval "$as_ac_Lib=yes"
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15452 eval "$as_ac_Lib=no"
15454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15455 LIBS=$ac_check_lib_save_LIBS
15457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
15458 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
15459 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
15460 LIBS="$LIBS -l$lib";have_getaddrinfo=yes; break
15465 if test $have_getaddrinfo = yes; then
15466 cat >>confdefs.h <<\_ACEOF
15467 #define ENABLE_IPV6 1
15474 ac_config_files="$ac_config_files Makefile gnome-vfs.spec libgnomevfs/gnome-vfs-file-size.h libgnomevfs/Makefile modules/Makefile modules/extfs/Makefile modules/extfs/ar modules/extfs/cpio modules/extfs/deb modules/extfs/lha modules/extfs/rar modules/extfs/zip modules/extfs/zoo modules/vfolder/Makefile monikers/Makefile schemas/Makefile devel-docs/Makefile devel-docs/gnome-vfs-tutorial/Makefile po/Makefile.in programs/Makefile test/Makefile test/vfs-run doc/Makefile gnome-vfs-2.0.pc gnome-vfs-module-2.0.pc"
15475 cat >confcache <<\_ACEOF
15476 # This file is a shell script that caches the results of configure
15477 # tests run on this system so they can be shared between configure
15478 # scripts and configure runs, see configure's option --config-cache.
15479 # It is not useful on other systems. If it contains results you don't
15480 # want to keep, you may remove or edit it.
15482 # config.status only pays attention to the cache file if you give it
15483 # the --recheck option to rerun configure.
15485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15487 # following values.
15491 # The following way of writing the cache mishandles newlines in values,
15492 # but we know of no workaround that is simple, portable, and efficient.
15493 # So, don't put newlines in cache variables' values.
15494 # Ultrix sh set writes to stderr and can't be redirected directly,
15495 # and sets the high bit in the cache file unless we assign to the vars.
15498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15500 # `set' does not quote correctly, so add quotes (double-quote
15501 # substitution turns \\\\ into \\, and sed turns \\ into \).
15504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15507 # `set' quotes correctly as required by POSIX, so do not add quotes.
15509 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15518 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15520 if diff $cache_file confcache >/dev/null 2>&1; then :; else
15521 if test -w $cache_file; then
15522 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15523 cat confcache >$cache_file
15525 echo "not updating unwritable cache $cache_file"
15530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15531 # Let make expand exec_prefix.
15532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15534 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15535 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15536 # trailing colons and then remove the whole line if VPATH becomes empty
15537 # (actually we leave an empty line to preserve line numbers).
15538 if test "x$srcdir" = x.; then
15539 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15540 s/:*\$(srcdir):*/:/;
15541 s/:*\${srcdir}:*/:/;
15543 s/^\([^=]*=[ ]*\):*/\1/;
15549 DEFS=-DHAVE_CONFIG_H
15553 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15554 # 1. Remove the extension, and $U if already installed.
15555 ac_i=`echo "$ac_i" |
15556 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15558 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15559 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15561 LIBOBJS=$ac_libobjs
15563 LTLIBOBJS=$ac_ltlibobjs
15568 mv -f po/POTFILES po/POTFILES.tmp
15569 sed -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
15570 rm -f po/POTFILES.tmp
15574 : ${CONFIG_STATUS=./config.status}
15575 ac_clean_files_save=$ac_clean_files
15576 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15577 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15578 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15579 cat >$CONFIG_STATUS <<_ACEOF
15581 # Generated by $as_me.
15582 # Run this file to recreate the current configuration.
15583 # Compiler output produced by configure, useful for debugging
15584 # configure, is in config.log if it exists.
15587 ac_cs_recheck=false
15589 SHELL=\${CONFIG_SHELL-$SHELL}
15592 cat >>$CONFIG_STATUS <<\_ACEOF
15593 ## --------------------- ##
15594 ## M4sh Initialization. ##
15595 ## --------------------- ##
15597 # Be Bourne compatible
15598 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15601 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15602 # is contrary to our usage. Disable this feature.
15603 alias -g '${1+"$@"}'='"$@"'
15604 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15608 # Support unset when possible.
15609 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
15616 # Work around bugs in pre-3.0 UWIN ksh.
15617 $as_unset ENV MAIL MAILPATH
15624 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15625 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15626 LC_TELEPHONE LC_TIME
15628 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
15629 eval $as_var=C; export $as_var
15635 # Required to use basename.
15636 if expr a : '\(a\)' >/dev/null 2>&1; then
15642 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15643 as_basename=basename
15649 # Name of the executable.
15650 as_me=`$as_basename "$0" ||
15651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15652 X"$0" : 'X\(//\)$' \| \
15653 X"$0" : 'X\(/\)$' \| \
15654 . : '\(.\)' 2>/dev/null ||
15656 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15657 /^X\/\(\/\/\)$/{ s//\1/; q; }
15658 /^X\/\(\/\).*/{ s//\1/; q; }
15662 # PATH needs CR, and LINENO needs CR and PATH.
15663 # Avoid depending upon Character Ranges.
15664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15667 as_cr_digits='0123456789'
15668 as_cr_alnum=$as_cr_Letters$as_cr_digits
15670 # The user is always right.
15671 if test "${PATH_SEPARATOR+set}" != set; then
15672 echo "#! /bin/sh" >conf$$.sh
15673 echo "exit 0" >>conf$$.sh
15675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15684 as_lineno_1=$LINENO
15685 as_lineno_2=$LINENO
15686 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15687 test "x$as_lineno_1" != "x$as_lineno_2" &&
15688 test "x$as_lineno_3" = "x$as_lineno_2" || {
15689 # Find who we are. Look in the path if we contain no path at all
15692 *[\\/]* ) as_myself=$0 ;;
15693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15694 for as_dir in $PATH
15697 test -z "$as_dir" && as_dir=.
15698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15703 # We did not find ourselves, most probably we were run as `sh COMMAND'
15704 # in which case we are not to be found in the path.
15705 if test "x$as_myself" = x; then
15708 if test ! -f "$as_myself"; then
15709 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15710 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15711 { (exit 1); exit 1; }; }
15713 case $CONFIG_SHELL in
15715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15716 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15719 test -z "$as_dir" && as_dir=.
15720 for as_base in sh bash ksh sh5; do
15723 if ("$as_dir/$as_base" -c '
15724 as_lineno_1=$LINENO
15725 as_lineno_2=$LINENO
15726 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15727 test "x$as_lineno_1" != "x$as_lineno_2" &&
15728 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15729 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15730 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15731 CONFIG_SHELL=$as_dir/$as_base
15732 export CONFIG_SHELL
15733 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15741 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15742 # uniformly replaced by the line number. The first 'sed' inserts a
15743 # line-number line before each line; the second 'sed' does the real
15744 # work. The second script uses 'N' to pair each line-number line
15745 # with the numbered line, and appends trailing '-' during
15746 # substitution so that $LINENO is not a special case at line end.
15747 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15748 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15749 sed '=' <$as_myself |
15754 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15757 s,^['$as_cr_digits']*\n,,
15758 ' >$as_me.lineno &&
15759 chmod +x $as_me.lineno ||
15760 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15761 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15762 { (exit 1); exit 1; }; }
15764 # Don't try to exec as it changes $[0], causing all sort of problems
15765 # (the dirname of $[0] is not the place where we might find the
15766 # original and so on. Autoconf is especially sensible to this).
15768 # Exit status is that of the last command.
15773 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15774 *c*,-n*) ECHO_N= ECHO_C='
15776 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15777 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15780 if expr a : '\(a\)' >/dev/null 2>&1; then
15786 rm -f conf$$ conf$$.exe conf$$.file
15788 if ln -s conf$$.file conf$$ 2>/dev/null; then
15789 # We could just check for DJGPP; but this test a) works b) is more generic
15790 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15791 if test -f conf$$.exe; then
15792 # Don't use ln at all; we don't have any links
15797 elif ln conf$$.file conf$$ 2>/dev/null; then
15802 rm -f conf$$ conf$$.exe conf$$.file
15804 if mkdir -p . 2>/dev/null; then
15810 as_executable_p="test -f"
15812 # Sed expression to map a string onto a valid CPP name.
15813 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15815 # Sed expression to map a string onto a valid variable name.
15816 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15820 # We need space, tab and new line, in precisely that order.
15830 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15831 # report actual input values of CONFIG_FILES etc. instead of their
15832 # values after options handling. Logging --version etc. is OK.
15836 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15837 ## Running $as_me. ##
15842 This file was extended by $as_me, which was
15843 generated by GNU Autoconf 2.57. Invocation command line was
15845 CONFIG_FILES = $CONFIG_FILES
15846 CONFIG_HEADERS = $CONFIG_HEADERS
15847 CONFIG_LINKS = $CONFIG_LINKS
15848 CONFIG_COMMANDS = $CONFIG_COMMANDS
15852 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15856 # Files that config.status was made for.
15857 if test -n "$ac_config_files"; then
15858 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15861 if test -n "$ac_config_headers"; then
15862 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15865 if test -n "$ac_config_links"; then
15866 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15869 if test -n "$ac_config_commands"; then
15870 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15873 cat >>$CONFIG_STATUS <<\_ACEOF
15876 \`$as_me' instantiates files from templates according to the
15877 current configuration.
15879 Usage: $0 [OPTIONS] [FILE]...
15881 -h, --help print this help, then exit
15882 -V, --version print version number, then exit
15883 -q, --quiet do not print progress messages
15884 -d, --debug don't remove temporary files
15885 --recheck update $as_me by reconfiguring in the same conditions
15886 --file=FILE[:TEMPLATE]
15887 instantiate the configuration file FILE
15888 --header=FILE[:TEMPLATE]
15889 instantiate the configuration header FILE
15891 Configuration files:
15894 Configuration headers:
15897 Configuration commands:
15900 Report bugs to <bug-autoconf@gnu.org>."
15903 cat >>$CONFIG_STATUS <<_ACEOF
15906 configured by $0, generated by GNU Autoconf 2.57,
15907 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15909 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15910 Free Software Foundation, Inc.
15911 This config.status script is free software; the Free Software Foundation
15912 gives unlimited permission to copy, distribute and modify it."
15917 cat >>$CONFIG_STATUS <<\_ACEOF
15918 # If no file are specified by the user, then we need to provide default
15919 # value. By we need to know if files were specified by the user.
15925 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15926 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15934 *) # This is not an option, so the user has probably given explicit
15937 ac_need_defaults=false;;
15941 # Handling of the options.
15943 cat >>$CONFIG_STATUS <<\_ACEOF
15944 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15946 --version | --vers* | -V )
15947 echo "$ac_cs_version"; exit 0 ;;
15949 # Conflict between --help and --header
15950 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15951 Try \`$0 --help' for more information." >&5
15952 echo "$as_me: error: ambiguous option: $1
15953 Try \`$0 --help' for more information." >&2;}
15954 { (exit 1); exit 1; }; };;
15955 --help | --hel | -h )
15956 echo "$ac_cs_usage"; exit 0 ;;
15957 --debug | --d* | -d )
15959 --file | --fil | --fi | --f )
15961 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15962 ac_need_defaults=false;;
15963 --header | --heade | --head | --hea )
15965 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15966 ac_need_defaults=false;;
15967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15968 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15971 # This is an error.
15972 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15973 Try \`$0 --help' for more information." >&5
15974 echo "$as_me: error: unrecognized option: $1
15975 Try \`$0 --help' for more information." >&2;}
15976 { (exit 1); exit 1; }; } ;;
15978 *) ac_config_targets="$ac_config_targets $1" ;;
15984 ac_configure_extra_args=
15986 if $ac_cs_silent; then
15988 ac_configure_extra_args="$ac_configure_extra_args --silent"
15992 cat >>$CONFIG_STATUS <<_ACEOF
15993 if \$ac_cs_recheck; then
15994 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15995 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16000 cat >>$CONFIG_STATUS <<_ACEOF
16002 # INIT-COMMANDS section.
16006 INTLTOOL_PERL=${INTLTOOL_PERL}
16013 cat >>$CONFIG_STATUS <<\_ACEOF
16014 for ac_config_target in $ac_config_targets
16016 case "$ac_config_target" in
16017 # Handling of arguments.
16018 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16019 "gnome-vfs.spec" ) CONFIG_FILES="$CONFIG_FILES gnome-vfs.spec" ;;
16020 "libgnomevfs/gnome-vfs-file-size.h" ) CONFIG_FILES="$CONFIG_FILES libgnomevfs/gnome-vfs-file-size.h" ;;
16021 "libgnomevfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libgnomevfs/Makefile" ;;
16022 "modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16023 "modules/extfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/Makefile" ;;
16024 "modules/extfs/ar" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/ar" ;;
16025 "modules/extfs/cpio" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/cpio" ;;
16026 "modules/extfs/deb" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/deb" ;;
16027 "modules/extfs/lha" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/lha" ;;
16028 "modules/extfs/rar" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/rar" ;;
16029 "modules/extfs/zip" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/zip" ;;
16030 "modules/extfs/zoo" ) CONFIG_FILES="$CONFIG_FILES modules/extfs/zoo" ;;
16031 "modules/vfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/vfolder/Makefile" ;;
16032 "monikers/Makefile" ) CONFIG_FILES="$CONFIG_FILES monikers/Makefile" ;;
16033 "schemas/Makefile" ) CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
16034 "devel-docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES devel-docs/Makefile" ;;
16035 "devel-docs/gnome-vfs-tutorial/Makefile" ) CONFIG_FILES="$CONFIG_FILES devel-docs/gnome-vfs-tutorial/Makefile" ;;
16036 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16037 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
16038 "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16039 "test/vfs-run" ) CONFIG_FILES="$CONFIG_FILES test/vfs-run" ;;
16040 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16041 "gnome-vfs-2.0.pc" ) CONFIG_FILES="$CONFIG_FILES gnome-vfs-2.0.pc" ;;
16042 "gnome-vfs-module-2.0.pc" ) CONFIG_FILES="$CONFIG_FILES gnome-vfs-module-2.0.pc" ;;
16043 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16044 "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
16045 "default-3" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;;
16046 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16047 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16048 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16049 { (exit 1); exit 1; }; };;
16053 # If the user did not use the arguments to specify the items to instantiate,
16054 # then the envvar interface is used. Set only those that are not.
16055 # We use the long form for the default assignment because of an extremely
16056 # bizarre bug on SunOS 4.1.3.
16057 if $ac_need_defaults; then
16058 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16059 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16060 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16063 # Have a temporary directory for convenience. Make it in the build tree
16064 # simply because there is no reason to put it here, and in addition,
16065 # creating and moving files from /tmp can sometimes cause problems.
16066 # Create a temporary directory, and hook for its removal unless debugging.
16069 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16070 trap '{ (exit 1); exit 1; }' 1 2 13 15
16073 # Create a (secure) tmp directory for tmp files.
16076 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16077 test -n "$tmp" && test -d "$tmp"
16080 tmp=./confstat$$-$RANDOM
16081 (umask 077 && mkdir $tmp)
16084 echo "$me: cannot create a temporary directory in ." >&2
16085 { (exit 1); exit 1; }
16090 cat >>$CONFIG_STATUS <<_ACEOF
16093 # CONFIG_FILES section.
16096 # No need to generate the scripts if there are no CONFIG_FILES.
16097 # This happens for instance when ./config.status config.h
16098 if test -n "\$CONFIG_FILES"; then
16099 # Protect against being on the right side of a sed subst in config.status.
16100 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16101 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16102 s,@SHELL@,$SHELL,;t t
16103 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16104 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16105 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16106 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16107 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16108 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16109 s,@exec_prefix@,$exec_prefix,;t t
16110 s,@prefix@,$prefix,;t t
16111 s,@program_transform_name@,$program_transform_name,;t t
16112 s,@bindir@,$bindir,;t t
16113 s,@sbindir@,$sbindir,;t t
16114 s,@libexecdir@,$libexecdir,;t t
16115 s,@datadir@,$datadir,;t t
16116 s,@sysconfdir@,$sysconfdir,;t t
16117 s,@sharedstatedir@,$sharedstatedir,;t t
16118 s,@localstatedir@,$localstatedir,;t t
16119 s,@libdir@,$libdir,;t t
16120 s,@includedir@,$includedir,;t t
16121 s,@oldincludedir@,$oldincludedir,;t t
16122 s,@infodir@,$infodir,;t t
16123 s,@mandir@,$mandir,;t t
16124 s,@build_alias@,$build_alias,;t t
16125 s,@host_alias@,$host_alias,;t t
16126 s,@target_alias@,$target_alias,;t t
16127 s,@DEFS@,$DEFS,;t t
16128 s,@ECHO_C@,$ECHO_C,;t t
16129 s,@ECHO_N@,$ECHO_N,;t t
16130 s,@ECHO_T@,$ECHO_T,;t t
16131 s,@LIBS@,$LIBS,;t t
16132 s,@LIBGNOMEVFS_CURRENT@,$LIBGNOMEVFS_CURRENT,;t t
16133 s,@LIBGNOMEVFS_REVISION@,$LIBGNOMEVFS_REVISION,;t t
16134 s,@LIBGNOMEVFS_AGE@,$LIBGNOMEVFS_AGE,;t t
16135 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16136 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16137 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16138 s,@PACKAGE@,$PACKAGE,;t t
16139 s,@VERSION@,$VERSION,;t t
16140 s,@ACLOCAL@,$ACLOCAL,;t t
16141 s,@AUTOCONF@,$AUTOCONF,;t t
16142 s,@AUTOMAKE@,$AUTOMAKE,;t t
16143 s,@AUTOHEADER@,$AUTOHEADER,;t t
16144 s,@MAKEINFO@,$MAKEINFO,;t t
16145 s,@SET_MAKE@,$SET_MAKE,;t t
16146 s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
16147 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16148 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16149 s,@MAINT@,$MAINT,;t t
16150 s,@GNOME_ACLOCAL_DIR@,$GNOME_ACLOCAL_DIR,;t t
16151 s,@GNOME_ACLOCAL_FLAGS@,$GNOME_ACLOCAL_FLAGS,;t t
16152 s,@INSIDE_GNOME_DOCU_TRUE@,$INSIDE_GNOME_DOCU_TRUE,;t t
16153 s,@INSIDE_GNOME_DOCU_FALSE@,$INSIDE_GNOME_DOCU_FALSE,;t t
16155 s,@CFLAGS@,$CFLAGS,;t t
16156 s,@LDFLAGS@,$LDFLAGS,;t t
16157 s,@CPPFLAGS@,$CPPFLAGS,;t t
16158 s,@ac_ct_CC@,$ac_ct_CC,;t t
16159 s,@EXEEXT@,$EXEEXT,;t t
16160 s,@OBJEXT@,$OBJEXT,;t t
16163 s,@build@,$build,;t t
16164 s,@build_cpu@,$build_cpu,;t t
16165 s,@build_vendor@,$build_vendor,;t t
16166 s,@build_os@,$build_os,;t t
16167 s,@host@,$host,;t t
16168 s,@host_cpu@,$host_cpu,;t t
16169 s,@host_vendor@,$host_vendor,;t t
16170 s,@host_os@,$host_os,;t t
16171 s,@LN_S@,$LN_S,;t t
16172 s,@ECHO@,$ECHO,;t t
16173 s,@RANLIB@,$RANLIB,;t t
16174 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16175 s,@STRIP@,$STRIP,;t t
16176 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16177 s,@EGREP@,$EGREP,;t t
16178 s,@LIBTOOL@,$LIBTOOL,;t t
16179 s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
16180 s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
16181 s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
16182 s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
16183 s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
16184 s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
16185 s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
16186 s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
16187 s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
16188 s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
16189 s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
16190 s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
16191 s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
16192 s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
16193 s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
16194 s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
16195 s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
16196 s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
16197 s,@BONOBO_ACTIVATION_REQUIRED@,$BONOBO_ACTIVATION_REQUIRED,;t t
16198 s,@BONOBO_REQUIRED@,$BONOBO_REQUIRED,;t t
16199 s,@GCONF_REQUIRED@,$GCONF_REQUIRED,;t t
16200 s,@GLIB_REQUIRED@,$GLIB_REQUIRED,;t t
16201 s,@LIBIDL_REQUIRED@,$LIBIDL_REQUIRED,;t t
16202 s,@ORBIT_REQUIRED@,$ORBIT_REQUIRED,;t t
16203 s,@XML_REQUIRED@,$XML_REQUIRED,;t t
16204 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
16205 s,@MODULES_XML_CFLAGS@,$MODULES_XML_CFLAGS,;t t
16206 s,@MODULES_XML_LIBS@,$MODULES_XML_LIBS,;t t
16207 s,@MODULES_CFLAGS@,$MODULES_CFLAGS,;t t
16208 s,@MODULES_LIBS@,$MODULES_LIBS,;t t
16209 s,@MODULES_FILE_CFLAGS@,$MODULES_FILE_CFLAGS,;t t
16210 s,@MODULES_FILE_LIBS@,$MODULES_FILE_LIBS,;t t
16211 s,@MODULES_GCONF_CFLAGS@,$MODULES_GCONF_CFLAGS,;t t
16212 s,@MODULES_GCONF_LIBS@,$MODULES_GCONF_LIBS,;t t
16213 s,@MODULES_XML_GCONF_CFLAGS@,$MODULES_XML_GCONF_CFLAGS,;t t
16214 s,@MODULES_XML_GCONF_LIBS@,$MODULES_XML_GCONF_LIBS,;t t
16215 s,@MONIKERS_CFLAGS@,$MONIKERS_CFLAGS,;t t
16216 s,@MONIKERS_LIBS@,$MONIKERS_LIBS,;t t
16217 s,@TEST_CFLAGS@,$TEST_CFLAGS,;t t
16218 s,@TEST_LIBS@,$TEST_LIBS,;t t
16219 s,@ORBIT_IDL@,$ORBIT_IDL,;t t
16220 s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
16221 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
16222 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
16223 s,@USE_NLS@,$USE_NLS,;t t
16224 s,@MSGFMT@,$MSGFMT,;t t
16225 s,@GMSGFMT@,$GMSGFMT,;t t
16226 s,@XGETTEXT@,$XGETTEXT,;t t
16227 s,@CATALOGS@,$CATALOGS,;t t
16228 s,@CATOBJEXT@,$CATOBJEXT,;t t
16229 s,@DATADIRNAME@,$DATADIRNAME,;t t
16230 s,@GMOFILES@,$GMOFILES,;t t
16231 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
16232 s,@INTLLIBS@,$INTLLIBS,;t t
16233 s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
16234 s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
16235 s,@POFILES@,$POFILES,;t t
16236 s,@POSUB@,$POSUB,;t t
16237 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
16238 s,@ALLOCA@,$ALLOCA,;t t
16239 s,@GCONFTOOL@,$GCONFTOOL,;t t
16240 s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
16241 s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
16242 s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t
16243 s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t
16244 s,@VFS_SIZE@,$VFS_SIZE,;t t
16245 s,@VFS_OFFSET@,$VFS_OFFSET,;t t
16246 s,@VFS_SIZE_IS@,$VFS_SIZE_IS,;t t
16247 s,@VFS_OFFSET_IS@,$VFS_OFFSET_IS,;t t
16248 s,@VFS_SIZE_PRINTF@,$VFS_SIZE_PRINTF,;t t
16249 s,@VFS_OFFSET_PRINTF@,$VFS_OFFSET_PRINTF,;t t
16250 s,@ENABLE_PROFILER@,$ENABLE_PROFILER,;t t
16251 s,@ENABLE_PROFILER_TRUE@,$ENABLE_PROFILER_TRUE,;t t
16252 s,@ENABLE_PROFILER_FALSE@,$ENABLE_PROFILER_FALSE,;t t
16253 s,@VFS_CFLAGS@,$VFS_CFLAGS,;t t
16254 s,@GNOME_VFS_DIR@,$GNOME_VFS_DIR,;t t
16255 s,@VFS_LIBDIR@,$VFS_LIBDIR,;t t
16256 s,@VFS_INCLUDEDIR@,$VFS_INCLUDEDIR,;t t
16257 s,@VFS_LIBS@,$VFS_LIBS,;t t
16258 s,@HAVE_LIBEFS_TRUE@,$HAVE_LIBEFS_TRUE,;t t
16259 s,@HAVE_LIBEFS_FALSE@,$HAVE_LIBEFS_FALSE,;t t
16260 s,@LIBEFS_LIBS@,$LIBEFS_LIBS,;t t
16261 s,@LIBEFS_CFLAGS@,$LIBEFS_CFLAGS,;t t
16262 s,@BZ2_LIBS@,$BZ2_LIBS,;t t
16263 s,@HAVE_CDDA_TRUE@,$HAVE_CDDA_TRUE,;t t
16264 s,@HAVE_CDDA_FALSE@,$HAVE_CDDA_FALSE,;t t
16265 s,@BUILD_CDEMENU_MODULE_TRUE@,$BUILD_CDEMENU_MODULE_TRUE,;t t
16266 s,@BUILD_CDEMENU_MODULE_FALSE@,$BUILD_CDEMENU_MODULE_FALSE,;t t
16267 s,@HAVE_SSL_TRUE@,$HAVE_SSL_TRUE,;t t
16268 s,@HAVE_SSL_FALSE@,$HAVE_SSL_FALSE,;t t
16269 s,@OPENSSL_CFLAGS@,$OPENSSL_CFLAGS,;t t
16270 s,@OPENSSL_LIBS@,$OPENSSL_LIBS,;t t
16271 s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
16272 s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
16273 s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
16274 s,@LIBGNOMEVFS_CFLAGS@,$LIBGNOMEVFS_CFLAGS,;t t
16275 s,@LIBGNOMEVFS_LIBS@,$LIBGNOMEVFS_LIBS,;t t
16276 s,@FAM_LIBS@,$FAM_LIBS,;t t
16277 s,@HTML_DIR@,$HTML_DIR,;t t
16278 s,@GTKDOC@,$GTKDOC,;t t
16279 s,@DB2HTML@,$DB2HTML,;t t
16280 s,@HAVE_DOCBOOK_TRUE@,$HAVE_DOCBOOK_TRUE,;t t
16281 s,@HAVE_DOCBOOK_FALSE@,$HAVE_DOCBOOK_FALSE,;t t
16282 s,@HAVE_GTK_DOC_TRUE@,$HAVE_GTK_DOC_TRUE,;t t
16283 s,@HAVE_GTK_DOC_FALSE@,$HAVE_GTK_DOC_FALSE,;t t
16284 s,@HAVE_GTK_DOC@,$HAVE_GTK_DOC,;t t
16285 s,@ENABLE_GTK_DOC_TRUE@,$ENABLE_GTK_DOC_TRUE,;t t
16286 s,@ENABLE_GTK_DOC_FALSE@,$ENABLE_GTK_DOC_FALSE,;t t
16287 s,@POPT_LIBS@,$POPT_LIBS,;t t
16288 s,@TOP_BUILDDIR@,$TOP_BUILDDIR,;t t
16289 s,@LIBOBJS@,$LIBOBJS,;t t
16290 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16295 cat >>$CONFIG_STATUS <<\_ACEOF
16296 # Split the substitutions into bite-sized pieces for seds with
16297 # small command number limits, like on Digital OSF/1 and HP-UX.
16298 ac_max_sed_lines=48
16299 ac_sed_frag=1 # Number of current file.
16300 ac_beg=1 # First line for current file.
16301 ac_end=$ac_max_sed_lines # Line after last line for current file.
16304 while $ac_more_lines; do
16305 if test $ac_beg -gt 1; then
16306 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16308 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16310 if test ! -s $tmp/subs.frag; then
16311 ac_more_lines=false
16313 # The purpose of the label and of the branching condition is to
16314 # speed up the sed processing (if there are no `@' at all, there
16315 # is no need to browse any of the substitutions).
16316 # These are the two extra sed commands mentioned above.
16318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16319 if test -z "$ac_sed_cmds"; then
16320 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16322 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16324 ac_sed_frag=`expr $ac_sed_frag + 1`
16326 ac_end=`expr $ac_end + $ac_max_sed_lines`
16329 if test -z "$ac_sed_cmds"; then
16332 fi # test -n "$CONFIG_FILES"
16335 cat >>$CONFIG_STATUS <<\_ACEOF
16336 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16337 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16339 - | *:- | *:-:* ) # input from stdin
16341 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16342 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16343 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16344 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16345 * ) ac_file_in=$ac_file.in ;;
16348 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16349 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16350 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16351 X"$ac_file" : 'X\(//\)[^/]' \| \
16352 X"$ac_file" : 'X\(//\)$' \| \
16353 X"$ac_file" : 'X\(/\)' \| \
16354 . : '\(.\)' 2>/dev/null ||
16356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16358 /^X\(\/\/\)$/{ s//\1/; q; }
16359 /^X\(\/\).*/{ s//\1/; q; }
16361 { if $as_mkdir_p; then
16366 while test ! -d "$as_dir"; do
16367 as_dirs="$as_dir $as_dirs"
16368 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16370 X"$as_dir" : 'X\(//\)[^/]' \| \
16371 X"$as_dir" : 'X\(//\)$' \| \
16372 X"$as_dir" : 'X\(/\)' \| \
16373 . : '\(.\)' 2>/dev/null ||
16375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16377 /^X\(\/\/\)$/{ s//\1/; q; }
16378 /^X\(\/\).*/{ s//\1/; q; }
16381 test ! -n "$as_dirs" || mkdir $as_dirs
16382 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16383 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16384 { (exit 1); exit 1; }; }; }
16388 if test "$ac_dir" != .; then
16389 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16390 # A "../" for each directory in $ac_dir_suffix.
16391 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16393 ac_dir_suffix= ac_top_builddir=
16397 .) # No --srcdir option. We are building in place.
16399 if test -z "$ac_top_builddir"; then
16402 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16404 [\\/]* | ?:[\\/]* ) # Absolute path.
16405 ac_srcdir=$srcdir$ac_dir_suffix;
16406 ac_top_srcdir=$srcdir ;;
16407 *) # Relative path.
16408 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16409 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16411 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16413 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16414 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16415 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16416 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16421 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16424 if test x"$ac_file" != x-; then
16425 { echo "$as_me:$LINENO: creating $ac_file" >&5
16426 echo "$as_me: creating $ac_file" >&6;}
16429 # Let's still pretend it is `configure' which instantiates (i.e., don't
16430 # use $as_me), people would be surprised to read:
16431 # /* config.h. Generated by config.status. */
16432 if test x"$ac_file" = x-; then
16435 configure_input="$ac_file. "
16437 configure_input=$configure_input"Generated from `echo $ac_file_in |
16438 sed 's,.*/,,'` by configure."
16440 # First look for the input files in the build tree, otherwise in the
16442 ac_file_inputs=`IFS=:
16443 for f in $ac_file_in; do
16445 -) echo $tmp/stdin ;;
16447 # Absolute (can't be DOS-style, as IFS=:)
16448 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16449 echo "$as_me: error: cannot find input file: $f" >&2;}
16450 { (exit 1); exit 1; }; }
16453 if test -f "$f"; then
16456 elif test -f "$srcdir/$f"; then
16461 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16462 echo "$as_me: error: cannot find input file: $f" >&2;}
16463 { (exit 1); exit 1; }; }
16466 done` || { (exit 1); exit 1; }
16468 cat >>$CONFIG_STATUS <<_ACEOF
16472 cat >>$CONFIG_STATUS <<\_ACEOF
16474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16475 s,@configure_input@,$configure_input,;t t
16476 s,@srcdir@,$ac_srcdir,;t t
16477 s,@abs_srcdir@,$ac_abs_srcdir,;t t
16478 s,@top_srcdir@,$ac_top_srcdir,;t t
16479 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16480 s,@builddir@,$ac_builddir,;t t
16481 s,@abs_builddir@,$ac_abs_builddir,;t t
16482 s,@top_builddir@,$ac_top_builddir,;t t
16483 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16484 s,@INSTALL@,$ac_INSTALL,;t t
16485 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16487 if test x"$ac_file" != x-; then
16488 mv $tmp/out $ac_file
16496 cat >>$CONFIG_STATUS <<\_ACEOF
16499 # CONFIG_HEADER section.
16502 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16503 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16505 # ac_d sets the value in "#define NAME VALUE" lines.
16506 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16507 ac_dB='[ ].*$,\1#\2'
16510 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16511 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16512 ac_uB='$,\1#\2define\3'
16516 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16519 - | *:- | *:-:* ) # input from stdin
16521 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16523 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16524 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16525 * ) ac_file_in=$ac_file.in ;;
16528 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16529 echo "$as_me: creating $ac_file" >&6;}
16531 # First look for the input files in the build tree, otherwise in the
16533 ac_file_inputs=`IFS=:
16534 for f in $ac_file_in; do
16536 -) echo $tmp/stdin ;;
16538 # Absolute (can't be DOS-style, as IFS=:)
16539 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16540 echo "$as_me: error: cannot find input file: $f" >&2;}
16541 { (exit 1); exit 1; }; }
16544 if test -f "$f"; then
16547 elif test -f "$srcdir/$f"; then
16552 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16553 echo "$as_me: error: cannot find input file: $f" >&2;}
16554 { (exit 1); exit 1; }; }
16557 done` || { (exit 1); exit 1; }
16558 # Remove the trailing spaces.
16559 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16563 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16564 # `conftest.undefs', that substitutes the proper values into
16565 # config.h.in to produce config.h. The first handles `#define'
16566 # templates, and the second `#undef' templates.
16567 # And first: Protect against being on the right side of a sed subst in
16568 # config.status. Protect against being in an unquoted here document
16569 # in config.status.
16570 rm -f conftest.defines conftest.undefs
16571 # Using a here document instead of a string reduces the quoting nightmare.
16572 # Putting comments in sed scripts is not portable.
16574 # `end' is used to avoid that the second main sed command (meant for
16575 # 0-ary CPP macros) applies to n-ary macro definitions.
16576 # See the Autoconf documentation for `clear'.
16577 cat >confdef2sed.sed <<\_ACEOF
16582 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16584 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16587 # If some macros were called several times there might be several times
16588 # the same #defines, which is useless. Nevertheless, we may not want to
16589 # sort them, since we want the *last* AC-DEFINE to be honored.
16590 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16591 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16592 rm -f confdef2sed.sed
16594 # This sed command replaces #undef with comments. This is necessary, for
16595 # example, in the case of _POSIX_SOURCE, which is predefined and required
16596 # on some systems where configure will not decide to define it.
16597 cat >>conftest.undefs <<\_ACEOF
16598 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16601 # Break up conftest.defines because some shells have a limit on the size
16602 # of here documents, and old seds have small limits too (100 cmds).
16603 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16604 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16605 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16606 echo ' :' >>$CONFIG_STATUS
16607 rm -f conftest.tail
16608 while grep . conftest.defines >/dev/null
16610 # Write a limited-size here document to $tmp/defines.sed.
16611 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16612 # Speed up: don't consider the non `#define' lines.
16613 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16614 # Work around the forget-to-reset-the-flag bug.
16615 echo 't clr' >>$CONFIG_STATUS
16616 echo ': clr' >>$CONFIG_STATUS
16617 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16619 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16621 mv $tmp/out $tmp/in
16623 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16624 rm -f conftest.defines
16625 mv conftest.tail conftest.defines
16627 rm -f conftest.defines
16628 echo ' fi # grep' >>$CONFIG_STATUS
16629 echo >>$CONFIG_STATUS
16631 # Break up conftest.undefs because some shells have a limit on the size
16632 # of here documents, and old seds have small limits too (100 cmds).
16633 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16634 rm -f conftest.tail
16635 while grep . conftest.undefs >/dev/null
16637 # Write a limited-size here document to $tmp/undefs.sed.
16638 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16639 # Speed up: don't consider the non `#undef'
16640 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16641 # Work around the forget-to-reset-the-flag bug.
16642 echo 't clr' >>$CONFIG_STATUS
16643 echo ': clr' >>$CONFIG_STATUS
16644 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16646 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16648 mv $tmp/out $tmp/in
16650 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16651 rm -f conftest.undefs
16652 mv conftest.tail conftest.undefs
16654 rm -f conftest.undefs
16656 cat >>$CONFIG_STATUS <<\_ACEOF
16657 # Let's still pretend it is `configure' which instantiates (i.e., don't
16658 # use $as_me), people would be surprised to read:
16659 # /* config.h. Generated by config.status. */
16660 if test x"$ac_file" = x-; then
16661 echo "/* Generated by configure. */" >$tmp/config.h
16663 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16665 cat $tmp/in >>$tmp/config.h
16667 if test x"$ac_file" != x-; then
16668 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16669 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16670 echo "$as_me: $ac_file is unchanged" >&6;}
16672 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16674 X"$ac_file" : 'X\(//\)[^/]' \| \
16675 X"$ac_file" : 'X\(//\)$' \| \
16676 X"$ac_file" : 'X\(/\)' \| \
16677 . : '\(.\)' 2>/dev/null ||
16679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16681 /^X\(\/\/\)$/{ s//\1/; q; }
16682 /^X\(\/\).*/{ s//\1/; q; }
16684 { if $as_mkdir_p; then
16689 while test ! -d "$as_dir"; do
16690 as_dirs="$as_dir $as_dirs"
16691 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16693 X"$as_dir" : 'X\(//\)[^/]' \| \
16694 X"$as_dir" : 'X\(//\)$' \| \
16695 X"$as_dir" : 'X\(/\)' \| \
16696 . : '\(.\)' 2>/dev/null ||
16698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16700 /^X\(\/\/\)$/{ s//\1/; q; }
16701 /^X\(\/\).*/{ s//\1/; q; }
16704 test ! -n "$as_dirs" || mkdir $as_dirs
16705 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16706 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16707 { (exit 1); exit 1; }; }; }
16710 mv $tmp/config.h $ac_file
16714 rm -f $tmp/config.h
16718 cat >>$CONFIG_STATUS <<\_ACEOF
16721 # CONFIG_COMMANDS section.
16723 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16724 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16725 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16726 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16727 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16728 X"$ac_dest" : 'X\(//\)[^/]' \| \
16729 X"$ac_dest" : 'X\(//\)$' \| \
16730 X"$ac_dest" : 'X\(/\)' \| \
16731 . : '\(.\)' 2>/dev/null ||
16733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16735 /^X\(\/\/\)$/{ s//\1/; q; }
16736 /^X\(\/\).*/{ s//\1/; q; }
16740 if test "$ac_dir" != .; then
16741 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16742 # A "../" for each directory in $ac_dir_suffix.
16743 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16745 ac_dir_suffix= ac_top_builddir=
16749 .) # No --srcdir option. We are building in place.
16751 if test -z "$ac_top_builddir"; then
16754 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16756 [\\/]* | ?:[\\/]* ) # Absolute path.
16757 ac_srcdir=$srcdir$ac_dir_suffix;
16758 ac_top_srcdir=$srcdir ;;
16759 *) # Relative path.
16760 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16761 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16763 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16765 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16766 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16767 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16768 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16771 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16772 echo "$as_me: executing $ac_dest commands" >&6;}
16774 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
16777 sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${srcdir}/intltool-extract.in > intltool-extract.out
16778 if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
16779 rm -f intltool-extract.out
16781 mv -f intltool-extract.out intltool-extract
16783 chmod ugo+x intltool-extract
16784 chmod u+w intltool-extract
16786 sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${srcdir}/intltool-merge.in > intltool-merge.out
16787 if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
16788 rm -f intltool-merge.out
16790 mv -f intltool-merge.out intltool-merge
16792 chmod ugo+x intltool-merge
16793 chmod u+w intltool-merge
16795 sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${srcdir}/intltool-update.in > intltool-update.out
16796 if cmp -s intltool-update intltool-update.out 2>/dev/null; then
16797 rm -f intltool-update.out
16799 mv -f intltool-update.out intltool-update
16801 chmod ugo+x intltool-update
16802 chmod u+w intltool-update
16805 default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*)
16806 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16812 cat >>$CONFIG_STATUS <<\_ACEOF
16814 { (exit 0); exit 0; }
16816 chmod +x $CONFIG_STATUS
16817 ac_clean_files=$ac_clean_files_save
16820 # configure is writing to config.log, and then calls config.status.
16821 # config.status does its own redirection, appending to config.log.
16822 # Unfortunately, on DOS this fails, as config.log is still kept open
16823 # by configure, so config.status won't be able to write to it; its
16824 # output is simply discarded. So we exec the FD to /dev/null,
16825 # effectively closing config.log, so it can be properly (re)opened and
16826 # appended to by config.status. When coming back to configure, we
16827 # need to make the FD available again.
16828 if test "$no_create" != yes; then
16830 ac_config_status_args=
16831 test "$silent" = yes &&
16832 ac_config_status_args="$ac_config_status_args --quiet"
16834 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16836 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16837 # would make configure fail if this is the last instruction.
16838 $ac_cs_success || { (exit 1); exit 1; }
16842 chmod u+x test/vfs-run
16845 echo "<= gnome-vfs configuration summary :"
16846 case "X$ENABLE_PROFILER" in
16849 Enable profiler : YES"
16853 Enable profiler : NO"
16860 LDFLAGS : $LDFLAGS"