2 # From configure.in Revision: 1.290 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 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
23 DUALCASE
=1; export DUALCASE
# for MKS sh
25 # Support unset when possible.
26 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C
; export $as_var
52 # Required to use basename.
53 if expr a
: '\(a\)' >/dev
/null
2>&1; then
59 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me
=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits
='0123456789'
85 as_cr_alnum
=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
103 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself
=$0 ;;
110 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir
=.
115 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x
; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
132 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir
=.
136 for as_base
in sh bash ksh sh5
; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
145 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
146 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
147 CONFIG_SHELL
=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x
$as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c
*,-n*) ECHO_N
= ECHO_C
='
191 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
192 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
195 if expr a
: '\(a\)' >/dev
/null
2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.
file
203 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe
; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
217 rm -f conf$$ conf$$.exe conf$$.
file
219 if mkdir
-p .
2>/dev
/null
; then
222 test -d .
/-p && rmdir .
/-p
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix
=/usr
/local
256 ac_config_libobj_dir
=.
261 SHELL
=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 EGREP AWK SED LOCAL_SOLENV _solenv UPD SOURCEVERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os GNUTAR OSVERSION PTHREAD_CFLAGS PTHREAD_LIBS ENABLE_CRASHDUMP VC_STANDARD ENABLE_WERROR ENABLE_DEBUG PRODUCT PROFULLSWITCH PROEXT ENABLE_SYMBOLS DISABLE_STRIP ENABLE_CUPS ENABLE_FONTCONFIG TARFILE_LOCATION DO_FETCH_TARBALLS WITH_BINFILTER ENABLE_DIRECTX DISABLE_ACTIVEX DISABLE_ATL ENABLE_RPATH WITH_MYSPELL_DICTS SYSTEM_DICTS DICT_SYSTEM_DIR HYPH_SYSTEM_DIR THES_SYSTEM_DIR WITH_MINGWIN SHELLPATH GCC_HOME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COMPATH GCCVER HAVE_LD_BSYMBOLIC_FUNCTIONS ENABLE_PCH NO_HIDS GNUMAKE _cc HAVE_LD_HASH_STYLE PERL MSPDB_PATH COMEX USE_MINGW MIDL_PATH CSC_PATH FRAME_HOME CPP CXX CXXFLAGS ac_ct_CXX CXXCPP SIZEOF_LONG WORDS_BIGENDIAN LFS_CFLAGS ENABLE_VBA VBA_EXTENSION PAM NEW_SHADOW_API PAM_LINK CRYPT_LINK GXX_INCLUDE_PATH MINGW_LIB_INCLUDE_PATH MINGW_BACKWARD_INCLUDE_PATH MINGW_CLIB_DIR MINGW_SHARED_GCCLIB MINGW_GCCLIB_EH MINGW_SHARED_GXXLIB MINGW_GCCDLL MINGW_GXXDLL EXCEPTIONS STLPORT4 STLPORT_VER USE_SYSTEM_STL USE_CCACHE CCACHE HAVE_GCC_VISIBILITY_FEATURE ALLOC BUILD_VER_STRING SOLAR_JAVA JAVAINTERPRETER JAVACOMPILER JAVACISGCJ JAVADOC AWTLIB JAVAAOTCOMPILER JAVA_HOME JDK JAVAFLAGS JAVAIFLAGS DMAKE BUILD_DMAKE EPM DPKG PKGMK BUILD_EPM RPM PKGFORMAT GPERF BUILD_STAX MINGWCXX ac_ct_MINGWCXX MINGWSTRIP ac_ct_MINGWSTRIP BUILD_UNOWINREG SYSTEM_STDLIBS SYSTEM_ZLIB SYSTEM_JPEG SYSTEM_EXPAT PKG_CONFIG LIBWPD_CFLAGS LIBWPD_LIBS SYSTEM_LIBWPD CPPUNIT_CFLAGS CPPUNIT_LIBS SYSTEM_CPPUNIT FREETYPE_CFLAGS FREETYPE_LIBS USE_FT_EMBOLDEN LIBXSLT_CFLAGS LIBXSLT_LIBS XSLTPROC SYSTEM_LIBXSLT LIBXML_CFLAGS LIBXML_LIBS SYSTEM_LIBXML PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir BZIP2 SYSTEM_PYTHON PYTHON_CFLAGS PYTHON_LIBS HOME SYSTEM_DB DB_VERSION DB_INCLUDES DB_JAR SYSTEM_LUCENE LUCENE_CORE_JAR LUCENE_ANALYZERS_JAR ENABLE_MYSQLC MYSQLCONFIG SYSTEM_MYSQL MYSQL_INC MYSQL_LIB MYSQL_DEFINES LIBMYSQL_PATH SYSTEM_MYSQL_CPPCONN SYSTEM_HSQLDB HSQLDB_JAR SYSTEM_BSH BSH_JAR SERIALIZER_JAR SYSTEM_SAXON SAXON_JAR CURLCONFIG SYSTEM_CURL CURL_CFLAGS CURL_LIBS SYSTEM_MDDS SYSTEM_BOOST SYSTEM_VIGRA SYSTEM_ODBC_HEADERS WITH_MOZILLA WITH_LDAP WITH_OPENLDAP MOZ_NSS_CFLAGS MOZ_NSS_LIBS NSS_LIB MOZ_NSPR_CFLAGS MOZ_NSPR_LIBS NSPR_LIB MOZILLAXPCOM_CFLAGS MOZILLAXPCOM_LIBS MOZILLA_VERSION MOZILLA_TOOLKIT MOZGTK2_CFLAGS MOZGTK2_LIBS MOZLIBREQ_CFLAGS MOZLIBREQ_LIBS BUILD_MOZAB ENABLE_NSS_MODULE MOZILLABUILD SYSTEM_MOZILLA MOZ_FLAVOUR MOZ_INC MOZ_LIB MOZ_LIB_XPCOM MOZ_LDAP_CFLAGS SYSTEM_SANE_HEADER SYSTEM_GENBRK SYSTEM_GENCCODE SYSTEM_GENCMN SYSTEM_ICU GRAPHITE_CFLAGS GRAPHITE_LIBS ENABLE_GRAPHITE SYSTEM_GRAPHITE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINC XLIB XAU_LIBS DISABLE_XAW SYSTEM_XRENDER_HEADERS XRENDER_LINK XRANDR_CFLAGS XRANDR_LIBS XRANDR_DLOPEN ENABLE_RANDR DISABLE_NEON NEON_CFLAGS NEON_LIBS SYSTEM_NEON NEON_VERSION OPENSSL_CFLAGS OPENSSL_LIBS SYSTEM_OPENSSL ENABLE_AGG AGG_CFLAGS AGG_LIBS SYSTEM_AGG AGG_VERSION REDLAND_CFLAGS REDLAND_LIBS SYSTEM_REDLAND HUNSPELL_CFLAGS HUNSPELL_LIBS SYSTEM_HUNSPELL SYSTEM_HYPH HYPHEN_LIB MYTHES_CFLAGS MYTHES_LIBS SYSTEM_MYTHES SYSTEM_LPSOLVE HAVE_GETOPT HAVE_READDIR_R SYSTEM_LIBC PSDK_HOME WINDOWS_VISTA_PSDK DIRECTXSDK_HOME DIRECTXSDK_LIB NSIS_PATH BISON FLEX PATCH GNUCP GNUPATCH CYGWIN_PATH ML_EXE ASM_HOME ZIP UNZIP ZIP_HOME ENABLE_GTK ENABLE_KDE ENABLE_KDE4 GCONF_CFLAGS GCONF_LIBS ENABLE_GCONF GNOMEVFS_CFLAGS GNOMEVFS_LIBS ENABLE_GNOMEVFS GTK_CFLAGS GTK_LIBS DBUS_CFLAGS DBUS_LIBS GIO_CFLAGS GIO_LIBS ENABLE_GIO ENABLE_DBUS ENABLE_SYSTRAY_GTK CAIRO_CFLAGS CAIRO_LIBS ENABLE_CAIRO BUILD_PIXMAN SYSTEM_CAIRO ENABLE_OPENGL ENABLE_PRESENTER_EXTRA_UI ENABLE_MINIMIZER ENABLE_PRESENTER_SCREEN POPPLER_CFLAGS POPPLER_LIBS ENABLE_PDFIMPORT SYSTEM_POPPLER ENABLE_MEDIAWIKI SYSTEM_SERVLETAPI SERVLETAPI_JAR ENABLE_REPORTBUILDER SYSTEM_JFREEREPORT SAC_JAR LIBXML_JAR FLUTE_JAR JFREEREPORT_JAR LIBBASE_JAR LIBLAYOUT_JAR LIBLOADER_JAR LIBFORMULA_JAR LIBREPOSITORY_JAR LIBFONTS_JAR LIBSERIALIZER_JAR SYSTEM_APACHE_COMMONS COMMONS_CODEC_JAR COMMONS_LANG_JAR COMMONS_HTTPCLIENT_JAR COMMONS_LOGGING_JAR MOC KDE_CFLAGS KDE_LIBS MOC4 KDE4_CFLAGS KDE4_LIBS ENABLE_LOCKDOWN GOBJECT_CFLAGS GOBJECT_LIBS ENABLE_EVOAB2 ENABLE_KAB WITH_FONTS WITHOUT_PPDS WITHOUT_AFMS SCPDEFS USE_XINERAMA XINERAMA_LINK ANT ANT_HOME ANT_LIB OOO_JUNIT_JAR WITH_LANG WITH_POOR_HELP_LOCALIZATIONS WITH_DICT INTRO_BITMAPS ABOUT_BITMAPS OOO_VENDOR UNIXWRAPPERNAME ENABLE_STATIC_GTK ENABLE_LAYOUT VERBOSE nodep LOCAL_SOLVER BUILD_TYPE LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
773 ac_env_CXX_set
=${CXX+set}
774 ac_env_CXX_value
=$CXX
775 ac_cv_env_CXX_set
=${CXX+set}
776 ac_cv_env_CXX_value
=$CXX
777 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
780 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
781 ac_env_CXXCPP_set
=${CXXCPP+set}
782 ac_env_CXXCPP_value
=$CXXCPP
783 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
784 ac_cv_env_CXXCPP_value
=$CXXCPP
787 # Report the --help message.
789 if test "$ac_init_help" = "long"; then
790 # Omit some internal or obsolete options to make the list less imposing.
791 # This message is too long to be a string in the A/UX 3.1 sh.
793 \`configure' configures this package to adapt to many kinds of systems.
795 Usage: $0 [OPTION]... [VAR=VALUE]...
797 To assign environment variables (e.g., CC, CFLAGS...), specify them as
798 VAR=VALUE. See below for descriptions of some of the useful variables.
800 Defaults for the options are specified in brackets.
803 -h, --help display this help and exit
804 --help=short display options specific to this package
805 --help=recursive display the short help of all the included packages
806 -V, --version display version information and exit
807 -q, --quiet, --silent do not print \`checking...' messages
808 --cache-file=FILE cache test results in FILE [disabled]
809 -C, --config-cache alias for \`--cache-file=config.cache'
810 -n, --no-create do not create output files
811 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816 Installation directories:
817 --prefix=PREFIX install architecture-independent files in PREFIX
819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 By default, \`make install' will install all the files in
823 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
824 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
825 for instance \`--prefix=\$HOME'.
827 For better control, use the options below.
829 Fine tuning of the installation directories:
830 --bindir=DIR user executables [EPREFIX/bin]
831 --sbindir=DIR system admin executables [EPREFIX/sbin]
832 --libexecdir=DIR program executables [EPREFIX/libexec]
833 --datadir=DIR read-only architecture-independent data [PREFIX/share]
834 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
835 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
836 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
837 --libdir=DIR object code libraries [EPREFIX/lib]
838 --includedir=DIR C header files [PREFIX/include]
839 --oldincludedir=DIR C header files for non-gcc [/usr/include]
840 --infodir=DIR info documentation [PREFIX/info]
841 --mandir=DIR man documentation [PREFIX/man]
847 --x-includes=DIR X include files are
in DIR
848 --x-libraries=DIR X library files are
in DIR
851 --build=BUILD configure
for building on BUILD
[guessed
]
852 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
853 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
857 if test -n "$ac_init_help"; then
862 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
863 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
864 --enable-graphite Enables the compilation of Graphite smart font rendering
866 --disable-ldap Disables the use of LDAP backend via Netscape
/Mozilla
869 --disable-fetch-external Disables fetching external tarballs from web sources.
871 --enable-lockdown Enables the gconf integration work
in OOo
873 --disable-vba disables the vba compatibility feature
875 --enable-pch EXPERIMENTAL
: Enables precompiled header support
for C
++.
877 --enable-hids Enables generation of HelpId lists.
879 --disable-mozilla OO.o usually includes a strangely hacked up mozilla
880 binary
for your platform
, to build without this
881 version
, use this option.
883 --disable-epm OO.o includes self-packaging code
, that requires
884 epm
, however epm is useless
for large scale
887 --disable-odk OO.o includes an ODK
, office development kit
888 which some packagers may with to build without
890 --disable-mathmldtd disable mathmldtd
891 (useful
for distributions that want to avoid packaging
894 --enable-evolution2 Allows the built-in evolution
2 addressbook
895 connectivity build to be enabled.
897 --disable-cups disable cups support
in the psprint project
899 --disable-fontconfig disable support
for the fontconfig library
901 --disable-directx Remove DirectX implementation
for the new XCanvas
902 interface. The DirectX support requires
more stuff
903 installed on Windows to compile.
904 (DirectX SDK
, GDI
+ libs
)
906 --disable-activex Disable the use of ActiveX
for windows build.
907 This switch is mandatory when using VC
++ 2005/2008 Express.
909 --disable-atl Disable the use of ATL
for windows build.
910 This switch is mandatory when using VC
++ 2005/2008 Express.
912 --enable-symbols Include debugging symbols
in output.
913 WARNING
- a complete build needs
8 Gb of space and
914 takes much longer.
(enables
-g compiler flag
)
916 --enable-symbols=SMALL sets the gcc
-g1 setting
919 Enabling symbols disables the stripping of the solver
920 (--disable-strip-solver).
922 --disable-strip-solver Disable the stripping of the solver.
923 By default the solver is stripped unless a build with
924 debugging symbols
(--enable-symbols) is requested.
926 This switch allows to override this setting.
928 --enable-werror Turn warnings to errors.
(Has no effect
in modules
929 where the treating of warnings as errors is disabled
932 --enable-debug Include debugging symbols from
--enable-symbols
933 plus extra debugging code. Extra large build
!
934 (enables
-g compiler flag and dmake debug
=true
)
936 --enable-dbgutil Include additional debugging utilities
, such as
937 assertions
, object counting
, etc. Larger build.
938 Independent from
--enable-debug
940 --enable-crashdump Enable the crashdump feature code.
942 --enable-cl-standard For Microsoft C
/C
++ compiler users
, use non-optimizing
943 standard compiler.
( This just disavles optimization
944 options and therefore removes a lot of warnings when
945 using the cheaper standard compiler.
)
947 --disable-gtk Determines whether to use Gtk
+ vclplug on platforms
948 where Gtk
+ is available.
950 --disable-systray Determines whether to build the systray quickstarter.
952 --enable-cairo Determines whether to use Cairo library on
953 platforms where Cairo is available.
955 --enable-opengl Determines whether to build the OpenGL
3D slide
956 transitions component
958 --enable-dbus Determines whether to
enable presentation mode
959 screensaver control under GNOME via DBUS
961 --disable-gconf Determines whether to use the GConf support
963 --disable-gnome-vfs Determines whether to use the Gnome Virtual Filing
964 System on platforms where that VFS is available
966 --enable-gio Determines whether to use the GIO support
968 --enable-static-gtk Modules that are linked against gtk libraries use
969 the static libraries instead of the dynamic ones.
970 (enables
-Bstatic linker flag
for gtk libraries
)
972 --enable-layout Enable the compilation and use of layout dialogs
974 --disable-build-mozilla Use this option
if you
do not want to build the
975 mozilla components from the mozilla
source code but
976 take precompiled zips
978 --disable-nss-module Whether to use provided NSS module
980 --enable-kde Determines whether to use Qt
/KDE vclplug on platforms
981 where Qt and KDE are available.
983 --disable-kdeab Disable the KDE address book support
985 --enable-kde4 Determines whether to use Qt
4/KDE4 vclplug on platforms
986 where Qt4 and KDE4 are available. May be used with
--enable-kde
987 if you want to support both KDE3 and KDE4.
989 --disable-binfilter Disable legacy binary
file formats filters
991 --disable-rpath Disable the use of relative paths
in shared libraries
993 --disable-pam Disable pam support.
995 --enable-pam-link link with libpam instead of dynamically open it
997 --disable-crypt-link disable linking with libcrypt instead of dynamically
998 open it
(needed
for ancient GNU
/Linux distributions
999 without
crypt()/libcrypt
)
1001 --enable-xrender-link link with libXrender instead of dynamically open it
1003 --disable-randr disable RandR support
in the vcl project
1005 --disable-randr-link disable linking with libXrandr
, instead dynamically
1008 --enable-mysql-connector enables the build of the MySQL Connector
/OOo extension.
1009 This requires access to the MySQL Connector
/C
(aka libmysql
) to be given
, too
, with
1010 either the
--with-system-mysql or
--with-libmysql-path option.
1012 --enable-presenter-extra-ui enables extra functionality during slideshow
,
1013 e.g. selecting pen color
, erasing drawings etc.
1015 --enable-minimizer enables the build of the Presentation Minimizer extension
1017 --enable-presenter-console enables the build of the Presenter Console extension
1019 --enable-pdfimport enables the build of the PDF Import extension and xpdf
1021 --enable-wiki-publisher enables the build of the Wiki Publisher extension
1023 --enable-report-builder enables the build of the Report Builder extension
1025 --disable-neon Disable neon and the compilation of webdav binding
1027 --disable-Xaw Disables the use of Xaw
for the Netscape
/Mozilla
1030 --enable-gcjaot Build with
[out
] using Ahead of Time java compilation
1031 support to speed up buildsi by compiling the jars also
1033 --enable-gcjaot is only known to work with bytecode
1034 created with gcj or ecj
1036 --enable-check-only Use this option option
if you just want to check your
1037 environment. This option stops the generation of an
1040 Usage
: --enable-check-only=yes
1042 --enable-ccache-skip [default
=auto
] allow the use of
--ccache-skip to
1043 escape compiler flags that would otherwise prevent
1044 caching of the result
(currently used on Mac only
)
1045 NOTE
: requires patched version because of a bug
in
1046 ccache
(see issue
104567 for details and
patch)
1047 explicitly
enable if your version of ccache doesn
't
1048 identify as version 2.4_OOo
1050 --enable-verbose Increase build verbosity.
1051 --disable-verbose Decrease build verbosity.
1053 --disable-dependency-tracking Disables generation of dependency information.
1055 --disable-largefile omit support for large files
1058 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1059 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1060 --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD
1062 --without-agg Disable the use of agg altogether
1064 --with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD
1066 --with-system-graphite use graphite library already installed on system
1068 --with-external-tar=<TARFILE PATH> Specify path to tarfiles manually
1069 --with-openldap Enables the use of the OpenLDAP LDAP SDK instead
1070 of the Netscape/Mozilla one
1072 --with-vba-package-format specify package format for vba compatibility api.
1073 Specifying "builtin" means the api component and
1074 associated type library are part of the installation set.
1075 Specifying "extn" creates an uno extension that is
1076 part of the installation set ( located in the program
1077 directory ) that MUST be optionly registered using
1078 either the unopkg executeable or the extension manager
1081 Note: "builtin" is the default, "extn" can cause
1083 Usage: --with-vba-package-format="builtin" or
1084 --with-vba-package-format="extn"
1086 --without-fonts OOo includes some third-party fonts to provide a reliable
1087 basis for help content, templates, samples, etc.
1088 When these fonts are already known to be available on the
1089 system then you should use this option.
1091 --without-ppds Removes Postscript Printer definition files from
1092 openoffice.org installation set, for people building
1093 for specific distributions where PPDs are known to be
1094 already available (every recent distro with CUPS
1097 --without-afms Removes bitmap font files from openoffice.org
1098 installation set, for people building for specific
1099 distributions where AFM files or TrueType Fonts
1100 are known to be available.
1102 --with-epm Decides which epm to use. Default is to use
1103 the one from the system if one is built. When
1104 either this is not there or you say =internal
1107 --with-package-format specify package format(s) for OOo installsets.
1108 Default is "normal" one of the OS/Distribution.
1110 Usage: --with-package-format="foo bar"
1112 --with-system-stdlibs use libstdc++/libgcc_s already on system
1114 --with-system-cairo Use Cairo libraries already on system
1116 --with-mozilla-version Choose which version of mozilla to use while building
1117 mozilla. Default: 1.7.5.
1118 Note that not all versions are supported.
1120 --with-mozilla-toolkit Choose which GUI toolkit to use while building mozilla
1121 components. Default: gtk2
1123 --without-myspell-dicts Removes myspell dictionaries from openoffice.org
1124 installation set, for people building for specific
1125 distributions where the myspell dictionaries are
1126 installed from other sources
1128 --with-system-dicts Use dictionaries from system paths- Specify
1129 them via --with-{dict,hyph,thes}-path=/path
1130 if you want to override the default ones
1132 --with-external-dict-dir Specify external dictionary dir
1134 --with-external-hyph-dir Specify external hyphenation pattern dir
1136 --with-external-thes-dir Specify external thesaurus dir
1138 --with-system-libs Use libs already on system -- enables all
1139 --with-system-* flags except mozilla and
1140 odbc/sane/xrender-header(s)
1142 --with-system-headers Use headers already on system -- enables all
1143 --with-system-* flags for external packages
1144 whose headers are the only entities used i.e.
1145 boost/vigra/odbc/sane/xrender-header(s)
1147 --without-system-jars When building with --with-system-libs, also the
1148 needed jars are expected on the system. Use this to
1150 (except for the db case where --with-system-db
1151 *has to* imply using the db.jar from there, too)
1153 --with-system-zlib Use zlib already on system
1155 --with-system-openssl Use OpenSSL already on system
1157 --with-system-jpeg Use jpeg already on system
1159 --with-system-expat Use expat already on system
1161 --with-system-libwpd Use libwpd already on system
1163 --with-system-libxml Use libxml already on system
1165 --with-system-python Use python already on system
1167 --with-system-icu Use icu already on system
1169 --with-system-poppler Use poppler already on system
1171 --with-system-db Use berkeley db already on system
1173 --with-system-lucene Use lucene already on system
1175 --with-lucene-core-jar=JARFILE Specify path to jarfile manually
1176 --with-lucene-analyzers-jar=JARFILE Specify path to jarfile manually
1177 --with-system-mysql Use MySQL libraries already on system, for building the MySQL Connector/OOo extension.
1178 Requires MYSQLCONFIG to point to the mysql_config executable.
1180 --with-libmysql-path Use Connector/C (libmysql) installation for building the MySQL Connector/OOo extension.
1182 Usage: --with-libmysql-path=<absolute path to your Connector/C installation>
1184 --with-system-mysql-cppconn Use MySQL C++ Connector libraries already on system
1186 --with-system-hsqldb Use hsqldb already on system
1188 --with-hsqldb-jar=JARFILE Specify path to jarfile manually
1189 --with-system-beanshell Use beanshell already on system
1191 --with-beanshell-jar=JARFILE Specify path to jarfile manually
1192 --with-commons-codec-jar=JARFILE Specify path to jarfile manually
1193 --with-commons-lang-jar=JARFILE Specify path to jarfile manually
1194 --with-commons-httpclient-jar=JARFILE Specify path to jarfile manually
1195 --with-commons-logging-jar=JARFILE Specify path to jarfile manually
1196 --servlet-api-jar=JARFILE Specify path to jarfile manually
1197 --with-system-jfreereport Use JFreeReport already on system
1199 --with-sac-jar=JARFILE Specify path to jarfile manually
1200 --with-libxml-jar=JARFILE Specify path to jarfile manually
1201 --with-flute-jar=JARFILE Specify path to jarfile manually
1202 --with-jfreereport-jar=JARFILE Specify path to jarfile manually
1203 --with-liblayout-jar=JARFILE Specify path to jarfile manually
1204 --with-libloader-jar=JARFILE Specify path to jarfile manually
1205 --with-libformula-jar=JARFILE Specify path to jarfile manually
1206 --with-librepository-jar=JARFILE Specify path to jarfile manually
1207 --with-libfonts-jar=JARFILE Specify path to jarfile manually
1208 --with-libserializer-jar=JARFILE Specify path to jarfile manually
1209 --with-libbase-jar=JARFILE Specify path to jarfile manually
1210 --with-system-saxon Use saxon already on system
1212 --with-saxon-jar=JARFILE Specify path to jarfile manually
1213 --with-system-libxslt Use libxslt already on system
1215 --with-system-odbc-headers Use the odbc headers already on system
1217 --with-system-sane-header Use sane.h already on system
1219 --with-system-xrender-headers Use XRender headers already on system
1221 --with-system-curl Use curl already on system
1223 --with-system-boost Use boost already on system
1225 --with-system-mdds Use mdds already on system
1227 --with-system-vigra Use vigra already on system
1229 --with-system-neon Use neon already on system
1231 --with-system-agg Use AGG already on system
1233 --with-system-hunspell Use libhunspell already on system
1235 --with-system-mythes Use mythes already on system
1237 --with-system-altlinuxhyph Use ALTLinuxhyph already on system
1239 --with-system-lpsolve Use lpsolve already on system
1241 --with-system-cppunit Use cppunit already on system
1243 --with-system-redland Use redland library already on system
1245 --with-system-mozilla Use mozilla already on system. Note that some
1246 components cannot be built against a contemporary
1247 mozilla. The flavour used can be specified by
1248 --with-system-mozilla=<flavour>. Supported are:
1249 libxul (default), xulrunner, firefox, seamonkey,
1252 --with-stlport The location that STLport is installed in. The STL
1253 header files are assumed to be in
1254 stlport-home/stlport and the STLPort library in
1257 Usage: --with-stlport=<absolute path to stlport home>
1259 Warning!!, disabling using --without-stlport or
1260 enabling using --with-stlport on a platform that
1261 defaults to the opposite will break ABI compatability
1263 --with-jdk-home if you have installed JDK 1.3 or later on your system
1264 please supply the path here.
1265 Note that this is not the location of the Java binary
1266 but the location of the entire distribution.
1268 Usage: --with-jdk-home=<absolute path to JDK home>
1270 --with-gxx-include-path if you want to override the autodetected g++ include
1273 Usage: --with-gxx-include-path=<absolute path to g++ include dir>
1275 --with-java Build with[out] Java support. If you use
1276 --without-java/--with-java=no then the build will have
1277 no support for Java components, applets, accessibility
1280 --with-ant-home If you have installed Jakarta Ant on your system,
1281 please supply the path here.
1282 Note that this is not the location of the Ant binary
1283 but the location of the entire distribution.
1285 Usage: --with-ant-home=<absolute path to Ant home>
1287 --with-junit Specifies the JUnit 4 jar file to use for JUnit-based
1288 tests. --without-junit disables those tests. Not
1289 relevant in the --without-java case.
1291 Usage: --with-junit=<absolute path to JUnit 4 jar>
1293 --with-perl-home If you have installed the Perl 5 Distribution, on your
1294 system, please supply the path here.
1295 Note that this is not the location of the Perl binary
1296 but the location of the entire distribution.
1298 Usage: --with-perl-home=<absolute path to Perl 5 home>
1300 --with-cl-home For Windows NT users, please supply the path
1301 for the Microsoft C/C++ compiler.
1302 Note that this is not the location of the compiler
1303 binary but the location of the entire distribution.
1305 Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home>
1307 --with-mspdb-path For Microsoft C/C++ compiler users, please supply the
1308 path pointing to the mspdb71.dll (.NET 2003).
1310 Usage: --with-mspdb-path=<absolute path to mspdb71.dll>
1312 --with-midl-path For Microsoft C/C++ .NET compiler users, please supply
1313 the path pointing to the midl.exe.
1315 Usage: --with-midl-path=<absolute path to midl.exe>
1317 --with-csc-path For Microsoft C/C++ .NET compiler users, please supply
1318 the path pointing to the csc.exe.
1320 Usage: --with-csc-path=<absolute path to csc.exe>
1322 --with-nsis-path For Windows users, please supply the path to the
1323 "Nullsoft Scriptable Install System" (NSIS). If NSIS
1324 is found in the path or this option is supplied a self
1325 contained executable installer for OpenOffice.org will
1328 Usage: --with-nsis-path=<absolute path to nsis.exe>
1330 --with-frame-home For Microsoft C/C++ .NET compiler users, please supply
1331 the path pointing to lib/mscoree.lib, usually
1333 "/cygdrive/c/Program Files/Microsoft Visual Studio .NET/FrameworkSDK"
1335 MS Visual Toolkit compiler users, please supply the
1336 path pointing to lib/msvcrt.lib, usually something
1338 "/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7"
1340 Usage: --with-frame-home=<absolute path to Framework SDK [home]>
1342 --with-psdk-home For Windows users, please supply the path to the
1343 Microsoft Platform SDK.
1345 Usage: --with-psdk-home=<absolute path to Microsoft Platform SDK>
1347 --with-directx-home For Windows users, please supply the path to the
1348 Microsoft DirectX SDK.
1350 Usage: --with-directx-home=<absolute path to Microsoft DirectX SDK>
1352 --with-mozilla-build For Windows users, please supply the path to the
1353 mozilla build tools.
1355 Usage: --with-mozilla-build=<absolute path to mozilla build tools>
1357 At the moment of this writing, an installer for the mozilla build tools
1358 can be obtained from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32.
1360 --with-local-solenv If you have solenv in a location other than ./solenv,
1361 please supply the path here.
1363 Usage: --with-local-solenv=<absolute path to solenv>
1365 --with-local-solver if you have solver in a location other than ./solver,
1366 please supply the path here.
1368 Usage: --with-local-solver=<absolute path to solver>
1370 --with-lang Use this option to build OpenOffice.org with
1371 additional language support. English (US) is always
1372 included by default. Separate multiple languages with
1373 space. For all languages, use --with-lang=ALL.
1375 Usage: --with-lang="es sw tu cs sk"
1377 --with-poor-help-localizations
1378 Use this option to specify which languages have
1379 unusable help localizations. Separate multiple
1380 languages with space.
1382 Usage: --with-poor-help-localizations="af ar be-BY ca"
1384 --with-dict Use this option to build OpenOffice.org with
1385 dictionary support. ALL dictionaries are always
1386 included by default unless overridden with
1387 this option. Separate multiple dictionaries with
1388 commas. For all dictionaries, use --with-dict=ALL.
1390 Usage: --with-dict=ENGB,ENUS,ITIT
1392 --with-intro-bitmaps Prefer the specified intro bitmaps over the
1393 the default one. Can be more than one (separated by
1394 commas), the order means priority of fallback if the
1395 first does not exist (in the installed tree).
1397 Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp
1399 --with-about-bitmaps Similarly to --with-intro-bitmaps, this allows
1400 specification of bitmaps for the About box.
1402 Usage: --with-about-bitmaps=/path/my_ooo_about.bmp
1404 --with-vendor Set vendor of the build.
1406 Usage: --with-vendor="John the Builder"
1408 --with-unix-wrapper Redefines the name of the UNIX wrapper that will be used
1409 in the desktop files and in the desktop-integration RPMs.
1411 Usage: --with-unix-wrapper=ooffice
1413 --with-asm-home For Windows users, please supply the path for the
1416 Usage: --with-asm-home=<path to ml.exe directory>
1418 --with-os-version For FreeBSD users, use this option option to override
1419 the detected OSVERSION.
1421 Usage: --with-os-version=<OSVERSION>
1423 --with-unzip-home Deprecated: use --with-zip-home instead
1424 --with-zip-home If you use a non standard zip, for example windows
1425 please supply the path for zip
1427 Usage: --with-zip-home=<path to zip executable>
1429 --with-mingwin For Windows users, use the mingwin32 compiler within
1432 Usage: --with-mingwin=yes
1434 For !Windows use, use the mingw32 C++ compiler to
1435 (re-) build unowinreg.dll. Specify the MinGW C++
1438 Usage: --with-mingwin=i586-mingw32msvc-g++
1440 --with-build-version Allows the builder to add a custom version tag
1441 that will appear in the Help/About box for QA
1444 Usage: --with-build-version="Built by Jim"
1446 --with-alloc Define which allocator to build with
1447 (choices are oo, system, tcmalloc, jemalloc)
1449 Note that on FreeBSD/NetBSD system==jemalloc
1451 --with-x use the X Window System
1453 Some influential environment variables:
1454 CC C compiler command
1455 CFLAGS C compiler flags
1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1457 nonstandard directory <lib dir>
1458 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1459 headers in a nonstandard directory <include dir>
1461 CXX C++ compiler command
1462 CXXFLAGS C++ compiler flags
1463 CXXCPP C++ preprocessor
1465 Use these variables to override the choices made by `configure' or to
help
1466 it to
find libraries and programs with nonstandard names
/locations.
1471 if test "$ac_init_help" = "recursive"; then
1472 # If there are subdirs, report their specific --help.
1474 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1475 test -d $ac_dir ||
continue
1478 if test "$ac_dir" != .
; then
1479 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1480 # A "../" for each directory in $ac_dir_suffix.
1481 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1483 ac_dir_suffix
= ac_top_builddir
=
1487 .
) # No --srcdir option. We are building in place.
1489 if test -z "$ac_top_builddir"; then
1492 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1494 [\\/]* | ?
:[\\/]* ) # Absolute path.
1495 ac_srcdir
=$srcdir$ac_dir_suffix;
1496 ac_top_srcdir
=$srcdir ;;
1498 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1499 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1502 # Do not use `cd foo && pwd` to compute absolute paths, because
1503 # the directories may not exist.
1505 .
) ac_abs_builddir
="$ac_dir";;
1508 .
) ac_abs_builddir
=`pwd`;;
1509 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1510 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1513 case $ac_abs_builddir in
1514 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1516 case ${ac_top_builddir}.
in
1517 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1518 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1519 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1522 case $ac_abs_builddir in
1523 .
) ac_abs_srcdir
=$ac_srcdir;;
1526 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1527 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1528 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1531 case $ac_abs_builddir in
1532 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1534 case $ac_top_srcdir in
1535 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1536 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1537 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1542 # Check for guested configure; otherwise get Cygnus style configure.
1543 if test -f $ac_srcdir/configure.gnu
; then
1545 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1546 elif test -f $ac_srcdir/configure
; then
1548 $SHELL $ac_srcdir/configure
--help=recursive
1549 elif test -f $ac_srcdir/configure.ac ||
1550 test -f $ac_srcdir/configure.
in; then
1552 $ac_configure --help
1554 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 test -n "$ac_init_help" && exit 0
1561 if $ac_init_version; then
1564 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1565 This configure
script is free software
; the Free Software Foundation
1566 gives unlimited permission to copy
, distribute and modify it.
1572 This file contains any messages produced by compilers while
1573 running configure, to aid debugging if configure makes a mistake.
1575 It was created by $as_me, which was
1576 generated by GNU Autoconf 2.59. Invocation command line was
1587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1594 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1596 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1597 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1599 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1600 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1601 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1602 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir
=.
1611 echo "PATH: $as_dir"
1626 # Keep a trace of the command line.
1627 # Strip out --no-create and --no-recursion so they do not pile up.
1628 # Strip out --silent because we don't want to record it for future runs.
1629 # Also quote any args containing shell meta-characters.
1630 # Make two passes to allow for proper duplicate-argument suppression.
1635 ac_must_keep_next
=false
1641 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1642 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1643 |
-silent |
--silent |
--silen |
--sile |
--sil)
1645 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1646 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1651 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1652 if test $ac_must_keep_next = true
; then
1653 ac_must_keep_next
=false
# Got value, back to normal.
1656 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1657 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1658 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1659 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1660 case "$ac_configure_args0 " in
1661 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1664 -* ) ac_must_keep_next
=true
;;
1667 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1668 # Get rid of the leading space.
1674 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1675 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1677 # When interrupted or exit'd, cleanup temporary files, and complete
1678 # config.log. We remove comments because anyway the quotes in there
1679 # would cause problems or look ugly.
1680 # WARNING: Be sure not to use single quotes in there, as some shells,
1681 # such as our DU 5.0 friend, will then `close' the trap.
1682 trap 'exit_status=$?
1683 # Save into config.log some information that might help in debugging.
1688 ## ---------------- ##
1689 ## Cache variables. ##
1690 ## ---------------- ##
1693 # The following way of writing the cache mishandles newlines in values,
1696 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1699 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1711 ## ----------------- ##
1712 ## Output variables. ##
1713 ## ----------------- ##
1716 for ac_var in $ac_subst_vars
1718 eval ac_val=$`echo $ac_var`
1719 echo "$ac_var='"'"'$ac_val'"'"'"
1723 if test -n "$ac_subst_files"; then
1730 for ac_var in $ac_subst_files
1732 eval ac_val=$`echo $ac_var`
1733 echo "$ac_var='"'"'$ac_val'"'"'"
1738 if test -s confdefs.h; then
1745 sed "/^$/d" confdefs.h | sort
1748 test "$ac_signal" != 0 &&
1749 echo "$as_me: caught signal $ac_signal"
1750 echo "$as_me: exit $exit_status"
1752 rm -f core *.core &&
1753 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1756 for ac_signal
in 1 2 13 15; do
1757 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1761 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1762 rm -rf conftest
* confdefs.h
1763 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1766 # Predefined preprocessor variables.
1768 cat >>confdefs.h
<<_ACEOF
1769 #define PACKAGE_NAME "$PACKAGE_NAME"
1773 cat >>confdefs.h
<<_ACEOF
1774 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1778 cat >>confdefs.h
<<_ACEOF
1779 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1783 cat >>confdefs.h
<<_ACEOF
1784 #define PACKAGE_STRING "$PACKAGE_STRING"
1788 cat >>confdefs.h
<<_ACEOF
1789 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1793 # Let the site file select an alternate cache file if it wants to.
1794 # Prefer explicitly selected file to automatically selected ones.
1795 if test -z "$CONFIG_SITE"; then
1796 if test "x$prefix" != xNONE
; then
1797 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1799 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1802 for ac_site_file
in $CONFIG_SITE; do
1803 if test -r "$ac_site_file"; then
1804 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1805 echo "$as_me: loading site script $ac_site_file" >&6;}
1806 sed 's/^/| /' "$ac_site_file" >&5
1811 if test -r "$cache_file"; then
1812 # Some versions of bash will fail to source /dev/null (special
1813 # files actually), so we avoid doing that.
1814 if test -f "$cache_file"; then
1815 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1816 echo "$as_me: loading cache $cache_file" >&6;}
1818 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1819 *) . .
/$cache_file;;
1823 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1824 echo "$as_me: creating cache $cache_file" >&6;}
1828 # Check that the precious variables saved in the cache have kept the same
1830 ac_cache_corrupted
=false
1831 for ac_var
in `(set) 2>&1 |
1832 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1833 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1834 eval ac_new_set
=\
$ac_env_${ac_var}_set
1835 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1836 eval ac_new_val
="\$ac_env_${ac_var}_value"
1837 case $ac_old_set,$ac_new_set in
1839 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1840 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1841 ac_cache_corrupted
=: ;;
1843 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1844 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1845 ac_cache_corrupted
=: ;;
1848 if test "x$ac_old_val" != "x$ac_new_val"; then
1849 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1850 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1851 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1852 echo "$as_me: former value: $ac_old_val" >&2;}
1853 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1854 echo "$as_me: current value: $ac_new_val" >&2;}
1855 ac_cache_corrupted
=:
1858 # Pass precious variables to config.status.
1859 if test "$ac_new_set" = set; then
1861 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1862 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1863 *) ac_arg
=$ac_var=$ac_new_val ;;
1865 case " $ac_configure_args " in
1866 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1867 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1871 if $ac_cache_corrupted; then
1872 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1873 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1874 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1875 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1876 { (exit 1); exit 1; }; }
1880 ac_cpp
='$CPP $CPPFLAGS'
1881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1903 echo "$@" >config.parms
1905 # Check whether --with-gnu-patch or --without-gnu-patch was given.
1906 if test "${with_gnu_patch+set}" = set; then
1907 withval
="$with_gnu_patch"
1911 # Check whether --with-agg or --without-agg was given.
1912 if test "${with_agg+set}" = set; then
1919 # Check whether --with-gnu-cp or --without-gnu-cp was given.
1920 if test "${with_gnu_cp+set}" = set; then
1921 withval
="$with_gnu_cp"
1924 # Check whether --enable-graphite or --disable-graphite was given.
1925 if test "${enable_graphite+set}" = set; then
1926 enableval
="$enable_graphite"
1930 # Check whether --with-system-graphite or --without-system-graphite was given.
1931 if test "${with_system_graphite+set}" = set; then
1932 withval
="$with_system_graphite"
1935 # Check whether --enable-ldap or --disable-ldap was given.
1936 if test "${enable_ldap+set}" = set; then
1937 enableval
="$enable_ldap"
1940 # Check whether --enable-fetch-external or --disable-fetch-external was given.
1941 if test "${enable_fetch_external+set}" = set; then
1942 enableval
="$enable_fetch_external"
1946 # Check whether --with-external-tar or --without-external-tar was given.
1947 if test "${with_external_tar+set}" = set; then
1948 withval
="$with_external_tar"
1949 TARFILE_LOCATION
="$withval"
1953 # Check whether --with-openldap or --without-openldap was given.
1954 if test "${with_openldap+set}" = set; then
1955 withval
="$with_openldap"
1958 # Check whether --enable-lockdown or --disable-lockdown was given.
1959 if test "${enable_lockdown+set}" = set; then
1960 enableval
="$enable_lockdown"
1963 # Check whether --enable-vba or --disable-vba was given.
1964 if test "${enable_vba+set}" = set; then
1965 enableval
="$enable_vba"
1969 # Check whether --with-vba-package-format or --without-vba-package-format was given.
1970 if test "${with_vba_package_format+set}" = set; then
1971 withval
="$with_vba_package_format"
1974 # Check whether --enable-pch or --disable-pch was given.
1975 if test "${enable_pch+set}" = set; then
1976 enableval
="$enable_pch"
1979 # Check whether --enable-hids or --disable-hids was given.
1980 if test "${enable_hids+set}" = set; then
1981 enableval
="$enable_hids"
1984 # Check whether --enable-mozilla or --disable-mozilla was given.
1985 if test "${enable_mozilla+set}" = set; then
1986 enableval
="$enable_mozilla"
1989 enable_mozilla
="yes"
1992 # Check whether --with-fonts or --without-fonts was given.
1993 if test "${with_fonts+set}" = set; then
1994 withval
="$with_fonts"
1998 # Check whether --with-ppds or --without-ppds was given.
1999 if test "${with_ppds+set}" = set; then
2000 withval
="$with_ppds"
2004 # Check whether --with-afms or --without-afms was given.
2005 if test "${with_afms+set}" = set; then
2006 withval
="$with_afms"
2009 # Check whether --enable-epm or --disable-epm was given.
2010 if test "${enable_epm+set}" = set; then
2011 enableval
="$enable_epm"
2017 # Check whether --with-epm or --without-epm was given.
2018 if test "${with_epm+set}" = set; then
2023 # Check whether --with-package-format or --without-package-format was given.
2024 if test "${with_package_format+set}" = set; then
2025 withval
="$with_package_format"
2028 # Check whether --enable-odk or --disable-odk was given.
2029 if test "${enable_odk+set}" = set; then
2030 enableval
="$enable_odk"
2035 # Check whether --enable-mathmldtd or --disable-mathmldtd was given.
2036 if test "${enable_mathmldtd+set}" = set; then
2037 enableval
="$enable_mathmldtd"
2040 enable_mathmldtd
="yes"
2042 # Check whether --enable-evolution2 or --disable-evolution2 was given.
2043 if test "${enable_evolution2+set}" = set; then
2044 enableval
="$enable_evolution2"
2048 # Check whether --with-system-stdlibs or --without-system-stdlibs was given.
2049 if test "${with_system_stdlibs+set}" = set; then
2050 withval
="$with_system_stdlibs"
2053 # Check whether --enable-cups or --disable-cups was given.
2054 if test "${enable_cups+set}" = set; then
2055 enableval
="$enable_cups"
2060 # Check whether --enable-fontconfig or --disable-fontconfig was given.
2061 if test "${enable_fontconfig+set}" = set; then
2062 enableval
="$enable_fontconfig"
2065 enable_fontconfig
=yes
2067 # Check whether --enable-directx or --disable-directx was given.
2068 if test "${enable_directx+set}" = set; then
2069 enableval
="$enable_directx"
2074 # Check whether --enable-activex or --disable-activex was given.
2075 if test "${enable_activex+set}" = set; then
2076 enableval
="$enable_activex"
2080 # Check whether --enable-atl or --disable-atl was given.
2081 if test "${enable_atl+set}" = set; then
2082 enableval
="$enable_atl"
2086 # Check whether --enable-symbols or --disable-symbols was given.
2087 if test "${enable_symbols+set}" = set; then
2088 enableval
="$enable_symbols"
2091 # Check whether --enable-strip-solver or --disable-strip-solver was given.
2092 if test "${enable_strip_solver+set}" = set; then
2093 enableval
="$enable_strip_solver"
2096 # Check whether --enable-werror or --disable-werror was given.
2097 if test "${enable_werror+set}" = set; then
2098 enableval
="$enable_werror"
2101 # Check whether --enable-debug or --disable-debug was given.
2102 if test "${enable_debug+set}" = set; then
2103 enableval
="$enable_debug"
2106 # Check whether --enable-dbgutil or --disable-dbgutil was given.
2107 if test "${enable_dbgutil+set}" = set; then
2108 enableval
="$enable_dbgutil"
2111 # Check whether --enable-crashdump or --disable-crashdump was given.
2112 if test "${enable_crashdump+set}" = set; then
2113 enableval
="$enable_crashdump"
2116 # Check whether --enable-cl-standard or --disable-cl-standard was given.
2117 if test "${enable_cl_standard+set}" = set; then
2118 enableval
="$enable_cl_standard"
2121 # Check whether --enable-gtk or --disable-gtk was given.
2122 if test "${enable_gtk+set}" = set; then
2123 enableval
="$enable_gtk"
2128 # Check whether --enable-systray or --disable-systray was given.
2129 if test "${enable_systray+set}" = set; then
2130 enableval
="$enable_systray"
2135 # Check whether --enable-cairo or --disable-cairo was given.
2136 if test "${enable_cairo+set}" = set; then
2137 enableval
="$enable_cairo"
2143 # Check whether --with-system-cairo or --without-system-cairo was given.
2144 if test "${with_system_cairo+set}" = set; then
2145 withval
="$with_system_cairo"
2148 # Check whether --enable-opengl or --disable-opengl was given.
2149 if test "${enable_opengl+set}" = set; then
2150 enableval
="$enable_opengl"
2155 # Check whether --enable-dbus or --disable-dbus was given.
2156 if test "${enable_dbus+set}" = set; then
2157 enableval
="$enable_dbus"
2162 # Check whether --enable-gconf or --disable-gconf was given.
2163 if test "${enable_gconf+set}" = set; then
2164 enableval
="$enable_gconf"
2169 # Check whether --enable-gnome-vfs or --disable-gnome-vfs was given.
2170 if test "${enable_gnome_vfs+set}" = set; then
2171 enableval
="$enable_gnome_vfs"
2174 enable_gnome_vfs
=yes
2176 # Check whether --enable-gio or --disable-gio was given.
2177 if test "${enable_gio+set}" = set; then
2178 enableval
="$enable_gio"
2183 # Check whether --enable-static-gtk or --disable-static-gtk was given.
2184 if test "${enable_static_gtk+set}" = set; then
2185 enableval
="$enable_static_gtk"
2188 # Check whether --enable-layout or --disable-layout was given.
2189 if test "${enable_layout+set}" = set; then
2190 enableval
="$enable_layout"
2193 # Check whether --enable-build-mozilla or --disable-build-mozilla was given.
2194 if test "${enable_build_mozilla+set}" = set; then
2195 enableval
="$enable_build_mozilla"
2199 # Check whether --with-mozilla-version or --without-mozilla-version was given.
2200 if test "${with_mozilla_version+set}" = set; then
2201 withval
="$with_mozilla_version"
2205 # Check whether --with-mozilla-toolkit or --without-mozilla-toolkit was given.
2206 if test "${with_mozilla_toolkit+set}" = set; then
2207 withval
="$with_mozilla_toolkit"
2210 # Check whether --enable-nss_module or --disable-nss_module was given.
2211 if test "${enable_nss_module+set}" = set; then
2212 enableval
="$enable_nss_module"
2215 enable_nss_module
=yes
2217 # Check whether --enable-kde or --disable-kde was given.
2218 if test "${enable_kde+set}" = set; then
2219 enableval
="$enable_kde"
2222 # Check whether --enable-kdeab or --disable-kdeab was given.
2223 if test "${enable_kdeab+set}" = set; then
2224 enableval
="$enable_kdeab"
2227 if test "$enable_kde" = "yes"; then enable_kdeab
=yes; fi
2229 # Check whether --enable-kde4 or --disable-kde4 was given.
2230 if test "${enable_kde4+set}" = set; then
2231 enableval
="$enable_kde4"
2234 # Check whether --enable-binfilter or --disable-binfilter was given.
2235 if test "${enable_binfilter+set}" = set; then
2236 enableval
="$enable_binfilter"
2239 if ! test -d .
/binfilter
; then enable_binfilter
=no
; fi
2241 # Check whether --enable-rpath or --disable-rpath was given.
2242 if test "${enable_rpath+set}" = set; then
2243 enableval
="$enable_rpath"
2246 # Check whether --enable-pam or --disable-pam was given.
2247 if test "${enable_pam+set}" = set; then
2248 enableval
="$enable_pam"
2251 # Check whether --enable-pam-link or --disable-pam-link was given.
2252 if test "${enable_pam_link+set}" = set; then
2253 enableval
="$enable_pam_link"
2256 # Check whether --enable-crypt-link or --disable-crypt-link was given.
2257 if test "${enable_crypt_link+set}" = set; then
2258 enableval
="$enable_crypt_link"
2261 enable_crypt_link
=yes
2263 # Check whether --enable-xrender-link or --disable-xrender-link was given.
2264 if test "${enable_xrender_link+set}" = set; then
2265 enableval
="$enable_xrender_link"
2268 # Check whether --enable-randr or --disable-randr was given.
2269 if test "${enable_randr+set}" = set; then
2270 enableval
="$enable_randr"
2275 # Check whether --enable-randr-link or --disable-randr-link was given.
2276 if test "${enable_randr_link+set}" = set; then
2277 enableval
="$enable_randr_link"
2280 enable_randr_link
=yes
2283 # Check whether --with-myspell-dicts or --without-myspell-dicts was given.
2284 if test "${with_myspell_dicts+set}" = set; then
2285 withval
="$with_myspell_dicts"
2289 # Check whether --with-system-dicts or --without-system-dicts was given.
2290 if test "${with_system_dicts+set}" = set; then
2291 withval
="$with_system_dicts"
2295 # Check whether --with-external-dict-dir or --without-external-dict-dir was given.
2296 if test "${with_external_dict_dir+set}" = set; then
2297 withval
="$with_external_dict_dir"
2301 # Check whether --with-external-hyph-dir or --without-external-hyph-dir was given.
2302 if test "${with_external_hyph_dir+set}" = set; then
2303 withval
="$with_external_hyph_dir"
2307 # Check whether --with-external-thes-dir or --without-external-thes-dir was given.
2308 if test "${with_external_thes_dir+set}" = set; then
2309 withval
="$with_external_thes_dir"
2313 # Check whether --with-system-libs or --without-system-libs was given.
2314 if test "${with_system_libs+set}" = set; then
2315 withval
="$with_system_libs"
2319 # Check whether --with-system-headers or --without-system-headers was given.
2320 if test "${with_system_headers+set}" = set; then
2321 withval
="$with_system_headers"
2325 # Check whether --with-system-jars or --without-system-jars was given.
2326 if test "${with_system_jars+set}" = set; then
2327 withval
="$with_system_jars"
2331 # Check whether --with-system-zlib or --without-system-zlib was given.
2332 if test "${with_system_zlib+set}" = set; then
2333 withval
="$with_system_zlib"
2337 # Check whether --with-system-openssl or --without-system-openssl was given.
2338 if test "${with_system_openssl+set}" = set; then
2339 withval
="$with_system_openssl"
2343 # Check whether --with-system-jpeg or --without-system-jpeg was given.
2344 if test "${with_system_jpeg+set}" = set; then
2345 withval
="$with_system_jpeg"
2349 # Check whether --with-system-expat or --without-system-expat was given.
2350 if test "${with_system_expat+set}" = set; then
2351 withval
="$with_system_expat"
2355 # Check whether --with-system-libwpd or --without-system-libwpd was given.
2356 if test "${with_system_libwpd+set}" = set; then
2357 withval
="$with_system_libwpd"
2361 # Check whether --with-system-libxml or --without-system-libxml was given.
2362 if test "${with_system_libxml+set}" = set; then
2363 withval
="$with_system_libxml"
2367 # Check whether --with-system-python or --without-system-python was given.
2368 if test "${with_system_python+set}" = set; then
2369 withval
="$with_system_python"
2373 # Check whether --with-system-icu or --without-system-icu was given.
2374 if test "${with_system_icu+set}" = set; then
2375 withval
="$with_system_icu"
2379 # Check whether --with-system-poppler or --without-system-poppler was given.
2380 if test "${with_system_poppler+set}" = set; then
2381 withval
="$with_system_poppler"
2385 # Check whether --with-system-db or --without-system-db was given.
2386 if test "${with_system_db+set}" = set; then
2387 withval
="$with_system_db"
2391 # Check whether --with-system-lucene or --without-system-lucene was given.
2392 if test "${with_system_lucene+set}" = set; then
2393 withval
="$with_system_lucene"
2397 # Check whether --with-lucene-core-jar or --without-lucene-core-jar was given.
2398 if test "${with_lucene_core_jar+set}" = set; then
2399 withval
="$with_lucene_core_jar"
2400 LUCENE_CORE_JAR
="$withval"
2404 # Check whether --with-lucene-analyzers-jar or --without-lucene-analyzers-jar was given.
2405 if test "${with_lucene_analyzers_jar+set}" = set; then
2406 withval
="$with_lucene_analyzers_jar"
2407 LUCENE_ANALYZERS_JAR
="$withval"
2410 # Check whether --enable-mysql-connector or --disable-mysql-connector was given.
2411 if test "${enable_mysql_connector+set}" = set; then
2412 enableval
="$enable_mysql_connector"
2416 # Check whether --with-system-mysql or --without-system-mysql was given.
2417 if test "${with_system_mysql+set}" = set; then
2418 withval
="$with_system_mysql"
2422 # Check whether --with-libmysql-path or --without-libmysql-path was given.
2423 if test "${with_libmysql_path+set}" = set; then
2424 withval
="$with_libmysql_path"
2428 # Check whether --with-system-mysql-cppconn or --without-system-mysql-cppconn was given.
2429 if test "${with_system_mysql_cppconn+set}" = set; then
2430 withval
="$with_system_mysql_cppconn"
2434 # Check whether --with-system-hsqldb or --without-system-hsqldb was given.
2435 if test "${with_system_hsqldb+set}" = set; then
2436 withval
="$with_system_hsqldb"
2440 # Check whether --with-hsqldb-jar or --without-hsqldb-jar was given.
2441 if test "${with_hsqldb_jar+set}" = set; then
2442 withval
="$with_hsqldb_jar"
2443 HSQLDB_JAR
="$withval"
2447 # Check whether --with-system-beanshell or --without-system-beanshell was given.
2448 if test "${with_system_beanshell+set}" = set; then
2449 withval
="$with_system_beanshell"
2453 # Check whether --with-beanshell-jar or --without-beanshell-jar was given.
2454 if test "${with_beanshell_jar+set}" = set; then
2455 withval
="$with_beanshell_jar"
2459 # Check whether --enable-presenter-extra-ui or --disable-presenter-extra-ui was given.
2460 if test "${enable_presenter_extra_ui+set}" = set; then
2461 enableval
="$enable_presenter_extra_ui"
2464 enable_presenter_extra_ui
=no
2466 # Check whether --enable-minimizer or --disable-minimizer was given.
2467 if test "${enable_minimizer+set}" = set; then
2468 enableval
="$enable_minimizer"
2471 # Check whether --enable-presenter-console or --disable-presenter-console was given.
2472 if test "${enable_presenter_console+set}" = set; then
2473 enableval
="$enable_presenter_console"
2476 # Check whether --enable-pdfimport or --disable-pdfimport was given.
2477 if test "${enable_pdfimport+set}" = set; then
2478 enableval
="$enable_pdfimport"
2481 # Check whether --enable-wiki-publisher or --disable-wiki-publisher was given.
2482 if test "${enable_wiki_publisher+set}" = set; then
2483 enableval
="$enable_wiki_publisher"
2487 # Check whether --with-commons-codec-jar or --without-commons-codec-jar was given.
2488 if test "${with_commons_codec_jar+set}" = set; then
2489 withval
="$with_commons_codec_jar"
2490 COMMONS_CODEC_JAR
="$withval"
2494 # Check whether --with-commons-lang-jar or --without-commons-lang-jar was given.
2495 if test "${with_commons_lang_jar+set}" = set; then
2496 withval
="$with_commons_lang_jar"
2497 COMMONS_LANG_JAR
="$withval"
2501 # Check whether --with-commons-httpclient-jar or --without-commons-httpclient-jar was given.
2502 if test "${with_commons_httpclient_jar+set}" = set; then
2503 withval
="$with_commons_httpclient_jar"
2504 COMMONS_HTTPCLIENT_JAR
="$withval"
2508 # Check whether --with-commons-logging-jar or --without-commons-logging-jar was given.
2509 if test "${with_commons_logging_jar+set}" = set; then
2510 withval
="$with_commons_logging_jar"
2511 COMMONS_LOGGING_JAR
="$withval"
2515 # Check whether --with-servlet-api-jar or --without-servlet-api-jar was given.
2516 if test "${with_servlet_api_jar+set}" = set; then
2517 withval
="$with_servlet_api_jar"
2518 SERVLETAPI_JAR
="$withval"
2521 # Check whether --enable-report-builder or --disable-report-builder was given.
2522 if test "${enable_report_builder+set}" = set; then
2523 enableval
="$enable_report_builder"
2527 # Check whether --with-system-jfreereport or --without-system-jfreereport was given.
2528 if test "${with_system_jfreereport+set}" = set; then
2529 withval
="$with_system_jfreereport"
2533 # Check whether --with-sac-jar or --without-sac-jar was given.
2534 if test "${with_sac_jar+set}" = set; then
2535 withval
="$with_sac_jar"
2540 # Check whether --with-libxml-jar or --without-libxml-jar was given.
2541 if test "${with_libxml_jar+set}" = set; then
2542 withval
="$with_libxml_jar"
2543 LIBXML_JAR
="$withval"
2547 # Check whether --with-flute-jar or --without-flute-jar was given.
2548 if test "${with_flute_jar+set}" = set; then
2549 withval
="$with_flute_jar"
2550 FLUTE_JAR
="$withval"
2554 # Check whether --with-jfreereport-jar or --without-jfreereport-jar was given.
2555 if test "${with_jfreereport_jar+set}" = set; then
2556 withval
="$with_jfreereport_jar"
2557 JFREEREPORT_JAR
="$withval"
2561 # Check whether --with-liblayout-jar or --without-liblayout-jar was given.
2562 if test "${with_liblayout_jar+set}" = set; then
2563 withval
="$with_liblayout_jar"
2564 LIBLAYOUT_JAR
="$withval"
2568 # Check whether --with-libloader-jar or --without-libloader-jar was given.
2569 if test "${with_libloader_jar+set}" = set; then
2570 withval
="$with_libloader_jar"
2571 LIBLOADER_JAR
="$withval"
2575 # Check whether --with-libloader-jar or --without-libloader-jar was given.
2576 if test "${with_libloader_jar+set}" = set; then
2577 withval
="$with_libloader_jar"
2578 LIBLOADER_JAR
="$withval"
2582 # Check whether --with-libformula-jar or --without-libformula-jar was given.
2583 if test "${with_libformula_jar+set}" = set; then
2584 withval
="$with_libformula_jar"
2585 LIBFORMULA_JAR
="$withval"
2589 # Check whether --with-librepository-jar or --without-librepository-jar was given.
2590 if test "${with_librepository_jar+set}" = set; then
2591 withval
="$with_librepository_jar"
2592 LIBREPOSITORY_JAR
="$withval"
2596 # Check whether --with-libfonts-jar or --without-libfonts-jar was given.
2597 if test "${with_libfonts_jar+set}" = set; then
2598 withval
="$with_libfonts_jar"
2599 LIBFONTS_JAR
="$withval"
2603 # Check whether --with-libserializer-jar or --without-libserializer-jar was given.
2604 if test "${with_libserializer_jar+set}" = set; then
2605 withval
="$with_libserializer_jar"
2606 LIBSERIALIZER_JAR
="$withval"
2610 # Check whether --with-libbase-jar or --without-libbase-jar was given.
2611 if test "${with_libbase_jar+set}" = set; then
2612 withval
="$with_libbase_jar"
2613 LIBBASE_JAR
="$withval"
2617 # Check whether --with-system-saxon or --without-system-saxon was given.
2618 if test "${with_system_saxon+set}" = set; then
2619 withval
="$with_system_saxon"
2623 # Check whether --with-saxon-jar or --without-saxon-jar was given.
2624 if test "${with_saxon_jar+set}" = set; then
2625 withval
="$with_saxon_jar"
2626 SAXON_JAR
="$withval"
2630 # Check whether --with-system-libxslt or --without-system-libxslt was given.
2631 if test "${with_system_libxslt+set}" = set; then
2632 withval
="$with_system_libxslt"
2636 # Check whether --with-system-odbc or --without-system-odbc was given.
2637 if test "${with_system_odbc+set}" = set; then
2638 withval
="$with_system_odbc"
2642 # Check whether --with-system-sane or --without-system-sane was given.
2643 if test "${with_system_sane+set}" = set; then
2644 withval
="$with_system_sane"
2648 # Check whether --with-system-xrender or --without-system-xrender was given.
2649 if test "${with_system_xrender+set}" = set; then
2650 withval
="$with_system_xrender"
2654 # Check whether --with-system-curl or --without-system-curl was given.
2655 if test "${with_system_curl+set}" = set; then
2656 withval
="$with_system_curl"
2660 # Check whether --with-system-boost or --without-system-boost was given.
2661 if test "${with_system_boost+set}" = set; then
2662 withval
="$with_system_boost"
2666 # Check whether --with-system-mdds or --without-system-mdds was given.
2667 if test "${with_system_mdds+set}" = set; then
2668 withval
="$with_system_mdds"
2672 # Check whether --with-system-vigra or --without-system-vigra was given.
2673 if test "${with_system_vigra+set}" = set; then
2674 withval
="$with_system_vigra"
2677 # Check whether --enable-neon or --disable-neon was given.
2678 if test "${enable_neon+set}" = set; then
2679 enableval
="$enable_neon"
2682 # Check whether --enable-Xaw or --disable-Xaw was given.
2683 if test "${enable_Xaw+set}" = set; then
2684 enableval
="$enable_Xaw"
2688 # Check whether --with-system-neon or --without-system-neon was given.
2689 if test "${with_system_neon+set}" = set; then
2690 withval
="$with_system_neon"
2694 # Check whether --with-system-agg or --without-system-agg was given.
2695 if test "${with_system_agg+set}" = set; then
2696 withval
="$with_system_agg"
2700 # Check whether --with-system-hunspell or --without-system-hunspell was given.
2701 if test "${with_system_hunspell+set}" = set; then
2702 withval
="$with_system_hunspell"
2706 # Check whether --with-system-mythes or --without-system-mythes was given.
2707 if test "${with_system_mythes+set}" = set; then
2708 withval
="$with_system_mythes"
2712 # Check whether --with-system-altlinuxhyph or --without-system-altlinuxhyph was given.
2713 if test "${with_system_altlinuxhyph+set}" = set; then
2714 withval
="$with_system_altlinuxhyph"
2718 # Check whether --with-system-lpsolve or --without-system-lpsolve was given.
2719 if test "${with_system_lpsolve+set}" = set; then
2720 withval
="$with_system_lpsolve"
2724 # Check whether --with-system-cppunit or --without-system-cppunit was given.
2725 if test "${with_system_cppunit+set}" = set; then
2726 withval
="$with_system_cppunit"
2730 # Check whether --with-system-redland or --without-system-redland was given.
2731 if test "${with_system_redland+set}" = set; then
2732 withval
="$with_system_redland"
2736 # Check whether --with-system-mozilla or --without-system-mozilla was given.
2737 if test "${with_system_mozilla+set}" = set; then
2738 withval
="$with_system_mozilla"
2739 WITH_SYSTEM_MOZILLA
=$withval
2741 WITH_SYSTEM_MOZILLA
=no
2744 # Check whether --with-stlport or --without-stlport was given.
2745 if test "${with_stlport+set}" = set; then
2746 withval
="$with_stlport"
2747 WITH_STLPORT
=$withval
2752 # Check whether --with-jdk-home or --without-jdk-home was given.
2753 if test "${with_jdk_home+set}" = set; then
2754 withval
="$with_jdk_home"
2758 # Check whether --with-gxx_include_path or --without-gxx_include_path was given.
2759 if test "${with_gxx_include_path+set}" = set; then
2760 withval
="$with_gxx_include_path"
2764 # Check whether --with-java or --without-java was given.
2765 if test "${with_java+set}" = set; then
2766 withval
="$with_java"
2767 if test "$withval" = "yes"; then WITH_JAVA
=java
; else WITH_JAVA
=$withval; fi
2771 # Check whether --enable-gcjaot or --disable-gcjaot was given.
2772 if test "${enable_gcjaot+set}" = set; then
2773 enableval
="$enable_gcjaot"
2777 # Check whether --with-ant-home or --without-ant-home was given.
2778 if test "${with_ant_home+set}" = set; then
2779 withval
="$with_ant_home"
2783 # Check whether --with-junit or --without-junit was given.
2784 if test "${with_junit+set}" = set; then
2785 withval
="$with_junit"
2791 # Check whether --with-perl-home or --without-perl-home was given.
2792 if test "${with_perl_home+set}" = set; then
2793 withval
="$with_perl_home"
2797 # Check whether --with-cl-home or --without-cl-home was given.
2798 if test "${with_cl_home+set}" = set; then
2799 withval
="$with_cl_home"
2803 # Check whether --with-mspdb-path or --without-mspdb-path was given.
2804 if test "${with_mspdb_path+set}" = set; then
2805 withval
="$with_mspdb_path"
2809 # Check whether --with-midl-path or --without-midl-path was given.
2810 if test "${with_midl_path+set}" = set; then
2811 withval
="$with_midl_path"
2815 # Check whether --with-csc-path or --without-csc-path was given.
2816 if test "${with_csc_path+set}" = set; then
2817 withval
="$with_csc_path"
2821 # Check whether --with-nsis-path or --without-nsis-path was given.
2822 if test "${with_nsis_path+set}" = set; then
2823 withval
="$with_nsis_path"
2827 # Check whether --with-frame-home or --without-frame-home was given.
2828 if test "${with_frame_home+set}" = set; then
2829 withval
="$with_frame_home"
2833 # Check whether --with-psdk-home or --without-psdk-home was given.
2834 if test "${with_psdk_home+set}" = set; then
2835 withval
="$with_psdk_home"
2839 # Check whether --with-directx-home or --without-directx-home was given.
2840 if test "${with_directx_home+set}" = set; then
2841 withval
="$with_directx_home"
2845 # Check whether --with-mozilla-build or --without-mozilla-build was given.
2846 if test "${with_mozilla_build+set}" = set; then
2847 withval
="$with_mozilla_build"
2848 MOZILLABUILD
=$withval
2851 # Check whether --with-local-solenv or --without-local-solenv was given.
2852 if test "${with_local_solenv+set}" = set; then
2853 withval
="$with_local_solenv"
2857 # Check whether --with-local-solver or --without-local-solver was given.
2858 if test "${with_local_solver+set}" = set; then
2859 withval
="$with_local_solver"
2862 # Check whether --enable-check-only or --disable-check-only was given.
2863 if test "${enable_check_only+set}" = set; then
2864 enableval
="$enable_check_only"
2867 # Check whether --enable-ccache-skip or --disable-ccache-skip was given.
2868 if test "${enable_ccache_skip+set}" = set; then
2869 enableval
="$enable_ccache_skip"
2872 enable_ccache_skip
=auto
2875 # Check whether --with-lang or --without-lang was given.
2876 if test "${with_lang+set}" = set; then
2877 withval
="$with_lang"
2881 # Check whether --with-poor-help-localizations or --without-poor-help-localizations was given.
2882 if test "${with_poor_help_localizations+set}" = set; then
2883 withval
="$with_poor_help_localizations"
2887 # Check whether --with-dict or --without-dict was given.
2888 if test "${with_dict+set}" = set; then
2889 withval
="$with_dict"
2893 # Check whether --with-intro-bitmaps or --without-intro-bitmaps was given.
2894 if test "${with_intro_bitmaps+set}" = set; then
2895 withval
="$with_intro_bitmaps"
2899 # Check whether --with-about-bitmaps or --without-about-bitmaps was given.
2900 if test "${with_about_bitmaps+set}" = set; then
2901 withval
="$with_about_bitmaps"
2905 # Check whether --with-vendor or --without-vendor was given.
2906 if test "${with_vendor+set}" = set; then
2907 withval
="$with_vendor"
2911 # Check whether --with-unix-wrapper or --without-unix-wrapper was given.
2912 if test "${with_unix_wrapper+set}" = set; then
2913 withval
="$with_unix_wrapper"
2917 # Check whether --with-asm-home or --without-asm-home was given.
2918 if test "${with_asm_home+set}" = set; then
2919 withval
="$with_asm_home"
2923 # Check whether --with-os-version or --without-os-version was given.
2924 if test "${with_os_version+set}" = set; then
2925 withval
="$with_os_version"
2929 # Check whether --with-unzip-home or --without-unzip-home was given.
2930 if test "${with_unzip_home+set}" = set; then
2931 withval
="$with_unzip_home"
2935 # Check whether --with-zip-home or --without-zip-home was given.
2936 if test "${with_zip_home+set}" = set; then
2937 withval
="$with_zip_home"
2941 # Check whether --with-mingwin or --without-mingwin was given.
2942 if test "${with_mingwin+set}" = set; then
2943 withval
="$with_mingwin"
2944 WITH_MINGWIN
=$withval
2949 # Check whether --with-build-version or --without-build-version was given.
2950 if test "${with_build_version+set}" = set; then
2951 withval
="$with_build_version"
2952 with_build_version
=$withval
2955 # Check whether --with-alloc or --without-alloc was given.
2956 if test "${with_alloc+set}" = set; then
2957 withval
="$with_alloc"
2960 # Check whether --enable-verbose or --disable-verbose was given.
2961 if test "${enable_verbose+set}" = set; then
2962 enableval
="$enable_verbose"
2965 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2966 if test "${enable_dependency_tracking+set}" = set; then
2967 enableval
="$enable_dependency_tracking"
2973 echo "********************************************************************"
2975 echo "* OpenOffice.org build configuration. *"
2977 echo "* The configure process checks your platform to see whether *"
2978 echo "* you can build OpenOffice.org on it. *"
2979 echo "* This process checks all pre-requisites and generates a file *"
2980 echo "* containing the necessary environment variables. *"
2981 echo "* Source this file after configure has ended successfully. *"
2983 echo "* Any warning that is generated during the configure process *"
2984 echo "* must be taken into account since it can be a reason for *"
2985 echo "* an unsuccessful build of OpenOffice.org *"
2987 echo "********************************************************************"
2989 echo "********************************************************************"
2991 echo "* Checking the platform pre-requisites. *"
2993 echo "********************************************************************"
2995 cat /dev
/null
> warn
2996 echo "$as_me:$LINENO: checking for egrep" >&5
2997 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2998 if test "${ac_cv_prog_egrep+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3002 then ac_cv_prog_egrep
='grep -E'
3003 else ac_cv_prog_egrep
='egrep'
3006 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3007 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3008 EGREP
=$ac_cv_prog_egrep
3011 for ac_prog
in gawk mawk nawk
awk
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy
$ac_prog; ac_word
=$2
3015 echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_AWK+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 if test -n "$AWK"; then
3021 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_AWK
="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 if test -n "$AWK"; then
3041 echo "$as_me:$LINENO: result: $AWK" >&5
3042 echo "${ECHO_T}$AWK" >&6
3044 echo "$as_me:$LINENO: result: no" >&5
3045 echo "${ECHO_T}no" >&6
3048 test -n "$AWK" && break
3051 # Extract the first word of "$AWK", so it can be a program name with args.
3052 set dummy
$AWK; ac_word
=$2
3053 echo "$as_me:$LINENO: checking for $ac_word" >&5
3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3055 if test "${ac_cv_path_AWK+set}" = set; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 ac_cv_path_AWK
="$AWK" # Let the user override the test with a path.
3063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir
=.
3068 for ac_exec_ext
in '' $ac_executable_extensions; do
3069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070 ac_cv_path_AWK
="$as_dir/$ac_word$ac_exec_ext"
3071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$AWK"; then
3083 echo "$as_me:$LINENO: result: $AWK" >&5
3084 echo "${ECHO_T}$AWK" >&6
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3090 if test -z "$AWK"; then
3091 { { echo "$as_me:$LINENO: error: install awk to run this script" >&5
3092 echo "$as_me: error: install awk to run this script" >&2;}
3093 { (exit 1); exit 1; }; }
3098 # Extract the first word of "$ac_prog", so it can be a program name with args.
3099 set dummy
$ac_prog; ac_word
=$2
3100 echo "$as_me:$LINENO: checking for $ac_word" >&5
3101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3102 if test "${ac_cv_path_SED+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
3118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$SED"; then
3130 echo "$as_me:$LINENO: result: $SED" >&5
3131 echo "${ECHO_T}$SED" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3137 test -n "$SED" && break
3140 if test -z "$SED"; then
3141 { { echo "$as_me:$LINENO: error: install sed to run this script" >&5
3142 echo "$as_me: error: install sed to run this script" >&2;}
3143 { (exit 1); exit 1; }; }
3146 echo "$as_me:$LINENO: checking for solenv environment" >&5
3147 echo $ECHO_N "checking for solenv environment... $ECHO_C" >&6
3148 if test -z "$with_local_solenv"; then
3149 LOCAL_SOLENV
="DEFAULT"
3150 echo "$as_me:$LINENO: result: default" >&5
3151 echo "${ECHO_T}default" >&6
3153 LOCAL_SOLENV
=$with_local_solenv
3154 echo "$as_me:$LINENO: result: $with_local_solenv" >&5
3155 echo "${ECHO_T}$with_local_solenv" >&6
3159 if test "$LOCAL_SOLENV" = "DEFAULT"; then
3162 _solenv
="$LOCAL_SOLENV"
3166 if test -e $_solenv/inc
/minor.mk
; then
3167 # Get UPD number from ./solenv/inc/minor.mk
3168 UPD
="`grep RSCVERSION= $_solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'`"
3170 SOURCEVERSION
="`grep SOURCEVERSION= $_solenv/inc/minor.mk | $AWK -F"=" '{ print $2 }'`"
3173 { { echo "$as_me:$LINENO: error: $_solenv/inc/minor.mk missing but needed for architecture/os detecion and proper environment script generation..." >&5
3174 echo "$as_me: error: $_solenv/inc/minor.mk missing but needed for architecture/os detecion and proper environment script generation..." >&2;}
3175 { (exit 1); exit 1; }; }
3179 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
3180 if test -f $ac_dir/install-sh
; then
3182 ac_install_sh
="$ac_aux_dir/install-sh -c"
3184 elif test -f $ac_dir/install.sh
; then
3186 ac_install_sh
="$ac_aux_dir/install.sh -c"
3188 elif test -f $ac_dir/shtool
; then
3190 ac_install_sh
="$ac_aux_dir/shtool install -c"
3194 if test -z "$ac_aux_dir"; then
3195 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3196 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3197 { (exit 1); exit 1; }; }
3199 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3200 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3201 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3203 # Make sure we can run config.sub.
3204 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3205 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3206 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3207 { (exit 1); exit 1; }; }
3209 echo "$as_me:$LINENO: checking build system type" >&5
3210 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3211 if test "${ac_cv_build+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 ac_cv_build_alias
=$build_alias
3215 test -z "$ac_cv_build_alias" &&
3216 ac_cv_build_alias
=`$ac_config_guess`
3217 test -z "$ac_cv_build_alias" &&
3218 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3219 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3220 { (exit 1); exit 1; }; }
3221 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3222 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3223 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3224 { (exit 1); exit 1; }; }
3227 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3228 echo "${ECHO_T}$ac_cv_build" >&6
3230 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3231 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3232 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3235 echo "$as_me:$LINENO: checking host system type" >&5
3236 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3237 if test "${ac_cv_host+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 ac_cv_host_alias
=$host_alias
3241 test -z "$ac_cv_host_alias" &&
3242 ac_cv_host_alias
=$ac_cv_build_alias
3243 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3244 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3245 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3246 { (exit 1); exit 1; }; }
3249 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3250 echo "${ECHO_T}$ac_cv_host" >&6
3252 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3253 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3254 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3257 echo "$as_me:$LINENO: checking target system type" >&5
3258 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3259 if test "${ac_cv_target+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 ac_cv_target_alias
=$target_alias
3263 test "x$ac_cv_target_alias" = "x" &&
3264 ac_cv_target_alias
=$ac_cv_host_alias
3265 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3266 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3267 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3268 { (exit 1); exit 1; }; }
3271 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3272 echo "${ECHO_T}$ac_cv_target" >&6
3273 target
=$ac_cv_target
3274 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3275 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3276 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3279 # The aliases save the names the user supplied, while $host etc.
3280 # will get canonicalized.
3281 test -n "$target_alias" &&
3282 test "$program_prefix$program_suffix$program_transform_name" = \
3284 program_prefix
=${target_alias}-
3285 if test "$build" != "$host" -o "$build" != "$target" \
3286 -o "$host" != "$target"; then
3287 { echo "$as_me:$LINENO: WARNING: cross-compiling by any means is not supported (yet)!" >&5
3288 echo "$as_me: WARNING: cross-compiling by any means is not supported (yet)!" >&2;}
3289 echo "cross-compiling by any means is not supported (yet)!" >> warn
3292 if echo "$build_os" |
grep cygwin
; then
3293 echo "$as_me:$LINENO: checking Cygwin version" >&5
3294 echo $ECHO_N "checking Cygwin version... $ECHO_C" >&6
3295 CygwinVer
=`uname -r`
3296 echo "$as_me:$LINENO: result: $CygwinVer" >&5
3297 echo "${ECHO_T}$CygwinVer" >&6
3298 if test "`echo $CygwinVer | $AWK -F . '{ print $1$2 }'`" -lt "15"; then
3299 { { echo "$as_me:$LINENO: error: You need at least Cygwin V1.5.x" >&5
3300 echo "$as_me: error: You need at least Cygwin V1.5.x" >&2;}
3301 { (exit 1); exit 1; }; }
3316 # Extract the first word of "gtar", so it can be a program name with args.
3317 set dummy gtar
; ac_word
=$2
3318 echo "$as_me:$LINENO: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3320 if test "${ac_cv_path_GNUTAR+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 ac_cv_path_GNUTAR
="$GNUTAR" # Let the user override the test with a path.
3328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3329 as_dummy
="$PATH:/usr/sfw/bin"
3330 for as_dir
in $as_dummy
3333 test -z "$as_dir" && as_dir
=.
3334 for ac_exec_ext
in '' $ac_executable_extensions; do
3335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3336 ac_cv_path_GNUTAR
="$as_dir/$ac_word$ac_exec_ext"
3337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 GNUTAR
=$ac_cv_path_GNUTAR
3348 if test -n "$GNUTAR"; then
3349 echo "$as_me:$LINENO: result: $GNUTAR" >&5
3350 echo "${ECHO_T}$GNUTAR" >&6
3352 echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6
3356 if test -z "$GNUTAR"; then
3357 { { echo "$as_me:$LINENO: error: gtar (gnu tar) not found but needed. Install it (SUN Freeware package)." >&5
3358 echo "$as_me: error: gtar (gnu tar) not found but needed. Install it (SUN Freeware package)." >&2;}
3359 { (exit 1); exit 1; }; }
3363 echo "$as_me:$LINENO: checking the Solaris operating system release" >&5
3364 echo $ECHO_N "checking the Solaris operating system release... $ECHO_C" >&6
3365 _os_release
=`echo $build_os | $SED -e s/solaris2\.//`
3366 if test "$_os_release" -lt "6"; then
3367 { { echo "$as_me:$LINENO: error: use solaris >= 6 to build OpenOffice.org" >&5
3368 echo "$as_me: error: use solaris >= 6 to build OpenOffice.org" >&2;}
3369 { (exit 1); exit 1; }; }
3371 echo "$as_me:$LINENO: result: ok ($_os_release)" >&5
3372 echo "${ECHO_T}ok ($_os_release)" >&6
3375 echo "$as_me:$LINENO: checking the processor type" >&5
3376 echo $ECHO_N "checking the processor type... $ECHO_C" >&6
3377 if test "$build_cpu" = "sparc" -o "$build_cpu" = "i386"; then
3378 echo "$as_me:$LINENO: result: ok ($build_cpu)" >&5
3379 echo "${ECHO_T}ok ($build_cpu)" >&6
3381 { { echo "$as_me:$LINENO: error: only sparc and i386 processors are supported" >&5
3382 echo "$as_me: error: only sparc and i386 processors are supported" >&2;}
3383 { (exit 1); exit 1; }; }
3386 linux-gnu
*|k
*bsd
*-gnu*)
3413 if test "$enable_systray" = "yes" && test "$enable_gtk" != "no"; then
3414 { echo "$as_me:$LINENO: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&5
3415 echo "$as_me: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >&2;}
3416 echo "Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray" >>warn
3436 echo "$as_me:$LINENO: checking the FreeBSD operating system release" >&5
3437 echo $ECHO_N "checking the FreeBSD operating system release... $ECHO_C" >&6
3438 if test -n "$with_os_version"; then
3439 OSVERSION
="$with_os_version"
3441 OSVERSION
=`/sbin/sysctl -n kern.osreldate`
3443 echo "$as_me:$LINENO: result: found OSVERSION=$OSVERSION" >&5
3444 echo "${ECHO_T}found OSVERSION=$OSVERSION" >&6
3445 echo "$as_me:$LINENO: checking which thread library to use" >&5
3446 echo $ECHO_N "checking which thread library to use... $ECHO_C" >&6
3447 if test "$OSVERSION" -lt "500016"; then
3448 PTHREAD_CFLAGS
="-D_THREAD_SAFE"
3449 PTHREAD_LIBS
="-pthread"
3450 elif test "$OSVERSION" -lt "502102"; then
3451 PTHREAD_CFLAGS
="-D_THREAD_SAFE"
3452 PTHREAD_LIBS
="-lc_r"
3455 PTHREAD_LIBS
="-pthread"
3457 echo "$as_me:$LINENO: result: $PTHREAD_LIBS" >&5
3458 echo "${ECHO_T}$PTHREAD_LIBS" >&6
3474 PTHREAD_CFLAGS
="-pthread"
3475 PTHREAD_LIBS
="-pthread -lpthread"
3482 PTHREAD_LIBS
=-pthread
3483 echo "AIX is an alpha port --- Use at own risk" >> warn
3487 { { echo "$as_me:$LINENO: error: $_os operating system is not suitable to build OpenOffice.org!" >&5
3488 echo "$as_me: error: $_os operating system is not suitable to build OpenOffice.org!" >&2;}
3489 { (exit 1); exit 1; }; }
3497 echo "$as_me:$LINENO: checking whether to enable crashdump feature" >&5
3498 echo $ECHO_N "checking whether to enable crashdump feature... $ECHO_C" >&6
3499 if test "$enable_crashdump" = "yes"; then
3500 ENABLE_CRASHDUMP
="TRUE"
3501 BUILD_TYPE
="$BUILD_TYPE CRASHREP"
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3506 echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3511 if test "$_os" = "WINNT"; then
3512 BUILD_TYPE
="$BUILD_TYPE TWAIN"
3515 if test "$_os" = "WINNT"; then
3516 echo "$as_me:$LINENO: checking whether to use the standard non-optimizing compiler" >&5
3517 echo $ECHO_N "checking whether to use the standard non-optimizing compiler... $ECHO_C" >&6
3518 if test "$enable_cl_standard" = "" -o "$enable_cl_standard" = "no"; then
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3530 echo "$as_me:$LINENO: checking whether to turn warnings to errors" >&5
3531 echo $ECHO_N "checking whether to turn warnings to errors... $ECHO_C" >&6
3532 if test -n "$enable_werror" && test "$enable_werror" != "no"; then
3533 ENABLE_WERROR
="TRUE"
3534 echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6
3536 { echo "$as_me:$LINENO: WARNING: Turning warnings to errors has no effect in modules or" >&5
3537 echo "$as_me: WARNING: Turning warnings to errors has no effect in modules or" >&2;}
3538 { echo "$as_me:$LINENO: WARNING: on platforms where it has been disabled explicitely" >&5
3539 echo "$as_me: WARNING: on platforms where it has been disabled explicitely" >&2;}
3540 echo "Turning warnings to errors has no effect in modules or on platforms where it has been disabled explicitely" >> warn
3542 ENABLE_WERROR
="FALSE"
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3548 echo "$as_me:$LINENO: checking whether to do a debug build" >&5
3549 echo $ECHO_N "checking whether to do a debug build... $ECHO_C" >&6
3550 if test -n "$enable_debug" && test "$enable_debug" != "no"; then
3552 if test -z "$enable_symbols"; then
3553 enable_symbols
="yes"
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 ENABLE_DEBUG
="FALSE"
3559 echo "$as_me:$LINENO: result: no" >&5
3560 echo "${ECHO_T}no" >&6
3564 echo "$as_me:$LINENO: checking whether to build with additional debug utilities" >&5
3565 echo $ECHO_N "checking whether to build with additional debug utilities... $ECHO_C" >&6
3566 if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then
3570 echo "$as_me:$LINENO: result: yes" >&5
3571 echo "${ECHO_T}yes" >&6
3574 PROFULLSWITCH
="product=full"
3576 echo "$as_me:$LINENO: result: no, full product build" >&5
3577 echo "${ECHO_T}no, full product build" >&6
3583 echo "$as_me:$LINENO: checking whether to include symbols into final build" >&5
3584 echo $ECHO_N "checking whether to include symbols into final build... $ECHO_C" >&6
3585 if test -n "$enable_symbols" && test "$enable_symbols" != "no"; then
3586 if test "$enable_symbols" = "yes" -o "$enable_symbols" = "TRUE"; then
3587 ENABLE_SYMBOLS
="TRUE"
3588 echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6
3591 if test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
3592 ENABLE_SYMBOLS
="SMALL"
3593 echo "$as_me:$LINENO: result: yes, small ones" >&5
3594 echo "${ECHO_T}yes, small ones" >&6
3595 else if test "$enable_symbols" != "no" ; then
3596 echo enable symbols is
: $enable_symbols
3597 { { echo "$as_me:$LINENO: error: --enable-symbols only accepts yes, TRUE or SMALL as parameter." >&5
3598 echo "$as_me: error: --enable-symbols only accepts yes, TRUE or SMALL as parameter." >&2;}
3599 { (exit 1); exit 1; }; }
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3612 echo "$as_me:$LINENO: checking whether to strip the solver or not." >&5
3613 echo $ECHO_N "checking whether to strip the solver or not.... $ECHO_C" >&6
3614 if test -n "$enable_strip_solver"; then
3615 if test "$enable_strip_solver" = "yes"; then
3617 else if test "$enable_strip_solver" = "no"; then
3618 DISABLE_STRIP
="TRUE"
3620 { { echo "$as_me:$LINENO: error: --disable-strip-solver only accepts yes or no as parameter." >&5
3621 echo "$as_me: error: --disable-strip-solver only accepts yes or no as parameter." >&2;}
3622 { (exit 1); exit 1; }; }
3626 if test -n "$ENABLE_SYMBOLS"; then
3627 DISABLE_STRIP
="TRUE"
3634 echo "$as_me:$LINENO: checking whether to enable native CUPS support" >&5
3635 echo $ECHO_N "checking whether to enable native CUPS support... $ECHO_C" >&6
3636 if test "$test_cups" = "yes" -a \
( "$enable_cups" = "yes" -o "$enable_cups" = "TRUE" \
) ; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3642 echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6
3647 echo "$as_me:$LINENO: checking whether to enable fontconfig support" >&5
3648 echo $ECHO_N "checking whether to enable fontconfig support... $ECHO_C" >&6
3649 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a \
( "$enable_fontconfig" = "yes" -o "$enable_fontconfig" = "TRUE" \
); then
3650 ENABLE_FONTCONFIG
="TRUE"
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3654 ENABLE_FONTCONFIG
=""
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3660 if test -z $TARFILE_LOCATION; then
3661 TARFILE_LOCATION
="DEFAULT"
3665 if test -z "$enable_fetch_external" ||
test "$enable_fetch_external" = "yes" \
3666 && test -z "$with_system_libs" -a "$with_system_jars" != "no"; then
3667 DO_FETCH_TARBALLS
="yes"
3671 echo "$as_me:$LINENO: checking whether to enable filters for legacy binary file formats (StarOffice 5.2)" >&5
3672 echo $ECHO_N "checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... $ECHO_C" >&6
3673 if test "$enable_binfilter" = "no"; then
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3678 WITH_BINFILTER
="YES"
3679 BUILD_TYPE
="$BUILD_TYPE BINFILTER"
3680 echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6
3685 if test "$_os" = "WINNT"; then
3686 echo "$as_me:$LINENO: checking whether to use DirectX" >&5
3687 echo $ECHO_N "checking whether to use DirectX... $ECHO_C" >&6
3688 if test "$enable_directx" = "yes" -o "$enable_directx" = "TRUE" -o "$enable_directx" = ""; then
3689 ENABLE_DIRECTX
="TRUE"
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3699 echo "$as_me:$LINENO: checking whether to use ActiveX" >&5
3700 echo $ECHO_N "checking whether to use ActiveX... $ECHO_C" >&6
3701 if test "$enable_activex" = "yes" -o "$enable_activex" = "TRUE" -o "$enable_activex" = ""; then
3703 echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3706 DISABLE_ACTIVEX
="TRUE"
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3712 echo "$as_me:$LINENO: checking whether to use ATL" >&5
3713 echo $ECHO_N "checking whether to use ATL... $ECHO_C" >&6
3714 if test "$enable_atl" = "yes" -o "$enable_atl" = "TRUE" -o "$enable_atl" = ""; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3727 echo "$as_me:$LINENO: checking whether to use RPATH in shared libraries" >&5
3728 echo $ECHO_N "checking whether to use RPATH in shared libraries... $ECHO_C" >&6
3729 if test "$enable_rpath" = "no"; then
3734 echo "$as_me:$LINENO: result: $ENABLE_RPATH" >&5
3735 echo "${ECHO_T}$ENABLE_RPATH" >&6
3738 echo "$as_me:$LINENO: checking whether to include MySpell dictionaries" >&5
3739 echo $ECHO_N "checking whether to include MySpell dictionaries... $ECHO_C" >&6
3740 if test -z "$with_myspell_dicts" ||
test "$with_myspell_dicts" = "yes"; then
3741 echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6
3743 WITH_MYSPELL_DICTS
=YES
3744 BUILD_TYPE
="$BUILD_TYPE DICTIONARIES"
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3748 WITH_MYSPELL_DICTS
=NO
3752 if test "$WITH_MYSPELL_DICTS" = "NO"; then
3753 echo "$as_me:$LINENO: checking whether to use dicts from external paths" >&5
3754 echo $ECHO_N "checking whether to use dicts from external paths... $ECHO_C" >&6
3755 if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3759 echo "$as_me:$LINENO: checking for spelling dictionary directory" >&5
3760 echo $ECHO_N "checking for spelling dictionary directory... $ECHO_C" >&6
3761 if test -n "$with_external_dict_dir"; then
3762 DICT_SYSTEM_DIR
=file://$with_external_dict_dir
3764 DICT_SYSTEM_DIR
=file:///usr
/share
/hunspell
3766 echo "$as_me:$LINENO: result: $DICT_SYSTEM_DIR" >&5
3767 echo "${ECHO_T}$DICT_SYSTEM_DIR" >&6
3768 echo "$as_me:$LINENO: checking for hyphenation patterns directory" >&5
3769 echo $ECHO_N "checking for hyphenation patterns directory... $ECHO_C" >&6
3770 if test -n "$with_external_hyph_dir"; then
3771 HYPH_SYSTEM_DIR
=file://$with_external_hyph_dir
3773 HYPH_SYSTEM_DIR
=file:///usr
/share
/hyphen
3775 echo "$as_me:$LINENO: result: $HYPH_SYSTEM_DIR" >&5
3776 echo "${ECHO_T}$HYPH_SYSTEM_DIR" >&6
3777 echo "$as_me:$LINENO: checking for thesaurus directory" >&5
3778 echo $ECHO_N "checking for thesaurus directory... $ECHO_C" >&6
3779 if test -n "$with_external_thes_dir"; then
3780 THES_SYSTEM_DIR
=file://$with_external_thes_dir
3782 THES_SYSTEM_DIR
=file:///usr
/share
/mythes
3784 echo "$as_me:$LINENO: result: $THES_SYSTEM_DIR" >&5
3785 echo "${ECHO_T}$THES_SYSTEM_DIR" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3797 if test $_os = "WINNT"; then
3798 echo "$as_me:$LINENO: checking Windows build environment sanity" >&5
3799 echo $ECHO_N "checking Windows build environment sanity... $ECHO_C" >&6
3800 if test -L $AWK -o -L `which awk` -o -L `which tar` -o -L `which gunzip` ; then
3801 { { echo "$as_me:$LINENO: error: $AWK, awk, tar or gunzip is a cygwin symlink!
3802 Native windows programs cannot use cygwin symlinks. Remove the symbolic
3803 link, and copy the program to the name of the link." >&5
3804 echo "$as_me: error: $AWK, awk, tar or gunzip is a cygwin symlink!
3805 Native windows programs cannot use cygwin symlinks. Remove the symbolic
3806 link, and copy the program to the name of the link." >&2;}
3807 { (exit 1); exit 1; }; }
3809 CC
=`echo $CC | $SED "s/^guw.exe //"`
3810 CXX
=`echo $CXX | $SED "s/^guw.exe //"`
3811 if test -n "$CC";then
3812 if test "`$CC -dumpmachine 2>/dev/null | $SED -e 's/^.*-//'`" = "mingw32"; then
3816 if test "$WITH_MINGWIN" = "yes" ; then
3817 if test -z "$CC"; then
3818 CC
="gcc -mno-cygwin"
3819 CXX
="g++ -mno-cygwin"
3822 echo "$as_me:$LINENO: result: ok" >&5
3823 echo "${ECHO_T}ok" >&6
3827 if test "$_os" = "WINNT" ; then
3828 echo "$as_me:$LINENO: checking for cygwin gcc/g++" >&5
3829 echo $ECHO_N "checking for cygwin gcc/g++... $ECHO_C" >&6
3830 if which gcc
> /dev
/null
&& which g
++ > /dev
/null
; then
3831 echo "$as_me:$LINENO: result: found" >&5
3832 echo "${ECHO_T}found" >&6
3834 { { echo "$as_me:$LINENO: error: cygwin gcc and g++ are needed, please install them." >&5
3835 echo "$as_me: error: cygwin gcc and g++ are needed, please install them." >&2;}
3836 { (exit 1); exit 1; }; }
3841 # Extract the first word of "bash", so it can be a program name with args.
3842 set dummy bash
; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_path_SHELLPATH+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_cv_path_SHELLPATH
="$SHELLPATH" # Let the user override the test with a path.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_path_SHELLPATH
="$as_dir/$ac_word$ac_exec_ext"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 SHELLPATH
=$ac_cv_path_SHELLPATH
3872 if test -n "$SHELLPATH"; then
3873 echo "$as_me:$LINENO: result: $SHELLPATH" >&5
3874 echo "${ECHO_T}$SHELLPATH" >&6
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3880 if test -z "$SHELLPATH"; then
3881 { { echo "$as_me:$LINENO: error: bash not found in \$PATH" >&5
3882 echo "$as_me: error: bash not found in \$PATH" >&2;}
3883 { (exit 1); exit 1; }; }
3885 SHELLPATH
=`echo $SHELLPATH | $SED -n "s/\/bash$//p"`
3889 echo "$as_me:$LINENO: checking gcc home" >&5
3890 echo $ECHO_N "checking gcc home... $ECHO_C" >&6
3891 if test -z "$with_gcc_home"; then
3892 GCC_HOME
=`which gcc | $SED -e s,/bin/gcc,,`
3894 GCC_HOME
="$with_gcc_home"
3896 echo "$as_me:$LINENO: result: $GCC_HOME" >&5
3897 echo "${ECHO_T}$GCC_HOME" >&6
3903 if test -n "$with_gcc_home"; then
3904 if test -z "$CC"; then
3905 CC
="$with_gcc_home/bin/gcc"
3909 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
3911 ac_cpp
='$CPP $CPPFLAGS'
3912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3915 if test -n "$ac_tool_prefix"; then
3916 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3917 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3918 echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3920 if test "${ac_cv_prog_CC+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 if test -n "$CC"; then
3924 ac_cv_prog_CC
="$CC" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test -n "$CC"; then
3944 echo "$as_me:$LINENO: result: $CC" >&5
3945 echo "${ECHO_T}$CC" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3952 if test -z "$ac_cv_prog_CC"; then
3954 # Extract the first word of "gcc", so it can be a program name with args.
3955 set dummy gcc
; ac_word
=$2
3956 echo "$as_me:$LINENO: checking for $ac_word" >&5
3957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 if test -n "$ac_ct_CC"; then
3962 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3968 test -z "$as_dir" && as_dir
=.
3969 for ac_exec_ext
in '' $ac_executable_extensions; do
3970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_ac_ct_CC
="gcc"
3972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3981 if test -n "$ac_ct_CC"; then
3982 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3983 echo "${ECHO_T}$ac_ct_CC" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3994 if test -z "$CC"; then
3995 if test -n "$ac_tool_prefix"; then
3996 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3997 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3998 echo "$as_me:$LINENO: checking for $ac_word" >&5
3999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4000 if test "${ac_cv_prog_CC+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 if test -n "$CC"; then
4004 ac_cv_prog_CC
="$CC" # Let the user override the test.
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 if test -n "$CC"; then
4024 echo "$as_me:$LINENO: result: $CC" >&5
4025 echo "${ECHO_T}$CC" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4032 if test -z "$ac_cv_prog_CC"; then
4034 # Extract the first word of "cc", so it can be a program name with args.
4035 set dummy cc
; ac_word
=$2
4036 echo "$as_me:$LINENO: checking for $ac_word" >&5
4037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4039 echo $ECHO_N "(cached) $ECHO_C" >&6
4041 if test -n "$ac_ct_CC"; then
4042 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_prog_ac_ct_CC
="cc"
4052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4061 if test -n "$ac_ct_CC"; then
4062 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4063 echo "${ECHO_T}$ac_ct_CC" >&6
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4075 if test -z "$CC"; then
4076 # Extract the first word of "cc", so it can be a program name with args.
4077 set dummy cc
; ac_word
=$2
4078 echo "$as_me:$LINENO: checking for $ac_word" >&5
4079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4080 if test "${ac_cv_prog_CC+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 if test -n "$CC"; then
4084 ac_cv_prog_CC
="$CC" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4095 ac_prog_rejected
=yes
4099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 if test $ac_prog_rejected = yes; then
4106 # We found a bogon in the path, so make sure we never use it.
4107 set dummy
$ac_cv_prog_CC
4109 if test $# != 0; then
4110 # We chose a different compiler from the bogus one.
4111 # However, it has the same basename, so the bogon will be chosen
4112 # first if we set CC to just the basename; use the full file name.
4114 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4120 if test -n "$CC"; then
4121 echo "$as_me:$LINENO: result: $CC" >&5
4122 echo "${ECHO_T}$CC" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4129 if test -z "$CC"; then
4130 if test -n "$ac_tool_prefix"; then
4133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4135 echo "$as_me:$LINENO: checking for $ac_word" >&5
4136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4137 if test "${ac_cv_prog_CC+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 if test -n "$CC"; then
4141 ac_cv_prog_CC
="$CC" # Let the user override the test.
4143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4147 test -z "$as_dir" && as_dir
=.
4148 for ac_exec_ext
in '' $ac_executable_extensions; do
4149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test -n "$CC"; then
4161 echo "$as_me:$LINENO: result: $CC" >&5
4162 echo "${ECHO_T}$CC" >&6
4164 echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6
4168 test -n "$CC" && break
4171 if test -z "$CC"; then
4175 # Extract the first word of "$ac_prog", so it can be a program name with args.
4176 set dummy
$ac_prog; ac_word
=$2
4177 echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$ac_ct_CC"; then
4183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 for ac_exec_ext
in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_ac_ct_CC
="$ac_prog"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4202 if test -n "$ac_ct_CC"; then
4203 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4204 echo "${ECHO_T}$ac_ct_CC" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4210 test -n "$ac_ct_CC" && break
4219 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4220 See \`config.log' for more details." >&5
4221 echo "$as_me: error: no acceptable C compiler found in \$PATH
4222 See \`config.log' for more details." >&2;}
4223 { (exit 1); exit 1; }; }
4225 # Provide some information about the compiler.
4226 echo "$as_me:$LINENO:" \
4227 "checking for C compiler version" >&5
4228 ac_compiler
=`set X $ac_compile; echo $2`
4229 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4230 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }
4234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4235 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }
4239 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4240 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }
4245 cat >conftest.
$ac_ext <<_ACEOF
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4260 ac_clean_files_save
=$ac_clean_files
4261 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4262 # Try to create an executable without -o first, disregard a.out.
4263 # It will help us diagnose broken compilers, and finding out an intuition
4265 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4266 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4267 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4268 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4269 (eval $ac_link_default) 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; then
4273 # Find the output, starting from the most likely. This scheme is
4274 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4277 # Be careful to initialize this variable, since it used to be cached.
4278 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4280 # b.out is created by i960 compilers.
4281 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4283 test -f "$ac_file" ||
continue
4285 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4288 # This is the source file.
4291 # We found the default executable, but exeext='' is most
4295 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4296 # FIXME: I believe we export ac_cv_exeext for Libtool,
4297 # but it would be cool to find out if it's true. Does anybody
4298 # maintain Libtool? --akim.
4306 echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.
$ac_ext >&5
4309 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4310 See \`config.log' for more details." >&5
4311 echo "$as_me: error: C compiler cannot create executables
4312 See \`config.log' for more details." >&2;}
4313 { (exit 77); exit 77; }; }
4316 ac_exeext
=$ac_cv_exeext
4317 echo "$as_me:$LINENO: result: $ac_file" >&5
4318 echo "${ECHO_T}$ac_file" >&6
4320 # Check the compiler produces executables we can run. If not, either
4321 # the compiler is broken, or we cross compile.
4322 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4323 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4324 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4325 # If not cross compiling, check that we can run a simple program.
4326 if test "$cross_compiling" != yes; then
4327 if { ac_try
='./$ac_file'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4335 if test "$cross_compiling" = maybe
; then
4338 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4339 If you meant to cross compile, use \`--host'.
4340 See \`config.log' for more details." >&5
4341 echo "$as_me: error: cannot run C compiled programs.
4342 If you meant to cross compile, use \`--host'.
4343 See \`config.log' for more details." >&2;}
4344 { (exit 1); exit 1; }; }
4348 echo "$as_me:$LINENO: result: yes" >&5
4349 echo "${ECHO_T}yes" >&6
4351 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
4352 ac_clean_files
=$ac_clean_files_save
4353 # Check the compiler produces executables we can run. If not, either
4354 # the compiler is broken, or we cross compile.
4355 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4356 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4357 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4358 echo "${ECHO_T}$cross_compiling" >&6
4360 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4361 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363 (eval $ac_link) 2>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; then
4367 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4368 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4369 # work properly (i.e., refer to `conftest.exe'), while it won't with
4371 for ac_file
in conftest.exe conftest conftest.
*; do
4372 test -f "$ac_file" ||
continue
4374 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4375 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4382 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4383 See \`config.log' for more details." >&5
4384 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4385 See \`config.log' for more details." >&2;}
4386 { (exit 1); exit 1; }; }
4389 rm -f conftest
$ac_cv_exeext
4390 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4391 echo "${ECHO_T}$ac_cv_exeext" >&6
4393 rm -f conftest.
$ac_ext
4394 EXEEXT
=$ac_cv_exeext
4396 echo "$as_me:$LINENO: checking for suffix of object files" >&5
4397 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4398 if test "${ac_cv_objext+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 cat >conftest.
$ac_ext <<_ACEOF
4404 cat confdefs.h
>>conftest.
$ac_ext
4405 cat >>conftest.
$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4416 rm -f conftest.o conftest.obj
4417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4418 (eval $ac_compile) 2>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; then
4422 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4424 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
4425 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.
$ac_ext >&5
4433 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4434 See \`config.log' for more details." >&5
4435 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4436 See \`config.log' for more details." >&2;}
4437 { (exit 1); exit 1; }; }
4440 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
4442 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4443 echo "${ECHO_T}$ac_cv_objext" >&6
4444 OBJEXT
=$ac_cv_objext
4446 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4447 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4448 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 cat >conftest.
$ac_ext <<_ACEOF
4454 cat confdefs.h
>>conftest.
$ac_ext
4455 cat >>conftest.
$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4469 rm -f conftest.
$ac_objext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag"
4479 || test ! -s conftest.err'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; } &&
4485 { ac_try
='test -s conftest.$ac_objext'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; }; then
4493 echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.
$ac_ext >&5
4498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4499 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4502 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4504 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4505 ac_test_CFLAGS
=${CFLAGS+set}
4506 ac_save_CFLAGS
=$CFLAGS
4508 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4509 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4510 if test "${ac_cv_prog_cc_g+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4528 rm -f conftest.
$ac_objext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try
='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.
$ac_ext >&5
4557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4560 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4561 if test "$ac_test_CFLAGS" = set; then
4562 CFLAGS
=$ac_save_CFLAGS
4563 elif test $ac_cv_prog_cc_g = yes; then
4564 if test "$GCC" = yes; then
4570 if test "$GCC" = yes; then
4576 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4577 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4578 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 ac_cv_prog_cc_stdc
=no
4583 cat >conftest.
$ac_ext <<_ACEOF
4586 cat confdefs.h
>>conftest.
$ac_ext
4587 cat >>conftest.
$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4591 #include <sys/types.h>
4592 #include <sys/stat.h>
4593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4594 struct buf { int x; };
4595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4596 static char *e (p, i)
4602 static char *f (char * (*g) (char **, int), char **p, ...)
4607 s = g (p, va_arg (v,int));
4612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4613 function prototypes and stuff, but not '\xHH' hex character constants.
4614 These don't provoke an error unfortunately, instead are silently treated
4615 as 'x'. The following induces an error, until -std1 is added to get
4616 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4617 array size at least. It's necessary to write '\x00'==0 to get something
4618 that's true only with -std1. */
4619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4621 int test (int i, double x);
4622 struct s1 {int (*f) (int a);};
4623 struct s2 {int (*f) (double a);};
4624 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4630 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4635 # Don't try gcc -ansi; that turns off useful extensions and
4636 # breaks some systems' header files.
4637 # AIX -qlanglvl=ansi
4638 # Ultrix and OSF/1 -std1
4639 # HP-UX 10.20 and later -Ae
4640 # HP-UX older versions -Aa -D_HPUX_SOURCE
4641 # SVR4 -Xc -D__EXTENSIONS__
4642 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4644 CC
="$ac_save_CC $ac_arg"
4645 rm -f conftest.
$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>conftest.er1
4649 grep -v '^ *+' conftest.er1
>conftest.err
4651 cat conftest.err
>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try
='test -z "$ac_c_werror_flag"
4655 || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try
='test -s conftest.$ac_objext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_cv_prog_cc_stdc
=$ac_arg
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.
$ac_ext >&5
4674 rm -f conftest.err conftest.
$ac_objext
4676 rm -f conftest.
$ac_ext conftest.
$ac_objext
4681 case "x$ac_cv_prog_cc_stdc" in
4683 echo "$as_me:$LINENO: result: none needed" >&5
4684 echo "${ECHO_T}none needed" >&6 ;;
4686 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4687 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4688 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4691 # Some people use a C++ compiler to compile C. Since we use `exit',
4692 # in C++ we need to declare it. In case someone uses the same compiler
4693 # for both compiling C and C++ we need to have the C++ compiler decide
4694 # the declaration of exit, since it's the most demanding environment.
4695 cat >conftest.
$ac_ext <<_ACEOF
4700 rm -f conftest.
$ac_objext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>conftest.er1
4704 grep -v '^ *+' conftest.er1
>conftest.err
4706 cat conftest.err
>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try
='test -z "$ac_c_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try
='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 for ac_declaration
in \
4724 'extern "C" void std::exit (int) throw (); using std::exit;' \
4725 'extern "C" void std::exit (int); using std::exit;' \
4726 'extern "C" void exit (int) throw ();' \
4727 'extern "C" void exit (int);' \
4730 cat >conftest.
$ac_ext <<_ACEOF
4733 cat confdefs.h
>>conftest.
$ac_ext
4734 cat >>conftest.
$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4746 rm -f conftest.
$ac_objext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4748 (eval $ac_compile) 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try
='test -z "$ac_c_werror_flag"
4756 || test ! -s conftest.err'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; } &&
4762 { ac_try
='test -s conftest.$ac_objext'
4763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; }; then
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.
$ac_ext >&5
4775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 cat >conftest.
$ac_ext <<_ACEOF
4779 cat confdefs.h
>>conftest.
$ac_ext
4780 cat >>conftest.
$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4791 rm -f conftest.
$ac_objext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>conftest.er1
4795 grep -v '^ *+' conftest.er1
>conftest.err
4797 cat conftest.err
>&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try
='test -z "$ac_c_werror_flag"
4801 || test ! -s conftest.err'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; } &&
4807 { ac_try
='test -s conftest.$ac_objext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.
$ac_ext >&5
4819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 if test -n "$ac_declaration"; then
4823 echo '#ifdef __cplusplus' >>confdefs.h
4824 echo $ac_declaration >>confdefs.h
4825 echo '#endif' >>confdefs.h
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.
$ac_ext >&5
4833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4835 ac_cpp
='$CPP $CPPFLAGS'
4836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4842 COMPATH
=`dirname "$CC"`
4843 if test "$COMPATH" = "." ; then
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy
$ac_prog; ac_word
=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_path_COMPATH+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 ac_cv_path_COMPATH
="$COMPATH" # Let the user override the test with a path.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_path_COMPATH
="$as_dir/$ac_word$ac_exec_ext"
4866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 COMPATH
=$ac_cv_path_COMPATH
4877 if test -n "$COMPATH"; then
4878 echo "$as_me:$LINENO: result: $COMPATH" >&5
4879 echo "${ECHO_T}$COMPATH" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4885 test -n "$COMPATH" && break
4888 COMPATH
=`echo $COMPATH | $SED "s@/[^/:]*\\\$@@"`;
4890 COMPATH
=`echo $COMPATH | $SED "s@/[Bb][Ii][Nn]\\\$@@"`;
4893 if test \
( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \
) -a "$GCC" = "yes"; then
4894 echo "$as_me:$LINENO: checking the GNU gcc compiler version" >&5
4895 echo $ECHO_N "checking the GNU gcc compiler version... $ECHO_C" >&6
4896 _gcc_version
=`$CC -dumpversion`
4897 _gcc_major
=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
4898 GCCVER
=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
4900 if test "$_gcc_major" -lt "3"; then
4901 { { echo "$as_me:$LINENO: error: found version \"$_gcc_version\", use version 3+ of the gcc compiler" >&5
4902 echo "$as_me: error: found version \"$_gcc_version\", use version 3+ of the gcc compiler" >&2;}
4903 { (exit 1); exit 1; }; }
4905 if test "$GCCVER" -eq "030203"; then
4906 if test "$ENABLE_SYMBOLS" = "SMALL"; then
4907 { { echo "$as_me:$LINENO: error: version \"$_gcc_version\" gives internal error with small." >&5
4908 echo "$as_me: error: version \"$_gcc_version\" gives internal error with small." >&2;}
4909 { (exit 1); exit 1; }; }
4913 if test "$_os" = "Darwin" -a "$GCCVER" -ge "040100" ; then
4914 if test -z "$save_CC" -a -x "$GCC_HOME/bin/gcc-4.0" ; then
4915 CC
=$GCC_HOME/bin
/gcc-4.0
4916 GCCVER2
=`"$CC" -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
4917 if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100" ; then
4921 if test "$GCCVER" -ge "040100" ; then
4922 { { echo "$as_me:$LINENO: error: You need to use the gcc-4.0 compiler (gcc $_gcc_version won't work with the MacOSX10.4u.sdk) - set CC accordingly" >&5
4923 echo "$as_me: error: You need to use the gcc-4.0 compiler (gcc $_gcc_version won't work with the MacOSX10.4u.sdk) - set CC accordingly" >&2;}
4924 { (exit 1); exit 1; }; }
4926 echo "$as_me:$LINENO: result: implicitly using CC=$CC" >&5
4927 echo "${ECHO_T}implicitly using CC=$CC" >&6
4930 echo "$as_me:$LINENO: result: checked (gcc $_gcc_version)" >&5
4931 echo "${ECHO_T}checked (gcc $_gcc_version)" >&6
4933 if test "$_os" = "SunOS"; then
4934 echo "$as_me:$LINENO: checking gcc linker" >&5
4935 echo $ECHO_N "checking gcc linker... $ECHO_C" >&6
4936 if $CC -Wl,--version 2>&1 |
head -n 1|
grep -v GNU
> /dev
/null
;then
4937 { { echo "$as_me:$LINENO: error: failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris" >&5
4938 echo "$as_me: error: failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris" >&2;}
4939 { (exit 1); exit 1; }; }
4941 echo "$as_me:$LINENO: result: ok (GNU ld)" >&5
4942 echo "${ECHO_T}ok (GNU ld)" >&6
4947 HAVE_LD_BSYMBOLIC_FUNCTIONS
=
4948 if test "$GCC" = "yes"; then
4949 echo "$as_me:$LINENO: checking for -Bsymbolic-functions linker support " >&5
4950 echo $ECHO_N "checking for -Bsymbolic-functions linker support ... $ECHO_C" >&6
4951 bsymbolic_functions_ldflags_save
=$LDFLAGS
4952 LDFLAGS
="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo"
4954 cat >conftest.
$ac_ext <<_ACEOF
4957 cat confdefs.h
>>conftest.
$ac_ext
4958 cat >>conftest.
$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4967 printf ("hello world\n");
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4975 (eval $ac_link) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1
>conftest.err
4979 cat conftest.err
>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 { ac_try
='test -z "$ac_c_werror_flag"
4983 || test ! -s conftest.err'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; } &&
4989 { ac_try
='test -s conftest$ac_exeext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 HAVE_LD_BSYMBOLIC_FUNCTIONS
=TRUE
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.
$ac_ext >&5
5001 rm -f conftest.err conftest.
$ac_objext \
5002 conftest
$ac_exeext conftest.
$ac_ext
5003 if test "z$HAVE_LD_BSYMBOLIC_FUNCTIONS" = "zTRUE"; then
5004 echo "$as_me:$LINENO: result: found " >&5
5005 echo "${ECHO_T}found " >&6
5007 echo "$as_me:$LINENO: result: not found " >&5
5008 echo "${ECHO_T}not found " >&6
5010 LDFLAGS
=$bsymbolic_functions_ldflags_save
5014 echo "$as_me:$LINENO: checking whether to enable pch feature" >&5
5015 echo $ECHO_N "checking whether to enable pch feature... $ECHO_C" >&6
5016 if test -n "$enable_pch" && test "$enable_pch" != "no"; then
5017 if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5021 elif test "$GCC" = "yes" -a "$GCCVER" -gt "030400"; then
5023 echo "$as_me:$LINENO: result: yes" >&5
5024 echo "${ECHO_T}yes" >&6
5027 { echo "$as_me:$LINENO: WARNING: Precompiled header not yet supported for your platform/compiler" >&5
5028 echo "$as_me: WARNING: Precompiled header not yet supported for your platform/compiler" >&2;}
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5037 echo "$as_me:$LINENO: checking whether to enable hid list feature" >&5
5038 echo $ECHO_N "checking whether to enable hid list feature... $ECHO_C" >&6
5039 if test -n "$enable_hids" && test "$enable_hids" != "no"; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for GNU make" >&5
5051 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
5052 for a
in "$MAKE" $GNUMAKE make gmake gnumake
; do
5053 $a --version 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
5054 if test $?
-eq 0; then
5059 echo "$as_me:$LINENO: result: $GNUMAKE" >&5
5060 echo "${ECHO_T}$GNUMAKE" >&6
5061 if test -z "$GNUMAKE"; then
5062 { { echo "$as_me:$LINENO: error: not found. install GNU make." >&5
5063 echo "$as_me: error: not found. install GNU make." >&2;}
5064 { (exit 1); exit 1; }; }
5067 echo "$as_me:$LINENO: checking the GNU make version" >&5
5068 echo $ECHO_N "checking the GNU make version... $ECHO_C" >&6
5069 _make_version
=`$GNUMAKE --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
5070 _make_longver
=`echo $_make_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
5071 if test "$_make_longver" -ge "037901" ; then
5072 echo "$as_me:$LINENO: result: $GNUMAKE $_make_version" >&5
5073 echo "${ECHO_T}$GNUMAKE $_make_version" >&6
5075 if test "$_os" = "Darwin"; then
5076 if test "$_make_longver" -ge "037900" ; then
5077 echo "$as_me:$LINENO: result: $GNUMAKE $_make_version" >&5
5078 echo "${ECHO_T}$GNUMAKE $_make_version" >&6
5080 { echo "$as_me:$LINENO: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&5
5081 echo "$as_me: WARNING: failed ($GNUMAKE $_make_version need 3.79.0+)" >&2;}
5084 { { echo "$as_me:$LINENO: error: failed ($GNUMAKE $_make_version need 3.79.1+)" >&5
5085 echo "$as_me: error: failed ($GNUMAKE $_make_version need 3.79.1+)" >&2;}
5086 { (exit 1); exit 1; }; }
5091 echo "$as_me:$LINENO: checking for GNU tar" >&5
5092 echo $ECHO_N "checking for GNU tar... $ECHO_C" >&6
5093 for a
in $GNUTAR gtar gnutar
tar; do
5094 $a --version 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
5095 if test $?
-eq 0; then
5100 echo "$as_me:$LINENO: result: $GNUTAR" >&5
5101 echo "${ECHO_T}$GNUTAR" >&6
5102 if test -z "$GNUTAR"; then
5103 { { echo "$as_me:$LINENO: error: not found. install GNU tar." >&5
5104 echo "$as_me: error: not found. install GNU tar." >&2;}
5105 { (exit 1); exit 1; }; }
5110 if test "$_os" = "SunOS"; then
5111 if test "$CC" = "cc"; then
5114 # Extract the first word of "$ac_prog", so it can be a program name with args.
5115 set dummy
$ac_prog; ac_word
=$2
5116 echo "$as_me:$LINENO: checking for $ac_word" >&5
5117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5118 if test "${ac_cv_path__cc+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 ac_cv_path__cc
="$_cc" # Let the user override the test with a path.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5133 ac_cv_path__cc
="$as_dir/$ac_word$ac_exec_ext"
5134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 if test -n "$_cc"; then
5146 echo "$as_me:$LINENO: result: $_cc" >&5
5147 echo "${ECHO_T}$_cc" >&6
5149 echo "$as_me:$LINENO: result: no" >&5
5150 echo "${ECHO_T}no" >&6
5153 test -n "$_cc" && break
5156 COMPATH
=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
5157 echo "$as_me:$LINENO: checking the SunStudio C/C++ compiler version" >&5
5158 echo $ECHO_N "checking the SunStudio C/C++ compiler version... $ECHO_C" >&6
5159 _sunstudio_string
=`$CC -V 2>&1 | grep '^cc' | sed -e 's/.* C //'`
5160 _sunstudio_version
=`echo $_sunstudio_string | $AWK '{ print $1 }'`
5161 _sunstudio_major
=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'`
5162 if test "$_sunstudio_major" != "5"; then
5163 { { echo "$as_me:$LINENO: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&5
5164 echo "$as_me: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&2;}
5165 { (exit 1); exit 1; }; }
5167 _sunstudio_minor
=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'`
5168 if test "$_sunstudio_minor" = "false"; then
5169 { { echo "$as_me:$LINENO: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&5
5170 echo "$as_me: error: found version \"$_sunstudio_version\", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler" >&2;}
5171 { (exit 1); exit 1; }; }
5173 echo "$as_me:$LINENO: result: checked" >&5
5174 echo "${ECHO_T}checked" >&6
5180 if test "$GCC" = "yes"; then
5181 echo "$as_me:$LINENO: checking for --hash-style=both linker support " >&5
5182 echo $ECHO_N "checking for --hash-style=both linker support ... $ECHO_C" >&6
5183 hash_style_ldflags_save
=$LDFLAGS
5184 LDFLAGS
="$LDFLAGS -Wl,--hash-style=both"
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5198 printf ("hello world\n");
5204 rm -f conftest.
$ac_objext conftest
$ac_exeext
5205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5206 (eval $ac_link) 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } &&
5213 { ac_try
='test -z "$ac_c_werror_flag"
5214 || test ! -s conftest.err'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try
='test -s conftest$ac_exeext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 HAVE_LD_HASH_STYLE
=TRUE
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.
$ac_ext >&5
5231 HAVE_LD_HASH_STYLE
=FALSE
5233 rm -f conftest.err conftest.
$ac_objext \
5234 conftest
$ac_exeext conftest.
$ac_ext
5235 if test "z$HAVE_LD_HASH_STYLE" = "zTRUE"; then
5236 echo "$as_me:$LINENO: result: found " >&5
5237 echo "${ECHO_T}found " >&6
5239 echo "$as_me:$LINENO: result: not found " >&5
5240 echo "${ECHO_T}not found " >&6
5242 LDFLAGS
=$hash_style_ldflags_save
5246 if test "$_os" = "OSF1"; then
5247 if test "$CC" = "cc"; then
5250 # Extract the first word of "$ac_prog", so it can be a program name with args.
5251 set dummy
$ac_prog; ac_word
=$2
5252 echo "$as_me:$LINENO: checking for $ac_word" >&5
5253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5254 if test "${ac_cv_path__cc+set}" = set; then
5255 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 ac_cv_path__cc
="$_cc" # Let the user override the test with a path.
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_exec_ext
in '' $ac_executable_extensions; do
5268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_path__cc
="$as_dir/$ac_word$ac_exec_ext"
5270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 if test -n "$_cc"; then
5282 echo "$as_me:$LINENO: result: $_cc" >&5
5283 echo "${ECHO_T}$_cc" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5289 test -n "$_cc" && break
5292 COMPATH
=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
5293 { echo "$as_me:$LINENO: WARNING: ******* $_cc , $COMPATH" >&5
5294 echo "$as_me: WARNING: ******* $_cc , $COMPATH" >&2;}
5295 echo "$as_me:$LINENO: checking the Compaq C compiler version" >&5
5296 echo $ECHO_N "checking the Compaq C compiler version... $ECHO_C" >&6
5297 _compaqc_version
=`$CC -V 2>&1 | $AWK '{ print $3 }'`
5298 _compaqc_major
=`echo $_compaqc_version | $AWK -F. '{ print $1 }'`
5299 if test "$_compaqc_major" != "T6"; then
5300 { { echo "$as_me:$LINENO: error: found version \"$_compaqc_version\", use version 6 of the Compaq C compiler" >&5
5301 echo "$as_me: error: found version \"$_compaqc_version\", use version 6 of the Compaq C compiler" >&2;}
5302 { (exit 1); exit 1; }; }
5304 echo "$as_me:$LINENO: result: checked" >&5
5305 echo "${ECHO_T}checked" >&6
5310 if test -z "$with_perl_home"; then
5311 # Extract the first word of "perl", so it can be a program name with args.
5312 set dummy perl
; ac_word
=$2
5313 echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5315 if test "${ac_cv_path_PERL+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5330 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 PERL
=$ac_cv_path_PERL
5342 if test -n "$PERL"; then
5343 echo "$as_me:$LINENO: result: $PERL" >&5
5344 echo "${ECHO_T}$PERL" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5351 if test "$_os" = "WINNT"; then
5352 with_perl_home
=`cygpath -u "$with_perl_home"`
5354 _perl_path
="$with_perl_home/bin/perl"
5355 if test -x "$_perl_path"; then
5358 { { echo "$as_me:$LINENO: error: $_perl_path not found" >&5
5359 echo "$as_me: error: $_perl_path not found" >&2;}
5360 { (exit 1); exit 1; }; }
5364 if test "$PERL"; then
5365 echo "$as_me:$LINENO: checking the Perl version" >&5
5366 echo $ECHO_N "checking the Perl version... $ECHO_C" >&6
5367 ${PERL} -e "exit($]);"
5369 if test "$_perl_version" -lt 5; then
5370 { { echo "$as_me:$LINENO: error: found Perl version \"$_perl_version\", use version 5 of Perl" >&5
5371 echo "$as_me: error: found Perl version \"$_perl_version\", use version 5 of Perl" >&2;}
5372 { (exit 1); exit 1; }; }
5374 echo "$as_me:$LINENO: result: checked (perl $_perl_version)" >&5
5375 echo "${ECHO_T}checked (perl $_perl_version)" >&6
5377 { { echo "$as_me:$LINENO: error: Perl not found, install version 5 of Perl" >&5
5378 echo "$as_me: error: Perl not found, install version 5 of Perl" >&2;}
5379 { (exit 1); exit 1; }; }
5383 echo "$as_me:$LINENO: checking for required Perl modules" >&5
5384 echo $ECHO_N "checking for required Perl modules... $ECHO_C" >&6
5385 if `$PERL -e 'use Archive::Zip;'`; then
5386 echo "$as_me:$LINENO: result: all modules found" >&5
5387 echo "${ECHO_T}all modules found" >&6
5389 { { echo "$as_me:$LINENO: error: Failed to find some modules" >&5
5390 echo "$as_me: error: Failed to find some modules" >&2;}
5391 { (exit 1); exit 1; }; }
5394 if test "$_os" = "WINNT"; then
5395 if test "$WITH_MINGWIN" != "yes"; then
5396 echo "$as_me:$LINENO: checking for friendly registry keys" >&5
5397 echo $ECHO_N "checking for friendly registry keys... $ECHO_C" >&6
5398 # VS.Net 2003, VS.Net 2005
5399 if test -z "$with_cl_home"; then
5400 vctest
=`./oowintool --msvc-productdir`;
5401 if test -x "$vctest/bin/cl.exe"; then
5402 with_cl_home
=$vctest;
5405 with_cl_home
=`cygpath -u "$with_cl_home"`
5407 echo "$as_me:$LINENO: result: done" >&5
5408 echo "${ECHO_T}done" >&6
5410 if test -n "$with_mspdb_path";then
5411 with_mspdb_path
=`cygpath -u "$with_mspdb_path"`
5413 if test -e "$with_mspdb_path/mspdb71.dll" -o -e "$with_mspdb_path/mspdb80.dll"; then
5414 MSPDB_PATH
="$with_mspdb_path"
5416 if test -z "$MSPDB_PATH" -a -e "$with_cl_home/../Common7/IDE/mspdb71.dll"; then
5417 MSPDB_PATH
="$with_cl_home/../Common7/IDE"
5419 if test -z "$MSPDB_PATH" -a -e "$with_cl_home/../Common7/IDE/mspdb80.dll"; then
5420 MSPDB_PATH
="$with_cl_home/../Common7/IDE"
5422 if test -z "$MSPDB_PATH" -a -e "$with_cl_home/bin/mspdb80.dll"; then
5423 MSPDB_PATH
="$with_cl_home/bin"
5426 if test -z "$MSPDB_PATH";then
5427 # Extract the first word of "mspdb80.dll", so it can be a program name with args.
5428 set dummy mspdb80.dll
; ac_word
=$2
5429 echo "$as_me:$LINENO: checking for $ac_word" >&5
5430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5431 if test "${ac_cv_path_MSPDB_PATH+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 ac_cv_path_MSPDB_PATH
="$MSPDB_PATH" # Let the user override the test with a path.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_path_MSPDB_PATH
="$as_dir/$ac_word$ac_exec_ext"
5447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 MSPDB_PATH
=$ac_cv_path_MSPDB_PATH
5458 if test -n "$MSPDB_PATH"; then
5459 echo "$as_me:$LINENO: result: $MSPDB_PATH" >&5
5460 echo "${ECHO_T}$MSPDB_PATH" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5466 # Extract the first word of "mspdb71.dll", so it can be a program name with args.
5467 set dummy mspdb71.dll
; ac_word
=$2
5468 echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5470 if test "${ac_cv_path_MSPDB_PATH+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 ac_cv_path_MSPDB_PATH
="$MSPDB_PATH" # Let the user override the test with a path.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_path_MSPDB_PATH
="$as_dir/$ac_word$ac_exec_ext"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 MSPDB_PATH
=$ac_cv_path_MSPDB_PATH
5497 if test -n "$MSPDB_PATH"; then
5498 echo "$as_me:$LINENO: result: $MSPDB_PATH" >&5
5499 echo "${ECHO_T}$MSPDB_PATH" >&6
5501 echo "$as_me:$LINENO: result: no" >&5
5502 echo "${ECHO_T}no" >&6
5505 MSPDB_PATH
=`dirname "$MSPDB_PATH"`
5508 if test -z "$MSPDB_PATH"; then
5509 { { echo "$as_me:$LINENO: error: You need a mspdb71.dll/mspdb80.dll, make sure it's in the path or use --with-mspdb-path" >&5
5510 echo "$as_me: error: You need a mspdb71.dll/mspdb80.dll, make sure it's in the path or use --with-mspdb-path" >&2;}
5511 { (exit 1); exit 1; }; }
5513 MSPDB_PATH
=`cygpath -d "$MSPDB_PATH"`
5514 MSPDB_PATH
=`cygpath -u "$MSPDB_PATH"`
5515 PATH
="$MSPDB_PATH:$PATH"
5517 echo "$as_me:$LINENO: checking the Microsoft C/C++ Compiler" >&5
5518 echo $ECHO_N "checking the Microsoft C/C++ Compiler... $ECHO_C" >&6
5519 if test -x "$with_cl_home/bin/cl.exe"; then
5520 CC
="$with_cl_home/bin/cl.exe"
5522 # Extract the first word of "cl.exe", so it can be a program name with args.
5523 set dummy cl.exe
; ac_word
=$2
5524 echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5526 if test "${ac_cv_path_CC+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5541 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
5542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 if test -n "$CC"; then
5554 echo "$as_me:$LINENO: result: $CC" >&5
5555 echo "${ECHO_T}$CC" >&6
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5562 if test -e "$CC"; then
5563 # This gives us a posix path with 8.3 filename restrictions
5564 CC
=`cygpath -d "$CC"`
5565 CC
=`cygpath -u "$CC"`
5566 # Remove /cl.exe from CC case insensitive
5567 echo "$as_me:$LINENO: result: found ($CC)" >&5
5568 echo "${ECHO_T}found ($CC)" >&6
5569 COMPATH
=`echo $CC | $SED 's@\/[Bb][Ii][Nn]\/[cC][lL]\.[eE][xX][eE]@@'`
5570 export INCLUDE
=`cygpath -d "$COMPATH/Include"`
5571 echo "$as_me:$LINENO: checking the Version of Microsoft C/C++ Compiler" >&5
5572 echo $ECHO_N "checking the Version of Microsoft C/C++ Compiler... $ECHO_C" >&6
5573 CCNUMVER
=`$CC 2>&1 | $AWK "/Microsoft/ && /..\\...\\...../ {
5574 x = match( \\\$0, /..\\...\\...../ )
5575 CCversion = substr( \\\$0, RSTART, RLENGTH)
5576 tokencount = split (CCversion,vertoken,\".\")
5577 for ( i = 1 ; i <= tokencount ; i++ ) {
5578 printf (\"%04d\",vertoken[i] )
5581 echo "$as_me:$LINENO: result: found Compiler version $CCNUMVER." >&5
5582 echo "${ECHO_T}found Compiler version $CCNUMVER." >&6
5583 if test "$CCNUMVER" -ge "001500000000"; then
5586 echo "$as_me:$LINENO: result: found .NET 2008 / VS 9.0." >&5
5587 echo "${ECHO_T}found .NET 2008 / VS 9.0." >&6
5588 elif test "$CCNUMVER" -ge "001400000000"; then
5591 echo "$as_me:$LINENO: result: found .NET 2005." >&5
5592 echo "${ECHO_T}found .NET 2005." >&6
5593 elif test "$CCNUMVER" -ge "001300102240"; then
5596 echo "$as_me:$LINENO: result: found .NET 2003." >&5
5597 echo "${ECHO_T}found .NET 2003." >&6
5599 { { echo "$as_me:$LINENO: error: Compiler too old. Use Microsoft C/C++ .NET 2003/2005 compiler." >&5
5600 echo "$as_me: error: Compiler too old. Use Microsoft C/C++ .NET 2003/2005 compiler." >&2;}
5601 { (exit 1); exit 1; }; }
5604 { { echo "$as_me:$LINENO: error: Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe." >&5
5605 echo "$as_me: error: Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe." >&2;}
5606 { (exit 1); exit 1; }; }
5609 echo "$as_me:$LINENO: checking the Mingwin32 C++ Compiler" >&5
5610 echo $ECHO_N "checking the Mingwin32 C++ Compiler... $ECHO_C" >&6
5611 if test `$CC -dumpmachine | $SED -e 's/^.*-//'` = "mingw32"; then
5612 echo "$as_me:$LINENO: result: found." >&5
5613 echo "${ECHO_T}found." >&6
5614 if $CC -dumpspecs |
grep -q "mno-cygwin"; then
5617 USE_MINGW
="pure-mingw"
5620 { { echo "$as_me:$LINENO: error: Mingwin32 C++ Compiler not found." >&5
5621 echo "$as_me: error: Mingwin32 C++ Compiler not found." >&2;}
5622 { (exit 1); exit 1; }; }
5630 if test "$_os" = "WINNT"; then
5631 if test "$WITH_MINGWIN" = "yes" ||
test "$COMEX" -ge "10"; then
5632 # Extract the first word of "midl.exe", so it can be a program name with args.
5633 set dummy midl.exe
; ac_word
=$2
5634 echo "$as_me:$LINENO: checking for $ac_word" >&5
5635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5636 if test "${ac_cv_path_MIDL_PATH+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 ac_cv_path_MIDL_PATH
="$MIDL_PATH" # Let the user override the test with a path.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_path_MIDL_PATH
="$as_dir/$ac_word$ac_exec_ext"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 MIDL_PATH
=$ac_cv_path_MIDL_PATH
5663 if test -n "$MIDL_PATH"; then
5664 echo "$as_me:$LINENO: result: $MIDL_PATH" >&5
5665 echo "${ECHO_T}$MIDL_PATH" >&6
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5671 if test -n "$MIDL_PATH";then
5672 MIDL_PATH
=`dirname "$MIDL_PATH"`
5674 if test -n "$with_midl_path";then
5675 with_midl_path
=`cygpath -u "$with_midl_path"`
5677 if test -x "$with_midl_path/midl.exe"; then
5678 MIDL_PATH
="$with_midl_path"
5680 if test -z "$MIDL_PATH" -a -e "$with_cl_home/../Common7/Tools/Bin/midl.exe"; then
5681 MIDL_PATH
="$with_cl_home/../Common7/Tools/Bin"
5683 if test -z "$MIDL_PATH" ; then
5684 vstest
=`./oowintool --msvs-productdir`;
5685 if test -x "$vstest/Common7/Tools/Bin/midl.exe" ; then
5686 MIDL_PATH
="$vstest/Common7/Tools/Bin"
5689 if test -z "$MIDL_PATH" ; then
5690 psdktest
=`./oowintool --psdk-home`
5691 if test -x "$psdktest/Bin/midl.exe" ; then
5692 MIDL_PATH
="$psdktest/Bin"
5695 if test ! -x "$MIDL_PATH/midl.exe"; then
5696 { { echo "$as_me:$LINENO: error: midl.exe not found. Make sure it's in the path or use --with-midl-path" >&5
5697 echo "$as_me: error: midl.exe not found. Make sure it's in the path or use --with-midl-path" >&2;}
5698 { (exit 1); exit 1; }; }
5700 # Convert to posix path with 8.3 filename restrictions ( No spaces )
5701 MIDL_PATH
=`cygpath -d "$MIDL_PATH"`
5702 MIDL_PATH
=`cygpath -u "$MIDL_PATH"`
5704 # Extract the first word of "csc.exe", so it can be a program name with args.
5705 set dummy csc.exe
; ac_word
=$2
5706 echo "$as_me:$LINENO: checking for $ac_word" >&5
5707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5708 if test "${ac_cv_path_CSC_PATH+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 ac_cv_path_CSC_PATH
="$CSC_PATH" # Let the user override the test with a path.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_path_CSC_PATH
="$as_dir/$ac_word$ac_exec_ext"
5724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 CSC_PATH
=$ac_cv_path_CSC_PATH
5735 if test -n "$CSC_PATH"; then
5736 echo "$as_me:$LINENO: result: $CSC_PATH" >&5
5737 echo "${ECHO_T}$CSC_PATH" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5743 if test -n "$CSC_PATH";then
5744 CSC_PATH
=`dirname "$CSC_PATH"`
5746 if test -n "$with_csc_path";then
5747 with_csc_path
=`cygpath -u "$with_csc_path"`
5749 if test -x "$with_csc_path/csc.exe"; then
5750 CSC_PATH
="$with_csc_path"
5752 csctest
=`./oowintool --csc-compilerdir`;
5753 if test -x "$csctest/csc.exe"; then
5757 if test ! -x "$CSC_PATH/csc.exe"; then
5758 { { echo "$as_me:$LINENO: error: csc.exe not found. Make sure it's in the path or use --with-csc-path" >&5
5759 echo "$as_me: error: csc.exe not found. Make sure it's in the path or use --with-csc-path" >&2;}
5760 { (exit 1); exit 1; }; }
5762 # Convert to posix path with 8.3 filename restrictions ( No spaces )
5763 CSC_PATH
=`cygpath -d "$CSC_PATH"`
5764 CSC_PATH
=`cygpath -u "$CSC_PATH"`
5766 echo "$as_me:$LINENO: checking .NET Framework" >&5
5767 echo $ECHO_N "checking .NET Framework... $ECHO_C" >&6
5768 if test -n "$with_frame_home"; then
5769 with_frame_home
=`cygpath -u "$with_frame_home"`
5771 if test -f "$with_frame_home/lib/mscoree.lib"; then
5772 FRAME_HOME
="$with_frame_home"
5774 if test -z "$FRAME_HOME" -a -e "$with_cl_home/../SDK/v1.1/lib/mscoree.lib"; then
5775 FRAME_HOME
="$with_cl_home/../SDK/v1.1"
5777 if test -z "$FRAME_HOME" ; then
5778 frametest
=`./oowintool --dotnetsdk-dir`
5779 if test -f "$frametest/lib/mscoree.lib"; then
5780 FRAME_HOME
="$frametest"
5782 frametest
=`./oowintool --psdk-home`
5783 if test -f "$frametest/lib/mscoree.lib"; then
5784 FRAME_HOME
="$frametest"
5788 if test ! -f "$FRAME_HOME/lib/mscoree.lib"; then
5789 { { echo "$as_me:$LINENO: error: mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home" >&5
5790 echo "$as_me: error: mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home" >&2;}
5791 { (exit 1); exit 1; }; }
5793 echo "$as_me:$LINENO: result: found" >&5
5794 echo "${ECHO_T}found" >&6
5795 # Convert to posix path with 8.3 filename restrictions ( No spaces )
5796 FRAME_HOME
=`cygpath -d "$FRAME_HOME"`
5797 FRAME_HOME
=`cygpath -u "$FRAME_HOME"`
5804 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
5806 ac_cpp
='$CPP $CPPFLAGS'
5807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5810 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5811 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5812 # On Suns, sometimes $CPP names a directory.
5813 if test -n "$CPP" && test -d "$CPP"; then
5816 if test -z "$CPP"; then
5817 if test "${ac_cv_prog_CPP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 # Double quotes because CPP needs to be expanded
5821 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5824 for ac_c_preproc_warn_flag
in '' yes
5826 # Use a header file that comes with gcc, so configuring glibc
5827 # with a fresh cross-compiler works.
5828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5829 # <limits.h> exists even on freestanding compilers.
5830 # On the NeXT, cc -E runs the code through the compiler's parser,
5831 # not just through cpp. "Syntax error" is here to catch this case.
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5839 # include <limits.h>
5841 # include <assert.h>
5845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5848 grep -v '^ *+' conftest.er1
>conftest.err
5850 cat conftest.err
>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } >/dev
/null
; then
5853 if test -s conftest.err
; then
5854 ac_cpp_err
=$ac_c_preproc_warn_flag
5855 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5862 if test -z "$ac_cpp_err"; then
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.
$ac_ext >&5
5868 # Broken: fails on valid input.
5871 rm -f conftest.err conftest.
$ac_ext
5873 # OK, works on sane cases. Now check whether non-existent headers
5874 # can be detected and how.
5875 cat >conftest.
$ac_ext <<_ACEOF
5878 cat confdefs.h
>>conftest.
$ac_ext
5879 cat >>conftest.
$ac_ext <<_ACEOF
5880 /* end confdefs.h. */
5881 #include <ac_nonexistent.h>
5883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5886 grep -v '^ *+' conftest.er1
>conftest.err
5888 cat conftest.err
>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } >/dev
/null
; then
5891 if test -s conftest.err
; then
5892 ac_cpp_err
=$ac_c_preproc_warn_flag
5893 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5900 if test -z "$ac_cpp_err"; then
5901 # Broken: success on invalid input.
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5907 # Passes both tests.
5911 rm -f conftest.err conftest.
$ac_ext
5914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5915 rm -f conftest.err conftest.
$ac_ext
5916 if $ac_preproc_ok; then
5928 echo "$as_me:$LINENO: result: $CPP" >&5
5929 echo "${ECHO_T}$CPP" >&6
5931 for ac_c_preproc_warn_flag
in '' yes
5933 # Use a header file that comes with gcc, so configuring glibc
5934 # with a fresh cross-compiler works.
5935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5936 # <limits.h> exists even on freestanding compilers.
5937 # On the NeXT, cc -E runs the code through the compiler's parser,
5938 # not just through cpp. "Syntax error" is here to catch this case.
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5946 # include <limits.h>
5948 # include <assert.h>
5952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5955 grep -v '^ *+' conftest.er1
>conftest.err
5957 cat conftest.err
>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } >/dev
/null
; then
5960 if test -s conftest.err
; then
5961 ac_cpp_err
=$ac_c_preproc_warn_flag
5962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5969 if test -z "$ac_cpp_err"; then
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.
$ac_ext >&5
5975 # Broken: fails on valid input.
5978 rm -f conftest.err conftest.
$ac_ext
5980 # OK, works on sane cases. Now check whether non-existent headers
5981 # can be detected and how.
5982 cat >conftest.
$ac_ext <<_ACEOF
5985 cat confdefs.h
>>conftest.
$ac_ext
5986 cat >>conftest.
$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <ac_nonexistent.h>
5990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5993 grep -v '^ *+' conftest.er1
>conftest.err
5995 cat conftest.err
>&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } >/dev
/null
; then
5998 if test -s conftest.err
; then
5999 ac_cpp_err
=$ac_c_preproc_warn_flag
6000 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6007 if test -z "$ac_cpp_err"; then
6008 # Broken: success on invalid input.
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6014 # Passes both tests.
6018 rm -f conftest.err conftest.
$ac_ext
6021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6022 rm -f conftest.err conftest.
$ac_ext
6023 if $ac_preproc_ok; then
6026 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6027 See \`config.log' for more details." >&5
6028 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6029 See \`config.log' for more details." >&2;}
6030 { (exit 1); exit 1; }; }
6034 ac_cpp
='$CPP $CPPFLAGS'
6035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6040 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6041 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6042 if test "${ac_cv_header_stdc+set}" = set; then
6043 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 cat >conftest.
$ac_ext <<_ACEOF
6048 cat confdefs.h
>>conftest.
$ac_ext
6049 cat >>conftest.
$ac_ext <<_ACEOF
6050 /* end confdefs.h. */
6064 rm -f conftest.
$ac_objext
6065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6066 (eval $ac_compile) 2>conftest.er1
6068 grep -v '^ *+' conftest.er1
>conftest.err
6070 cat conftest.err
>&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); } &&
6073 { ac_try
='test -z "$ac_c_werror_flag"
6074 || test ! -s conftest.err'
6075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }; } &&
6080 { ac_try
='test -s conftest.$ac_objext'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then
6086 ac_cv_header_stdc
=yes
6088 echo "$as_me: failed program was:" >&5
6089 sed 's/^/| /' conftest.
$ac_ext >&5
6091 ac_cv_header_stdc
=no
6093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6095 if test $ac_cv_header_stdc = yes; then
6096 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6097 cat >conftest.
$ac_ext <<_ACEOF
6100 cat confdefs.h
>>conftest.
$ac_ext
6101 cat >>conftest.
$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6107 $EGREP "memchr" >/dev
/null
2>&1; then
6110 ac_cv_header_stdc
=no
6116 if test $ac_cv_header_stdc = yes; then
6117 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 cat confdefs.h
>>conftest.
$ac_ext
6122 cat >>conftest.
$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6128 $EGREP "free" >/dev
/null
2>&1; then
6131 ac_cv_header_stdc
=no
6137 if test $ac_cv_header_stdc = yes; then
6138 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6139 if test "$cross_compiling" = yes; then
6142 cat >conftest.
$ac_ext <<_ACEOF
6145 cat confdefs.h
>>conftest.
$ac_ext
6146 cat >>conftest.
$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6149 #if ((' ' & 0x0FF) == 0x020)
6150 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6151 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6153 # define ISLOWER(c) \
6154 (('a' <= (c) && (c) <= 'i') \
6155 || ('j' <= (c) && (c) <= 'r') \
6156 || ('s' <= (c) && (c) <= 'z'))
6157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6160 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6165 for (i = 0; i < 256; i++)
6166 if (XOR (islower (i), ISLOWER (i))
6167 || toupper (i) != TOUPPER (i))
6172 rm -f conftest
$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174 (eval $ac_link) 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; }; then
6185 echo "$as_me: program exited with status $ac_status" >&5
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.
$ac_ext >&5
6190 ac_cv_header_stdc
=no
6192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6196 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6197 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6198 if test $ac_cv_header_stdc = yes; then
6200 cat >>confdefs.h
<<\_ACEOF
6201 #define STDC_HEADERS 1
6208 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
6210 ac_cpp
='$CXXCPP $CPPFLAGS'
6211 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6212 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6214 if test -n "$ac_tool_prefix"; then
6215 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6218 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6219 echo "$as_me:$LINENO: checking for $ac_word" >&5
6220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6221 if test "${ac_cv_prog_CXX+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 if test -n "$CXX"; then
6225 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir
=.
6232 for ac_exec_ext
in '' $ac_executable_extensions; do
6233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test -n "$CXX"; then
6245 echo "$as_me:$LINENO: result: $CXX" >&5
6246 echo "${ECHO_T}$CXX" >&6
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6252 test -n "$CXX" && break
6255 if test -z "$CXX"; then
6257 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6259 # Extract the first word of "$ac_prog", so it can be a program name with args.
6260 set dummy
$ac_prog; ac_word
=$2
6261 echo "$as_me:$LINENO: checking for $ac_word" >&5
6262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 if test -n "$ac_ct_CXX"; then
6267 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir
=.
6274 for ac_exec_ext
in '' $ac_executable_extensions; do
6275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6286 if test -n "$ac_ct_CXX"; then
6287 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6288 echo "${ECHO_T}$ac_ct_CXX" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6294 test -n "$ac_ct_CXX" && break
6296 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6302 # Provide some information about the compiler.
6303 echo "$as_me:$LINENO:" \
6304 "checking for C++ compiler version" >&5
6305 ac_compiler
=`set X $ac_compile; echo $2`
6306 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6307 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); }
6311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6312 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); }
6316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6317 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); }
6322 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6323 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6324 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 cat >conftest.
$ac_ext <<_ACEOF
6330 cat confdefs.h
>>conftest.
$ac_ext
6331 cat >>conftest.
$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6345 rm -f conftest.
$ac_objext
6346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6347 (eval $ac_compile) 2>conftest.er1
6349 grep -v '^ *+' conftest.er1
>conftest.err
6351 cat conftest.err
>&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } &&
6354 { ac_try
='test -z "$ac_cxx_werror_flag"
6355 || test ! -s conftest.err'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; } &&
6361 { ac_try
='test -s conftest.$ac_objext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.
$ac_ext >&5
6374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6378 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6379 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6380 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6381 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6382 ac_save_CXXFLAGS
=$CXXFLAGS
6384 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6385 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6386 if test "${ac_cv_prog_cxx_g+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6404 rm -f conftest.
$ac_objext
6405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6406 (eval $ac_compile) 2>conftest.er1
6408 grep -v '^ *+' conftest.er1
>conftest.err
6410 cat conftest.err
>&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); } &&
6413 { ac_try
='test -z "$ac_cxx_werror_flag"
6414 || test ! -s conftest.err'
6415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); }; } &&
6420 { ac_try
='test -s conftest.$ac_objext'
6421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; }; then
6426 ac_cv_prog_cxx_g
=yes
6428 echo "$as_me: failed program was:" >&5
6429 sed 's/^/| /' conftest.
$ac_ext >&5
6433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6435 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6436 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6437 if test "$ac_test_CXXFLAGS" = set; then
6438 CXXFLAGS
=$ac_save_CXXFLAGS
6439 elif test $ac_cv_prog_cxx_g = yes; then
6440 if test "$GXX" = yes; then
6446 if test "$GXX" = yes; then
6452 for ac_declaration
in \
6454 'extern "C" void std::exit (int) throw (); using std::exit;' \
6455 'extern "C" void std::exit (int); using std::exit;' \
6456 'extern "C" void exit (int) throw ();' \
6457 'extern "C" void exit (int);' \
6460 cat >conftest.
$ac_ext <<_ACEOF
6463 cat confdefs.h
>>conftest.
$ac_ext
6464 cat >>conftest.
$ac_ext <<_ACEOF
6465 /* end confdefs.h. */
6476 rm -f conftest.
$ac_objext
6477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6478 (eval $ac_compile) 2>conftest.er1
6480 grep -v '^ *+' conftest.er1
>conftest.err
6482 cat conftest.err
>&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } &&
6485 { ac_try
='test -z "$ac_cxx_werror_flag"
6486 || test ! -s conftest.err'
6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); }; } &&
6492 { ac_try
='test -s conftest.$ac_objext'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }; then
6500 echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.
$ac_ext >&5
6505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6506 cat >conftest.
$ac_ext <<_ACEOF
6509 cat confdefs.h
>>conftest.
$ac_ext
6510 cat >>conftest.
$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6521 rm -f conftest.
$ac_objext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6523 (eval $ac_compile) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
6527 cat conftest.err
>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try
='test -z "$ac_cxx_werror_flag"
6531 || test ! -s conftest.err'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; } &&
6537 { ac_try
='test -s conftest.$ac_objext'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; }; then
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.
$ac_ext >&5
6549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6552 if test -n "$ac_declaration"; then
6553 echo '#ifdef __cplusplus' >>confdefs.h
6554 echo $ac_declaration >>confdefs.h
6555 echo '#endif' >>confdefs.h
6559 ac_cpp
='$CPP $CPPFLAGS'
6560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6565 ac_cpp
='$CXXCPP $CPPFLAGS'
6566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6569 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6570 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6571 if test -z "$CXXCPP"; then
6572 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 # Double quotes because CXXCPP needs to be expanded
6576 for CXXCPP
in "$CXX -E" "/lib/cpp"
6579 for ac_cxx_preproc_warn_flag
in '' yes
6581 # Use a header file that comes with gcc, so configuring glibc
6582 # with a fresh cross-compiler works.
6583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6584 # <limits.h> exists even on freestanding compilers.
6585 # On the NeXT, cc -E runs the code through the compiler's parser,
6586 # not just through cpp. "Syntax error" is here to catch this case.
6587 cat >conftest.
$ac_ext <<_ACEOF
6590 cat confdefs.h
>>conftest.
$ac_ext
6591 cat >>conftest.
$ac_ext <<_ACEOF
6592 /* end confdefs.h. */
6594 # include <limits.h>
6596 # include <assert.h>
6600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } >/dev
/null
; then
6608 if test -s conftest.err
; then
6609 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6610 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6617 if test -z "$ac_cpp_err"; then
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.
$ac_ext >&5
6623 # Broken: fails on valid input.
6626 rm -f conftest.err conftest.
$ac_ext
6628 # OK, works on sane cases. Now check whether non-existent headers
6629 # can be detected and how.
6630 cat >conftest.
$ac_ext <<_ACEOF
6633 cat confdefs.h
>>conftest.
$ac_ext
6634 cat >>conftest.
$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6636 #include <ac_nonexistent.h>
6638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6641 grep -v '^ *+' conftest.er1
>conftest.err
6643 cat conftest.err
>&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } >/dev
/null
; then
6646 if test -s conftest.err
; then
6647 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6648 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6655 if test -z "$ac_cpp_err"; then
6656 # Broken: success on invalid input.
6659 echo "$as_me: failed program was:" >&5
6660 sed 's/^/| /' conftest.
$ac_ext >&5
6662 # Passes both tests.
6666 rm -f conftest.err conftest.
$ac_ext
6669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6670 rm -f conftest.err conftest.
$ac_ext
6671 if $ac_preproc_ok; then
6676 ac_cv_prog_CXXCPP
=$CXXCPP
6679 CXXCPP
=$ac_cv_prog_CXXCPP
6681 ac_cv_prog_CXXCPP
=$CXXCPP
6683 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6684 echo "${ECHO_T}$CXXCPP" >&6
6686 for ac_cxx_preproc_warn_flag
in '' yes
6688 # Use a header file that comes with gcc, so configuring glibc
6689 # with a fresh cross-compiler works.
6690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6691 # <limits.h> exists even on freestanding compilers.
6692 # On the NeXT, cc -E runs the code through the compiler's parser,
6693 # not just through cpp. "Syntax error" is here to catch this case.
6694 cat >conftest.
$ac_ext <<_ACEOF
6697 cat confdefs.h
>>conftest.
$ac_ext
6698 cat >>conftest.
$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6701 # include <limits.h>
6703 # include <assert.h>
6707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } >/dev
/null
; then
6715 if test -s conftest.err
; then
6716 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6717 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6724 if test -z "$ac_cpp_err"; then
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 # Broken: fails on valid input.
6733 rm -f conftest.err conftest.
$ac_ext
6735 # OK, works on sane cases. Now check whether non-existent headers
6736 # can be detected and how.
6737 cat >conftest.
$ac_ext <<_ACEOF
6740 cat confdefs.h
>>conftest.
$ac_ext
6741 cat >>conftest.
$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6743 #include <ac_nonexistent.h>
6745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6748 grep -v '^ *+' conftest.er1
>conftest.err
6750 cat conftest.err
>&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } >/dev
/null
; then
6753 if test -s conftest.err
; then
6754 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6755 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6762 if test -z "$ac_cpp_err"; then
6763 # Broken: success on invalid input.
6766 echo "$as_me: failed program was:" >&5
6767 sed 's/^/| /' conftest.
$ac_ext >&5
6769 # Passes both tests.
6773 rm -f conftest.err conftest.
$ac_ext
6776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6777 rm -f conftest.err conftest.
$ac_ext
6778 if $ac_preproc_ok; then
6781 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6782 See \`config.log' for more details." >&5
6783 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6784 See \`config.log' for more details." >&2;}
6785 { (exit 1); exit 1; }; }
6789 ac_cpp
='$CPP $CPPFLAGS'
6790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6795 if test "$_os" = "SunOS"; then
6799 ac_cpp
='$CPP $CPPFLAGS'
6800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6803 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6804 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6805 # On Suns, sometimes $CPP names a directory.
6806 if test -n "$CPP" && test -d "$CPP"; then
6809 if test -z "$CPP"; then
6810 if test "${ac_cv_prog_CPP+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 # Double quotes because CPP needs to be expanded
6814 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6817 for ac_c_preproc_warn_flag
in '' yes
6819 # Use a header file that comes with gcc, so configuring glibc
6820 # with a fresh cross-compiler works.
6821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6822 # <limits.h> exists even on freestanding compilers.
6823 # On the NeXT, cc -E runs the code through the compiler's parser,
6824 # not just through cpp. "Syntax error" is here to catch this case.
6825 cat >conftest.
$ac_ext <<_ACEOF
6828 cat confdefs.h
>>conftest.
$ac_ext
6829 cat >>conftest.
$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6832 # include <limits.h>
6834 # include <assert.h>
6838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6841 grep -v '^ *+' conftest.er1
>conftest.err
6843 cat conftest.err
>&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } >/dev
/null
; then
6846 if test -s conftest.err
; then
6847 ac_cpp_err
=$ac_c_preproc_warn_flag
6848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6855 if test -z "$ac_cpp_err"; then
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.
$ac_ext >&5
6861 # Broken: fails on valid input.
6864 rm -f conftest.err conftest.
$ac_ext
6866 # OK, works on sane cases. Now check whether non-existent headers
6867 # can be detected and how.
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <ac_nonexistent.h>
6876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1
>conftest.err
6881 cat conftest.err
>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } >/dev
/null
; then
6884 if test -s conftest.err
; then
6885 ac_cpp_err
=$ac_c_preproc_warn_flag
6886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6893 if test -z "$ac_cpp_err"; then
6894 # Broken: success on invalid input.
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.
$ac_ext >&5
6900 # Passes both tests.
6904 rm -f conftest.err conftest.
$ac_ext
6907 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6908 rm -f conftest.err conftest.
$ac_ext
6909 if $ac_preproc_ok; then
6921 echo "$as_me:$LINENO: result: $CPP" >&5
6922 echo "${ECHO_T}$CPP" >&6
6924 for ac_c_preproc_warn_flag
in '' yes
6926 # Use a header file that comes with gcc, so configuring glibc
6927 # with a fresh cross-compiler works.
6928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6929 # <limits.h> exists even on freestanding compilers.
6930 # On the NeXT, cc -E runs the code through the compiler's parser,
6931 # not just through cpp. "Syntax error" is here to catch this case.
6932 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6939 # include <limits.h>
6941 # include <assert.h>
6945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6948 grep -v '^ *+' conftest.er1
>conftest.err
6950 cat conftest.err
>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } >/dev
/null
; then
6953 if test -s conftest.err
; then
6954 ac_cpp_err
=$ac_c_preproc_warn_flag
6955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6962 if test -z "$ac_cpp_err"; then
6965 echo "$as_me: failed program was:" >&5
6966 sed 's/^/| /' conftest.
$ac_ext >&5
6968 # Broken: fails on valid input.
6971 rm -f conftest.err conftest.
$ac_ext
6973 # OK, works on sane cases. Now check whether non-existent headers
6974 # can be detected and how.
6975 cat >conftest.
$ac_ext <<_ACEOF
6978 cat confdefs.h
>>conftest.
$ac_ext
6979 cat >>conftest.
$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 #include <ac_nonexistent.h>
6983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6986 grep -v '^ *+' conftest.er1
>conftest.err
6988 cat conftest.err
>&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } >/dev
/null
; then
6991 if test -s conftest.err
; then
6992 ac_cpp_err
=$ac_c_preproc_warn_flag
6993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7000 if test -z "$ac_cpp_err"; then
7001 # Broken: success on invalid input.
7004 echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.
$ac_ext >&5
7007 # Passes both tests.
7011 rm -f conftest.err conftest.
$ac_ext
7014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7015 rm -f conftest.err conftest.
$ac_ext
7016 if $ac_preproc_ok; then
7019 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7020 See \`config.log' for more details." >&5
7021 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7022 See \`config.log' for more details." >&2;}
7023 { (exit 1); exit 1; }; }
7027 ac_cpp
='$CPP $CPPFLAGS'
7028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7035 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7045 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7046 inttypes.h stdint.h unistd.h
7048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 echo "$as_me:$LINENO: checking for $ac_header" >&5
7050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 cat >conftest.
$ac_ext <<_ACEOF
7057 cat confdefs.h
>>conftest.
$ac_ext
7058 cat >>conftest.
$ac_ext <<_ACEOF
7059 /* end confdefs.h. */
7060 $ac_includes_default
7062 #include <$ac_header>
7064 rm -f conftest.
$ac_objext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>conftest.er1
7068 grep -v '^ *+' conftest.er1
>conftest.err
7070 cat conftest.err
>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try
='test -z "$ac_c_werror_flag"
7074 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try
='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 eval "$as_ac_Header=yes"
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.
$ac_ext >&5
7091 eval "$as_ac_Header=no"
7093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7098 cat >>confdefs.h
<<_ACEOF
7099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107 echo "$as_me:$LINENO: checking for long" >&5
7108 echo $ECHO_N "checking for long... $ECHO_C" >&6
7109 if test "${ac_cv_type_long+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 cat >conftest.
$ac_ext <<_ACEOF
7115 cat confdefs.h
>>conftest.
$ac_ext
7116 cat >>conftest.
$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 $ac_includes_default
7130 rm -f conftest.
$ac_objext
7131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7132 (eval $ac_compile) 2>conftest.er1
7134 grep -v '^ *+' conftest.er1
>conftest.err
7136 cat conftest.err
>&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } &&
7139 { ac_try
='test -z "$ac_c_werror_flag"
7140 || test ! -s conftest.err'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; } &&
7146 { ac_try
='test -s conftest.$ac_objext'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.
$ac_ext >&5
7159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7161 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7162 echo "${ECHO_T}$ac_cv_type_long" >&6
7164 echo "$as_me:$LINENO: checking size of long" >&5
7165 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7166 if test "${ac_cv_sizeof_long+set}" = set; then
7167 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 if test "$ac_cv_type_long" = yes; then
7170 # The cast to unsigned long works around a bug in the HP C Compiler
7171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7173 # This bug is HP SR number 8606223364.
7174 if test "$cross_compiling" = yes; then
7175 # Depending upon the size, compute the lo and hi bounds.
7176 cat >conftest.
$ac_ext <<_ACEOF
7179 cat confdefs.h
>>conftest.
$ac_ext
7180 cat >>conftest.
$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 $ac_includes_default
7186 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7193 rm -f conftest.
$ac_objext
7194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7195 (eval $ac_compile) 2>conftest.er1
7197 grep -v '^ *+' conftest.er1
>conftest.err
7199 cat conftest.err
>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try
='test -z "$ac_c_werror_flag"
7203 || test ! -s conftest.err'
7204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); }; } &&
7209 { ac_try
='test -s conftest.$ac_objext'
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214 (exit $ac_status); }; }; then
7217 cat >conftest.
$ac_ext <<_ACEOF
7220 cat confdefs.h
>>conftest.
$ac_ext
7221 cat >>conftest.
$ac_ext <<_ACEOF
7222 /* end confdefs.h. */
7223 $ac_includes_default
7227 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7234 rm -f conftest.
$ac_objext
7235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7236 (eval $ac_compile) 2>conftest.er1
7238 grep -v '^ *+' conftest.er1
>conftest.err
7240 cat conftest.err
>&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); } &&
7243 { ac_try
='test -z "$ac_c_werror_flag"
7244 || test ! -s conftest.err'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; } &&
7250 { ac_try
='test -s conftest.$ac_objext'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; }; then
7256 ac_hi
=$ac_mid; break
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.
$ac_ext >&5
7261 ac_lo
=`expr $ac_mid + 1`
7262 if test $ac_lo -le $ac_mid; then
7266 ac_mid
=`expr 2 '*' $ac_mid + 1`
7268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7271 echo "$as_me: failed program was:" >&5
7272 sed 's/^/| /' conftest.
$ac_ext >&5
7274 cat >conftest.
$ac_ext <<_ACEOF
7277 cat confdefs.h
>>conftest.
$ac_ext
7278 cat >>conftest.
$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7280 $ac_includes_default
7284 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7291 rm -f conftest.
$ac_objext
7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293 (eval $ac_compile) 2>conftest.er1
7295 grep -v '^ *+' conftest.er1
>conftest.err
7297 cat conftest.err
>&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } &&
7300 { ac_try
='test -z "$ac_c_werror_flag"
7301 || test ! -s conftest.err'
7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); }; } &&
7307 { ac_try
='test -s conftest.$ac_objext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then
7315 cat >conftest.
$ac_ext <<_ACEOF
7318 cat confdefs.h
>>conftest.
$ac_ext
7319 cat >>conftest.
$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 $ac_includes_default
7325 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7332 rm -f conftest.
$ac_objext
7333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7334 (eval $ac_compile) 2>conftest.er1
7336 grep -v '^ *+' conftest.er1
>conftest.err
7338 cat conftest.err
>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } &&
7341 { ac_try
='test -z "$ac_c_werror_flag"
7342 || test ! -s conftest.err'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; } &&
7348 { ac_try
='test -s conftest.$ac_objext'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; }; then
7354 ac_lo
=$ac_mid; break
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7359 ac_hi
=`expr '(' $ac_mid ')' - 1`
7360 if test $ac_mid -le $ac_hi; then
7364 ac_mid
=`expr 2 '*' $ac_mid`
7366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.
$ac_ext >&5
7374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7377 # Binary search between lo and hi bounds.
7378 while test "x$ac_lo" != "x$ac_hi"; do
7379 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 $ac_includes_default
7390 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7397 rm -f conftest.
$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>conftest.er1
7401 grep -v '^ *+' conftest.er1
>conftest.err
7403 cat conftest.err
>&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try
='test -z "$ac_c_werror_flag"
7407 || test ! -s conftest.err'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; } &&
7413 { ac_try
='test -s conftest.$ac_objext'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; }; then
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.
$ac_ext >&5
7424 ac_lo
=`expr '(' $ac_mid ')' + 1`
7426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7429 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7430 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7431 See \`config.log' for more details." >&5
7432 echo "$as_me: error: cannot compute sizeof (long), 77
7433 See \`config.log' for more details." >&2;}
7434 { (exit 1); exit 1; }; } ;;
7437 if test "$cross_compiling" = yes; then
7438 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7439 See \`config.log' for more details." >&5
7440 echo "$as_me: error: cannot run test program while cross compiling
7441 See \`config.log' for more details." >&2;}
7442 { (exit 1); exit 1; }; }
7444 cat >conftest.
$ac_ext <<_ACEOF
7447 cat confdefs.h
>>conftest.
$ac_ext
7448 cat >>conftest.
$ac_ext <<_ACEOF
7449 /* end confdefs.h. */
7450 $ac_includes_default
7451 long longval () { return (long) (sizeof (long)); }
7452 unsigned long ulongval () { return (long) (sizeof (long)); }
7459 FILE *f = fopen ("conftest.val", "w");
7462 if (((long) (sizeof (long))) < 0)
7464 long i = longval ();
7465 if (i != ((long) (sizeof (long))))
7467 fprintf (f, "%ld\n", i);
7471 unsigned long i = ulongval ();
7472 if (i != ((long) (sizeof (long))))
7474 fprintf (f, "%lu\n", i);
7476 exit (ferror (f) || fclose (f) != 0);
7482 rm -f conftest
$ac_exeext
7483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7484 (eval $ac_link) 2>&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7493 ac_cv_sizeof_long
=`cat conftest.val`
7495 echo "$as_me: program exited with status $ac_status" >&5
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.
$ac_ext >&5
7500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7501 See \`config.log' for more details." >&5
7502 echo "$as_me: error: cannot compute sizeof (long), 77
7503 See \`config.log' for more details." >&2;}
7504 { (exit 1); exit 1; }; }
7506 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7514 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7515 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7516 cat >>confdefs.h
<<_ACEOF
7517 #define SIZEOF_LONG $ac_cv_sizeof_long
7521 SIZEOF_LONG
=$ac_cv_sizeof_long
7523 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7524 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7525 if test "${ac_cv_c_bigendian+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7528 # See if sys/param.h defines the BYTE_ORDER macro.
7529 cat >conftest.
$ac_ext <<_ACEOF
7532 cat confdefs.h
>>conftest.
$ac_ext
7533 cat >>conftest.
$ac_ext <<_ACEOF
7534 /* end confdefs.h. */
7535 #include <sys/types.h>
7536 #include <sys/param.h>
7541 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7549 rm -f conftest.
$ac_objext
7550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7551 (eval $ac_compile) 2>conftest.er1
7553 grep -v '^ *+' conftest.er1
>conftest.err
7555 cat conftest.err
>&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); } &&
7558 { ac_try
='test -z "$ac_c_werror_flag"
7559 || test ! -s conftest.err'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; } &&
7565 { ac_try
='test -s conftest.$ac_objext'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; }; then
7571 # It does; now see whether it defined to BIG_ENDIAN or not.
7572 cat >conftest.
$ac_ext <<_ACEOF
7575 cat confdefs.h
>>conftest.
$ac_ext
7576 cat >>conftest.
$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <sys/types.h>
7579 #include <sys/param.h>
7584 #if BYTE_ORDER != BIG_ENDIAN
7592 rm -f conftest.
$ac_objext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7594 (eval $ac_compile) 2>conftest.er1
7596 grep -v '^ *+' conftest.er1
>conftest.err
7598 cat conftest.err
>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try
='test -z "$ac_c_werror_flag"
7602 || test ! -s conftest.err'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; } &&
7608 { ac_try
='test -s conftest.$ac_objext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7614 ac_cv_c_bigendian
=yes
7616 echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.
$ac_ext >&5
7619 ac_cv_c_bigendian
=no
7621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.
$ac_ext >&5
7626 # It does not; compile a test program.
7627 if test "$cross_compiling" = yes; then
7628 # try to guess the endianness by grepping values into an object file
7629 ac_cv_c_bigendian
=unknown
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7637 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7638 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7639 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7640 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7641 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7645 _ascii (); _ebcdic ();
7650 rm -f conftest.
$ac_objext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652 (eval $ac_compile) 2>conftest.er1
7654 grep -v '^ *+' conftest.er1
>conftest.err
7656 cat conftest.err
>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try
='test -z "$ac_c_werror_flag"
7660 || test ! -s conftest.err'
7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }; } &&
7666 { ac_try
='test -s conftest.$ac_objext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
7673 ac_cv_c_bigendian
=yes
7675 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
7676 if test "$ac_cv_c_bigendian" = unknown
; then
7677 ac_cv_c_bigendian
=no
7679 # finding both strings is unlikely to happen, but who knows?
7680 ac_cv_c_bigendian
=unknown
7684 echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.
$ac_ext >&5
7688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7690 cat >conftest.
$ac_ext <<_ACEOF
7693 cat confdefs.h
>>conftest.
$ac_ext
7694 cat >>conftest.
$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7699 /* Are we little or big endian? From Harbison&Steele. */
7703 char c[sizeof (long)];
7706 exit (u.c[sizeof (long) - 1] == 1);
7709 rm -f conftest
$ac_exeext
7710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711 (eval $ac_link) 2>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; }; then
7720 ac_cv_c_bigendian
=no
7722 echo "$as_me: program exited with status $ac_status" >&5
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.
$ac_ext >&5
7727 ac_cv_c_bigendian
=yes
7729 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7734 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7735 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7736 case $ac_cv_c_bigendian in
7739 cat >>confdefs.h
<<\_ACEOF
7740 #define WORDS_BIGENDIAN 1
7746 { { echo "$as_me:$LINENO: error: unknown endianness
7747 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7748 echo "$as_me: error: unknown endianness
7749 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7750 { (exit 1); exit 1; }; } ;;
7753 WORDS_BIGENDIAN
=$ac_cv_c_bigendian
7756 # Check whether --enable-largefile or --disable-largefile was given.
7757 if test "${enable_largefile+set}" = set; then
7758 enableval
="$enable_largefile"
7761 if test "$enable_largefile" != no
; then
7763 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
7764 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
7765 if test "${ac_cv_sys_largefile_CC+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 ac_cv_sys_largefile_CC
=no
7769 if test "$GCC" != yes; then
7772 # IRIX 6.2 and later do not support large files by default,
7773 # so use the C compiler's -n32 option if that helps.
7774 cat >conftest.
$ac_ext <<_ACEOF
7777 cat confdefs.h
>>conftest.
$ac_ext
7778 cat >>conftest.
$ac_ext <<_ACEOF
7779 /* end confdefs.h. */
7780 #include <sys/types.h>
7781 /* Check that off_t can represent 2**63 - 1 correctly.
7782 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7783 since some C++ compilers masquerading as C compilers
7784 incorrectly reject 9223372036854775807. */
7785 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7786 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7787 && LARGE_OFF_T % 2147483647 == 1)
7797 rm -f conftest.
$ac_objext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7799 (eval $ac_compile) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try
='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try
='test -s conftest.$ac_objext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.
$ac_ext >&5
7825 rm -f conftest.err conftest.
$ac_objext
7827 rm -f conftest.
$ac_objext
7828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829 (eval $ac_compile) 2>conftest.er1
7831 grep -v '^ *+' conftest.er1
>conftest.err
7833 cat conftest.err
>&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); } &&
7836 { ac_try
='test -z "$ac_c_werror_flag"
7837 || test ! -s conftest.err'
7838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; } &&
7843 { ac_try
='test -s conftest.$ac_objext'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; }; then
7849 ac_cv_sys_largefile_CC
=' -n32'; break
7851 echo "$as_me: failed program was:" >&5
7852 sed 's/^/| /' conftest.
$ac_ext >&5
7855 rm -f conftest.err conftest.
$ac_objext
7859 rm -f conftest.
$ac_ext
7862 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
7863 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
7864 if test "$ac_cv_sys_largefile_CC" != no
; then
7865 CC
=$CC$ac_cv_sys_largefile_CC
7868 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7869 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
7870 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 ac_cv_sys_file_offset_bits
=no
7875 cat >conftest.
$ac_ext <<_ACEOF
7878 cat confdefs.h
>>conftest.
$ac_ext
7879 cat >>conftest.
$ac_ext <<_ACEOF
7880 /* end confdefs.h. */
7881 #include <sys/types.h>
7882 /* Check that off_t can represent 2**63 - 1 correctly.
7883 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7884 since some C++ compilers masquerading as C compilers
7885 incorrectly reject 9223372036854775807. */
7886 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7887 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7888 && LARGE_OFF_T % 2147483647 == 1)
7898 rm -f conftest.
$ac_objext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900 (eval $ac_compile) 2>conftest.er1
7902 grep -v '^ *+' conftest.er1
>conftest.err
7904 cat conftest.err
>&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
7907 { ac_try
='test -z "$ac_c_werror_flag"
7908 || test ! -s conftest.err'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; } &&
7914 { ac_try
='test -s conftest.$ac_objext'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; }; then
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.
$ac_ext >&5
7926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7927 cat >conftest.
$ac_ext <<_ACEOF
7930 cat confdefs.h
>>conftest.
$ac_ext
7931 cat >>conftest.
$ac_ext <<_ACEOF
7932 /* end confdefs.h. */
7933 #define _FILE_OFFSET_BITS 64
7934 #include <sys/types.h>
7935 /* Check that off_t can represent 2**63 - 1 correctly.
7936 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7937 since some C++ compilers masquerading as C compilers
7938 incorrectly reject 9223372036854775807. */
7939 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7940 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7941 && LARGE_OFF_T % 2147483647 == 1)
7951 rm -f conftest.
$ac_objext
7952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7953 (eval $ac_compile) 2>conftest.er1
7955 grep -v '^ *+' conftest.er1
>conftest.err
7957 cat conftest.err
>&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); } &&
7960 { ac_try
='test -z "$ac_c_werror_flag"
7961 || test ! -s conftest.err'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; } &&
7967 { ac_try
='test -s conftest.$ac_objext'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; }; then
7973 ac_cv_sys_file_offset_bits
=64; break
7975 echo "$as_me: failed program was:" >&5
7976 sed 's/^/| /' conftest.
$ac_ext >&5
7979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7983 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7984 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
7985 if test "$ac_cv_sys_file_offset_bits" != no
; then
7987 cat >>confdefs.h
<<_ACEOF
7988 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7993 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
7994 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
7995 if test "${ac_cv_sys_large_files+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 ac_cv_sys_large_files
=no
8000 cat >conftest.
$ac_ext <<_ACEOF
8003 cat confdefs.h
>>conftest.
$ac_ext
8004 cat >>conftest.
$ac_ext <<_ACEOF
8005 /* end confdefs.h. */
8006 #include <sys/types.h>
8007 /* Check that off_t can represent 2**63 - 1 correctly.
8008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8009 since some C++ compilers masquerading as C compilers
8010 incorrectly reject 9223372036854775807. */
8011 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8013 && LARGE_OFF_T % 2147483647 == 1)
8023 rm -f conftest.
$ac_objext
8024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8025 (eval $ac_compile) 2>conftest.er1
8027 grep -v '^ *+' conftest.er1
>conftest.err
8029 cat conftest.err
>&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } &&
8032 { ac_try
='test -z "$ac_c_werror_flag"
8033 || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try
='test -s conftest.$ac_objext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.
$ac_ext >&5
8051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8052 cat >conftest.
$ac_ext <<_ACEOF
8055 cat confdefs.h
>>conftest.
$ac_ext
8056 cat >>conftest.
$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 #define _LARGE_FILES 1
8059 #include <sys/types.h>
8060 /* Check that off_t can represent 2**63 - 1 correctly.
8061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8062 since some C++ compilers masquerading as C compilers
8063 incorrectly reject 9223372036854775807. */
8064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8066 && LARGE_OFF_T % 2147483647 == 1)
8076 rm -f conftest.
$ac_objext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8078 (eval $ac_compile) 2>conftest.er1
8080 grep -v '^ *+' conftest.er1
>conftest.err
8082 cat conftest.err
>&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try
='test -z "$ac_c_werror_flag"
8086 || test ! -s conftest.err'
8087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; } &&
8092 { ac_try
='test -s conftest.$ac_objext'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; }; then
8098 ac_cv_sys_large_files
=1; break
8100 echo "$as_me: failed program was:" >&5
8101 sed 's/^/| /' conftest.
$ac_ext >&5
8104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8108 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
8109 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
8110 if test "$ac_cv_sys_large_files" != no
; then
8112 cat >>confdefs.h
<<_ACEOF
8113 #define _LARGE_FILES $ac_cv_sys_large_files
8120 if test -n "$ac_cv_sys_file_offset_bits"; then
8121 LFS_CFLAGS
="-D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
8123 if test -n "$ac_cv_sys_large_files" && test "$ac_cv_sys_large_files" != "no"; then
8124 LFS_CFLAGS
="$LFS_CFLAGS -D_LARGE_FILES"
8128 echo "$as_me:$LINENO: checking whether to disable vba feature" >&5
8129 echo $ECHO_N "checking whether to disable vba feature... $ECHO_C" >&6
8130 if test -n "$enable_vba" && test "$enable_vba" = "no"; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8141 if test "$ENABLE_VBA" = "YES"; then
8142 echo "$as_me:$LINENO: checking how to package the vba compatibility api" >&5
8143 echo $ECHO_N "checking how to package the vba compatibility api... $ECHO_C" >&6
8144 if test -n "$with_vba_package_format"; then
8145 if test "$with_vba_package_format" = "extn"; then
8147 echo "$as_me:$LINENO: result: uno extension" >&5
8148 echo "${ECHO_T}uno extension" >&6
8149 { echo "$as_me:$LINENO: WARNING: --with-vba-package-format=extn can cause problems" >&5
8150 echo "$as_me: WARNING: --with-vba-package-format=extn can cause problems" >&2;}
8151 else if test "$with_vba_package_format" = "builtin"; then
8153 echo "$as_me:$LINENO: result: build into installset" >&5
8154 echo "${ECHO_T}build into installset" >&6
8156 { { echo "$as_me:$LINENO: error: unknown packaging method" >&5
8157 echo "$as_me: error: unknown packaging method" >&2;}
8158 { (exit 1); exit 1; }; }
8164 echo "$as_me:$LINENO: result: defaulting to build into installset" >&5
8165 echo "${ECHO_T}defaulting to build into installset" >&6
8174 if test "$test_cups" = "yes" -a "$ENABLE_CUPS" = "TRUE" ; then
8175 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8176 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8177 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8178 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8182 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8184 # Is the header compilable?
8185 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
8186 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
8187 cat >conftest.
$ac_ext <<_ACEOF
8190 cat confdefs.h
>>conftest.
$ac_ext
8191 cat >>conftest.
$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8193 $ac_includes_default
8194 #include <cups/cups.h>
8196 rm -f conftest.
$ac_objext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8198 (eval $ac_compile) 2>conftest.er1
8200 grep -v '^ *+' conftest.er1
>conftest.err
8202 cat conftest.err
>&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try
='test -z "$ac_c_werror_flag"
8206 || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try
='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_header_compiler
=yes
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8223 ac_header_compiler
=no
8225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8227 echo "${ECHO_T}$ac_header_compiler" >&6
8229 # Is the header present?
8230 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
8231 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
8232 cat >conftest.
$ac_ext <<_ACEOF
8235 cat confdefs.h
>>conftest.
$ac_ext
8236 cat >>conftest.
$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8238 #include <cups/cups.h>
8240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8243 grep -v '^ *+' conftest.er1
>conftest.err
8245 cat conftest.err
>&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } >/dev
/null
; then
8248 if test -s conftest.err
; then
8249 ac_cpp_err
=$ac_c_preproc_warn_flag
8250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8257 if test -z "$ac_cpp_err"; then
8258 ac_header_preproc
=yes
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.
$ac_ext >&5
8263 ac_header_preproc
=no
8265 rm -f conftest.err conftest.
$ac_ext
8266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8267 echo "${ECHO_T}$ac_header_preproc" >&6
8269 # So? What about this header?
8270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8272 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
8273 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8274 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the compiler's result" >&5
8275 echo "$as_me: WARNING: cups/cups.h: proceeding with the compiler's result" >&2;}
8276 ac_header_preproc
=yes
8279 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
8280 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
8281 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
8282 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
8283 { echo "$as_me:$LINENO: WARNING: cups/cups.h: see the Autoconf documentation" >&5
8284 echo "$as_me: WARNING: cups/cups.h: see the Autoconf documentation" >&2;}
8285 { echo "$as_me:$LINENO: WARNING: cups/cups.h: section \"Present But Cannot Be Compiled\"" >&5
8286 echo "$as_me: WARNING: cups/cups.h: section \"Present But Cannot Be Compiled\"" >&2;}
8287 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
8288 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;}
8289 { echo "$as_me:$LINENO: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&5
8290 echo "$as_me: WARNING: cups/cups.h: in the future, the compiler will take precedence" >&2;}
8293 ## ------------------------------------------ ##
8294 ## Report this to the AC_PACKAGE_NAME lists. ##
8295 ## ------------------------------------------ ##
8298 sed "s/^/$as_me: WARNING: /" >&2
8301 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
8302 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
8303 if test "${ac_cv_header_cups_cups_h+set}" = set; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 ac_cv_header_cups_cups_h
=$ac_header_preproc
8308 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
8309 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
8312 if test $ac_cv_header_cups_cups_h = yes; then
8315 { { echo "$as_me:$LINENO: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?" >&5
8316 echo "$as_me: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing?" >&2;}
8317 { (exit 1); exit 1; }; }
8323 if test "$_os" = "Linux" -o "$_os" = "FreeBSD" -o "$_os" = "GNU"; then
8324 echo "$as_me:$LINENO: checking whether to enable pam support" >&5
8325 echo $ECHO_N "checking whether to enable pam support... $ECHO_C" >&6
8326 if test -z "$enable_pam" ||
test "$enable_pam" != "no"; then
8327 echo "$as_me:$LINENO: result: yes" >&5
8328 echo "${ECHO_T}yes" >&6
8330 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8331 echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
8332 echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
8333 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8334 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
8337 echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6
8339 # Is the header compilable?
8340 echo "$as_me:$LINENO: checking security/pam_appl.h usability" >&5
8341 echo $ECHO_N "checking security/pam_appl.h usability... $ECHO_C" >&6
8342 cat >conftest.
$ac_ext <<_ACEOF
8345 cat confdefs.h
>>conftest.
$ac_ext
8346 cat >>conftest.
$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8348 $ac_includes_default
8349 #include <security/pam_appl.h>
8351 rm -f conftest.
$ac_objext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8353 (eval $ac_compile) 2>conftest.er1
8355 grep -v '^ *+' conftest.er1
>conftest.err
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try
='test -z "$ac_c_werror_flag"
8361 || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try
='test -s conftest.$ac_objext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 ac_header_compiler
=yes
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.
$ac_ext >&5
8378 ac_header_compiler
=no
8380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8382 echo "${ECHO_T}$ac_header_compiler" >&6
8384 # Is the header present?
8385 echo "$as_me:$LINENO: checking security/pam_appl.h presence" >&5
8386 echo $ECHO_N "checking security/pam_appl.h presence... $ECHO_C" >&6
8387 cat >conftest.
$ac_ext <<_ACEOF
8390 cat confdefs.h
>>conftest.
$ac_ext
8391 cat >>conftest.
$ac_ext <<_ACEOF
8392 /* end confdefs.h. */
8393 #include <security/pam_appl.h>
8395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8398 grep -v '^ *+' conftest.er1
>conftest.err
8400 cat conftest.err
>&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } >/dev
/null
; then
8403 if test -s conftest.err
; then
8404 ac_cpp_err
=$ac_c_preproc_warn_flag
8405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8412 if test -z "$ac_cpp_err"; then
8413 ac_header_preproc
=yes
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.
$ac_ext >&5
8418 ac_header_preproc
=no
8420 rm -f conftest.err conftest.
$ac_ext
8421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8422 echo "${ECHO_T}$ac_header_preproc" >&6
8424 # So? What about this header?
8425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8427 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8428 echo "$as_me: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8429 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&5
8430 echo "$as_me: WARNING: security/pam_appl.h: proceeding with the compiler's result" >&2;}
8431 ac_header_preproc
=yes
8434 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: present but cannot be compiled" >&5
8435 echo "$as_me: WARNING: security/pam_appl.h: present but cannot be compiled" >&2;}
8436 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: check for missing prerequisite headers?" >&5
8437 echo "$as_me: WARNING: security/pam_appl.h: check for missing prerequisite headers?" >&2;}
8438 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: see the Autoconf documentation" >&5
8439 echo "$as_me: WARNING: security/pam_appl.h: see the Autoconf documentation" >&2;}
8440 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: section \"Present But Cannot Be Compiled\"" >&5
8441 echo "$as_me: WARNING: security/pam_appl.h: section \"Present But Cannot Be Compiled\"" >&2;}
8442 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&5
8443 echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's result" >&2;}
8444 { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&5
8445 echo "$as_me: WARNING: security/pam_appl.h: in the future, the compiler will take precedence" >&2;}
8448 ## ------------------------------------------ ##
8449 ## Report this to the AC_PACKAGE_NAME lists. ##
8450 ## ------------------------------------------ ##
8453 sed "s/^/$as_me: WARNING: /" >&2
8456 echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
8457 echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
8458 if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_cv_header_security_pam_appl_h
=$ac_header_preproc
8463 echo "$as_me:$LINENO: result: $ac_cv_header_security_pam_appl_h" >&5
8464 echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6
8467 if test $ac_cv_header_security_pam_appl_h = yes; then
8470 { { echo "$as_me:$LINENO: error: pam_appl.h could not be found. libpam-dev or pam-devel missing?" >&5
8471 echo "$as_me: error: pam_appl.h could not be found. libpam-dev or pam-devel missing?" >&2;}
8472 { (exit 1); exit 1; }; }
8476 echo "$as_me:$LINENO: checking whether to link to libpam" >&5
8477 echo $ECHO_N "checking whether to link to libpam... $ECHO_C" >&6
8478 if test -n "$enable_pam_link" -a "$enable_pam_link" != "no"; then
8479 echo "$as_me:$LINENO: result: yes" >&5
8480 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5
8484 echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6
8485 if test "${ac_cv_lib_pam_pam_start+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 ac_check_lib_save_LIBS
=$LIBS
8490 cat >conftest.
$ac_ext <<_ACEOF
8493 cat confdefs.h
>>conftest.
$ac_ext
8494 cat >>conftest.
$ac_ext <<_ACEOF
8495 /* end confdefs.h. */
8497 /* Override any gcc2 internal prototype to avoid an error. */
8501 /* We use char because int might match the return type of a gcc2
8502 builtin and then its argument prototype would still apply. */
8512 rm -f conftest.
$ac_objext conftest
$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8516 grep -v '^ *+' conftest.er1
>conftest.err
8518 cat conftest.err
>&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try
='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try
='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 ac_cv_lib_pam_pam_start
=yes
8536 echo "$as_me: failed program was:" >&5
8537 sed 's/^/| /' conftest.
$ac_ext >&5
8539 ac_cv_lib_pam_pam_start
=no
8541 rm -f conftest.err conftest.
$ac_objext \
8542 conftest
$ac_exeext conftest.
$ac_ext
8543 LIBS
=$ac_check_lib_save_LIBS
8545 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_start" >&5
8546 echo "${ECHO_T}$ac_cv_lib_pam_pam_start" >&6
8547 if test $ac_cv_lib_pam_pam_start = yes; then
8548 cat >>confdefs.h
<<_ACEOF
8549 #define HAVE_LIBPAM 1
8555 { { echo "$as_me:$LINENO: error: libpam not found or functional" >&5
8556 echo "$as_me: error: libpam not found or functional" >&2;}
8557 { (exit 1); exit 1; }; }
8561 echo "$as_me:$LINENO: result: no, dynamically open it" >&5
8562 echo "${ECHO_T}no, dynamically open it" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8573 ac_cpp
='$CPP $CPPFLAGS'
8574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8578 echo "$as_me:$LINENO: checking how many arguments getspnam_r() takes" >&5
8579 echo $ECHO_N "checking how many arguments getspnam_r() takes... $ECHO_C" >&6
8581 if test "${ac_cv_func_which_getspnam_r+set}" = set; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 ################################################################
8588 ac_cv_func_which_getspnam_r
=unknown
8591 # ONE ARGUMENT (sanity check)
8594 # This should fail, as there is no variant of getspnam_r() that takes
8595 # a single argument. If it actually compiles, then we can assume that
8596 # netdb.h is not declaring the function, and the compiler is thereby
8597 # assuming an implicit prototype. In which case, we're out of luck.
8599 cat >conftest.
$ac_ext <<_ACEOF
8602 cat confdefs.h
>>conftest.
$ac_ext
8603 cat >>conftest.
$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8606 #include <sys/types.h>
8613 const char *name = "myname";
8614 getspnam_r(name) /* ; */
8620 rm -f conftest.
$ac_objext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8622 (eval $ac_compile) 2>conftest.er1
8624 grep -v '^ *+' conftest.er1
>conftest.err
8626 cat conftest.err
>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } &&
8629 { ac_try
='test -z "$ac_c_werror_flag"
8630 || test ! -s conftest.err'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; } &&
8636 { ac_try
='test -s conftest.$ac_objext'
8637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; }; then
8642 ac_cv_func_which_getspnam_r
=no
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.
$ac_ext >&5
8648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8654 if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 cat confdefs.h
>>conftest.
$ac_ext
8660 cat >>conftest.
$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8663 #include <sys/types.h>
8670 char buffer[] = { '\0' };
8671 struct spwd spwdStruct;
8672 const char *name = "myname";
8673 getspnam_r(name, &spwdStruct, buffer, sizeof buffer, 0) /* ; */
8679 rm -f conftest.
$ac_objext
8680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8681 (eval $ac_compile) 2>conftest.er1
8683 grep -v '^ *+' conftest.er1
>conftest.err
8685 cat conftest.err
>&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } &&
8688 { ac_try
='test -z "$ac_c_werror_flag"
8689 || test ! -s conftest.err'
8690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); }; } &&
8695 { ac_try
='test -s conftest.$ac_objext'
8696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); }; }; then
8701 ac_cv_func_which_getspnam_r
=five
8703 echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.
$ac_ext >&5
8707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8715 if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
8717 cat >conftest.
$ac_ext <<_ACEOF
8720 cat confdefs.h
>>conftest.
$ac_ext
8721 cat >>conftest.
$ac_ext <<_ACEOF
8722 /* end confdefs.h. */
8724 #include <sys/types.h>
8731 char buffer[] = { '\0' };
8732 struct spwd spwdStruct;
8733 const char *name = "myname";
8734 getspnam_r(name, &spwdStruct, buffer, sizeof buffer) /* ; */
8740 rm -f conftest.
$ac_objext
8741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8742 (eval $ac_compile) 2>conftest.er1
8744 grep -v '^ *+' conftest.er1
>conftest.err
8746 cat conftest.err
>&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } &&
8749 { ac_try
='test -z "$ac_c_werror_flag"
8750 || test ! -s conftest.err'
8751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; } &&
8756 { ac_try
='test -s conftest.$ac_objext'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; }; then
8762 ac_cv_func_which_getspnam_r
=four
8764 echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.
$ac_ext >&5
8768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8772 ################################################################
8777 case "$ac_cv_func_which_getspnam_r" in
8779 echo "$as_me:$LINENO: result: five" >&5
8780 echo "${ECHO_T}five" >&6
8785 echo "$as_me:$LINENO: result: four" >&5
8786 echo "${ECHO_T}four" >&6
8790 echo "$as_me:$LINENO: result: cannot find function declaration in shadow.h" >&5
8791 echo "${ECHO_T}cannot find function declaration in shadow.h" >&6
8795 echo "$as_me:$LINENO: result: can't tell" >&5
8796 echo "${ECHO_T}can't tell" >&6
8800 { { echo "$as_me:$LINENO: error: internal error" >&5
8801 echo "$as_me: error: internal error" >&2;}
8802 { (exit 1); exit 1; }; }
8807 ac_cpp
='$CPP $CPPFLAGS'
8808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8820 if test "$_os" = "Linux"; then
8821 echo "$as_me:$LINENO: checking whether to link to libcrypt" >&5
8822 echo $ECHO_N "checking whether to link to libcrypt... $ECHO_C" >&6
8823 if test -n "$enable_crypt_link" -a "$enable_crypt_link" != "no"; then
8824 echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6
8828 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8829 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8830 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 ac_check_lib_save_LIBS
=$LIBS
8834 LIBS
="-lcrypt $LIBS"
8835 cat >conftest.
$ac_ext <<_ACEOF
8838 cat confdefs.h
>>conftest.
$ac_ext
8839 cat >>conftest.
$ac_ext <<_ACEOF
8840 /* end confdefs.h. */
8842 /* Override any gcc2 internal prototype to avoid an error. */
8846 /* We use char because int might match the return type of a gcc2
8847 builtin and then its argument prototype would still apply. */
8857 rm -f conftest.
$ac_objext conftest
$ac_exeext
8858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8859 (eval $ac_link) 2>conftest.er1
8861 grep -v '^ *+' conftest.er1
>conftest.err
8863 cat conftest.err
>&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } &&
8866 { ac_try
='test -z "$ac_c_werror_flag"
8867 || test ! -s conftest.err'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; } &&
8873 { ac_try
='test -s conftest$ac_exeext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_lib_crypt_crypt
=yes
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.
$ac_ext >&5
8884 ac_cv_lib_crypt_crypt
=no
8886 rm -f conftest.err conftest.
$ac_objext \
8887 conftest
$ac_exeext conftest.
$ac_ext
8888 LIBS
=$ac_check_lib_save_LIBS
8890 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8891 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8892 if test $ac_cv_lib_crypt_crypt = yes; then
8893 cat >>confdefs.h
<<_ACEOF
8894 #define HAVE_LIBCRYPT 1
8897 LIBS
="-lcrypt $LIBS"
8900 { { echo "$as_me:$LINENO: error: libcrypt not found or functional" >&5
8901 echo "$as_me: error: libcrypt not found or functional" >&2;}
8902 { (exit 1); exit 1; }; }
8906 echo "$as_me:$LINENO: result: no, dynamically open it" >&5
8907 echo "${ECHO_T}no, dynamically open it" >&6
8913 if test -n "$with_gcc_home"; then
8914 if test -z "$CXX"; then
8915 CXX
="$with_gcc_home/bin/g++"
8919 if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
8920 if test -e "$CC"; then
8925 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
8927 ac_cpp
='$CXXCPP $CPPFLAGS'
8928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8931 if test -n "$ac_tool_prefix"; then
8932 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
8934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8936 echo "$as_me:$LINENO: checking for $ac_word" >&5
8937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8938 if test "${ac_cv_prog_CXX+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 if test -n "$CXX"; then
8942 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
8952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 if test -n "$CXX"; then
8962 echo "$as_me:$LINENO: result: $CXX" >&5
8963 echo "${ECHO_T}$CXX" >&6
8965 echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6
8969 test -n "$CXX" && break
8972 if test -z "$CXX"; then
8974 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
8976 # Extract the first word of "$ac_prog", so it can be a program name with args.
8977 set dummy
$ac_prog; ac_word
=$2
8978 echo "$as_me:$LINENO: checking for $ac_word" >&5
8979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8980 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 if test -n "$ac_ct_CXX"; then
8984 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
8986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir
=.
8991 for ac_exec_ext
in '' $ac_executable_extensions; do
8992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8993 ac_cv_prog_ac_ct_CXX
="$ac_prog"
8994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9002 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
9003 if test -n "$ac_ct_CXX"; then
9004 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9005 echo "${ECHO_T}$ac_ct_CXX" >&6
9007 echo "$as_me:$LINENO: result: no" >&5
9008 echo "${ECHO_T}no" >&6
9011 test -n "$ac_ct_CXX" && break
9013 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
9019 # Provide some information about the compiler.
9020 echo "$as_me:$LINENO:" \
9021 "checking for C++ compiler version" >&5
9022 ac_compiler
=`set X $ac_compile; echo $2`
9023 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9024 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }
9028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9029 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }
9033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9034 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); }
9039 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9040 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
9041 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9042 echo $ECHO_N "(cached) $ECHO_C" >&6
9044 cat >conftest.
$ac_ext <<_ACEOF
9047 cat confdefs.h
>>conftest.
$ac_ext
9048 cat >>conftest.
$ac_ext <<_ACEOF
9049 /* end confdefs.h. */
9062 rm -f conftest.
$ac_objext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9064 (eval $ac_compile) 2>conftest.er1
9066 grep -v '^ *+' conftest.er1
>conftest.err
9068 cat conftest.err
>&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } &&
9071 { ac_try
='test -z "$ac_cxx_werror_flag"
9072 || test ! -s conftest.err'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; } &&
9078 { ac_try
='test -s conftest.$ac_objext'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.
$ac_ext >&5
9091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9092 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
9095 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9096 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
9097 GXX
=`test $ac_compiler_gnu = yes && echo yes`
9098 ac_test_CXXFLAGS
=${CXXFLAGS+set}
9099 ac_save_CXXFLAGS
=$CXXFLAGS
9101 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9102 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
9103 if test "${ac_cv_prog_cxx_g+set}" = set; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 cat >conftest.
$ac_ext <<_ACEOF
9109 cat confdefs.h
>>conftest.
$ac_ext
9110 cat >>conftest.
$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9121 rm -f conftest.
$ac_objext
9122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9123 (eval $ac_compile) 2>conftest.er1
9125 grep -v '^ *+' conftest.er1
>conftest.err
9127 cat conftest.err
>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } &&
9130 { ac_try
='test -z "$ac_cxx_werror_flag"
9131 || test ! -s conftest.err'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; } &&
9137 { ac_try
='test -s conftest.$ac_objext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 ac_cv_prog_cxx_g
=yes
9145 echo "$as_me: failed program was:" >&5
9146 sed 's/^/| /' conftest.
$ac_ext >&5
9150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9152 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9153 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
9154 if test "$ac_test_CXXFLAGS" = set; then
9155 CXXFLAGS
=$ac_save_CXXFLAGS
9156 elif test $ac_cv_prog_cxx_g = yes; then
9157 if test "$GXX" = yes; then
9163 if test "$GXX" = yes; then
9169 for ac_declaration
in \
9171 'extern "C" void std::exit (int) throw (); using std::exit;' \
9172 'extern "C" void std::exit (int); using std::exit;' \
9173 'extern "C" void exit (int) throw ();' \
9174 'extern "C" void exit (int);' \
9177 cat >conftest.
$ac_ext <<_ACEOF
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9193 rm -f conftest.
$ac_objext
9194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9195 (eval $ac_compile) 2>conftest.er1
9197 grep -v '^ *+' conftest.er1
>conftest.err
9199 cat conftest.err
>&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } &&
9202 { ac_try
='test -z "$ac_cxx_werror_flag"
9203 || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; } &&
9209 { ac_try
='test -s conftest.$ac_objext'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; }; then
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.
$ac_ext >&5
9222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9223 cat >conftest.
$ac_ext <<_ACEOF
9226 cat confdefs.h
>>conftest.
$ac_ext
9227 cat >>conftest.
$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9238 rm -f conftest.
$ac_objext
9239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9240 (eval $ac_compile) 2>conftest.er1
9242 grep -v '^ *+' conftest.er1
>conftest.err
9244 cat conftest.err
>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try
='test -z "$ac_cxx_werror_flag"
9248 || test ! -s conftest.err'
9249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }; } &&
9254 { ac_try
='test -s conftest.$ac_objext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.
$ac_ext >&5
9266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9269 if test -n "$ac_declaration"; then
9270 echo '#ifdef __cplusplus' >>confdefs.h
9271 echo $ac_declaration >>confdefs.h
9272 echo '#endif' >>confdefs.h
9276 ac_cpp
='$CPP $CPPFLAGS'
9277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9283 if test "$GXX" = "yes"; then
9284 echo "$as_me:$LINENO: checking the GNU C++ compiler version" >&5
9285 echo $ECHO_N "checking the GNU C++ compiler version... $ECHO_C" >&6
9287 _gpp_version
=`$CXX -dumpversion`
9288 _gpp_majmin
=`echo $_gpp_version | $AWK -F. '{ print \$1*100+\$2 }'`
9290 if test "$_os" = "Darwin" -a "$_gpp_majmin" -ge "401" ; then
9291 if test -z "$save_CXX" -a -x "$GCC_HOME/bin/g++-4.0" ; then
9292 CXX
=$GCC_HOME/bin
/g
++-4.0
9293 _gpp_majmin_2
=`"$CXX" -dumpversion | $AWK -F. '{ print \$1*100+\$2 }'`
9294 if test "$_gpp_majmin_2" -ge "400" -a "$_gpp_majmin_2" -lt "401" ; then
9295 _gpp_majmin
=$_gpp_majmin_2
9298 if test "$_gpp_majmin" -ge "401" ; then
9299 { { echo "$as_me:$LINENO: error: You need to use the g++-4.0 compiler (g++ $_gpp_version won't work with the MacOSX10.4u.sdk) - set CXX accordingly" >&5
9300 echo "$as_me: error: You need to use the g++-4.0 compiler (g++ $_gpp_version won't work with the MacOSX10.4u.sdk) - set CXX accordingly" >&2;}
9301 { (exit 1); exit 1; }; }
9303 echo "$as_me:$LINENO: result: implicitly using CXX=$CXX" >&5
9304 echo "${ECHO_T}implicitly using CXX=$CXX" >&6
9307 echo "$as_me:$LINENO: result: checked (g++ $_gpp_version)" >&5
9308 echo "${ECHO_T}checked (g++ $_gpp_version)" >&6
9311 if test "$_gpp_majmin" = "304"; then
9312 echo "$as_me:$LINENO: checking whether $CXX has the enum bug" >&5
9313 echo $ECHO_N "checking whether $CXX has the enum bug... $ECHO_C" >&6
9314 if test "$cross_compiling" = yes; then
9315 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9316 See \`config.log' for more details." >&5
9317 echo "$as_me: error: cannot run test program while cross compiling
9318 See \`config.log' for more details." >&2;}
9319 { (exit 1); exit 1; }; }
9321 cat >conftest.
$ac_ext <<_ACEOF
9324 cat confdefs.h
>>conftest.
$ac_ext
9325 cat >>conftest.
$ac_ext <<_ACEOF
9326 /* end confdefs.h. */
9328 extern "C" void abort (void);
9329 extern "C" void exit (int status);
9331 enum E { E0, E1, E2, E3, E4, E5 };
9336 if (e == E2 || e == E3 || e == E1)
9350 rm -f conftest
$ac_exeext
9351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9352 (eval $ac_link) 2>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; }; then
9361 { { echo "$as_me:$LINENO: error: your version of the GNU C++ compile has a bug which prevents OpenOffice.org from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details." >&5
9362 echo "$as_me: error: your version of the GNU C++ compile has a bug which prevents OpenOffice.org from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details." >&2;}
9363 { (exit 1); exit 1; }; }
9365 echo "$as_me: program exited with status $ac_status" >&5
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.
$ac_ext >&5
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9373 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9378 # Removed the special FreeBSD treatment. The problem was that with_gxx_include_path
9379 # often contains an i386 which is expanded as a macro. Solved in stlport.
9380 if test "$GXX" = "yes"; then
9381 echo "$as_me:$LINENO: checking for g++ include path" >&5
9382 echo $ECHO_N "checking for g++ include path... $ECHO_C" >&6
9383 if test -z "$with_gxx_include_path"; then
9384 with_gxx_include_path
=`echo "#include <cstring>" | $CXX -E -xc++ - | $SED -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
9385 if test "$with_gxx_include_path" = "/usr/libexec/(null)/include"; then
9386 with_gxx_include_path
="/usr/include"
9388 if test "$WITH_MINGWIN" = "yes"; then
9389 with_gxx_include_path
=`cygpath -d "$with_gxx_include_path"`
9390 with_gxx_include_path
=`cygpath -u "$with_gxx_include_path"`
9392 if echo $with_gxx_include_path |
grep -q linux
; then
9393 # workaround for Mandriva - issue 100049
9394 with_gxx_include_path
=`cd $with_gxx_include_path && pwd`
9398 if test -z "$with_gxx_include_path"; then
9399 with_gxx_include_path
="NO_GXX_INCLUDE"
9400 echo "$as_me:$LINENO: result: no g++ includes" >&5
9401 echo "${ECHO_T}no g++ includes" >&6
9403 echo "$as_me:$LINENO: result: $with_gxx_include_path" >&5
9404 echo "${ECHO_T}$with_gxx_include_path" >&6
9406 GXX_INCLUDE_PATH
="$with_gxx_include_path"
9409 if test "$WITH_MINGWIN" = "yes"; then
9410 echo "$as_me:$LINENO: checking for mingwin runtime include path" >&5
9411 echo $ECHO_N "checking for mingwin runtime include path... $ECHO_C" >&6
9412 cat >conftest.
$ac_ext <<_ACEOF
9414 #include <bits/c++config.h>
9416 _mingw_lib_include_path
=`$CXX -E -xc++ conftest.$ac_ext | $SED -n -e '/.*1*"\(.*\)\/stddef.h".*/s//\1/p' -e '/.*1*"\(.*\)\/bits\/c++config.h".*/s//\1/p' | sort -u | xargs echo`
9418 if test -n "$_mingw_lib_include_path"; then
9420 for a
in $_mingw_lib_include_path
9423 _temp
="$_temp "`cygpath -u "$a"`
9425 _mingw_lib_include_path
=$_temp
9427 if test -z "$_mingw_lib_include_path"; then
9428 _mingw_lib_include_path
="NO_LIB_INCLUDE"
9429 echo "$as_me:$LINENO: result: no mingwin runtime includes" >&5
9430 echo "${ECHO_T}no mingwin runtime includes" >&6
9432 echo "$as_me:$LINENO: result: $_mingw_lib_include_path" >&5
9433 echo "${ECHO_T}$_mingw_lib_include_path" >&6
9435 MINGW_LIB_INCLUDE_PATH
="$_mingw_lib_include_path"
9437 echo "$as_me:$LINENO: checking for mingwin c++ backward include path" >&5
9438 echo $ECHO_N "checking for mingwin c++ backward include path... $ECHO_C" >&6
9439 cat >conftest.
$ac_ext <<_ACEOF
9442 _mingw_backward_include_path
=`$CXX -E -xc++ -Wno-deprecated conftest.$ac_ext 2>&5| $SED -n -e '/.*1*"\(.*\)\/hash_set".*/s//\1/p' | sort -u | xargs echo`
9444 if test -n "$_mingw_backward_include_path"; then
9445 _mingw_backward_include_path
=`cygpath -d $_mingw_backward_include_path`
9446 _mingw_backward_include_path
=`cygpath -u $_mingw_backward_include_path`
9447 echo "$as_me:$LINENO: result: $_mingw_backward_include_path" >&5
9448 echo "${ECHO_T}$_mingw_backward_include_path" >&6
9450 _mingw_backward_include_path
="NO_BACKWARD_INCLUDE"
9451 echo "$as_me:$LINENO: result: no mingwin c++ backward includes" >&5
9452 echo "${ECHO_T}no mingwin c++ backward includes" >&6
9454 MINGW_BACKWARD_INCLUDE_PATH
="$_mingw_backward_include_path"
9456 mingw_crtbegin
=`$CC -print-file-name=crtbegin.o`
9457 MINGW_CLIB_DIR
=`dirname $mingw_crtbegin`
9458 echo "$as_me:$LINENO: checking whether to use dynamic libgcc" >&5
9459 echo $ECHO_N "checking whether to use dynamic libgcc... $ECHO_C" >&6
9460 if test -e "$MINGW_CLIB_DIR/libgcc_s.a"; then
9461 echo "$as_me:$LINENO: checking dynamic libgcc name" >&5
9462 echo $ECHO_N "checking dynamic libgcc name... $ECHO_C" >&6
9463 MINGW_GCCDLL_pattern
=`nm $MINGW_CLIB_DIR/libgcc_s.a | sed -ne 's@.* _libgcc\(.*\)_dll_iname@libgcc\1.dll@p' | uniq | sed -e 's@_@?@g'`
9464 MINGW_GCCDLL
=`cd $COMPATH/bin && ls $MINGW_GCCDLL_pattern 2>/dev/null`
9465 if test -n "$MINGW_GCCDLL"; then
9466 MINGW_SHARED_GCCLIB
=YES
9467 echo "$as_me:$LINENO: result: use $MINGW_GCCDLL" >&5
9468 echo "${ECHO_T}use $MINGW_GCCDLL" >&6
9470 echo "$as_me:$LINENO: result: no" >&5
9471 echo "${ECHO_T}no" >&6
9474 echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6
9477 if test -e "$MINGW_CLIB_DIR/libgcc_eh.a"; then
9480 echo "$as_me:$LINENO: checking whether to use dynamic libstdc++" >&5
9481 echo $ECHO_N "checking whether to use dynamic libstdc++... $ECHO_C" >&6
9482 if test -e "$MINGW_CLIB_DIR/libstdc++_s.a" ; then
9483 echo "$as_me:$LINENO: checking dynamic libstdc++ name" >&5
9484 echo $ECHO_N "checking dynamic libstdc++ name... $ECHO_C" >&6
9485 MINGW_GXXDLL_pattern
=`nm $MINGW_CLIB_DIR/libstdc++_s.a | sed -ne 's@.* _libstdc__\(.*\)_dll_iname@libstdc++\1.dll@p' | uniq | sed -e 's@_@?@g'`
9486 MINGW_GXXDLL
=`cd $COMPATH/bin && ls $MINGW_GXXDLL_pattern 2>/dev/null`
9487 if test -n "$MINGW_GXXDLL"; then
9488 MINGW_SHARED_GXXLIB
=YES
9489 echo "$as_me:$LINENO: result: use $MINGW_GXXDLL" >&5
9490 echo "${ECHO_T}use $MINGW_GXXDLL" >&6
9492 echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9499 MINGW_CLIB_DIR
=`cygpath $MINGW_CLIB_DIR`
9508 if test "$_os" = "SunOS"; then
9509 if test "$CC" = "cc"; then
9510 echo "$as_me:$LINENO: checking SunStudio C++ Compiler" >&5
9511 echo $ECHO_N "checking SunStudio C++ Compiler... $ECHO_C" >&6
9512 if test "$CXX" != "CC"; then
9513 { echo "$as_me:$LINENO: WARNING: SunStudio C++ was not found" >&5
9514 echo "$as_me: WARNING: SunStudio C++ was not found" >&2;}
9515 echo "SunStudio C++ was not found" >> warn
9517 echo "$as_me:$LINENO: result: checked" >&5
9518 echo "${ECHO_T}checked" >&6
9522 if test "$_os" = "OSF1"; then
9523 echo "$as_me:$LINENO: checking Compaq C++ compiler version" >&5
9524 echo $ECHO_N "checking Compaq C++ compiler version... $ECHO_C" >&6
9525 _compaqcxx_version
=`$CXX -V 2>&1 | $AWK '{ print $3 }'`
9526 _compaqcxx_major
=`echo $_compaqcxx_version | $AWK -F. '{ print $1 }'`
9527 if test "$_compaqcxx_major" != "V6"; then
9528 { echo "$as_me:$LINENO: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&5
9529 echo "$as_me: WARNING: found version \"$_compaqc_version\", use version 6 of the Compaq C++ compiler" >&2;}
9530 echo "found version $_compaqc_version, use version 6 of the Compaq C++ compiler" >> warn
9532 echo "$as_me:$LINENO: result: checked" >&5
9533 echo "${ECHO_T}checked" >&6
9537 echo "$as_me:$LINENO: checking exception type" >&5
9538 echo $ECHO_N "checking exception type... $ECHO_C" >&6
9540 ac_cpp
='$CXXCPP $CPPFLAGS'
9541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9545 if test "$WITH_MINGWIN" = "yes"; then
9547 cat >conftest.
$ac_ext <<_ACEOF
9550 cat confdefs.h
>>conftest.
$ac_ext
9551 cat >>conftest.
$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9555 extern "C" void _Unwind_SjLj_RaiseException(void) __attribute__ ((__noreturn__));
9561 _Unwind_SjLj_RaiseException()
9566 rm -f conftest.
$ac_objext conftest
$ac_exeext
9567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9568 (eval $ac_link) 2>conftest.er1
9570 grep -v '^ *+' conftest.er1
>conftest.err
9572 cat conftest.err
>&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); } &&
9575 { ac_try
='test -z "$ac_cxx_werror_flag"
9576 || test ! -s conftest.err'
9577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; } &&
9582 { ac_try
='test -s conftest$ac_exeext'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; }; then
9588 exceptions_type
="sjlj"
9590 echo "$as_me: failed program was:" >&5
9591 sed 's/^/| /' conftest.
$ac_ext >&5
9593 exceptions_type
="dwarf2"
9596 rm -f conftest.err conftest.
$ac_objext \
9597 conftest
$ac_exeext conftest.
$ac_ext
9600 echo "$as_me:$LINENO: result: $exceptions_type" >&5
9601 echo "${ECHO_T}$exceptions_type" >&6
9603 ac_cpp
='$CPP $CPPFLAGS'
9604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9608 EXCEPTIONS
="$exceptions_type"
9611 if test "$_os" = "SunOS"; then
9612 _temp
=`showrev -p | $AWK -F" " '{ print $2 }'`
9613 if test "$_os_release" = "7"; then
9614 echo "$as_me:$LINENO: checking for patch 106327-06 or greater" >&5
9615 echo $ECHO_N "checking for patch 106327-06 or greater... $ECHO_C" >&6
9616 _patch
=`echo $_temp | $AWK '/106327-06/ { print "found" }'`
9620 _patch_major
=`echo $i | $AWK -F"-" '{ print $1 }'`
9621 if test "$_patch_major" = "106327"; then
9622 _patch_rev
=`echo $i | $AWK -F"-" '{ print $2 }'`
9623 if test "$_patch_rev" -ge "6"; then
9628 if test "$_patch" = "found"; then
9629 echo "$as_me:$LINENO: result: found" >&5
9630 echo "${ECHO_T}found" >&6
9632 { echo "$as_me:$LINENO: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&5
9633 echo "$as_me: WARNING: patch 106327-06 not found, please install compiler patch 106327-06 or greater" >&2;}
9634 echo "patch 106327-06 not found, please install compiler patch 106327-06 or greater" >> warn
9636 echo "$as_me:$LINENO: checking for patch 106950-11 or greater" >&5
9637 echo $ECHO_N "checking for patch 106950-11 or greater... $ECHO_C" >&6
9638 _patch
=`echo $_temp | $AWK '/106950-11/ { print "found" }'`
9642 _patch_major
=`echo $i | $AWK -F"-" '{ print $1 }'`
9643 if test "$_patch_major" = "106950"; then
9644 _patch_rev
=`echo $i | $AWK -F"-" '{ print $2 }'`
9645 if test "$_patch_rev" -ge "11"; then
9650 if test "$_patch" = "found"; then
9651 echo "$as_me:$LINENO: result: found" >&5
9652 echo "${ECHO_T}found" >&6
9654 { echo "$as_me:$LINENO: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&5
9655 echo "$as_me: WARNING: patch 106950-11 not found, please install linker patch 106950-11 or greater" >&2;}
9656 echo "patch 106950-11 not found, please install linker patch 106950-11 or greater" >> warn
9659 if test "$_os_release" = "6"; then
9660 echo "$as_me:$LINENO: checking for patch 105591-09 or greater" >&5
9661 echo $ECHO_N "checking for patch 105591-09 or greater... $ECHO_C" >&6
9662 _patch
=`echo $_temp | $AWK '/105591-09/ { print "found" }'`
9666 _patch_major
=`echo $i | $AWK -F"-" '{ print $1 }'`
9667 if test "$_patch_major" = "105591"; then
9668 _patch_rev
=`echo $i | $AWK -F"-" '{ print $2 }'`
9669 if test "$_patch_rev" -ge "9"; then
9674 if test "$_patch" = "found"; then
9675 echo "$as_me:$LINENO: result: found" >&5
9676 echo "${ECHO_T}found" >&6
9678 { echo "$as_me:$LINENO: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&5
9679 echo "$as_me: WARNING: patch 105591-09 not found, please install compiler patch 105591-09 or greater" >&2;}
9680 echo "patch 105591-09 not found, please install compiler patch 105591-09 or greater" >> warn
9682 echo "$as_me:$LINENO: checking for patch 107733-08 or greater" >&5
9683 echo $ECHO_N "checking for patch 107733-08 or greater... $ECHO_C" >&6
9684 _patch
=`echo $_temp | $AWK '/107733-08/ { print "found" }'`
9688 _patch_major
=`echo $i | $AWK -F"-" '{ print $1 }'`
9689 if test "$_patch_major" = "107733"; then
9690 _patch_rev
=`echo $i | $AWK -F"-" '{ print $2 }'`
9691 if test "$_patch_rev" -ge "8"; then
9696 if test "$_patch" = "found"; then
9697 echo "$as_me:$LINENO: result: found" >&5
9698 echo "${ECHO_T}found" >&6
9700 { echo "$as_me:$LINENO: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&5
9701 echo "$as_me: WARNING: patch 107733-06 not found, please install linker patch 107733-08 or greater" >&2;}
9702 echo "patch 107733-06 not found, please install linker patch 107733-08 or greater" >> warn
9708 echo "$as_me:$LINENO: checking what the default STL should be" >&5
9709 echo $ECHO_N "checking what the default STL should be... $ECHO_C" >&6
9710 DEFAULT_TO_STLPORT
="no"
9711 if test "$_os" = "Linux"; then
9712 case "$build_cpu" in
9714 case "$build_os" in k
*bsd
*-gnu*)
9715 DEFAULT_TO_STLPORT
="no"
9718 DEFAULT_TO_STLPORT
="yes"
9723 DEFAULT_TO_STLPORT
="no"
9726 elif test "$_os" = "SunOS"; then
9727 DEFAULT_TO_STLPORT
="yes"
9728 elif test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
9729 DEFAULT_TO_STLPORT
="yes"
9730 elif test "$_os" = "OS2"; then
9731 DEFAULT_TO_STLPORT
="yes"
9732 elif test "$_os" = "FreeBSD"; then
9733 DEFAULT_TO_STLPORT
="yes"
9735 if test "$DEFAULT_TO_STLPORT" = "yes"; then
9736 echo "$as_me:$LINENO: result: stlport" >&5
9737 echo "${ECHO_T}stlport" >&6
9739 echo "$as_me:$LINENO: result: system" >&5
9740 echo "${ECHO_T}system" >&6
9742 if test "$WITH_STLPORT" = "auto"; then
9743 WITH_STLPORT
=$DEFAULT_TO_STLPORT
9746 echo "$as_me:$LINENO: checking for STL providing headers" >&5
9747 echo $ECHO_N "checking for STL providing headers... $ECHO_C" >&6
9750 if test "$WITH_STLPORT" = "yes"; then
9751 echo "$as_me:$LINENO: result: using internal stlport." >&5
9752 echo "${ECHO_T}using internal stlport." >&6
9753 if test "$DEFAULT_TO_STLPORT" != "yes"; then
9754 { echo "$as_me:$LINENO: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9755 echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9756 echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9758 elif test "$WITH_STLPORT" = "no"; then
9759 echo "$as_me:$LINENO: result: using system STL" >&5
9760 echo "${ECHO_T}using system STL" >&6
9761 USE_SYSTEM_STL
="YES"
9762 if test "$DEFAULT_TO_STLPORT" != "no"; then
9763 { echo "$as_me:$LINENO: WARNING: using system STL. Warning, breaks your ABI compatability!" >&5
9764 echo "$as_me: WARNING: using system STL. Warning, breaks your ABI compatability!" >&2;}
9765 echo "using system STL. Warning, breaks your ABI compatability!" >>warn
9768 STLPORT4
=$WITH_STLPORT
9769 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9770 cat >conftest.
$ac_ext <<_ACEOF
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9776 $STLPORT4/stlport/hash_map
9778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9781 grep -v '^ *+' conftest.er1
>conftest.err
9783 cat conftest.err
>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } >/dev
/null
; then
9786 if test -s conftest.err
; then
9787 ac_cpp_err
=$ac_c_preproc_warn_flag
9788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9795 if test -z "$ac_cpp_err"; then
9796 echo "$as_me:$LINENO: result: checked." >&5
9797 echo "${ECHO_T}checked." >&6
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.
$ac_ext >&5
9802 { { echo "$as_me:$LINENO: error: STLport headers not found." >&5
9803 echo "$as_me: error: STLport headers not found." >&2;}
9804 { (exit 1); exit 1; }; }
9806 rm -f conftest.err conftest.
$ac_ext
9808 if test -f "$STLPORT4/stlport/hash_map"; then
9809 echo "$as_me:$LINENO: result: checked." >&5
9810 echo "${ECHO_T}checked." >&6
9812 { { echo "$as_me:$LINENO: error: STLport headers not found." >&5
9813 echo "$as_me: error: STLport headers not found." >&2;}
9814 { (exit 1); exit 1; }; }
9817 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
9818 echo "$as_me:$LINENO: checking for STLport libraries" >&5
9819 echo $ECHO_N "checking for STLport libraries... $ECHO_C" >&6
9820 if test "$_os" = "SunOS"; then
9821 if test -f "$STLPORT4/lib/libstlport_sunpro.so"; then
9822 echo "$as_me:$LINENO: result: checked" >&5
9823 echo "${ECHO_T}checked" >&6
9824 elif test -f "$STLPORT4/lib/libstlport.so"; then
9825 echo "$as_me:$LINENO: result: checked" >&5
9826 echo "${ECHO_T}checked" >&6
9829 { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9830 echo "$as_me: error: STLport libraries not found" >&2;}
9831 { (exit 1); exit 1; }; }
9833 elif test "$_os" = "Darwin"; then
9834 if test -f "$STLPORT4/lib/libstlport_gcc.dylib"; then
9835 echo "$as_me:$LINENO: result: checked" >&5
9836 echo "${ECHO_T}checked" >&6
9837 elif test -f "$STLPORT4/lib/libstlport.dylib"; then
9838 echo "$as_me:$LINENO: result: checked" >&5
9839 echo "${ECHO_T}checked" >&6
9842 { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9843 echo "$as_me: error: STLport libraries not found" >&2;}
9844 { (exit 1); exit 1; }; }
9847 if test -f "$STLPORT4/lib/libstlport_gcc.so"; then
9848 echo "$as_me:$LINENO: result: checked" >&5
9849 echo "${ECHO_T}checked" >&6
9850 elif test -f "$STLPORT4/lib/libstlport.so"; then
9851 echo "$as_me:$LINENO: result: checked" >&5
9852 echo "${ECHO_T}checked" >&6
9855 { { echo "$as_me:$LINENO: error: STLport libraries not found" >&5
9856 echo "$as_me: error: STLport libraries not found" >&2;}
9857 { (exit 1); exit 1; }; }
9861 if test "$DEFAULT_TO_STLPORT" != "yes"; then
9862 { echo "$as_me:$LINENO: WARNING: using stlport. Warning, breaks your ABI compatability!" >&5
9863 echo "$as_me: WARNING: using stlport. Warning, breaks your ABI compatability!" >&2;}
9864 echo "using stlport. Warning, breaks your ABI compatability!" >>warn
9868 if test -z "$STLPORT4"; then
9869 STLPORT4
="NO_STLPORT4"
9871 if test -z "$STLPORT_VER"; then
9878 if test "$GCC" = "yes"; then
9879 echo "$as_me:$LINENO: checking whether $CC supports -fvisibility=hidden" >&5
9880 echo $ECHO_N "checking whether $CC supports -fvisibility=hidden... $ECHO_C" >&6
9882 CFLAGS
="$CFLAGS -fvisibility=hidden"
9883 cat >conftest.
$ac_ext <<_ACEOF
9886 cat confdefs.h
>>conftest.
$ac_ext
9887 cat >>conftest.
$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9898 rm -f conftest.
$ac_objext conftest
$ac_exeext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>conftest.er1
9902 grep -v '^ *+' conftest.er1
>conftest.err
9904 cat conftest.err
>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try
='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try
='test -s conftest$ac_exeext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 HAVE_GCC_VISIBILITY_FEATURE
=TRUE
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.
$ac_ext >&5
9926 rm -f conftest.err conftest.
$ac_objext \
9927 conftest
$ac_exeext conftest.
$ac_ext
9929 if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
9930 echo "$as_me:$LINENO: result: yes" >&5
9931 echo "${ECHO_T}yes" >&6
9933 echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6
9938 # ===================================================================
9939 # use --ccache-skip?
9940 # ===================================================================
9941 echo "$as_me:$LINENO: checking whether we are allowed and able to use --ccache-skip" >&5
9942 echo $ECHO_N "checking whether we are allowed and able to use --ccache-skip... $ECHO_C" >&6
9943 if test "$_os" != "Darwin" ; then
9944 echo "$as_me:$LINENO: result: only used on Mac currently, skipping" >&5
9945 echo "${ECHO_T}only used on Mac currently, skipping" >&6
9946 elif test "$enable_ccache_skip" = "no" ; then
9947 echo "$as_me:$LINENO: result: no - diabled explicitly" >&5
9948 echo "${ECHO_T}no - diabled explicitly" >&6
9949 elif test "$enable_ccache_skip" = "yes" ; then
9950 echo "$as_me:$LINENO: result: yes - enabled explicitly, skipping checks" >&5
9951 echo "${ECHO_T}yes - enabled explicitly, skipping checks" >&6
9954 elif test "$enable_ccache_skip" = "auto" ; then
9955 # checking for ccache presence/version
9956 echo "$as_me:$LINENO: result: probing..." >&5
9957 echo "${ECHO_T}probing..." >&6
9958 # Extract the first word of "ccache", so it can be a program name with args.
9959 set dummy ccache
; ac_word
=$2
9960 echo "$as_me:$LINENO: checking for $ac_word" >&5
9961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9962 if test "${ac_cv_path_CCACHE+set}" = set; then
9963 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 ac_cv_path_CCACHE
="$CCACHE" # Let the user override the test with a path.
9970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9974 test -z "$as_dir" && as_dir
=.
9975 for ac_exec_ext
in '' $ac_executable_extensions; do
9976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9977 ac_cv_path_CCACHE
="$as_dir/$ac_word$ac_exec_ext"
9978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 test -z "$ac_cv_path_CCACHE" && ac_cv_path_CCACHE
="not_found"
9988 CCACHE
=$ac_cv_path_CCACHE
9990 if test -n "$CCACHE"; then
9991 echo "$as_me:$LINENO: result: $CCACHE" >&5
9992 echo "${ECHO_T}$CCACHE" >&6
9994 echo "$as_me:$LINENO: result: no" >&5
9995 echo "${ECHO_T}no" >&6
9998 if test "$CCACHE" = "not_found" ; then
9999 { echo "$as_me:$LINENO: not enabling --ccache-skip (ccache not found)" >&5
10000 echo "$as_me: not enabling --ccache-skip (ccache not found)" >&6;}
10002 # check ccache version
10003 echo "$as_me:$LINENO: checking whether version of ccache is suitable" >&5
10004 echo $ECHO_N "checking whether version of ccache is suitable... $ECHO_C" >&6
10005 CCACHE_VERSION
=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'`
10006 if test "$CCACHE_VERSION" = "2.4_OOo"; then
10007 echo "$as_me:$LINENO: result: yes" >&5
10008 echo "${ECHO_T}yes" >&6
10009 echo "$as_me:$LINENO: checking whether ccache is actually used for the build" >&5
10010 echo $ECHO_N "checking whether ccache is actually used for the build... $ECHO_C" >&6
10012 ac_cpp
='$CXXCPP $CPPFLAGS'
10013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10017 save_CXXFLAGS
=$CXXFLAGS
10018 CXXFLAGS
="$CXXFLAGS --ccache-skip -O2"
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10034 rm -f conftest.
$ac_objext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10036 (eval $ac_compile) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try
='test -z "$ac_cxx_werror_flag"
10044 || test ! -s conftest.err'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; } &&
10050 { ac_try
='test -s conftest.$ac_objext'
10051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10052 (eval $ac_try) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; }; then
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.
$ac_ext >&5
10063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10064 if test $use_ccache = yes ; then
10065 echo "$as_me:$LINENO: result: yes, will enable --ccache-skip" >&5
10066 echo "${ECHO_T}yes, will enable --ccache-skip" >&6
10070 echo "$as_me:$LINENO: result: no, will not enable --ccache-skip" >&5
10071 echo "${ECHO_T}no, will not enable --ccache-skip" >&6
10073 CXXFLAGS
=$save_CXXFLAGS
10075 ac_cpp
='$CPP $CPPFLAGS'
10076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10083 { echo "$as_me:$LINENO: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&5
10084 echo "$as_me: ccache version $CCACHE_VERSION not accepted. See description for --enable-ccache-skip" >&6;}
10088 { { echo "$as_me:$LINENO: error: invalid option to --enable-ccache-skip. Valid values are \"auto\", \"yes\" and \"no\"" >&5
10089 echo "$as_me: error: invalid option to --enable-ccache-skip. Valid values are \"auto\", \"yes\" and \"no\"" >&2;}
10090 { (exit 1); exit 1; }; }
10093 if test "$USE_SYSTEM_STL" = "YES"; then
10094 echo "$as_me:$LINENO: checking if hash_map will be in __gnu_cxx namespace" >&5
10095 echo $ECHO_N "checking if hash_map will be in __gnu_cxx namespace... $ECHO_C" >&6
10097 ac_cpp
='$CXXCPP $CPPFLAGS'
10098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10103 cat >conftest.
$ac_ext <<_ACEOF
10106 cat confdefs.h
>>conftest.
$ac_ext
10107 cat >>conftest.
$ac_ext <<_ACEOF
10108 /* end confdefs.h. */
10109 #include <ext/hash_map>
10110 using namespace __gnu_cxx;
10115 hash_map<int, int> t; return 0;
10120 rm -f conftest.
$ac_objext
10121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10122 (eval $ac_compile) 2>conftest.er1
10124 grep -v '^ *+' conftest.er1
>conftest.err
10126 cat conftest.err
>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } &&
10129 { ac_try
='test -z "$ac_cxx_werror_flag"
10130 || test ! -s conftest.err'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; } &&
10136 { ac_try
='test -s conftest.$ac_objext'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; }; then
10142 ac_cv_cxx_have_ext_hash_map
=yes
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.
$ac_ext >&5
10147 ac_cv_cxx_have_ext_hash_map
=no
10149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10151 if test "$ac_cv_cxx_have_ext_hash_map" = "no"; then
10152 { { echo "$as_me:$LINENO: error: Can't find hash_map. Try with --with-stlport" >&5
10153 echo "$as_me: error: Can't find hash_map. Try with --with-stlport" >&2;}
10154 { (exit 1); exit 1; }; }
10156 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
10157 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
10160 if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10161 echo "$as_me:$LINENO: checking if STL headers are visibility safe" >&5
10162 echo $ECHO_N "checking if STL headers are visibility safe... $ECHO_C" >&6
10164 cat >conftest.
$ac_ext <<_ACEOF
10167 cat confdefs.h
>>conftest.
$ac_ext
10168 cat >>conftest.
$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10174 $EGREP "visibility push" >/dev
/null
2>&1; then
10181 echo "$as_me:$LINENO: result: $stlvisok" >&5
10182 echo "${ECHO_T}$stlvisok" >&6
10183 if test "$stlvisok" = "no"; then
10184 { echo "$as_me:$LINENO: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&5
10185 echo "$as_me: WARNING: Your gcc STL headers are not visibility safe. Disabling visibility" >&2;}
10186 echo "Your gcc STL headers are not visibility safe. Disabling visibility" >> warn
10187 unset HAVE_GCC_VISIBILITY_FEATURE
10191 if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10192 sharedlink_ldflags_save
=$LDFLAGS
10193 LDFLAGS
="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared"
10195 echo "$as_me:$LINENO: checking if gcc is -fvisibility-inlines-hidden safe with STL headers" >&5
10196 echo $ECHO_N "checking if gcc is -fvisibility-inlines-hidden safe with STL headers... $ECHO_C" >&6
10197 cat >conftest.
$ac_ext <<_ACEOF
10200 cat confdefs.h
>>conftest.
$ac_ext
10201 cat >>conftest.
$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10204 using namespace std;
10209 istringstream strm( "test" ); return 0;
10214 rm -f conftest.
$ac_objext conftest
$ac_exeext
10215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10216 (eval $ac_link) 2>conftest.er1
10218 grep -v '^ *+' conftest.er1
>conftest.err
10220 cat conftest.err
>&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } &&
10223 { ac_try
='test -z "$ac_cxx_werror_flag"
10224 || test ! -s conftest.err'
10225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10226 (eval $ac_try) 2>&5
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); }; } &&
10230 { ac_try
='test -s conftest$ac_exeext'
10231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10232 (eval $ac_try) 2>&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); }; }; then
10236 $EGREP -q unresolvable conftest.err
;
10237 if test $?
-eq 0; then gccvisok
=no
; else gccvisok
=yes; fi
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10244 rm -f conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 echo "$as_me:$LINENO: result: $gccvisok" >&5
10247 echo "${ECHO_T}$gccvisok" >&6
10248 if test "$gccvisok" = "no"; then
10249 { echo "$as_me:$LINENO: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&5
10250 echo "$as_me: WARNING: Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >&2;}
10251 echo "Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >> warn
10252 unset HAVE_GCC_VISIBILITY_FEATURE
10255 LDFLAGS
=$sharedlink_ldflags_save
10258 if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
10259 echo "$as_me:$LINENO: checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)" >&5
10260 echo $ECHO_N "checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)... $ECHO_C" >&6
10261 cat >visibility.cxx
<<_ACEOF
10262 #pragma GCC visibility push(hidden)
10263 struct __attribute__ ((visibility ("default"))) TestStruct {
10264 static void Init();
10266 __attribute__ ((visibility ("default"))) void TestFunc() {
10267 TestStruct::Init();
10270 if ! $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx
2>/dev
/null
> /dev
/null
; then
10273 case "$build_cpu" in
10275 if $EGREP -q '@PLT' visibility.s
; then
10288 echo "$as_me:$LINENO: result: $gccvisbroken" >&5
10289 echo "${ECHO_T}$gccvisbroken" >&6
10290 if test "$gccvisbroken" = "yes"; then
10291 { echo "$as_me:$LINENO: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&5
10292 echo "$as_me: WARNING: Your gcc is not -fvisibility=hidden safe. Disabling visibility" >&2;}
10293 echo "Your gcc is not -fvisibility=hidden safe. Disabling visibility" >> warn
10294 unset HAVE_GCC_VISIBILITY_FEATURE
10299 ac_cpp
='$CPP $CPPFLAGS'
10300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10308 echo "$as_me:$LINENO: checking which memory allocator to use" >&5
10309 echo $ECHO_N "checking which memory allocator to use... $ECHO_C" >&6
10310 if test "$with_alloc" = "system"; then
10311 echo "$as_me:$LINENO: result: system" >&5
10312 echo "${ECHO_T}system" >&6
10318 for ac_func
in malloc realloc calloc free
10320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10321 echo "$as_me:$LINENO: checking for $ac_func" >&5
10322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10323 if eval "test \"\${$as_ac_var+set}\" = set"; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10326 cat >conftest.
$ac_ext <<_ACEOF
10329 cat confdefs.h
>>conftest.
$ac_ext
10330 cat >>conftest.
$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10334 #define $ac_func innocuous_$ac_func
10336 /* System header to define __stub macros and hopefully few prototypes,
10337 which can conflict with char $ac_func (); below.
10338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10339 <limits.h> exists even on freestanding compilers. */
10342 # include <limits.h>
10344 # include <assert.h>
10349 /* Override any gcc2 internal prototype to avoid an error. */
10354 /* We use char because int might match the return type of a gcc2
10355 builtin and then its argument prototype would still apply. */
10357 /* The GNU C library defines this for functions which it implements
10358 to always fail with ENOSYS. Some functions are actually named
10359 something starting with __ and the normal name is an alias. */
10360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10363 char (*f) () = $ac_func;
10372 return f != $ac_func;
10377 rm -f conftest.
$ac_objext conftest
$ac_exeext
10378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10379 (eval $ac_link) 2>conftest.er1
10381 grep -v '^ *+' conftest.er1
>conftest.err
10383 cat conftest.err
>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try
='test -z "$ac_c_werror_flag"
10387 || test ! -s conftest.err'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; } &&
10393 { ac_try
='test -s conftest$ac_exeext'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; }; then
10399 eval "$as_ac_var=yes"
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.
$ac_ext >&5
10404 eval "$as_ac_var=no"
10406 rm -f conftest.err conftest.
$ac_objext \
10407 conftest
$ac_exeext conftest.
$ac_ext
10409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10411 if test `eval echo '${'$as_ac_var'}'` = yes; then
10412 cat >>confdefs.h
<<_ACEOF
10413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10420 if test "$with_alloc" = "tcmalloc"; then
10421 echo "$as_me:$LINENO: result: tcmalloc" >&5
10422 echo "${ECHO_T}tcmalloc" >&6
10423 if ! echo $build_cpu |
grep -E 'i[3456]86' 2>/dev
/null
>/dev
/null
; then
10424 { { echo "$as_me:$LINENO: error: tcmalloc only available/usable on ix86" >&5
10425 echo "$as_me: error: tcmalloc only available/usable on ix86" >&2;}
10426 { (exit 1); exit 1; }; }
10429 echo "$as_me:$LINENO: checking for malloc in -ltcmalloc" >&5
10430 echo $ECHO_N "checking for malloc in -ltcmalloc... $ECHO_C" >&6
10431 if test "${ac_cv_lib_tcmalloc_malloc+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 ac_check_lib_save_LIBS
=$LIBS
10435 LIBS
="-ltcmalloc $LIBS"
10436 cat >conftest.
$ac_ext <<_ACEOF
10439 cat confdefs.h
>>conftest.
$ac_ext
10440 cat >>conftest.
$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10443 /* Override any gcc2 internal prototype to avoid an error. */
10447 /* We use char because int might match the return type of a gcc2
10448 builtin and then its argument prototype would still apply. */
10458 rm -f conftest.
$ac_objext conftest
$ac_exeext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10460 (eval $ac_link) 2>conftest.er1
10462 grep -v '^ *+' conftest.er1
>conftest.err
10464 cat conftest.err
>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } &&
10467 { ac_try
='test -z "$ac_c_werror_flag"
10468 || test ! -s conftest.err'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; } &&
10474 { ac_try
='test -s conftest$ac_exeext'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; }; then
10480 ac_cv_lib_tcmalloc_malloc
=yes
10482 echo "$as_me: failed program was:" >&5
10483 sed 's/^/| /' conftest.
$ac_ext >&5
10485 ac_cv_lib_tcmalloc_malloc
=no
10487 rm -f conftest.err conftest.
$ac_objext \
10488 conftest
$ac_exeext conftest.
$ac_ext
10489 LIBS
=$ac_check_lib_save_LIBS
10491 echo "$as_me:$LINENO: result: $ac_cv_lib_tcmalloc_malloc" >&5
10492 echo "${ECHO_T}$ac_cv_lib_tcmalloc_malloc" >&6
10493 if test $ac_cv_lib_tcmalloc_malloc = yes; then
10494 cat >>confdefs.h
<<_ACEOF
10495 #define HAVE_LIBTCMALLOC 1
10498 LIBS
="-ltcmalloc $LIBS"
10501 { { echo "$as_me:$LINENO: error: tcmalloc not found or functional. Install the Google Profiling Tools" >&5
10502 echo "$as_me: error: tcmalloc not found or functional. Install the Google Profiling Tools" >&2;}
10503 { (exit 1); exit 1; }; }
10508 if test "$with_alloc" = "jemalloc"; then
10509 if test "$_os" != "FreeBSD" -o "$_os" != "NetBSD"; then
10510 echo "$as_me:$LINENO: result: jemalloc" >&5
10511 echo "${ECHO_T}jemalloc" >&6
10512 save_CFLAGS
=$CFLAGS
10513 CFLAGS
="$CFLAGS -pthread"
10515 echo "$as_me:$LINENO: checking for malloc in -ljemalloc" >&5
10516 echo $ECHO_N "checking for malloc in -ljemalloc... $ECHO_C" >&6
10517 if test "${ac_cv_lib_jemalloc_malloc+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_lib_save_LIBS
=$LIBS
10521 LIBS
="-ljemalloc $LIBS"
10522 cat >conftest.
$ac_ext <<_ACEOF
10525 cat confdefs.h
>>conftest.
$ac_ext
10526 cat >>conftest.
$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any gcc2 internal prototype to avoid an error. */
10533 /* We use char because int might match the return type of a gcc2
10534 builtin and then its argument prototype would still apply. */
10544 rm -f conftest.
$ac_objext conftest
$ac_exeext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10546 (eval $ac_link) 2>conftest.er1
10548 grep -v '^ *+' conftest.er1
>conftest.err
10550 cat conftest.err
>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } &&
10553 { ac_try
='test -z "$ac_c_werror_flag"
10554 || test ! -s conftest.err'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; } &&
10560 { ac_try
='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10566 ac_cv_lib_jemalloc_malloc
=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.
$ac_ext >&5
10571 ac_cv_lib_jemalloc_malloc
=no
10573 rm -f conftest.err conftest.
$ac_objext \
10574 conftest
$ac_exeext conftest.
$ac_ext
10575 LIBS
=$ac_check_lib_save_LIBS
10577 echo "$as_me:$LINENO: result: $ac_cv_lib_jemalloc_malloc" >&5
10578 echo "${ECHO_T}$ac_cv_lib_jemalloc_malloc" >&6
10579 if test $ac_cv_lib_jemalloc_malloc = yes; then
10580 cat >>confdefs.h
<<_ACEOF
10581 #define HAVE_LIBJEMALLOC 1
10584 LIBS
="-ljemalloc $LIBS"
10587 { { echo "$as_me:$LINENO: error: jemalloc not found or functional. Install the jemalloc allocator." >&5
10588 echo "$as_me: error: jemalloc not found or functional. Install the jemalloc allocator." >&2;}
10589 { (exit 1); exit 1; }; }
10593 CFLAGS
=$save_CFLAGS
10595 echo "$as_me:$LINENO: result: system" >&5
10596 echo "${ECHO_T}system" >&6
10602 for ac_func
in malloc realloc calloc free
10604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10605 echo "$as_me:$LINENO: checking for $ac_func" >&5
10606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10607 if eval "test \"\${$as_ac_var+set}\" = set"; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 cat >conftest.
$ac_ext <<_ACEOF
10613 cat confdefs.h
>>conftest.
$ac_ext
10614 cat >>conftest.
$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10618 #define $ac_func innocuous_$ac_func
10620 /* System header to define __stub macros and hopefully few prototypes,
10621 which can conflict with char $ac_func (); below.
10622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10623 <limits.h> exists even on freestanding compilers. */
10626 # include <limits.h>
10628 # include <assert.h>
10633 /* Override any gcc2 internal prototype to avoid an error. */
10638 /* We use char because int might match the return type of a gcc2
10639 builtin and then its argument prototype would still apply. */
10641 /* The GNU C library defines this for functions which it implements
10642 to always fail with ENOSYS. Some functions are actually named
10643 something starting with __ and the normal name is an alias. */
10644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10647 char (*f) () = $ac_func;
10656 return f != $ac_func;
10661 rm -f conftest.
$ac_objext conftest
$ac_exeext
10662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10663 (eval $ac_link) 2>conftest.er1
10665 grep -v '^ *+' conftest.er1
>conftest.err
10667 cat conftest.err
>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } &&
10670 { ac_try
='test -z "$ac_c_werror_flag"
10671 || test ! -s conftest.err'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; } &&
10677 { ac_try
='test -s conftest$ac_exeext'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; }; then
10683 eval "$as_ac_var=yes"
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.
$ac_ext >&5
10688 eval "$as_ac_var=no"
10690 rm -f conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10695 if test `eval echo '${'$as_ac_var'}'` = yes; then
10696 cat >>confdefs.h
<<_ACEOF
10697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10705 if test "$with_alloc" = "internal" -o -z "$with_alloc"; then
10706 echo "$as_me:$LINENO: result: internal" >&5
10707 echo "${ECHO_T}internal" >&6
10712 echo "$as_me:$LINENO: checking whether to add custom build version" >&5
10713 echo $ECHO_N "checking whether to add custom build version... $ECHO_C" >&6
10714 if test "z$with_build_version" != "z"; then
10715 BUILD_VER_STRING
=$with_build_version
10716 echo "$as_me:$LINENO: result: yes, $BUILD_VER_STRING" >&5
10717 echo "${ECHO_T}yes, $BUILD_VER_STRING" >&6
10720 echo "$as_me:$LINENO: result: no" >&5
10721 echo "${ECHO_T}no" >&6
10725 echo "$as_me:$LINENO: checking whether to build with Java support" >&5
10726 echo $ECHO_N "checking whether to build with Java support... $ECHO_C" >&6
10727 if test "$WITH_JAVA" != "no"; then
10728 echo "$as_me:$LINENO: result: yes" >&5
10729 echo "${ECHO_T}yes" >&6
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10736 { echo "$as_me:$LINENO: WARNING: building without java will mean some features will not be available" >&5
10737 echo "$as_me: WARNING: building without java will mean some features will not be available" >&2;}
10738 echo "building without java will mean some features will not be available" >>warn
10742 if test "$_os" = "Linux" && test "$build_cpu" = "powerpc"; then
10743 # IBMs JDK needs this...
10744 JITC_PROCESSOR_TYPE
=6
10745 export JITC_PROCESSOR_TYPE
10748 if test "$_os" = "WINNT"; then
10749 if test -z "$with_jdk_home"; then
10750 _jdk_home
=`./oowintool --jdk-home`
10751 if test -d "$_jdk_home"; then
10752 with_jdk_home
="$_jdk_home"
10755 with_jdk_home
=`cygpath -u "$with_jdk_home"`
10759 if test "$SOLAR_JAVA" != ""; then
10760 JAVA_HOME
=; export JAVA_HOME
10761 if test -z "$with_jdk_home"; then
10762 # Extract the first word of "$WITH_JAVA", so it can be a program name with args.
10763 set dummy
$WITH_JAVA; ac_word
=$2
10764 echo "$as_me:$LINENO: checking for $ac_word" >&5
10765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10766 if test "${ac_cv_path_JAVAINTERPRETER+set}" = set; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10769 case $JAVAINTERPRETER in
10771 ac_cv_path_JAVAINTERPRETER
="$JAVAINTERPRETER" # Let the user override the test with a path.
10774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10775 for as_dir
in $PATH
10778 test -z "$as_dir" && as_dir
=.
10779 for ac_exec_ext
in '' $ac_executable_extensions; do
10780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10781 ac_cv_path_JAVAINTERPRETER
="$as_dir/$ac_word$ac_exec_ext"
10782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10791 JAVAINTERPRETER
=$ac_cv_path_JAVAINTERPRETER
10793 if test -n "$JAVAINTERPRETER"; then
10794 echo "$as_me:$LINENO: result: $JAVAINTERPRETER" >&5
10795 echo "${ECHO_T}$JAVAINTERPRETER" >&6
10797 echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6
10802 _java_path
="$with_jdk_home/bin/$WITH_JAVA"
10803 if test -x "$_java_path"; then
10804 JAVAINTERPRETER
=$_java_path
10806 { { echo "$as_me:$LINENO: error: $_java_path not found set with_jdk_home" >&5
10807 echo "$as_me: error: $_java_path not found set with_jdk_home" >&2;}
10808 { (exit 1); exit 1; }; }
10811 if test "$_os" = "WINNT"; then
10812 if test x
`echo "$JAVAINTERPRETER" | grep -i '\.exe$'` = x
; then
10813 JAVAINTERPRETER
="${JAVAINTERPRETER}.exe"
10815 JAVAINTERPRETER
=`cygpath -d "$JAVAINTERPRETER"`
10816 JAVAINTERPRETER
=`cygpath -u "$JAVAINTERPRETER"`
10817 elif test "$_os" = "Darwin"; then
10818 echo "$as_me:$LINENO: checking whether to pass -d32 to Java interpreter" >&5
10819 echo $ECHO_N "checking whether to pass -d32 to Java interpreter... $ECHO_C" >&6
10820 if "$JAVAINTERPRETER" -d32 >&5 2>&5; then
10821 echo "$as_me:$LINENO: result: yes" >&5
10822 echo "${ECHO_T}yes" >&6
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10831 if test "$SOLAR_JAVA" != ""; then
10833 echo "$as_me:$LINENO: checking the installed JDK" >&5
10834 echo $ECHO_N "checking the installed JDK... $ECHO_C" >&6
10835 if test -n "$JAVAINTERPRETER"; then
10836 if test `$JAVAINTERPRETER -version 2>&1 | grep -c "Kaffe"` -gt 0; then
10837 { { echo "$as_me:$LINENO: error: No valid check available. Please check the block for your desired java in configure.in" >&5
10838 echo "$as_me: error: No valid check available. Please check the block for your desired java in configure.in" >&2;}
10839 { (exit 1); exit 1; }; }
10840 # dnl Kaffe specific tests
10841 # KAFFE_VER=`$JAVAINTERPRETER -version 2>&1 | $EGREP " Version:" | $SED -r "s/.* Version: ([[0-9\.]]*).*/\1/"`
10842 # if test -z "$KAFFE_VER"; then
10843 # AC_MSG_ERROR([looks like Kaffe but version detection failed])
10845 # _kaffe_ver=`echo "$KAFFE_VER" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10846 # if test "$_kaffe_ver" -lt 10100; then
10847 # AC_MSG_ERROR([Kaffe is too old ($KAFFE_VER - $_kaffe_ver), you need at least 1.1.0])
10851 # dnl TODO: define some project exclusion variables
10853 # AC_MSG_RESULT([checked (Kaffe $KAFFE_VER)])
10854 # AC_MSG_WARN([EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile])
10855 # echo "EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile" >>warn
10856 # JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10857 elif test `$JAVAINTERPRETER --version 2>&1 | grep -c "GNU libgcj"` -gt 0; then
10859 echo "$as_me:$LINENO: result: checked (gcj)" >&5
10860 echo "${ECHO_T}checked (gcj)" >&6
10861 _gij_version
=`$JAVAINTERPRETER --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
10862 _gij_longver
=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
10864 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | grep -c "BEA"` -gt 0; then
10865 { { echo "$as_me:$LINENO: error: No valid check available. Please check the block for your desired java in configure.in" >&5
10866 echo "$as_me: error: No valid check available. Please check the block for your desired java in configure.in" >&2;}
10867 { (exit 1); exit 1; }; }
10870 # dnl BEA JDK specific tests
10871 # _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//`
10872 # _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10874 # if test "$_jdk_ver" -lt 10500; then
10875 # AC_MSG_ERROR([JDK is too old, you need at least BEA JDK 1.5.0])
10878 # AC_MSG_RESULT([checked (BEA JDK $_jdk)])
10880 # if test "$with_jdk_home" = ""; then
10881 # AC_MSG_ERROR([In order to successfully build OpenOffice.org using the BEA JDK,
10882 #you must use the "--with-jdk-home" configure option explicitly])
10885 # AC_MSG_WARN([A bug in certain BEA JREs can prevent you from successfully compiling some modules])
10886 # echo "A bug in certain BEA JREs can prevent you from successfully compiling some modules" >>warn
10888 # JAVA_HOME=$with_jdk_home
10890 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | grep -c "IBM"` -gt 0; then
10893 _jdk
=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[-A-Za-z]*//`
10894 _jdk_ver
=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10896 if test "$_jdk_ver" -lt 10500; then
10897 { { echo "$as_me:$LINENO: error: IBM JDK is too old, you need at least 1.5" >&5
10898 echo "$as_me: error: IBM JDK is too old, you need at least 1.5" >&2;}
10899 { (exit 1); exit 1; }; }
10902 echo "$as_me:$LINENO: result: checked (IBM JDK $_jdk)" >&5
10903 echo "${ECHO_T}checked (IBM JDK $_jdk)" >&6
10905 if test "$with_jdk_home" = ""; then
10906 { { echo "$as_me:$LINENO: error: In order to successfully build OpenOffice.org using the IBM JDK,
10907 you must use the \"--with-jdk-home\" configure option explicitly" >&5
10908 echo "$as_me: error: In order to successfully build OpenOffice.org using the IBM JDK,
10909 you must use the \"--with-jdk-home\" configure option explicitly" >&2;}
10910 { (exit 1); exit 1; }; }
10913 JAVA_HOME
=$with_jdk_home
10918 _jdk
=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[-A-Za-z]*//`
10919 _jdk_ver
=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
10921 if test "$_jdk_ver" -lt 10500; then
10922 { { echo "$as_me:$LINENO: error: JDK is too old, you need at least 1.5" >&5
10923 echo "$as_me: error: JDK is too old, you need at least 1.5" >&2;}
10924 { (exit 1); exit 1; }; }
10926 echo "$as_me:$LINENO: result: checked (JDK $_jdk)" >&5
10927 echo "${ECHO_T}checked (JDK $_jdk)" >&6
10928 JAVA_HOME
=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
10929 if test "$_os" = "WINNT"; then
10930 JAVA_HOME
=`echo $JAVA_HOME | $SED "s,\.[eE][xX][eE]$,,"`
10932 if test "$_os" = "OS2"; then
10933 JAVA_HOME
=`echo $JAVA_HOME | $SED "s,\.[eE][xX][eE]$,,"`
10937 { { echo "$as_me:$LINENO: error: JAVA not found. You need at least jdk-1.5, or gcj-4" >&5
10938 echo "$as_me: error: JAVA not found. You need at least jdk-1.5, or gcj-4" >&2;}
10939 { (exit 1); exit 1; }; }
10942 JAVA_HOME
=NO_JAVA_HOME
; export JAVA_HOME
10945 if test "$SOLAR_JAVA" != ""; then
10946 if test "$JDK" = "gcj"; then
10947 javacompiler
=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g" | $SED -e "s/java/javac/g"`
10949 javacompiler
="javac"
10951 if test "$_os" = "OS2"; then
10952 if test x
`echo "$javacompiler" | grep -i '\.exe$'` = x
; then
10953 javacompiler
="${javacompiler}.exe"
10956 if test -z "$with_jdk_home"; then
10957 # Extract the first word of "$javacompiler", so it can be a program name with args.
10958 set dummy
$javacompiler; ac_word
=$2
10959 echo "$as_me:$LINENO: checking for $ac_word" >&5
10960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10961 if test "${ac_cv_path_JAVACOMPILER+set}" = set; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10964 case $JAVACOMPILER in
10966 ac_cv_path_JAVACOMPILER
="$JAVACOMPILER" # Let the user override the test with a path.
10969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10970 for as_dir
in $PATH
10973 test -z "$as_dir" && as_dir
=.
10974 for ac_exec_ext
in '' $ac_executable_extensions; do
10975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_path_JAVACOMPILER
="$as_dir/$ac_word$ac_exec_ext"
10977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10986 JAVACOMPILER
=$ac_cv_path_JAVACOMPILER
10988 if test -n "$JAVACOMPILER"; then
10989 echo "$as_me:$LINENO: result: $JAVACOMPILER" >&5
10990 echo "${ECHO_T}$JAVACOMPILER" >&6
10992 echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6
10997 _javac_path
="$with_jdk_home/bin/$javacompiler"
10998 if test -x "$_javac_path"; then
10999 JAVACOMPILER
=$_javac_path
11002 if test -z "$JAVACOMPILER"; then
11003 { { echo "$as_me:$LINENO: error: $javacompiler not found set with_jdk_home" >&5
11004 echo "$as_me: error: $javacompiler not found set with_jdk_home" >&2;}
11005 { (exit 1); exit 1; }; }
11007 if test "$_os" = "WINNT"; then
11008 if test x
`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x
; then
11009 JAVACOMPILER
="${JAVACOMPILER}.exe"
11011 JAVACOMPILER
=`cygpath -d "$JAVACOMPILER"`
11012 JAVACOMPILER
=`cygpath -u "$JAVACOMPILER"`
11014 if test "$_os" = "OS2"; then
11015 if test x
`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x
; then
11016 JAVACOMPILER
="${JAVACOMPILER}.exe"
11020 if test `$JAVACOMPILER -version 2>&1 | grep -c "Eclipse Java Compiler"` -gt 0; then
11021 echo "$as_me:$LINENO: checking re-checking JDK" >&5
11022 echo $ECHO_N "checking re-checking JDK... $ECHO_C" >&6
11024 echo "$as_me:$LINENO: result: checked (ecj)" >&5
11025 echo "${ECHO_T}checked (ecj)" >&6
11026 #TODO: what's to do here? some switch to do 1.5 compiling?
11027 JAVAFLAGS
="-source 1.5 -target 1.5"
11028 _gij_longver
="40200"
11033 if test "$SOLAR_JAVA" != ""; then
11034 if test `$JAVACOMPILER --version 2>&1 | grep -c "GCC"` -gt 0; then
11040 if test "$SOLAR_JAVA" != ""; then
11041 if test -z "$with_jdk_home"; then
11042 # Extract the first word of "javadoc", so it can be a program name with args.
11043 set dummy javadoc
; ac_word
=$2
11044 echo "$as_me:$LINENO: checking for $ac_word" >&5
11045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11046 if test "${ac_cv_path_JAVADOC+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11051 ac_cv_path_JAVADOC
="$JAVADOC" # Let the user override the test with a path.
11054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11055 for as_dir
in $PATH
11058 test -z "$as_dir" && as_dir
=.
11059 for ac_exec_ext
in '' $ac_executable_extensions; do
11060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11061 ac_cv_path_JAVADOC
="$as_dir/$ac_word$ac_exec_ext"
11062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 JAVADOC
=$ac_cv_path_JAVADOC
11073 if test -n "$JAVADOC"; then
11074 echo "$as_me:$LINENO: result: $JAVADOC" >&5
11075 echo "${ECHO_T}$JAVADOC" >&6
11077 echo "$as_me:$LINENO: result: no" >&5
11078 echo "${ECHO_T}no" >&6
11082 _javadoc_path
="$with_jdk_home/bin/javadoc"
11083 if test "$_os" = "OS2"; then
11084 if test x
`echo "$_javadoc_path" | grep -i '\.exe$'` = x
; then
11085 _javadoc_path
="${_javadoc_path}.exe"
11088 if test -x "$_javadoc_path"; then
11089 JAVADOC
=$_javadoc_path
11091 # Extract the first word of "javadoc", so it can be a program name with args.
11092 set dummy javadoc
; ac_word
=$2
11093 echo "$as_me:$LINENO: checking for $ac_word" >&5
11094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11095 if test "${ac_cv_path_JAVADOC+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 ac_cv_path_JAVADOC
="$JAVADOC" # Let the user override the test with a path.
11103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11104 for as_dir
in $PATH
11107 test -z "$as_dir" && as_dir
=.
11108 for ac_exec_ext
in '' $ac_executable_extensions; do
11109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11110 ac_cv_path_JAVADOC
="$as_dir/$ac_word$ac_exec_ext"
11111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 JAVADOC
=$ac_cv_path_JAVADOC
11122 if test -n "$JAVADOC"; then
11123 echo "$as_me:$LINENO: result: $JAVADOC" >&5
11124 echo "${ECHO_T}$JAVADOC" >&6
11126 echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6
11132 if test -z "$JAVADOC"; then
11133 { { echo "$as_me:$LINENO: error: $_javadoc_path not found set with_jdk_home" >&5
11134 echo "$as_me: error: $_javadoc_path not found set with_jdk_home" >&2;}
11135 { (exit 1); exit 1; }; }
11137 if test "$_os" = "WINNT"; then
11138 if test x
`echo "$JAVADOC" | grep -i '\.exe$'` = x
; then
11139 JAVADOC
="${JAVADOC}.exe"
11141 JAVADOC
=`cygpath -d "$JAVADOC"`
11142 JAVADOC
=`cygpath -u "$JAVADOC"`
11144 if test "$_os" = "OS2"; then
11145 if test x
`echo "$JAVADOC" | grep -i '\.exe$'` = x
; then
11146 JAVADOC
="${JAVADOC}.exe"
11151 if test "$SOLAR_JAVA" != ""; then
11152 if test "$JDK" = "gcj" -a -z "$JAVA_HOME"; then
11153 if test "x$with_jdk_home" = "x" -a "$_gij_longver" -ge "40200"; then
11154 cat > findhome.java
<<_ACEOF
11155 import java.io.File;
11159 public static void main(String args[])
11161 String jrelocation = System.getProperty("java.home");
11162 File jre = new File(jrelocation);
11163 System.out.println(jre.getParent());
11167 echo "$as_me:$LINENO: checking if javac works" >&5
11168 echo $ECHO_N "checking if javac works... $ECHO_C" >&6
11169 javac_cmd
="$JAVACOMPILER findhome.java 1>&2"
11170 { (eval echo "$as_me:$LINENO: \"$javac_cmd\"") >&5
11171 (eval $javac_cmd) 2>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); }
11175 if test $?
= 0 && test -f .
/findhome.class
; then
11176 echo "$as_me:$LINENO: result: javac works" >&5
11177 echo "${ECHO_T}javac works" >&6
11179 echo "configure: javac test failed" >&5
11180 cat findhome.java
>&5
11181 { { echo "$as_me:$LINENO: error: javac does not work - java projects will not build!" >&5
11182 echo "$as_me: error: javac does not work - java projects will not build!" >&2;}
11183 { (exit 1); exit 1; }; }
11186 echo "$as_me:$LINENO: checking if gij knows its java.home" >&5
11187 echo $ECHO_N "checking if gij knows its java.home... $ECHO_C" >&6
11188 JAVA_HOME
=`$JAVAINTERPRETER findhome`
11189 if test $?
= 0 && test "$JAVA_HOME" != "" ; then
11190 echo "$as_me:$LINENO: result: $JAVA_HOME" >&5
11191 echo "${ECHO_T}$JAVA_HOME" >&6
11193 echo "configure: java test failed" >&5
11194 cat findhome.java
>&5
11195 { { echo "$as_me:$LINENO: error: gij does not know its java.home - use --with-jdk-home" >&5
11196 echo "$as_me: error: gij does not know its java.home - use --with-jdk-home" >&2;}
11197 { (exit 1); exit 1; }; }
11200 JAVA_HOME
=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$WITH_JAVA,,p"`
11204 if test "$JDK" != "gcj" -o "$_gij_longver" -ge "40200"; then
11205 # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
11206 if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then
11208 if basename $
(readlink $
(readlink
$JAVACOMPILER)) >/dev
/null
2>/dev
/null
; then
11209 # try to recover first by looking whether we have a alternatives
11210 # system as in Debian or newer SuSEs where following /usr/bin/javac
11211 # over /etc/alternatives/javac leads to the right bindir where we
11212 # just need to strip a bit away to get a valid JAVA_HOME
11213 JAVA_HOME
=$
(readlink $
(readlink
$JAVACOMPILER))
11214 elif readlink
$JAVACOMPILER >/dev
/null
2>/dev
/null
; then
11215 # maybe only one level of symlink (e.g. on Mac)
11216 JAVA_HOME
=$
(readlink
$JAVACOMPILER)
11219 { echo "$as_me:$LINENO: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&5
11220 echo "$as_me: WARNING: JAVA_HOME is set to /usr - this is very likely to be incorrect" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&5
11222 echo "$as_me: WARNING: if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >&2;}
11223 echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
11224 echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
11226 if test "$JAVA_HOME" != "/usr"; then
11227 if test "$_os" = "Darwin"; then
11228 JAVA_HOME
=$
(echo $JAVA_HOME |
$SED -e s
,/Current
/Commands
/javac$
,/CurrentJDK
/Home
,)
11229 JAVA_HOME
=$
(echo $JAVA_HOME |
$SED -e s
,/CurrentJDK
/Commands
/javac$
,/CurrentJDK
/Home
,)
11231 JAVA_HOME
=$
(echo $JAVA_HOME |
$SED -e s
,/bin
/javac$
,,)
11235 # now check if $JAVA_HOME is really valid
11236 if test "$_os" = "Darwin"; then
11237 if test ! -f "$JAVA_HOME/lib/jvm.cfg" -a "x$with_jdk_home" = "x"; then
11240 elif test ! -d "$JAVA_HOME/jre" -a "x$with_jdk_home" = "x"; then
11243 if test "$JAVA_HOME_OK" = "NO"; then
11244 { echo "$as_me:$LINENO: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&5
11245 echo "$as_me: WARNING: JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >&2;}
11246 { echo "$as_me:$LINENO: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&5
11247 echo "$as_me: WARNING: attempted to find JAVA_HOME automatically, but apparently it failed" >&2;}
11248 { echo "$as_me:$LINENO: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&5
11249 echo "$as_me: WARNING: in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >&2;}
11250 echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
11251 echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
11252 echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
11253 # if test "$JDK" = "gcj"; then
11254 # echo "e.g. install java-1.4.2-gcj-compat-devel and use --with-jdk-home=/usr/lib/jvm/java-1.4.2-gcj" >> warn
11261 if test "$SOLAR_JAVA" != ""; then
11262 echo "$as_me:$LINENO: checking for jawt lib name" >&5
11263 echo $ECHO_N "checking for jawt lib name... $ECHO_C" >&6
11264 if test "$JDK" = "gcj"; then
11265 save_CFLAGS
=$CFLAGS
11266 save_LDFLAGS
=$LDFLAGS
11267 CFLAGS
="$CFLAGS -I$JAVA_HOME/include"
11268 LDFLAGS
="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
11269 exec 6>/dev
/null
# no output
11270 if test "${ac_cv_header_jni_h+set}" = set; then
11271 echo "$as_me:$LINENO: checking for jni.h" >&5
11272 echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11273 if test "${ac_cv_header_jni_h+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11277 echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11279 # Is the header compilable?
11280 echo "$as_me:$LINENO: checking jni.h usability" >&5
11281 echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 $ac_includes_default
11291 rm -f conftest.
$ac_objext
11292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11293 (eval $ac_compile) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1
>conftest.err
11297 cat conftest.err
>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try
='test -z "$ac_c_werror_flag"
11301 || test ! -s conftest.err'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; } &&
11307 { ac_try
='test -s conftest.$ac_objext'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_header_compiler
=yes
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 ac_header_compiler
=no
11320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11322 echo "${ECHO_T}$ac_header_compiler" >&6
11324 # Is the header present?
11325 echo "$as_me:$LINENO: checking jni.h presence" >&5
11326 echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
11327 cat >conftest.
$ac_ext <<_ACEOF
11330 cat confdefs.h
>>conftest.
$ac_ext
11331 cat >>conftest.
$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11338 grep -v '^ *+' conftest.er1
>conftest.err
11340 cat conftest.err
>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } >/dev
/null
; then
11343 if test -s conftest.err
; then
11344 ac_cpp_err
=$ac_c_preproc_warn_flag
11345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11352 if test -z "$ac_cpp_err"; then
11353 ac_header_preproc
=yes
11355 echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11358 ac_header_preproc
=no
11360 rm -f conftest.err conftest.
$ac_ext
11361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11362 echo "${ECHO_T}$ac_header_preproc" >&6
11364 # So? What about this header?
11365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11367 { echo "$as_me:$LINENO: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&5
11368 echo "$as_me: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11369 { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the compiler's result" >&5
11370 echo "$as_me: WARNING: jni.h: proceeding with the compiler's result" >&2;}
11371 ac_header_preproc
=yes
11374 { echo "$as_me:$LINENO: WARNING: jni.h: present but cannot be compiled" >&5
11375 echo "$as_me: WARNING: jni.h: present but cannot be compiled" >&2;}
11376 { echo "$as_me:$LINENO: WARNING: jni.h: check for missing prerequisite headers?" >&5
11377 echo "$as_me: WARNING: jni.h: check for missing prerequisite headers?" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: jni.h: see the Autoconf documentation" >&5
11379 echo "$as_me: WARNING: jni.h: see the Autoconf documentation" >&2;}
11380 { echo "$as_me:$LINENO: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&5
11381 echo "$as_me: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&2;}
11382 { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the preprocessor's result" >&5
11383 echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
11384 { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
11385 echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
11388 ## ------------------------------------------ ##
11389 ## Report this to the AC_PACKAGE_NAME lists. ##
11390 ## ------------------------------------------ ##
11393 sed "s/^/$as_me: WARNING: /" >&2
11396 echo "$as_me:$LINENO: checking for jni.h" >&5
11397 echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11398 if test "${ac_cv_header_jni_h+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 ac_cv_header_jni_h
=$ac_header_preproc
11403 echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11404 echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11407 if test $ac_cv_header_jni_h = yes; then
11410 { { echo "$as_me:$LINENO: error: jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?" >&5
11411 echo "$as_me: error: jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?" >&2;}
11412 { (exit 1); exit 1; }; }
11416 echo "$as_me:$LINENO: checking for JAWT_GetAWT in -lgcjawt" >&5
11417 echo $ECHO_N "checking for JAWT_GetAWT in -lgcjawt... $ECHO_C" >&6
11418 if test "${ac_cv_lib_gcjawt_JAWT_GetAWT+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 ac_check_lib_save_LIBS
=$LIBS
11422 LIBS
="-lgcjawt $LIBS"
11423 cat >conftest.
$ac_ext <<_ACEOF
11426 cat confdefs.h
>>conftest.
$ac_ext
11427 cat >>conftest.
$ac_ext <<_ACEOF
11428 /* end confdefs.h. */
11430 /* Override any gcc2 internal prototype to avoid an error. */
11434 /* We use char because int might match the return type of a gcc2
11435 builtin and then its argument prototype would still apply. */
11436 char JAWT_GetAWT ();
11445 rm -f conftest.
$ac_objext conftest
$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447 (eval $ac_link) 2>conftest.er1
11449 grep -v '^ *+' conftest.er1
>conftest.err
11451 cat conftest.err
>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -z "$ac_c_werror_flag"
11455 || test ! -s conftest.err'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; } &&
11461 { ac_try
='test -s conftest$ac_exeext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11467 ac_cv_lib_gcjawt_JAWT_GetAWT
=yes
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.
$ac_ext >&5
11472 ac_cv_lib_gcjawt_JAWT_GetAWT
=no
11474 rm -f conftest.err conftest.
$ac_objext \
11475 conftest
$ac_exeext conftest.
$ac_ext
11476 LIBS
=$ac_check_lib_save_LIBS
11478 echo "$as_me:$LINENO: result: $ac_cv_lib_gcjawt_JAWT_GetAWT" >&5
11479 echo "${ECHO_T}$ac_cv_lib_gcjawt_JAWT_GetAWT" >&6
11480 if test $ac_cv_lib_gcjawt_JAWT_GetAWT = yes; then
11481 AWTLIB
="-lgcjawt -lgcj"
11484 exec 6>&1 # output on again
11485 CFLAGS
=$save_CFLAGS
11486 LDFLAGS
=$save_LDFLAGS
11488 # IBM SDK 1.5.0-sr5 includes libjawt.so with unresolved symbols.
11489 # A workaround is to link also against libpmawt.so
11490 if test "$JDK" = "ibm" ; then
11491 save_CFLAGS
=$CFLAGS
11492 save_LDFLAGS
=$LDFLAGS
11493 save_LD_LIBRARY_PATH
=$LD_LIBRARY_PATH
11494 CFLAGS
="$CFLAGS -I$JAVA_HOME/include"
11495 LDFLAGS
="$LDFLAGS -L$JAVA_HOME/jre/bin"
11496 LD_LIBRARY_PATH
=$JAVA_HOME/jre
/bin
:$JAVA_HOME/jre
/bin
/classic
:$JAVA_HOME/jre
/bin
/xawt
:$LD_LIBRARY_PATH
11497 export LD_LIBRARY_PATH
11498 exec 6>/dev
/null
# no output
11499 if test "${ac_cv_header_jni_h+set}" = set; then
11500 echo "$as_me:$LINENO: checking for jni.h" >&5
11501 echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11502 if test "${ac_cv_header_jni_h+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11506 echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11508 # Is the header compilable?
11509 echo "$as_me:$LINENO: checking jni.h usability" >&5
11510 echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
11511 cat >conftest.
$ac_ext <<_ACEOF
11514 cat confdefs.h
>>conftest.
$ac_ext
11515 cat >>conftest.
$ac_ext <<_ACEOF
11516 /* end confdefs.h. */
11517 $ac_includes_default
11520 rm -f conftest.
$ac_objext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try
='test -z "$ac_c_werror_flag"
11530 || test ! -s conftest.err'
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); }; } &&
11536 { ac_try
='test -s conftest.$ac_objext'
11537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11538 (eval $ac_try) 2>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); }; }; then
11542 ac_header_compiler
=yes
11544 echo "$as_me: failed program was:" >&5
11545 sed 's/^/| /' conftest.
$ac_ext >&5
11547 ac_header_compiler
=no
11549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11551 echo "${ECHO_T}$ac_header_compiler" >&6
11553 # Is the header present?
11554 echo "$as_me:$LINENO: checking jni.h presence" >&5
11555 echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
11556 cat >conftest.
$ac_ext <<_ACEOF
11559 cat confdefs.h
>>conftest.
$ac_ext
11560 cat >>conftest.
$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11567 grep -v '^ *+' conftest.er1
>conftest.err
11569 cat conftest.err
>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } >/dev
/null
; then
11572 if test -s conftest.err
; then
11573 ac_cpp_err
=$ac_c_preproc_warn_flag
11574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11581 if test -z "$ac_cpp_err"; then
11582 ac_header_preproc
=yes
11584 echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.
$ac_ext >&5
11587 ac_header_preproc
=no
11589 rm -f conftest.err conftest.
$ac_ext
11590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11591 echo "${ECHO_T}$ac_header_preproc" >&6
11593 # So? What about this header?
11594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11596 { echo "$as_me:$LINENO: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&5
11597 echo "$as_me: WARNING: jni.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11598 { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the compiler's result" >&5
11599 echo "$as_me: WARNING: jni.h: proceeding with the compiler's result" >&2;}
11600 ac_header_preproc
=yes
11603 { echo "$as_me:$LINENO: WARNING: jni.h: present but cannot be compiled" >&5
11604 echo "$as_me: WARNING: jni.h: present but cannot be compiled" >&2;}
11605 { echo "$as_me:$LINENO: WARNING: jni.h: check for missing prerequisite headers?" >&5
11606 echo "$as_me: WARNING: jni.h: check for missing prerequisite headers?" >&2;}
11607 { echo "$as_me:$LINENO: WARNING: jni.h: see the Autoconf documentation" >&5
11608 echo "$as_me: WARNING: jni.h: see the Autoconf documentation" >&2;}
11609 { echo "$as_me:$LINENO: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&5
11610 echo "$as_me: WARNING: jni.h: section \"Present But Cannot Be Compiled\"" >&2;}
11611 { echo "$as_me:$LINENO: WARNING: jni.h: proceeding with the preprocessor's result" >&5
11612 echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
11613 { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
11614 echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
11617 ## ------------------------------------------ ##
11618 ## Report this to the AC_PACKAGE_NAME lists. ##
11619 ## ------------------------------------------ ##
11622 sed "s/^/$as_me: WARNING: /" >&2
11625 echo "$as_me:$LINENO: checking for jni.h" >&5
11626 echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
11627 if test "${ac_cv_header_jni_h+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 ac_cv_header_jni_h
=$ac_header_preproc
11632 echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
11633 echo "${ECHO_T}$ac_cv_header_jni_h" >&6
11636 if test $ac_cv_header_jni_h = yes; then
11639 { { echo "$as_me:$LINENO: error: jni.h could not be found." >&5
11640 echo "$as_me: error: jni.h could not be found." >&2;}
11641 { (exit 1); exit 1; }; }
11645 echo "$as_me:$LINENO: checking for JAWT_GetAWT in -ljawt" >&5
11646 echo $ECHO_N "checking for JAWT_GetAWT in -ljawt... $ECHO_C" >&6
11647 if test "${ac_cv_lib_jawt_JAWT_GetAWT+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 ac_check_lib_save_LIBS
=$LIBS
11651 LIBS
="-ljawt $LIBS"
11652 cat >conftest.
$ac_ext <<_ACEOF
11655 cat confdefs.h
>>conftest.
$ac_ext
11656 cat >>conftest.
$ac_ext <<_ACEOF
11657 /* end confdefs.h. */
11659 /* Override any gcc2 internal prototype to avoid an error. */
11663 /* We use char because int might match the return type of a gcc2
11664 builtin and then its argument prototype would still apply. */
11665 char JAWT_GetAWT ();
11674 rm -f conftest.
$ac_objext conftest
$ac_exeext
11675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11676 (eval $ac_link) 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try
='test -z "$ac_c_werror_flag"
11684 || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try
='test -s conftest$ac_exeext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11696 ac_cv_lib_jawt_JAWT_GetAWT
=yes
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.
$ac_ext >&5
11701 ac_cv_lib_jawt_JAWT_GetAWT
=no
11703 rm -f conftest.err conftest.
$ac_objext \
11704 conftest
$ac_exeext conftest.
$ac_ext
11705 LIBS
=$ac_check_lib_save_LIBS
11707 echo "$as_me:$LINENO: result: $ac_cv_lib_jawt_JAWT_GetAWT" >&5
11708 echo "${ECHO_T}$ac_cv_lib_jawt_JAWT_GetAWT" >&6
11709 if test $ac_cv_lib_jawt_JAWT_GetAWT = yes; then
11713 if test -z "$AWTLIB"; then
11714 LDFLAGS
="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
11715 echo "$as_me:$LINENO: checking for JAWT_GetAWT in -lmawt" >&5
11716 echo $ECHO_N "checking for JAWT_GetAWT in -lmawt... $ECHO_C" >&6
11717 if test "${ac_cv_lib_mawt_JAWT_GetAWT+set}" = set; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 ac_check_lib_save_LIBS
=$LIBS
11721 LIBS
="-lmawt $LIBS"
11722 cat >conftest.
$ac_ext <<_ACEOF
11725 cat confdefs.h
>>conftest.
$ac_ext
11726 cat >>conftest.
$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11729 /* Override any gcc2 internal prototype to avoid an error. */
11733 /* We use char because int might match the return type of a gcc2
11734 builtin and then its argument prototype would still apply. */
11735 char JAWT_GetAWT ();
11744 rm -f conftest.
$ac_objext conftest
$ac_exeext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>conftest.er1
11748 grep -v '^ *+' conftest.er1
>conftest.err
11750 cat conftest.err
>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try
='test -z "$ac_c_werror_flag"
11754 || test ! -s conftest.err'
11755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756 (eval $ac_try) 2>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }; } &&
11760 { ac_try
='test -s conftest$ac_exeext'
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 (eval $ac_try) 2>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; }; then
11766 ac_cv_lib_mawt_JAWT_GetAWT
=yes
11768 echo "$as_me: failed program was:" >&5
11769 sed 's/^/| /' conftest.
$ac_ext >&5
11771 ac_cv_lib_mawt_JAWT_GetAWT
=no
11773 rm -f conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_lib_save_LIBS
11777 echo "$as_me:$LINENO: result: $ac_cv_lib_mawt_JAWT_GetAWT" >&5
11778 echo "${ECHO_T}$ac_cv_lib_mawt_JAWT_GetAWT" >&6
11779 if test $ac_cv_lib_mawt_JAWT_GetAWT = yes; then
11780 AWTLIB
="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"
11784 exec 6>&1 # output on again
11785 CFLAGS
=$save_CFLAGS
11786 LDFLAGS
=$save_LDFLAGS
11787 LD_LIBRARY_PATH
=$save_LD_LIBRARY_PATH
11789 if test -z "$AWTLIB"; then
11792 echo "$as_me:$LINENO: result: $AWTLIB" >&5
11793 echo "${ECHO_T}$AWTLIB" >&6
11797 if test "$SOLAR_JAVA" != ""; then
11798 echo "$as_me:$LINENO: checking whether to enable gcj aot compilation" >&5
11799 echo $ECHO_N "checking whether to enable gcj aot compilation... $ECHO_C" >&6
11800 if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
11801 echo "$as_me:$LINENO: result: yes" >&5
11802 echo "${ECHO_T}yes" >&6
11803 if test `echo $WITH_JAVA | grep -c "gij"` -eq 0; then
11806 gcjaot
=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g"`
11808 echo "$as_me:$LINENO: result: $gcjaot" >&5
11809 echo "${ECHO_T}$gcjaot" >&6
11810 if test -n "$with_jdk_home"; then
11811 _javac_path
="$with_jdk_home/bin/$gcjaot"
11812 if test -x "$_javac_path"; then
11813 JAVAAOTCOMPILER
=$_javac_path
11816 if test -z "$JAVAAOTCOMPILER"; then
11817 # Extract the first word of "$gcjaot", so it can be a program name with args.
11818 set dummy
$gcjaot; ac_word
=$2
11819 echo "$as_me:$LINENO: checking for $ac_word" >&5
11820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11821 if test "${ac_cv_path_JAVAAOTCOMPILER+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 case $JAVAAOTCOMPILER in
11826 ac_cv_path_JAVAAOTCOMPILER
="$JAVAAOTCOMPILER" # Let the user override the test with a path.
11829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11830 for as_dir
in $PATH
11833 test -z "$as_dir" && as_dir
=.
11834 for ac_exec_ext
in '' $ac_executable_extensions; do
11835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11836 ac_cv_path_JAVAAOTCOMPILER
="$as_dir/$ac_word$ac_exec_ext"
11837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11846 JAVAAOTCOMPILER
=$ac_cv_path_JAVAAOTCOMPILER
11848 if test -n "$JAVAAOTCOMPILER"; then
11849 echo "$as_me:$LINENO: result: $JAVAAOTCOMPILER" >&5
11850 echo "${ECHO_T}$JAVAAOTCOMPILER" >&6
11852 echo "$as_me:$LINENO: result: no" >&5
11853 echo "${ECHO_T}no" >&6
11857 if test -z "$JAVAAOTCOMPILER"; then
11858 { echo "$as_me:$LINENO: WARNING: $gcjaot not found, set with_jdk_home" >&5
11859 echo "$as_me: WARNING: $gcjaot not found, set with_jdk_home" >&2;}
11862 echo "$as_me:$LINENO: result: no" >&5
11863 echo "${ECHO_T}no" >&6
11878 # Extract the first word of "dmake", so it can be a program name with args.
11879 set dummy dmake
; ac_word
=$2
11880 echo "$as_me:$LINENO: checking for $ac_word" >&5
11881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11882 if test "${ac_cv_path_DMAKE+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 ac_cv_path_DMAKE
="$DMAKE" # Let the user override the test with a path.
11890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11891 for as_dir
in $PATH
11894 test -z "$as_dir" && as_dir
=.
11895 for ac_exec_ext
in '' $ac_executable_extensions; do
11896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11897 ac_cv_path_DMAKE
="$as_dir/$ac_word$ac_exec_ext"
11898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11904 test -z "$ac_cv_path_DMAKE" && ac_cv_path_DMAKE
="no"
11908 DMAKE
=$ac_cv_path_DMAKE
11910 if test -n "$DMAKE"; then
11911 echo "$as_me:$LINENO: result: $DMAKE" >&5
11912 echo "${ECHO_T}$DMAKE" >&6
11914 echo "$as_me:$LINENO: result: no" >&5
11915 echo "${ECHO_T}no" >&6
11918 if test "$DMAKE" = "no"; then
11920 echo "dmake will be built on ./bootstrap"
11922 echo "$as_me:$LINENO: checking whether the found dmake is the right dmake" >&5
11923 echo $ECHO_N "checking whether the found dmake is the right dmake... $ECHO_C" >&6
11924 # we need to find out whether that dmake we found is "our" dmake
11925 # or the dmake from Sun's SunStudio Compiler which is something
11927 # This test _should_ work because the one accepts -V (ours) and one
11928 # (the other) not...
11929 $DMAKE -V 2>/dev
/null |
grep 'dmake .* Version .*' >/dev
/null
11930 if test $?
-eq 0; then
11932 echo "$as_me:$LINENO: result: yes" >&5
11933 echo "${ECHO_T}yes" >&6
11934 echo "$as_me:$LINENO: checking the dmake version" >&5
11935 echo $ECHO_N "checking the dmake version... $ECHO_C" >&6
11936 DMAKE_VERSION
=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'`
11937 if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then
11938 echo "$as_me:$LINENO: result: OK, >= 4.11" >&5
11939 echo "${ECHO_T}OK, >= 4.11" >&6
11940 elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \
11941 test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then
11942 echo "$as_me:$LINENO: result: OK, >= 4.11" >&5
11943 echo "${ECHO_T}OK, >= 4.11" >&6
11945 echo "$as_me:$LINENO: result: too old. >= 4.11 is needed" >&5
11946 echo "${ECHO_T}too old. >= 4.11 is needed" >&6
11947 echo "A newer dmake will be built on ./bootstrap"
11951 echo "$as_me:$LINENO: result: no" >&5
11952 echo "${ECHO_T}no" >&6
11953 echo "dmake will be built on ./bootstrap"
11959 echo "$as_me:$LINENO: checking whether to enable EPM for packing" >&5
11960 echo $ECHO_N "checking whether to enable EPM for packing... $ECHO_C" >&6
11961 if test "$enable_epm" = "yes"; then
11962 echo "$as_me:$LINENO: result: yes" >&5
11963 echo "${ECHO_T}yes" >&6
11964 if test "$_os" != "WINNT"; then
11965 if test -n "$with_epm"; then
11968 # Extract the first word of "epm", so it can be a program name with args.
11969 set dummy epm
; ac_word
=$2
11970 echo "$as_me:$LINENO: checking for $ac_word" >&5
11971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11972 if test "${ac_cv_path_EPM+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 ac_cv_path_EPM
="$EPM" # Let the user override the test with a path.
11980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11981 for as_dir
in $PATH
11984 test -z "$as_dir" && as_dir
=.
11985 for ac_exec_ext
in '' $ac_executable_extensions; do
11986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_path_EPM
="$as_dir/$ac_word$ac_exec_ext"
11988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 test -z "$ac_cv_path_EPM" && ac_cv_path_EPM
="no"
11998 EPM
=$ac_cv_path_EPM
12000 if test -n "$EPM"; then
12001 echo "$as_me:$LINENO: result: $EPM" >&5
12002 echo "${ECHO_T}$EPM" >&6
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12009 if test "$EPM" = "no" ||
test "$EPM" = "internal"; then
12010 echo "EPM will be built."
12012 BUILD_TYPE
="$BUILD_TYPE EPM"
12014 # Gentoo has some epm which is something different...
12015 echo "$as_me:$LINENO: checking whether the found epm is the right epm" >&5
12016 echo $ECHO_N "checking whether the found epm is the right epm... $ECHO_C" >&6
12017 if $EPM |
grep "ESP Package Manager" >/dev
/null
2>/dev
/null
; then
12018 echo "$as_me:$LINENO: result: yes" >&5
12019 echo "${ECHO_T}yes" >&6
12021 { { echo "$as_me:$LINENO: error: no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm" >&5
12022 echo "$as_me: error: no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm" >&2;}
12023 { (exit 1); exit 1; }; }
12025 echo "$as_me:$LINENO: checking epm version" >&5
12026 echo $ECHO_N "checking epm version... $ECHO_C" >&6
12027 EPM_VERSION
=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
12028 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
12029 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
12030 echo "$as_me:$LINENO: result: OK, >= 3.7" >&5
12031 echo "${ECHO_T}OK, >= 3.7" >&6
12033 if test "$_os" = "Darwin"; then
12034 echo "$as_me:$LINENO: checking which PackageMaker EPM thinks to use" >&5
12035 echo $ECHO_N "checking which PackageMaker EPM thinks to use... $ECHO_C" >&6
12036 _pm
=`strings $EPM | grep PackageMaker | cut -d" " -f1`
12037 if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then
12038 { { echo "$as_me:$LINENO: error: $_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&5
12039 echo "$as_me: error: $_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&2;}
12040 { (exit 1); exit 1; }; }
12041 elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then
12042 echo "$as_me:$LINENO: result: $_pm, ok" >&5
12043 echo "${ECHO_T}$_pm, ok" >&6
12044 else # we never should get here, but go safe
12045 { { echo "$as_me:$LINENO: error: $_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&5
12046 echo "$as_me: error: $_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)" >&2;}
12047 { (exit 1); exit 1; }; }
12051 echo "$as_me:$LINENO: result: too old. epm >= 3.7 is required." >&5
12052 echo "${ECHO_T}too old. epm >= 3.7 is required." >&6
12053 echo "EPM will be built."
12055 BUILD_TYPE
="$BUILD_TYPE EPM"
12060 # test which package format to use
12061 echo "$as_me:$LINENO: checking which package format to use" >&5
12062 echo $ECHO_N "checking which package format to use... $ECHO_C" >&6
12076 # if building on Debian, default should be deb...
12077 if test -e /etc
/debian_version
; then
12095 # we never should get here since we check the arciecture/os at the beginning,
12098 { { echo "$as_me:$LINENO: error: unknown system" >&5
12099 echo "$as_me: error: unknown system" >&2;}
12100 { (exit 1); exit 1; }; }
12102 if test -n "$with_package_format"; then
12103 for i
in $with_package_format; do
12105 aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable | archive | dmg | installed | msi
)
12108 { { echo "$as_me:$LINENO: error: unsupported format $i. Supported by EPM are:
12109 aix - AIX software distribution
12110 bsd - FreeBSD, NetBSD, or OpenBSD software distribution
12111 depot or swinstall - HP-UX software distribution
12112 deb - Debian software distribution
12113 inst or tardist - IRIX software distribution
12114 osx - MacOS X software distribution
12115 pkg - Solaris software distribution
12116 rpm - RedHat software distribution
12117 setld - Tru64 (setld) software distribution
12118 native - \"Native\" software distribution for the platform
12119 portable - Portable software distribution
12120 OOo additionally supports:
12121 archive - .tar.gz or .zip
12122 dmg - Mac OS X .dmg
12123 installed - installation tree
12126 echo "$as_me: error: unsupported format $i. Supported by EPM are:
12127 aix - AIX software distribution
12128 bsd - FreeBSD, NetBSD, or OpenBSD software distribution
12129 depot or swinstall - HP-UX software distribution
12130 deb - Debian software distribution
12131 inst or tardist - IRIX software distribution
12132 osx - MacOS X software distribution
12133 pkg - Solaris software distribution
12134 rpm - RedHat software distribution
12135 setld - Tru64 (setld) software distribution
12136 native - \"Native\" software distribution for the platform
12137 portable - Portable software distribution
12138 OOo additionally supports:
12139 archive - .tar.gz or .zip
12140 dmg - Mac OS X .dmg
12141 installed - installation tree
12144 { (exit 1); exit 1; }; }
12148 PKGFORMAT
="$with_package_format"
12150 echo "$as_me:$LINENO: result: $PKGFORMAT" >&5
12151 echo "${ECHO_T}$PKGFORMAT" >&6
12152 if echo "$PKGFORMAT" |
$EGREP rpm
2>&1 >/dev
/null
; then
12153 echo "$as_me:$LINENO: checking for rpm" >&5
12154 echo $ECHO_N "checking for rpm... $ECHO_C" >&6
12155 for a
in "$RPM" rpmbuild rpm
; do
12156 $a --usage >/dev
/null
2> /dev
/null
12157 if test $?
-eq 0; then
12161 $a --version >/dev
/null
2> /dev
/null
12162 if test $?
-eq 0; then
12168 if test -z "$RPM" ; then
12169 { { echo "$as_me:$LINENO: error: not found" >&5
12170 echo "$as_me: error: not found" >&2;}
12171 { (exit 1); exit 1; }; }
12172 elif "$RPM" --usage 2>&1 |
$EGREP -- -bb >/dev
/null
; then
12173 RPM_PATH
=`which $RPM`
12174 echo "$as_me:$LINENO: result: $RPM_PATH" >&5
12175 echo "${ECHO_T}$RPM_PATH" >&6
12177 { { echo "$as_me:$LINENO: error: cannot build packages. Try installing rpmbuild." >&5
12178 echo "$as_me: error: cannot build packages. Try installing rpmbuild." >&2;}
12179 { (exit 1); exit 1; }; }
12182 if echo "$PKGFORMAT" |
$EGREP deb
2>&1 >/dev
/null
; then
12183 # Extract the first word of "dpkg", so it can be a program name with args.
12184 set dummy dpkg
; ac_word
=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_path_DPKG+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 ac_cv_path_DPKG
="$DPKG" # Let the user override the test with a path.
12195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12196 for as_dir
in $PATH
12199 test -z "$as_dir" && as_dir
=.
12200 for ac_exec_ext
in '' $ac_executable_extensions; do
12201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12202 ac_cv_path_DPKG
="$as_dir/$ac_word$ac_exec_ext"
12203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 test -z "$ac_cv_path_DPKG" && ac_cv_path_DPKG
="no"
12213 DPKG
=$ac_cv_path_DPKG
12215 if test -n "$DPKG"; then
12216 echo "$as_me:$LINENO: result: $DPKG" >&5
12217 echo "${ECHO_T}$DPKG" >&6
12219 echo "$as_me:$LINENO: result: no" >&5
12220 echo "${ECHO_T}no" >&6
12223 if test "$DPKG" = "no"; then
12224 { { echo "$as_me:$LINENO: error: dpkg needed for deb creation. Install dpkg." >&5
12225 echo "$as_me: error: dpkg needed for deb creation. Install dpkg." >&2;}
12226 { (exit 1); exit 1; }; }
12229 if echo "PKGFORMAT" |
$EGREP osx
2>&1 >/dev
/null
; then
12230 if test "$_os" = "Darwin"; then
12231 echo "$as_me:$LINENO: checking for PackageMaker availability" >&5
12232 echo $ECHO_N "checking for PackageMaker availability... $ECHO_C" >&6
12233 if ! test -x /Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
; then
12234 { { echo "$as_me:$LINENO: error: not installed. Please install Apples Dev Tools" >&5
12235 echo "$as_me: error: not installed. Please install Apples Dev Tools" >&2;}
12236 { (exit 1); exit 1; }; }
12238 echo "$as_me:$LINENO: result: ok" >&5
12239 echo "${ECHO_T}ok" >&6
12242 { { echo "$as_me:$LINENO: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&5
12243 echo "$as_me: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&2;}
12244 { (exit 1); exit 1; }; }
12247 if echo "$PKGFORMAT" |
$EGREP rpm
2>&1 >/dev
/null || \
12248 echo "$PKGFORMAT" |
$EGREP pkg
2>&1 >/dev
/null
; then
12249 if test "$EPM" != "no" && test "$EPM" != "internal"; then
12250 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -lt "4"; then
12251 echo "$as_me:$LINENO: checking whether epm is patched for OOos needs" >&5
12252 echo $ECHO_N "checking whether epm is patched for OOos needs... $ECHO_C" >&6
12253 if grep "Patched for OpenOffice.org" $EPM >/dev
/null
2>/dev
/null
; then
12254 echo "$as_me:$LINENO: result: yes" >&5
12255 echo "${ECHO_T}yes" >&6
12257 echo "$as_me:$LINENO: result: no" >&5
12258 echo "${ECHO_T}no" >&6
12259 if echo "$PKGFORMAT" |
grep -q rpm
; then
12261 { echo "$as_me:$LINENO: WARNING: the rpms will need to be installed with --nodeps" >&5
12262 echo "$as_me: WARNING: the rpms will need to be installed with --nodeps" >&2;}
12263 echo "the rpms will need to be installed with --nodeps" >> warn
12267 { echo "$as_me:$LINENO: WARNING: the ${_pt}s will not be relocateable" >&5
12268 echo "$as_me: WARNING: the ${_pt}s will not be relocateable" >&2;}
12269 echo "the ${_pt}s will not be relocateable" >> warn
12270 { echo "$as_me:$LINENO: WARNING: if you want to make sure installation without --nodeps and
12271 relocation will work, you need to patch your epm with the
12272 patch in epm/epm-3.7.patch or build with
12273 --with-epm=internal which will build a suitable epm" >&5
12274 echo "$as_me: WARNING: if you want to make sure installation without --nodeps and
12275 relocation will work, you need to patch your epm with the
12276 patch in epm/epm-3.7.patch or build with
12277 --with-epm=internal which will build a suitable epm" >&2;}
12282 if echo "$PKGFORMAT" |
$EGREP pkg
2>&1 >/dev
/null
; then
12283 # Extract the first word of "pkgmk", so it can be a program name with args.
12284 set dummy pkgmk
; ac_word
=$2
12285 echo "$as_me:$LINENO: checking for $ac_word" >&5
12286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12287 if test "${ac_cv_path_PKGMK+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 ac_cv_path_PKGMK
="$PKGMK" # Let the user override the test with a path.
12295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12296 for as_dir
in $PATH
12299 test -z "$as_dir" && as_dir
=.
12300 for ac_exec_ext
in '' $ac_executable_extensions; do
12301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_path_PKGMK
="$as_dir/$ac_word$ac_exec_ext"
12303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12309 test -z "$ac_cv_path_PKGMK" && ac_cv_path_PKGMK
="no"
12313 PKGMK
=$ac_cv_path_PKGMK
12315 if test -n "$PKGMK"; then
12316 echo "$as_me:$LINENO: result: $PKGMK" >&5
12317 echo "${ECHO_T}$PKGMK" >&6
12319 echo "$as_me:$LINENO: result: no" >&5
12320 echo "${ECHO_T}no" >&6
12323 if test "$PKGMK" = "no"; then
12324 { { echo "$as_me:$LINENO: error: pkgmk needed for Solaris pkg creation. Install it." >&5
12325 echo "$as_me: error: pkgmk needed for Solaris pkg creation. Install it." >&2;}
12326 { (exit 1); exit 1; }; }
12334 echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6
12342 # Extract the first word of "gperf", so it can be a program name with args.
12343 set dummy gperf
; ac_word
=$2
12344 echo "$as_me:$LINENO: checking for $ac_word" >&5
12345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12346 if test "${ac_cv_path_GPERF+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 ac_cv_path_GPERF
="$GPERF" # Let the user override the test with a path.
12354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12355 for as_dir
in $PATH
12358 test -z "$as_dir" && as_dir
=.
12359 for ac_exec_ext
in '' $ac_executable_extensions; do
12360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 ac_cv_path_GPERF
="$as_dir/$ac_word$ac_exec_ext"
12362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 GPERF
=$ac_cv_path_GPERF
12373 if test -n "$GPERF"; then
12374 echo "$as_me:$LINENO: result: $GPERF" >&5
12375 echo "${ECHO_T}$GPERF" >&6
12377 echo "$as_me:$LINENO: result: no" >&5
12378 echo "${ECHO_T}no" >&6
12381 if test -z "$GPERF"; then
12382 { { echo "$as_me:$LINENO: error: gperf not found but needed. Install it." >&5
12383 echo "$as_me: error: gperf not found but needed. Install it." >&2;}
12384 { (exit 1); exit 1; }; }
12386 echo "$as_me:$LINENO: checking gperf version" >&5
12387 echo $ECHO_N "checking gperf version... $ECHO_C" >&6
12388 if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
12389 echo "$as_me:$LINENO: result: OK" >&5
12390 echo "${ECHO_T}OK" >&6
12392 { { echo "$as_me:$LINENO: error: too old, you need at least 3.0.0" >&5
12393 echo "$as_me: error: too old, you need at least 3.0.0" >&2;}
12394 { (exit 1); exit 1; }; }
12397 echo "$as_me:$LINENO: checking whether to build the stax" >&5
12398 echo $ECHO_N "checking whether to build the stax... $ECHO_C" >&6
12399 if test -f "./stax/download/jsr173_1.0_api.jar"; then
12401 echo "$as_me:$LINENO: result: no, will use the prebuilt stax/download/jsr173_1.0_api.jar" >&5
12402 echo "${ECHO_T}no, will use the prebuilt stax/download/jsr173_1.0_api.jar" >&6
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12410 echo "$as_me:$LINENO: checking whether to build the ODK" >&5
12411 echo $ECHO_N "checking whether to build the ODK... $ECHO_C" >&6
12412 if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
12413 echo "$as_me:$LINENO: result: yes" >&5
12414 echo "${ECHO_T}yes" >&6
12415 if test "$WITH_JAVA" != "no"; then
12416 echo "$as_me:$LINENO: checking for external/unowinreg/unowinreg.dll" >&5
12417 echo $ECHO_N "checking for external/unowinreg/unowinreg.dll... $ECHO_C" >&6
12418 if ! test -f "./external/unowinreg/unowinreg.dll"; then
12419 HAVE_UNOWINREG_DLL
=no
12421 HAVE_UNOWINREG_DLL
=yes
12423 if test "$HAVE_UNOWINREG_DLL" = "yes"; then
12424 echo "$as_me:$LINENO: result: found" >&5
12425 echo "${ECHO_T}found" >&6
12428 if test "$_os" = "WINNT"; then
12429 echo "$as_me:$LINENO: result: not found, will be built" >&5
12430 echo "${ECHO_T}not found, will be built" >&6
12432 { echo "$as_me:$LINENO: WARNING: not found, will be cross-built using mingw32" >&5
12433 echo "$as_me: WARNING: not found, will be cross-built using mingw32" >&2;}
12435 BUILD_UNOWINREG
=YES
12437 if test "$_os" != "WINNT" && test "$BUILD_UNOWINREG" = "YES"; then
12438 if test -z "$WITH_MINGWIN" ||
test "$WITH_MINGWIN" = "0"; then
12439 { { echo "$as_me:$LINENO: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
12440 Specify mingw32 g++ executable name with --with-mingwin.
12441 Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
12442 put it into external/unowinreg" >&5
12443 echo "$as_me: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler.
12444 Specify mingw32 g++ executable name with --with-mingwin.
12445 Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and
12446 put it into external/unowinreg" >&2;}
12447 { (exit 1); exit 1; }; }
12449 if echo "$WITH_MINGWIN" |
$EGREP -q "/"; then
12450 if ! test -x "$WITH_MINGWIN"; then MINGWCXX
=false
; else MINGWCXX
=`basename $WITH_MINGWIN`; fi
12452 if test -n "$ac_tool_prefix"; then
12453 # Extract the first word of "${ac_tool_prefix}$WITH_MINGWIN", so it can be a program name with args.
12454 set dummy
${ac_tool_prefix}$WITH_MINGWIN; ac_word
=$2
12455 echo "$as_me:$LINENO: checking for $ac_word" >&5
12456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12457 if test "${ac_cv_prog_MINGWCXX+set}" = set; then
12458 echo $ECHO_N "(cached) $ECHO_C" >&6
12460 if test -n "$MINGWCXX"; then
12461 ac_cv_prog_MINGWCXX
="$MINGWCXX" # Let the user override the test.
12463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12464 for as_dir
in $PATH
12467 test -z "$as_dir" && as_dir
=.
12468 for ac_exec_ext
in '' $ac_executable_extensions; do
12469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12470 ac_cv_prog_MINGWCXX
="${ac_tool_prefix}$WITH_MINGWIN"
12471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 MINGWCXX
=$ac_cv_prog_MINGWCXX
12480 if test -n "$MINGWCXX"; then
12481 echo "$as_me:$LINENO: result: $MINGWCXX" >&5
12482 echo "${ECHO_T}$MINGWCXX" >&6
12484 echo "$as_me:$LINENO: result: no" >&5
12485 echo "${ECHO_T}no" >&6
12489 if test -z "$ac_cv_prog_MINGWCXX"; then
12490 ac_ct_MINGWCXX
=$MINGWCXX
12491 # Extract the first word of "$WITH_MINGWIN", so it can be a program name with args.
12492 set dummy
$WITH_MINGWIN; ac_word
=$2
12493 echo "$as_me:$LINENO: checking for $ac_word" >&5
12494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12495 if test "${ac_cv_prog_ac_ct_MINGWCXX+set}" = set; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 if test -n "$ac_ct_MINGWCXX"; then
12499 ac_cv_prog_ac_ct_MINGWCXX
="$ac_ct_MINGWCXX" # Let the user override the test.
12501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12502 for as_dir
in $PATH
12505 test -z "$as_dir" && as_dir
=.
12506 for ac_exec_ext
in '' $ac_executable_extensions; do
12507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12508 ac_cv_prog_ac_ct_MINGWCXX
="$WITH_MINGWIN"
12509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12515 test -z "$ac_cv_prog_ac_ct_MINGWCXX" && ac_cv_prog_ac_ct_MINGWCXX
="false"
12518 ac_ct_MINGWCXX
=$ac_cv_prog_ac_ct_MINGWCXX
12519 if test -n "$ac_ct_MINGWCXX"; then
12520 echo "$as_me:$LINENO: result: $ac_ct_MINGWCXX" >&5
12521 echo "${ECHO_T}$ac_ct_MINGWCXX" >&6
12523 echo "$as_me:$LINENO: result: no" >&5
12524 echo "${ECHO_T}no" >&6
12527 MINGWCXX
=$ac_ct_MINGWCXX
12529 MINGWCXX
="$ac_cv_prog_MINGWCXX"
12533 if test "$MINGWCXX" = "false"; then
12534 { { echo "$as_me:$LINENO: error: specified MinGW32 C++ cross-compiler not found. Install it or correct name." >&5
12535 echo "$as_me: error: specified MinGW32 C++ cross-compiler not found. Install it or correct name." >&2;}
12536 { (exit 1); exit 1; }; }
12538 echo "$as_me:$LINENO: checking whether we are using the MinGW32 cross C++ compiler" >&5
12539 echo $ECHO_N "checking whether we are using the MinGW32 cross C++ compiler... $ECHO_C" >&6
12540 if ! echo "`$MINGWCXX -dumpmachine`" |
grep -q mingw32
; then
12541 { { echo "$as_me:$LINENO: error: no" >&5
12542 echo "$as_me: error: no" >&2;}
12543 { (exit 1); exit 1; }; }
12545 echo "$as_me:$LINENO: result: yes" >&5
12546 echo "${ECHO_T}yes" >&6
12548 if echo "$WITH_MINGWIN" |
$EGREP -q "/"; then
12549 if ! test -x "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"; then MINGSTRIP
=false
; else MINGWSTRIP
=$
(basename $
(echo $WITH_MINGWIN |
$SED -e s
/g
++/strip
/)); fi
12551 if test -n "$ac_tool_prefix"; then
12552 # Extract the first word of "${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
12553 set dummy
${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word
=$2
12554 echo "$as_me:$LINENO: checking for $ac_word" >&5
12555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12556 if test "${ac_cv_prog_MINGWSTRIP+set}" = set; then
12557 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 if test -n "$MINGWSTRIP"; then
12560 ac_cv_prog_MINGWSTRIP
="$MINGWSTRIP" # Let the user override the test.
12562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12563 for as_dir
in $PATH
12566 test -z "$as_dir" && as_dir
=.
12567 for ac_exec_ext
in '' $ac_executable_extensions; do
12568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12569 ac_cv_prog_MINGWSTRIP
="${ac_tool_prefix}`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
12570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12578 MINGWSTRIP
=$ac_cv_prog_MINGWSTRIP
12579 if test -n "$MINGWSTRIP"; then
12580 echo "$as_me:$LINENO: result: $MINGWSTRIP" >&5
12581 echo "${ECHO_T}$MINGWSTRIP" >&6
12583 echo "$as_me:$LINENO: result: no" >&5
12584 echo "${ECHO_T}no" >&6
12588 if test -z "$ac_cv_prog_MINGWSTRIP"; then
12589 ac_ct_MINGWSTRIP
=$MINGWSTRIP
12590 # Extract the first word of "`echo $WITH_MINGWIN | $SED -e s/g++/strip/`", so it can be a program name with args.
12591 set dummy
`echo $WITH_MINGWIN | $SED -e s/g++/strip/`; ac_word
=$2
12592 echo "$as_me:$LINENO: checking for $ac_word" >&5
12593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12594 if test "${ac_cv_prog_ac_ct_MINGWSTRIP+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 if test -n "$ac_ct_MINGWSTRIP"; then
12598 ac_cv_prog_ac_ct_MINGWSTRIP
="$ac_ct_MINGWSTRIP" # Let the user override the test.
12600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12601 for as_dir
in $PATH
12604 test -z "$as_dir" && as_dir
=.
12605 for ac_exec_ext
in '' $ac_executable_extensions; do
12606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12607 ac_cv_prog_ac_ct_MINGWSTRIP
="`echo $WITH_MINGWIN | $SED -e s/g++/strip/`"
12608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12614 test -z "$ac_cv_prog_ac_ct_MINGWSTRIP" && ac_cv_prog_ac_ct_MINGWSTRIP
="false"
12617 ac_ct_MINGWSTRIP
=$ac_cv_prog_ac_ct_MINGWSTRIP
12618 if test -n "$ac_ct_MINGWSTRIP"; then
12619 echo "$as_me:$LINENO: result: $ac_ct_MINGWSTRIP" >&5
12620 echo "${ECHO_T}$ac_ct_MINGWSTRIP" >&6
12622 echo "$as_me:$LINENO: result: no" >&5
12623 echo "${ECHO_T}no" >&6
12626 MINGWSTRIP
=$ac_ct_MINGWSTRIP
12628 MINGWSTRIP
="$ac_cv_prog_MINGWSTRIP"
12632 if test "$MINGWSTRIP" = "false"; then
12633 { { echo "$as_me:$LINENO: error: MinGW32 binutils needed. Install them." >&5
12634 echo "$as_me: error: MinGW32 binutils needed. Install them." >&2;}
12635 { (exit 1); exit 1; }; }
12638 ac_cpp
='$CXXCPP $CPPFLAGS'
12639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12644 save_CXXCPP
=$CXXCPP
12646 CXXCPP
="$MINGWCXX -E"
12647 save_CXXFLAGS
=$CXXFLAGS
12648 save_CPPFLAGS
=$CPPFLAGS
12649 CXXFLAGS
="$CXXFLAGS -I$JAVA_HOME/include"
12650 CPPFLAGS
="$CPPFLAGS -I$JAVA_HOME/include"
12651 # LIBS contains -lcrypt etc due to teh AC_CHECK_LIBS which obviously
12652 # do not make sense here (and 'd make the check fail)
12656 echo "$as_me:$LINENO: checking for main in -lkernel32" >&5
12657 echo $ECHO_N "checking for main in -lkernel32... $ECHO_C" >&6
12658 if test "${ac_cv_lib_kernel32_main+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 ac_check_lib_save_LIBS
=$LIBS
12662 LIBS
="-lkernel32 $LIBS"
12663 cat >conftest.
$ac_ext <<_ACEOF
12666 cat confdefs.h
>>conftest.
$ac_ext
12667 cat >>conftest.
$ac_ext <<_ACEOF
12668 /* end confdefs.h. */
12679 rm -f conftest.
$ac_objext conftest
$ac_exeext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12681 (eval $ac_link) 2>conftest.er1
12683 grep -v '^ *+' conftest.er1
>conftest.err
12685 cat conftest.err
>&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } &&
12688 { ac_try
='test -z "$ac_cxx_werror_flag"
12689 || test ! -s conftest.err'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try
='test -s conftest$ac_exeext'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; }; then
12701 ac_cv_lib_kernel32_main
=yes
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.
$ac_ext >&5
12706 ac_cv_lib_kernel32_main
=no
12708 rm -f conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 LIBS
=$ac_check_lib_save_LIBS
12712 echo "$as_me:$LINENO: result: $ac_cv_lib_kernel32_main" >&5
12713 echo "${ECHO_T}$ac_cv_lib_kernel32_main" >&6
12714 if test $ac_cv_lib_kernel32_main = yes; then
12715 cat >>confdefs.h
<<_ACEOF
12716 #define HAVE_LIBKERNEL32 1
12719 LIBS
="-lkernel32 $LIBS"
12722 ac_cv_lib_kernel32
=ac_cv_lib_kernel32_main
12725 echo "$as_me:$LINENO: checking for main in -ladvapi32" >&5
12726 echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
12727 if test "${ac_cv_lib_advapi32_main+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_check_lib_save_LIBS
=$LIBS
12731 LIBS
="-ladvapi32 $LIBS"
12732 cat >conftest.
$ac_ext <<_ACEOF
12735 cat confdefs.h
>>conftest.
$ac_ext
12736 cat >>conftest.
$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12748 rm -f conftest.
$ac_objext conftest
$ac_exeext
12749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12750 (eval $ac_link) 2>conftest.er1
12752 grep -v '^ *+' conftest.er1
>conftest.err
12754 cat conftest.err
>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } &&
12757 { ac_try
='test -z "$ac_cxx_werror_flag"
12758 || test ! -s conftest.err'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; } &&
12764 { ac_try
='test -s conftest$ac_exeext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12770 ac_cv_lib_advapi32_main
=yes
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.
$ac_ext >&5
12775 ac_cv_lib_advapi32_main
=no
12777 rm -f conftest.err conftest.
$ac_objext \
12778 conftest
$ac_exeext conftest.
$ac_ext
12779 LIBS
=$ac_check_lib_save_LIBS
12781 echo "$as_me:$LINENO: result: $ac_cv_lib_advapi32_main" >&5
12782 echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
12783 if test $ac_cv_lib_advapi32_main = yes; then
12784 cat >>confdefs.h
<<_ACEOF
12785 #define HAVE_LIBADVAPI32 1
12788 LIBS
="-ladvapi32 $LIBS"
12791 ac_cv_lib_advapi32
=ac_cv_lib_advapi32_main
12793 if test "${ac_cv_header_windows_h+set}" = set; then
12794 echo "$as_me:$LINENO: checking for windows.h" >&5
12795 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
12796 if test "${ac_cv_header_windows_h+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
12800 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
12802 # Is the header compilable?
12803 echo "$as_me:$LINENO: checking windows.h usability" >&5
12804 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
12805 cat >conftest.
$ac_ext <<_ACEOF
12808 cat confdefs.h
>>conftest.
$ac_ext
12809 cat >>conftest.
$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12811 $ac_includes_default
12812 #include <windows.h>
12814 rm -f conftest.
$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>conftest.er1
12818 grep -v '^ *+' conftest.er1
>conftest.err
12820 cat conftest.err
>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try
='test -z "$ac_cxx_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 ac_header_compiler
=yes
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12841 ac_header_compiler
=no
12843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12845 echo "${ECHO_T}$ac_header_compiler" >&6
12847 # Is the header present?
12848 echo "$as_me:$LINENO: checking windows.h presence" >&5
12849 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
12850 cat >conftest.
$ac_ext <<_ACEOF
12853 cat confdefs.h
>>conftest.
$ac_ext
12854 cat >>conftest.
$ac_ext <<_ACEOF
12855 /* end confdefs.h. */
12856 #include <windows.h>
12858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12861 grep -v '^ *+' conftest.er1
>conftest.err
12863 cat conftest.err
>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); } >/dev
/null
; then
12866 if test -s conftest.err
; then
12867 ac_cpp_err
=$ac_cxx_preproc_warn_flag
12868 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
12875 if test -z "$ac_cpp_err"; then
12876 ac_header_preproc
=yes
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.
$ac_ext >&5
12881 ac_header_preproc
=no
12883 rm -f conftest.err conftest.
$ac_ext
12884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12885 echo "${ECHO_T}$ac_header_preproc" >&6
12887 # So? What about this header?
12888 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12890 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
12891 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12892 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
12893 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
12894 ac_header_preproc
=yes
12897 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
12898 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
12899 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
12900 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
12901 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
12902 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
12903 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
12904 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
12905 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
12906 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
12908 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
12911 ## ------------------------------------------ ##
12912 ## Report this to the AC_PACKAGE_NAME lists. ##
12913 ## ------------------------------------------ ##
12916 sed "s/^/$as_me: WARNING: /" >&2
12919 echo "$as_me:$LINENO: checking for windows.h" >&5
12920 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
12921 if test "${ac_cv_header_windows_h+set}" = set; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 ac_cv_header_windows_h
=$ac_header_preproc
12926 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
12927 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
12930 if test $ac_cv_header_windows_h = yes; then
12933 { { echo "$as_me:$LINENO: error: windows.h missing" >&5
12934 echo "$as_me: error: windows.h missing" >&2;}
12935 { (exit 1); exit 1; }; }
12939 CXXFLAGS
=$save_CXXFLAGS
12940 CPPFLAGS
=$save_CPPFLAGS
12942 CXXCPP
=$save_CXXCPP
12945 ac_cpp
='$CPP $CPPFLAGS'
12946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12952 BUILD_TYPE
="$BUILD_TYPE ODK"
12954 echo "$as_me:$LINENO: result: no" >&5
12955 echo "${ECHO_T}no" >&6
12962 echo "$as_me:$LINENO: checking whether to provide libstdc++/libgcc_s in the installset" >&5
12963 echo $ECHO_N "checking whether to provide libstdc++/libgcc_s in the installset... $ECHO_C" >&6
12964 if test -n "$with_system_stdlibs" -o -n "$with_system_libs" && \
12965 test "$with_system_stdlibs" != "no"; then
12966 echo "$as_me:$LINENO: result: no" >&5
12967 echo "${ECHO_T}no" >&6
12970 echo "$as_me:$LINENO: result: yes" >&5
12971 echo "${ECHO_T}yes" >&6
12976 if test "$_os" = "Darwin" && test "$with_system_zlib" != "no"; then
12977 with_system_zlib
=yes
12979 echo "$as_me:$LINENO: checking which zlib to use" >&5
12980 echo $ECHO_N "checking which zlib to use... $ECHO_C" >&6
12981 if test -n "$with_system_zlib" -o -n "$with_system_libs" && \
12982 test "$with_system_zlib" != "no"; then
12983 echo "$as_me:$LINENO: result: external" >&5
12984 echo "${ECHO_T}external" >&6
12986 if test "${ac_cv_header_zlib_h+set}" = set; then
12987 echo "$as_me:$LINENO: checking for zlib.h" >&5
12988 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
12989 if test "${ac_cv_header_zlib_h+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
12993 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
12995 # Is the header compilable?
12996 echo "$as_me:$LINENO: checking zlib.h usability" >&5
12997 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
12998 cat >conftest.
$ac_ext <<_ACEOF
13001 cat confdefs.h
>>conftest.
$ac_ext
13002 cat >>conftest.
$ac_ext <<_ACEOF
13003 /* end confdefs.h. */
13004 $ac_includes_default
13007 rm -f conftest.
$ac_objext
13008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13009 (eval $ac_compile) 2>conftest.er1
13011 grep -v '^ *+' conftest.er1
>conftest.err
13013 cat conftest.err
>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); } &&
13016 { ac_try
='test -z "$ac_c_werror_flag"
13017 || test ! -s conftest.err'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; } &&
13023 { ac_try
='test -s conftest.$ac_objext'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; }; then
13029 ac_header_compiler
=yes
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.
$ac_ext >&5
13034 ac_header_compiler
=no
13036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13038 echo "${ECHO_T}$ac_header_compiler" >&6
13040 # Is the header present?
13041 echo "$as_me:$LINENO: checking zlib.h presence" >&5
13042 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
13043 cat >conftest.
$ac_ext <<_ACEOF
13046 cat confdefs.h
>>conftest.
$ac_ext
13047 cat >>conftest.
$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } >/dev
/null
; then
13059 if test -s conftest.err
; then
13060 ac_cpp_err
=$ac_c_preproc_warn_flag
13061 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13068 if test -z "$ac_cpp_err"; then
13069 ac_header_preproc
=yes
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 ac_header_preproc
=no
13076 rm -f conftest.err conftest.
$ac_ext
13077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13078 echo "${ECHO_T}$ac_header_preproc" >&6
13080 # So? What about this header?
13081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13083 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13084 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13085 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
13086 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
13087 ac_header_preproc
=yes
13090 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
13091 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
13093 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
13095 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
13097 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13098 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
13099 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
13100 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
13101 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
13104 ## ------------------------------------------ ##
13105 ## Report this to the AC_PACKAGE_NAME lists. ##
13106 ## ------------------------------------------ ##
13109 sed "s/^/$as_me: WARNING: /" >&2
13112 echo "$as_me:$LINENO: checking for zlib.h" >&5
13113 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
13114 if test "${ac_cv_header_zlib_h+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 ac_cv_header_zlib_h
=$ac_header_preproc
13119 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
13120 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
13123 if test $ac_cv_header_zlib_h = yes; then
13126 { { echo "$as_me:$LINENO: error: zlib.h not found. install zlib" >&5
13127 echo "$as_me: error: zlib.h not found. install zlib" >&2;}
13128 { (exit 1); exit 1; }; }
13132 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13133 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13134 if test "${ac_cv_lib_z_deflate+set}" = set; then
13135 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 ac_check_lib_save_LIBS
=$LIBS
13139 cat >conftest.
$ac_ext <<_ACEOF
13142 cat confdefs.h
>>conftest.
$ac_ext
13143 cat >>conftest.
$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13146 /* Override any gcc2 internal prototype to avoid an error. */
13150 /* We use char because int might match the return type of a gcc2
13151 builtin and then its argument prototype would still apply. */
13161 rm -f conftest.
$ac_objext conftest
$ac_exeext
13162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13163 (eval $ac_link) 2>conftest.er1
13165 grep -v '^ *+' conftest.er1
>conftest.err
13167 cat conftest.err
>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } &&
13170 { ac_try
='test -z "$ac_c_werror_flag"
13171 || test ! -s conftest.err'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; } &&
13177 { ac_try
='test -s conftest$ac_exeext'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; }; then
13183 ac_cv_lib_z_deflate
=yes
13185 echo "$as_me: failed program was:" >&5
13186 sed 's/^/| /' conftest.
$ac_ext >&5
13188 ac_cv_lib_z_deflate
=no
13190 rm -f conftest.err conftest.
$ac_objext \
13191 conftest
$ac_exeext conftest.
$ac_ext
13192 LIBS
=$ac_check_lib_save_LIBS
13194 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13195 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13196 if test $ac_cv_lib_z_deflate = yes; then
13199 { { echo "$as_me:$LINENO: error: zlib not found or functional" >&5
13200 echo "$as_me: error: zlib not found or functional" >&2;}
13201 { (exit 1); exit 1; }; }
13205 echo "$as_me:$LINENO: result: internal" >&5
13206 echo "${ECHO_T}internal" >&6
13208 BUILD_TYPE
="$BUILD_TYPE ZLIB"
13212 echo "$as_me:$LINENO: checking which jpeg to use" >&5
13213 echo $ECHO_N "checking which jpeg to use... $ECHO_C" >&6
13214 if test -n "$with_system_jpeg" -o -n "$with_system_libs" && \
13215 test "$with_system_jpeg" != "no"; then
13216 echo "$as_me:$LINENO: result: external" >&5
13217 echo "${ECHO_T}external" >&6
13219 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13220 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
13221 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
13222 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13223 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
13226 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
13228 # Is the header compilable?
13229 echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
13230 echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6
13231 cat >conftest.
$ac_ext <<_ACEOF
13234 cat confdefs.h
>>conftest.
$ac_ext
13235 cat >>conftest.
$ac_ext <<_ACEOF
13236 /* end confdefs.h. */
13237 $ac_includes_default
13238 #include <jpeglib.h>
13240 rm -f conftest.
$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try
='test -z "$ac_c_werror_flag"
13250 || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try
='test -s conftest.$ac_objext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_header_compiler
=yes
13264 echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.
$ac_ext >&5
13267 ac_header_compiler
=no
13269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13271 echo "${ECHO_T}$ac_header_compiler" >&6
13273 # Is the header present?
13274 echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
13275 echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <jpeglib.h>
13284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13287 grep -v '^ *+' conftest.er1
>conftest.err
13289 cat conftest.err
>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } >/dev
/null
; then
13292 if test -s conftest.err
; then
13293 ac_cpp_err
=$ac_c_preproc_warn_flag
13294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13301 if test -z "$ac_cpp_err"; then
13302 ac_header_preproc
=yes
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 ac_header_preproc
=no
13309 rm -f conftest.err conftest.
$ac_ext
13310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13311 echo "${ECHO_T}$ac_header_preproc" >&6
13313 # So? What about this header?
13314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13316 { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13317 echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13318 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
13319 echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
13320 ac_header_preproc
=yes
13323 { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
13324 echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
13325 { echo "$as_me:$LINENO: WARNING: jpeglib.h: check for missing prerequisite headers?" >&5
13326 echo "$as_me: WARNING: jpeglib.h: check for missing prerequisite headers?" >&2;}
13327 { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
13328 echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
13329 { echo "$as_me:$LINENO: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&5
13330 echo "$as_me: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
13332 echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
13333 { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
13334 echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
13337 ## ------------------------------------------ ##
13338 ## Report this to the AC_PACKAGE_NAME lists. ##
13339 ## ------------------------------------------ ##
13342 sed "s/^/$as_me: WARNING: /" >&2
13345 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
13346 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
13347 if test "${ac_cv_header_jpeglib_h+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 ac_cv_header_jpeglib_h
=$ac_header_preproc
13352 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
13353 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
13356 if test $ac_cv_header_jpeglib_h = yes; then
13359 { { echo "$as_me:$LINENO: error: jpeg.h not found. install libjpeg" >&5
13360 echo "$as_me: error: jpeg.h not found. install libjpeg" >&2;}
13361 { (exit 1); exit 1; }; }
13365 echo "$as_me:$LINENO: checking for jpeg_resync_to_restart in -ljpeg" >&5
13366 echo $ECHO_N "checking for jpeg_resync_to_restart in -ljpeg... $ECHO_C" >&6
13367 if test "${ac_cv_lib_jpeg_jpeg_resync_to_restart+set}" = set; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13370 ac_check_lib_save_LIBS
=$LIBS
13371 LIBS
="-ljpeg $LIBS"
13372 cat >conftest.
$ac_ext <<_ACEOF
13375 cat confdefs.h
>>conftest.
$ac_ext
13376 cat >>conftest.
$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13379 /* Override any gcc2 internal prototype to avoid an error. */
13383 /* We use char because int might match the return type of a gcc2
13384 builtin and then its argument prototype would still apply. */
13385 char jpeg_resync_to_restart ();
13389 jpeg_resync_to_restart ();
13394 rm -f conftest.
$ac_objext conftest
$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>conftest.er1
13398 grep -v '^ *+' conftest.er1
>conftest.err
13400 cat conftest.err
>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); } &&
13403 { ac_try
='test -z "$ac_c_werror_flag"
13404 || test ! -s conftest.err'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; } &&
13410 { ac_try
='test -s conftest$ac_exeext'
13411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13412 (eval $ac_try) 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); }; }; then
13416 ac_cv_lib_jpeg_jpeg_resync_to_restart
=yes
13418 echo "$as_me: failed program was:" >&5
13419 sed 's/^/| /' conftest.
$ac_ext >&5
13421 ac_cv_lib_jpeg_jpeg_resync_to_restart
=no
13423 rm -f conftest.err conftest.
$ac_objext \
13424 conftest
$ac_exeext conftest.
$ac_ext
13425 LIBS
=$ac_check_lib_save_LIBS
13427 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_resync_to_restart" >&5
13428 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_resync_to_restart" >&6
13429 if test $ac_cv_lib_jpeg_jpeg_resync_to_restart = yes; then
13432 echo "$as_me:$LINENO: checking jpeg library not found or fuctional" >&5
13433 echo $ECHO_N "checking jpeg library not found or fuctional... $ECHO_C" >&6
13437 echo "$as_me:$LINENO: result: internal" >&5
13438 echo "${ECHO_T}internal" >&6
13440 BUILD_TYPE
="$BUILD_TYPE JPEG"
13444 echo "$as_me:$LINENO: checking which expat to use" >&5
13445 echo $ECHO_N "checking which expat to use... $ECHO_C" >&6
13446 if test -n "$with_system_expat" -o -n "$with_system_libs" && \
13447 test "$with_system_expat" != "no"; then
13448 echo "$as_me:$LINENO: result: external" >&5
13449 echo "${ECHO_T}external" >&6
13451 if test "${ac_cv_header_expat_h+set}" = set; then
13452 echo "$as_me:$LINENO: checking for expat.h" >&5
13453 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
13454 if test "${ac_cv_header_expat_h+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
13458 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
13460 # Is the header compilable?
13461 echo "$as_me:$LINENO: checking expat.h usability" >&5
13462 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
13463 cat >conftest.
$ac_ext <<_ACEOF
13466 cat confdefs.h
>>conftest.
$ac_ext
13467 cat >>conftest.
$ac_ext <<_ACEOF
13468 /* end confdefs.h. */
13469 $ac_includes_default
13472 rm -f conftest.
$ac_objext
13473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13474 (eval $ac_compile) 2>conftest.er1
13476 grep -v '^ *+' conftest.er1
>conftest.err
13478 cat conftest.err
>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); } &&
13481 { ac_try
='test -z "$ac_c_werror_flag"
13482 || test ! -s conftest.err'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; } &&
13488 { ac_try
='test -s conftest.$ac_objext'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; }; then
13494 ac_header_compiler
=yes
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 ac_header_compiler
=no
13501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13503 echo "${ECHO_T}$ac_header_compiler" >&6
13505 # Is the header present?
13506 echo "$as_me:$LINENO: checking expat.h presence" >&5
13507 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
13508 cat >conftest.
$ac_ext <<_ACEOF
13511 cat confdefs.h
>>conftest.
$ac_ext
13512 cat >>conftest.
$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13519 grep -v '^ *+' conftest.er1
>conftest.err
13521 cat conftest.err
>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } >/dev
/null
; then
13524 if test -s conftest.err
; then
13525 ac_cpp_err
=$ac_c_preproc_warn_flag
13526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13533 if test -z "$ac_cpp_err"; then
13534 ac_header_preproc
=yes
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.
$ac_ext >&5
13539 ac_header_preproc
=no
13541 rm -f conftest.err conftest.
$ac_ext
13542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13543 echo "${ECHO_T}$ac_header_preproc" >&6
13545 # So? What about this header?
13546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13548 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
13549 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13550 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
13551 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
13552 ac_header_preproc
=yes
13555 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
13556 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
13557 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
13558 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
13560 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
13561 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
13562 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
13563 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
13564 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
13566 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
13569 ## ------------------------------------------ ##
13570 ## Report this to the AC_PACKAGE_NAME lists. ##
13571 ## ------------------------------------------ ##
13574 sed "s/^/$as_me: WARNING: /" >&2
13577 echo "$as_me:$LINENO: checking for expat.h" >&5
13578 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
13579 if test "${ac_cv_header_expat_h+set}" = set; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 ac_cv_header_expat_h
=$ac_header_preproc
13584 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
13585 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
13588 if test $ac_cv_header_expat_h = yes; then
13591 { { echo "$as_me:$LINENO: error: expat.h not found. install expat" >&5
13592 echo "$as_me: error: expat.h not found. install expat" >&2;}
13593 { (exit 1); exit 1; }; }
13598 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
13599 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
13600 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 ac_check_lib_save_LIBS
=$LIBS
13604 LIBS
="-lexpat $LIBS"
13605 cat >conftest.
$ac_ext <<_ACEOF
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13612 /* Override any gcc2 internal prototype to avoid an error. */
13616 /* We use char because int might match the return type of a gcc2
13617 builtin and then its argument prototype would still apply. */
13618 char XML_ParserCreate ();
13622 XML_ParserCreate ();
13627 rm -f conftest.
$ac_objext conftest
$ac_exeext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13629 (eval $ac_link) 2>conftest.er1
13631 grep -v '^ *+' conftest.er1
>conftest.err
13633 cat conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try
='test -z "$ac_c_werror_flag"
13637 || test ! -s conftest.err'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; } &&
13643 { ac_try
='test -s conftest$ac_exeext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 ac_cv_lib_expat_XML_ParserCreate
=yes
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 ac_cv_lib_expat_XML_ParserCreate
=no
13656 rm -f conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 LIBS
=$ac_check_lib_save_LIBS
13660 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
13661 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
13662 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
13663 cat >>confdefs.h
<<_ACEOF
13664 #define HAVE_LIBEXPAT 1
13667 LIBS
="-lexpat $LIBS"
13670 echo "$as_me:$LINENO: result: expat library not found or functional." >&5
13671 echo "${ECHO_T}expat library not found or functional." >&6
13675 echo "$as_me:$LINENO: result: internal" >&5
13676 echo "${ECHO_T}internal" >&6
13678 BUILD_TYPE
="$BUILD_TYPE EXPAT"
13682 echo "$as_me:$LINENO: checking which libwpd to use" >&5
13683 echo $ECHO_N "checking which libwpd to use... $ECHO_C" >&6
13684 if test -n "$with_system_libwpd" -o -n "$with_system_libs" && \
13685 test "$with_system_libwpd" != "no"; then
13686 echo "$as_me:$LINENO: result: external" >&5
13687 echo "${ECHO_T}external" >&6
13692 if test -z "$PKG_CONFIG"; then
13693 # Extract the first word of "pkg-config", so it can be a program name with args.
13694 set dummy pkg-config
; ac_word
=$2
13695 echo "$as_me:$LINENO: checking for $ac_word" >&5
13696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 case $PKG_CONFIG in
13702 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13706 for as_dir
in $PATH
13709 test -z "$as_dir" && as_dir
=.
13710 for ac_exec_ext
in '' $ac_executable_extensions; do
13711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13712 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13723 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13725 if test -n "$PKG_CONFIG"; then
13726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13727 echo "${ECHO_T}$PKG_CONFIG" >&6
13729 echo "$as_me:$LINENO: result: no" >&5
13730 echo "${ECHO_T}no" >&6
13735 if test "$PKG_CONFIG" = "no" ; then
13736 echo "*** The pkg-config script could not be found. Make sure it is"
13737 echo "*** in your path, or set the PKG_CONFIG environment variable"
13738 echo "*** to the full path to pkg-config."
13739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13741 PKG_CONFIG_MIN_VERSION
=0.9.0
13742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13743 echo "$as_me:$LINENO: checking for libwpd-0.8 " >&5
13744 echo $ECHO_N "checking for libwpd-0.8 ... $ECHO_C" >&6
13746 if $PKG_CONFIG --exists "libwpd-0.8 " ; then
13747 echo "$as_me:$LINENO: result: yes" >&5
13748 echo "${ECHO_T}yes" >&6
13751 echo "$as_me:$LINENO: checking LIBWPD_CFLAGS" >&5
13752 echo $ECHO_N "checking LIBWPD_CFLAGS... $ECHO_C" >&6
13753 LIBWPD_CFLAGS
=`$PKG_CONFIG --cflags "libwpd-0.8 "`
13754 echo "$as_me:$LINENO: result: $LIBWPD_CFLAGS" >&5
13755 echo "${ECHO_T}$LIBWPD_CFLAGS" >&6
13757 echo "$as_me:$LINENO: checking LIBWPD_LIBS" >&5
13758 echo $ECHO_N "checking LIBWPD_LIBS... $ECHO_C" >&6
13759 LIBWPD_LIBS
=`$PKG_CONFIG --libs "libwpd-0.8 "`
13760 echo "$as_me:$LINENO: result: $LIBWPD_LIBS" >&5
13761 echo "${ECHO_T}$LIBWPD_LIBS" >&6
13765 ## If we have a custom action on failure, don't print errors, but
13766 ## do set a variable so people can do so.
13767 LIBWPD_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpd-0.8 "`
13768 echo $LIBWPD_PKG_ERRORS
13774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13779 if test $succeeded = yes; then
13782 { { echo "$as_me:$LINENO: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
13783 echo "$as_me: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13784 { (exit 1); exit 1; }; }
13788 echo "$as_me:$LINENO: result: internal" >&5
13789 echo "${ECHO_T}internal" >&6
13791 BUILD_TYPE
="$BUILD_TYPE LIBWPD"
13797 echo "$as_me:$LINENO: checking which cppunit to use" >&5
13798 echo $ECHO_N "checking which cppunit to use... $ECHO_C" >&6
13799 if test -n "$with_system_cppunit" -o -n "$with_system_libs" && \
13800 test "$with_system_cppunit" != "no"; then
13801 echo "$as_me:$LINENO: result: external" >&5
13802 echo "${ECHO_T}external" >&6
13804 # might work for earlier, too but go sure. We didn't have
13805 # a system-cppunit before the first version using a proper cppunit
13806 # (and that being 1.12.1) anyway
13810 if test -z "$PKG_CONFIG"; then
13811 # Extract the first word of "pkg-config", so it can be a program name with args.
13812 set dummy pkg-config
; ac_word
=$2
13813 echo "$as_me:$LINENO: checking for $ac_word" >&5
13814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 case $PKG_CONFIG in
13820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13824 for as_dir
in $PATH
13827 test -z "$as_dir" && as_dir
=.
13828 for ac_exec_ext
in '' $ac_executable_extensions; do
13829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13837 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13843 if test -n "$PKG_CONFIG"; then
13844 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13845 echo "${ECHO_T}$PKG_CONFIG" >&6
13847 echo "$as_me:$LINENO: result: no" >&5
13848 echo "${ECHO_T}no" >&6
13853 if test "$PKG_CONFIG" = "no" ; then
13854 echo "*** The pkg-config script could not be found. Make sure it is"
13855 echo "*** in your path, or set the PKG_CONFIG environment variable"
13856 echo "*** to the full path to pkg-config."
13857 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13859 PKG_CONFIG_MIN_VERSION
=0.9.0
13860 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13861 echo "$as_me:$LINENO: checking for cppunit >= 1.12.1 " >&5
13862 echo $ECHO_N "checking for cppunit >= 1.12.1 ... $ECHO_C" >&6
13864 if $PKG_CONFIG --exists "cppunit >= 1.12.1 " ; then
13865 echo "$as_me:$LINENO: result: yes" >&5
13866 echo "${ECHO_T}yes" >&6
13869 echo "$as_me:$LINENO: checking CPPUNIT_CFLAGS" >&5
13870 echo $ECHO_N "checking CPPUNIT_CFLAGS... $ECHO_C" >&6
13871 CPPUNIT_CFLAGS
=`$PKG_CONFIG --cflags "cppunit >= 1.12.1 "`
13872 echo "$as_me:$LINENO: result: $CPPUNIT_CFLAGS" >&5
13873 echo "${ECHO_T}$CPPUNIT_CFLAGS" >&6
13875 echo "$as_me:$LINENO: checking CPPUNIT_LIBS" >&5
13876 echo $ECHO_N "checking CPPUNIT_LIBS... $ECHO_C" >&6
13877 CPPUNIT_LIBS
=`$PKG_CONFIG --libs "cppunit >= 1.12.1 "`
13878 echo "$as_me:$LINENO: result: $CPPUNIT_LIBS" >&5
13879 echo "${ECHO_T}$CPPUNIT_LIBS" >&6
13883 ## If we have a custom action on failure, don't print errors, but
13884 ## do set a variable so people can do so.
13885 CPPUNIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cppunit >= 1.12.1 "`
13886 echo $CPPUNIT_PKG_ERRORS
13892 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13893 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13897 if test $succeeded = yes; then
13900 { { echo "$as_me:$LINENO: error: Library requirements (cppunit >= 1.12.1 ) 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
13901 echo "$as_me: error: Library requirements (cppunit >= 1.12.1 ) 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;}
13902 { (exit 1); exit 1; }; }
13905 echo "$as_me:$LINENO: checking STL compatibility" >&5
13906 echo $ECHO_N "checking STL compatibility... $ECHO_C" >&6
13907 if test "$WITH_STLPORT" != "no"; then
13908 { { echo "$as_me:$LINENO: error: to use system cppunit you need to use --without-stlport" >&5
13909 echo "$as_me: error: to use system cppunit you need to use --without-stlport" >&2;}
13910 { (exit 1); exit 1; }; }
13912 echo "$as_me:$LINENO: result: OK" >&5
13913 echo "${ECHO_T}OK" >&6
13916 echo "$as_me:$LINENO: result: internal" >&5
13917 echo "${ECHO_T}internal" >&6
13919 BUILD_TYPE
="$BUILD_TYPE CPPUNIT"
13925 if test "$test_freetype" = "yes"; then
13926 echo "$as_me:$LINENO: checking whether freetype is available" >&5
13927 echo $ECHO_N "checking whether freetype is available... $ECHO_C" >&6
13931 if test -z "$PKG_CONFIG"; then
13932 # Extract the first word of "pkg-config", so it can be a program name with args.
13933 set dummy pkg-config
; ac_word
=$2
13934 echo "$as_me:$LINENO: checking for $ac_word" >&5
13935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 case $PKG_CONFIG in
13941 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13945 for as_dir
in $PATH
13948 test -z "$as_dir" && as_dir
=.
13949 for ac_exec_ext
in '' $ac_executable_extensions; do
13950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13951 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13958 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13962 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13964 if test -n "$PKG_CONFIG"; then
13965 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13966 echo "${ECHO_T}$PKG_CONFIG" >&6
13968 echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6
13974 if test "$PKG_CONFIG" = "no" ; then
13975 echo "*** The pkg-config script could not be found. Make sure it is"
13976 echo "*** in your path, or set the PKG_CONFIG environment variable"
13977 echo "*** to the full path to pkg-config."
13978 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13980 PKG_CONFIG_MIN_VERSION
=0.9.0
13981 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13982 echo "$as_me:$LINENO: checking for freetype2 >= 2.0 " >&5
13983 echo $ECHO_N "checking for freetype2 >= 2.0 ... $ECHO_C" >&6
13985 if $PKG_CONFIG --exists "freetype2 >= 2.0 " ; then
13986 echo "$as_me:$LINENO: result: yes" >&5
13987 echo "${ECHO_T}yes" >&6
13990 echo "$as_me:$LINENO: checking FREETYPE_CFLAGS" >&5
13991 echo $ECHO_N "checking FREETYPE_CFLAGS... $ECHO_C" >&6
13992 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags "freetype2 >= 2.0 "`
13993 echo "$as_me:$LINENO: result: $FREETYPE_CFLAGS" >&5
13994 echo "${ECHO_T}$FREETYPE_CFLAGS" >&6
13996 echo "$as_me:$LINENO: checking FREETYPE_LIBS" >&5
13997 echo $ECHO_N "checking FREETYPE_LIBS... $ECHO_C" >&6
13998 FREETYPE_LIBS
=`$PKG_CONFIG --libs "freetype2 >= 2.0 "`
13999 echo "$as_me:$LINENO: result: $FREETYPE_LIBS" >&5
14000 echo "${ECHO_T}$FREETYPE_LIBS" >&6
14004 ## If we have a custom action on failure, don't print errors, but
14005 ## do set a variable so people can do so.
14006 FREETYPE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.0 "`
14007 echo $FREETYPE_PKG_ERRORS
14013 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14014 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14018 if test $succeeded = yes; then
14021 { { echo "$as_me:$LINENO: error: Library requirements (freetype2 >= 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
14022 echo "$as_me: error: Library requirements (freetype2 >= 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;}
14023 { (exit 1); exit 1; }; }
14030 if test "$test_freetype" = "yes"; then
14031 save_CPPFLAGS
="$CPPFLAGS"
14032 save_LDFLAGS
="$LDFLAGS"
14034 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
14035 LDFLAGS
="$LDFLAGS $FREETYPE_LIBS"
14036 echo "$as_me:$LINENO: checking for FT_GlyphSlot_Embolden in -lfreetype" >&5
14037 echo $ECHO_N "checking for FT_GlyphSlot_Embolden in -lfreetype... $ECHO_C" >&6
14038 if test "${ac_cv_lib_freetype_FT_GlyphSlot_Embolden+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 ac_check_lib_save_LIBS
=$LIBS
14042 LIBS
="-lfreetype $LIBS"
14043 cat >conftest.
$ac_ext <<_ACEOF
14046 cat confdefs.h
>>conftest.
$ac_ext
14047 cat >>conftest.
$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14050 /* Override any gcc2 internal prototype to avoid an error. */
14054 /* We use char because int might match the return type of a gcc2
14055 builtin and then its argument prototype would still apply. */
14056 char FT_GlyphSlot_Embolden ();
14060 FT_GlyphSlot_Embolden ();
14065 rm -f conftest.
$ac_objext conftest
$ac_exeext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14067 (eval $ac_link) 2>conftest.er1
14069 grep -v '^ *+' conftest.er1
>conftest.err
14071 cat conftest.err
>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); } &&
14074 { ac_try
='test -z "$ac_c_werror_flag"
14075 || test ! -s conftest.err'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; } &&
14081 { ac_try
='test -s conftest$ac_exeext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_cv_lib_freetype_FT_GlyphSlot_Embolden
=yes
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.
$ac_ext >&5
14092 ac_cv_lib_freetype_FT_GlyphSlot_Embolden
=no
14094 rm -f conftest.err conftest.
$ac_objext \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 LIBS
=$ac_check_lib_save_LIBS
14098 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&5
14099 echo "${ECHO_T}$ac_cv_lib_freetype_FT_GlyphSlot_Embolden" >&6
14100 if test $ac_cv_lib_freetype_FT_GlyphSlot_Embolden = yes; then
14101 USE_FT_EMBOLDEN
="YES"
14103 USE_FT_EMBOLDEN
="NO"
14106 LDFLAGS
="$save_LDFLAGS"
14107 CPPFLAGS
="$save_CPPFLAGS"
14112 if test -n "$with_system_libxslt" -o -n "$with_system_libs" && \
14113 test "$with_system_libxslt" != "no"; then
14114 if test -z "$with_system_libxml" -a -z "$with_system_libs" || \
14115 test "$with_system_libxml" = "no"; then
14116 # somehow AC_MSG_WARN won't work...
14117 echo "to prevent incompatibilities between internal libxml2 and libxslt, the office will be build with system-libxml"
14118 echo "to prevent incompatibilities between internal libxml2 and libxslt, the office will be build with system-libxml" >> warn
14119 with_system_libxml
=yes
14122 if test -n "$with_system_libxml" -o -n "$with_system_libs" && \
14123 test "$with_system_libxml" != "no"; then
14124 if test -z "$with_system_libxslt" -a -z "$with_system_libs" || \
14125 test "$with_system_libxslt" = "no"; then
14126 # somehow AC_MSG_WARN won't work...
14127 echo "to prevent incompatibilities between internal libxslt and libxml2, the office will be build with system-libxslt"
14128 echo "to prevent incompatibilities between internal libxslt and libxml2, the office will be build with system-libxslt" >> warn
14129 with_system_libxslt
=yes
14133 echo "$as_me:$LINENO: checking which libxslt to use" >&5
14134 echo $ECHO_N "checking which libxslt to use... $ECHO_C" >&6
14135 if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
14136 "$_os" = "Darwin" && \
14137 test "$with_system_libxslt" != "no"; then
14138 echo "$as_me:$LINENO: result: external" >&5
14139 echo "${ECHO_T}external" >&6
14142 if test "$_os" = "Darwin"; then
14143 echo "$as_me:$LINENO: checking LIBXSLT_CFLAGS" >&5
14144 echo $ECHO_N "checking LIBXSLT_CFLAGS... $ECHO_C" >&6
14145 LIBXSLT_CFLAGS
=`xslt-config --cflags`
14146 echo "$as_me:$LINENO: result: $LIBXSLT_CFLAGS" >&5
14147 echo "${ECHO_T}$LIBXSLT_CFLAGS" >&6
14148 echo "$as_me:$LINENO: checking LIBXSLT_LIBS" >&5
14149 echo $ECHO_N "checking LIBXSLT_LIBS... $ECHO_C" >&6
14150 LIBXSLT_LIBS
=`xslt-config --libs`
14151 echo "$as_me:$LINENO: result: $LIBXSLT_LIBS" >&5
14152 echo "${ECHO_T}$LIBXSLT_LIBS" >&6
14159 if test -z "$PKG_CONFIG"; then
14160 # Extract the first word of "pkg-config", so it can be a program name with args.
14161 set dummy pkg-config
; ac_word
=$2
14162 echo "$as_me:$LINENO: checking for $ac_word" >&5
14163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14164 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 case $PKG_CONFIG in
14169 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14173 for as_dir
in $PATH
14176 test -z "$as_dir" && as_dir
=.
14177 for ac_exec_ext
in '' $ac_executable_extensions; do
14178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14179 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14186 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14190 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14192 if test -n "$PKG_CONFIG"; then
14193 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14194 echo "${ECHO_T}$PKG_CONFIG" >&6
14196 echo "$as_me:$LINENO: result: no" >&5
14197 echo "${ECHO_T}no" >&6
14202 if test "$PKG_CONFIG" = "no" ; then
14203 echo "*** The pkg-config script could not be found. Make sure it is"
14204 echo "*** in your path, or set the PKG_CONFIG environment variable"
14205 echo "*** to the full path to pkg-config."
14206 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14208 PKG_CONFIG_MIN_VERSION
=0.9.0
14209 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14210 echo "$as_me:$LINENO: checking for libxslt" >&5
14211 echo $ECHO_N "checking for libxslt... $ECHO_C" >&6
14213 if $PKG_CONFIG --exists "libxslt" ; then
14214 echo "$as_me:$LINENO: result: yes" >&5
14215 echo "${ECHO_T}yes" >&6
14218 echo "$as_me:$LINENO: checking LIBXSLT_CFLAGS" >&5
14219 echo $ECHO_N "checking LIBXSLT_CFLAGS... $ECHO_C" >&6
14220 LIBXSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt"`
14221 echo "$as_me:$LINENO: result: $LIBXSLT_CFLAGS" >&5
14222 echo "${ECHO_T}$LIBXSLT_CFLAGS" >&6
14224 echo "$as_me:$LINENO: checking LIBXSLT_LIBS" >&5
14225 echo $ECHO_N "checking LIBXSLT_LIBS... $ECHO_C" >&6
14226 LIBXSLT_LIBS
=`$PKG_CONFIG --libs "libxslt"`
14227 echo "$as_me:$LINENO: result: $LIBXSLT_LIBS" >&5
14228 echo "${ECHO_T}$LIBXSLT_LIBS" >&6
14232 ## If we have a custom action on failure, don't print errors, but
14233 ## do set a variable so people can do so.
14234 LIBXSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt"`
14235 echo $LIBXSLT_PKG_ERRORS
14241 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14242 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14246 if test $succeeded = yes; then
14249 { { echo "$as_me:$LINENO: error: Library requirements (libxslt) 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
14250 echo "$as_me: error: Library requirements (libxslt) 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;}
14251 { (exit 1); exit 1; }; }
14257 # Extract the first word of "xsltproc", so it can be a program name with args.
14258 set dummy xsltproc
; ac_word
=$2
14259 echo "$as_me:$LINENO: checking for $ac_word" >&5
14260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14261 if test "${ac_cv_path_XSLTPROC+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
14269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14270 for as_dir
in $PATH
14273 test -z "$as_dir" && as_dir
=.
14274 for ac_exec_ext
in '' $ac_executable_extensions; do
14275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14276 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
14277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14283 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC
="no"
14287 XSLTPROC
=$ac_cv_path_XSLTPROC
14289 if test -n "$XSLTPROC"; then
14290 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
14291 echo "${ECHO_T}$XSLTPROC" >&6
14293 echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6
14297 if test "$XSLTPROC" = "no"; then
14298 { { echo "$as_me:$LINENO: error: xsltproc is required" >&5
14299 echo "$as_me: error: xsltproc is required" >&2;}
14300 { (exit 1); exit 1; }; }
14303 echo "$as_me:$LINENO: result: internal" >&5
14304 echo "${ECHO_T}internal" >&6
14306 BUILD_TYPE
="$BUILD_TYPE LIBXSLT"
14313 echo "$as_me:$LINENO: checking which libxml to use" >&5
14314 echo $ECHO_N "checking which libxml to use... $ECHO_C" >&6
14315 if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
14316 "$_os" = "Darwin" && \
14317 test "$with_system_libxml" != "no"; then
14318 echo "$as_me:$LINENO: result: external" >&5
14319 echo "${ECHO_T}external" >&6
14321 if test "$_os" = "Darwin"; then
14322 echo "$as_me:$LINENO: checking LIBXML_CFLAGS" >&5
14323 echo $ECHO_N "checking LIBXML_CFLAGS... $ECHO_C" >&6
14324 LIBXML_CFLAGS
=`xml2-config --cflags`
14325 echo "$as_me:$LINENO: result: $LIBXML_CFLAGS" >&5
14326 echo "${ECHO_T}$LIBXML_CFLAGS" >&6
14327 echo "$as_me:$LINENO: checking LIBXML_LIBS" >&5
14328 echo $ECHO_N "checking LIBXML_LIBS... $ECHO_C" >&6
14329 LIBXML_LIBS
=`xml2-config --libs`
14330 echo "$as_me:$LINENO: result: $LIBXML_LIBS" >&5
14331 echo "${ECHO_T}$LIBXML_LIBS" >&6
14338 if test -z "$PKG_CONFIG"; then
14339 # Extract the first word of "pkg-config", so it can be a program name with args.
14340 set dummy pkg-config
; ac_word
=$2
14341 echo "$as_me:$LINENO: checking for $ac_word" >&5
14342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14343 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 case $PKG_CONFIG in
14348 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14352 for as_dir
in $PATH
14355 test -z "$as_dir" && as_dir
=.
14356 for ac_exec_ext
in '' $ac_executable_extensions; do
14357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14358 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14369 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14371 if test -n "$PKG_CONFIG"; then
14372 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14373 echo "${ECHO_T}$PKG_CONFIG" >&6
14375 echo "$as_me:$LINENO: result: no" >&5
14376 echo "${ECHO_T}no" >&6
14381 if test "$PKG_CONFIG" = "no" ; then
14382 echo "*** The pkg-config script could not be found. Make sure it is"
14383 echo "*** in your path, or set the PKG_CONFIG environment variable"
14384 echo "*** to the full path to pkg-config."
14385 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14387 PKG_CONFIG_MIN_VERSION
=0.9.0
14388 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14389 echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.0" >&5
14390 echo $ECHO_N "checking for libxml-2.0 >= 2.0... $ECHO_C" >&6
14392 if $PKG_CONFIG --exists "libxml-2.0 >= 2.0" ; then
14393 echo "$as_me:$LINENO: result: yes" >&5
14394 echo "${ECHO_T}yes" >&6
14397 echo "$as_me:$LINENO: checking LIBXML_CFLAGS" >&5
14398 echo $ECHO_N "checking LIBXML_CFLAGS... $ECHO_C" >&6
14399 LIBXML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0"`
14400 echo "$as_me:$LINENO: result: $LIBXML_CFLAGS" >&5
14401 echo "${ECHO_T}$LIBXML_CFLAGS" >&6
14403 echo "$as_me:$LINENO: checking LIBXML_LIBS" >&5
14404 echo $ECHO_N "checking LIBXML_LIBS... $ECHO_C" >&6
14405 LIBXML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0"`
14406 echo "$as_me:$LINENO: result: $LIBXML_LIBS" >&5
14407 echo "${ECHO_T}$LIBXML_LIBS" >&6
14411 ## If we have a custom action on failure, don't print errors, but
14412 ## do set a variable so people can do so.
14413 LIBXML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.0"`
14414 echo $LIBXML_PKG_ERRORS
14420 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14421 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14425 if test $succeeded = yes; then
14428 { { echo "$as_me:$LINENO: error: Library requirements (libxml-2.0 >= 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
14429 echo "$as_me: error: Library requirements (libxml-2.0 >= 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;}
14430 { (exit 1); exit 1; }; }
14435 BUILD_TYPE
="$BUILD_TYPE LIBXMLSEC"
14437 echo "$as_me:$LINENO: result: internal" >&5
14438 echo "${ECHO_T}internal" >&6
14440 BUILD_TYPE
="$BUILD_TYPE LIBXML2 LIBXMLSEC"
14446 echo "$as_me:$LINENO: checking which python to use" >&5
14447 echo $ECHO_N "checking which python to use... $ECHO_C" >&6
14448 if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then
14449 with_system_python
=yes
14450 echo "$as_me:$LINENO: result: compiling against MacOSX10.4u.sdk (python version 2.3)" >&5
14451 echo "${ECHO_T}compiling against MacOSX10.4u.sdk (python version 2.3)" >&6
14452 PYTHON_CFLAGS
="-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3"
14453 PYTHON_LIBS
="-framework Python"
14454 elif test -n "$with_system_python" -o -n "$with_system_libs" && \
14455 test "$with_system_python" != "no"; then
14456 with_system_python
=yes
14457 echo "$as_me:$LINENO: result: external" >&5
14458 echo "${ECHO_T}external" >&6
14463 if test -n "$PYTHON"; then
14464 # If the user set $PYTHON, use it and don't search something else.
14465 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2" >&5
14466 echo $ECHO_N "checking whether $PYTHON version >= 2.2... $ECHO_C" >&6
14467 prog
="import sys, string
14468 # split strings by '.' and convert to numeric. Append some zeros
14469 # because we need at least 4 digits for the hex conversion.
14470 minver = map(int, string.split('2.2', '.')) + [0, 0, 0]
14472 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
14473 sys.exit(sys.hexversion < minverhex)"
14474 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14475 ($PYTHON -c "$prog") >&5 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; then
14479 echo "$as_me:$LINENO: result: yes" >&5
14480 echo "${ECHO_T}yes" >&6
14482 { { echo "$as_me:$LINENO: error: too old" >&5
14483 echo "$as_me: error: too old" >&2;}
14484 { (exit 1); exit 1; }; }
14487 am_display_PYTHON
=$PYTHON
14489 # Otherwise, try each interpreter until we find one that satisfies
14491 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2" >&5
14492 echo $ECHO_N "checking for a Python interpreter with version >= 2.2... $ECHO_C" >&6
14493 if test "${am_cv_pathless_PYTHON+set}" = set; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14497 for am_cv_pathless_PYTHON
in python python2 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
14498 test "$am_cv_pathless_PYTHON" = none
&& break
14499 prog
="import sys, string
14500 # split strings by '.' and convert to numeric. Append some zeros
14501 # because we need at least 4 digits for the hex conversion.
14502 minver = map(int, string.split('2.2', '.')) + [0, 0, 0]
14504 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
14505 sys.exit(sys.hexversion < minverhex)"
14506 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14507 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; then
14516 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
14517 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
14518 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14519 if test "$am_cv_pathless_PYTHON" = none
; then
14522 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14523 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
14524 echo "$as_me:$LINENO: checking for $ac_word" >&5
14525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14526 if test "${ac_cv_path_PYTHON+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14535 for as_dir
in $PATH
14538 test -z "$as_dir" && as_dir
=.
14539 for ac_exec_ext
in '' $ac_executable_extensions; do
14540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14541 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14551 PYTHON
=$ac_cv_path_PYTHON
14553 if test -n "$PYTHON"; then
14554 echo "$as_me:$LINENO: result: $PYTHON" >&5
14555 echo "${ECHO_T}$PYTHON" >&6
14557 echo "$as_me:$LINENO: result: no" >&5
14558 echo "${ECHO_T}no" >&6
14562 am_display_PYTHON
=$am_cv_pathless_PYTHON
14566 if test "$PYTHON" = :; then
14567 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
14568 echo "$as_me: error: no suitable Python interpreter found" >&2;}
14569 { (exit 1); exit 1; }; }
14573 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
14574 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
14575 if test "${am_cv_python_version+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
14580 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
14581 echo "${ECHO_T}$am_cv_python_version" >&6
14582 PYTHON_VERSION
=$am_cv_python_version
14586 PYTHON_PREFIX
='${prefix}'
14588 PYTHON_EXEC_PREFIX
='${exec_prefix}'
14592 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
14593 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
14594 if test "${am_cv_python_platform+set}" = set; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
14599 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
14600 echo "${ECHO_T}$am_cv_python_platform" >&6
14601 PYTHON_PLATFORM
=$am_cv_python_platform
14606 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
14607 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
14608 if test "${am_cv_python_pythondir+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
14612 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14614 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
14615 echo "${ECHO_T}$am_cv_python_pythondir" >&6
14616 pythondir
=$am_cv_python_pythondir
14620 pkgpythondir
=\
${pythondir}/$PACKAGE
14623 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
14624 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
14625 if test "${am_cv_python_pyexecdir+set}" = set; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
14629 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
14631 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
14632 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
14633 pyexecdir
=$am_cv_python_pyexecdir
14637 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
14645 python_include
=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('INCLUDEPY');"`
14646 python_version
=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('VERSION');"`
14647 PYTHON_CFLAGS
="-I$python_include"
14648 PYTHON_LIBS
="-lpython$python_version"
14650 if test "$with_system_python" = "yes" ; then
14652 save_CPPFLAGS
="$CPPFLAGS"
14653 CPPFLAGS
="$CPPFLAGS $PYTHON_CFLAGS"
14654 if test "${ac_cv_header_Python_h+set}" = set; then
14655 echo "$as_me:$LINENO: checking for Python.h" >&5
14656 echo $ECHO_N "checking for Python.h... $ECHO_C" >&6
14657 if test "${ac_cv_header_Python_h+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
14661 echo "${ECHO_T}$ac_cv_header_Python_h" >&6
14663 # Is the header compilable?
14664 echo "$as_me:$LINENO: checking Python.h usability" >&5
14665 echo $ECHO_N "checking Python.h usability... $ECHO_C" >&6
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14673 #include <Python.h>
14675 rm -f conftest.
$ac_objext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14677 (eval $ac_compile) 2>conftest.er1
14679 grep -v '^ *+' conftest.er1
>conftest.err
14681 cat conftest.err
>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try
='test -z "$ac_c_werror_flag"
14685 || test ! -s conftest.err'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; } &&
14691 { ac_try
='test -s conftest.$ac_objext'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; }; then
14697 ac_header_compiler
=yes
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.
$ac_ext >&5
14702 ac_header_compiler
=no
14704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14706 echo "${ECHO_T}$ac_header_compiler" >&6
14708 # Is the header present?
14709 echo "$as_me:$LINENO: checking Python.h presence" >&5
14710 echo $ECHO_N "checking Python.h presence... $ECHO_C" >&6
14711 cat >conftest.
$ac_ext <<_ACEOF
14714 cat confdefs.h
>>conftest.
$ac_ext
14715 cat >>conftest.
$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 #include <Python.h>
14719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14722 grep -v '^ *+' conftest.er1
>conftest.err
14724 cat conftest.err
>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } >/dev
/null
; then
14727 if test -s conftest.err
; then
14728 ac_cpp_err
=$ac_c_preproc_warn_flag
14729 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14736 if test -z "$ac_cpp_err"; then
14737 ac_header_preproc
=yes
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.
$ac_ext >&5
14742 ac_header_preproc
=no
14744 rm -f conftest.err conftest.
$ac_ext
14745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14746 echo "${ECHO_T}$ac_header_preproc" >&6
14748 # So? What about this header?
14749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14751 { echo "$as_me:$LINENO: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
14752 echo "$as_me: WARNING: Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14753 { echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the compiler's result" >&5
14754 echo "$as_me: WARNING: Python.h: proceeding with the compiler's result" >&2;}
14755 ac_header_preproc
=yes
14758 { echo "$as_me:$LINENO: WARNING: Python.h: present but cannot be compiled" >&5
14759 echo "$as_me: WARNING: Python.h: present but cannot be compiled" >&2;}
14760 { echo "$as_me:$LINENO: WARNING: Python.h: check for missing prerequisite headers?" >&5
14761 echo "$as_me: WARNING: Python.h: check for missing prerequisite headers?" >&2;}
14762 { echo "$as_me:$LINENO: WARNING: Python.h: see the Autoconf documentation" >&5
14763 echo "$as_me: WARNING: Python.h: see the Autoconf documentation" >&2;}
14764 { echo "$as_me:$LINENO: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&5
14765 echo "$as_me: WARNING: Python.h: section \"Present But Cannot Be Compiled\"" >&2;}
14766 { echo "$as_me:$LINENO: WARNING: Python.h: proceeding with the preprocessor's result" >&5
14767 echo "$as_me: WARNING: Python.h: proceeding with the preprocessor's result" >&2;}
14768 { echo "$as_me:$LINENO: WARNING: Python.h: in the future, the compiler will take precedence" >&5
14769 echo "$as_me: WARNING: Python.h: in the future, the compiler will take precedence" >&2;}
14772 ## ------------------------------------------ ##
14773 ## Report this to the AC_PACKAGE_NAME lists. ##
14774 ## ------------------------------------------ ##
14777 sed "s/^/$as_me: WARNING: /" >&2
14780 echo "$as_me:$LINENO: checking for Python.h" >&5
14781 echo $ECHO_N "checking for Python.h... $ECHO_C" >&6
14782 if test "${ac_cv_header_Python_h+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 ac_cv_header_Python_h
=$ac_header_preproc
14787 echo "$as_me:$LINENO: result: $ac_cv_header_Python_h" >&5
14788 echo "${ECHO_T}$ac_cv_header_Python_h" >&6
14791 if test $ac_cv_header_Python_h = yes; then
14794 { { echo "$as_me:$LINENO: error: Python headers not found" >&5
14795 echo "$as_me: error: Python headers not found" >&2;}
14796 { (exit 1); exit 1; }; }
14800 CPPFLAGS
="$save_CPPFLAGS"
14803 BUILD_TYPE
="$BUILD_TYPE PYTHON"
14804 echo "$as_me:$LINENO: result: internal" >&5
14805 echo "${ECHO_T}internal" >&6
14806 # Embedded python dies without Home set
14807 if test "z$HOME" = "z"; then
14810 # bz2 tarball and bzip2 is not standard
14811 if test -z "$BZIP2"; then
14812 # Extract the first word of "bzip2", so it can be a program name with args.
14813 set dummy
bzip2; ac_word
=$2
14814 echo "$as_me:$LINENO: checking for $ac_word" >&5
14815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14816 if test "${ac_cv_path_BZIP2+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
14824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14825 for as_dir
in $PATH
14828 test -z "$as_dir" && as_dir
=.
14829 for ac_exec_ext
in '' $ac_executable_extensions; do
14830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14831 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
14832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14841 BZIP2
=$ac_cv_path_BZIP2
14843 if test -n "$BZIP2"; then
14844 echo "$as_me:$LINENO: result: $BZIP2" >&5
14845 echo "${ECHO_T}$BZIP2" >&6
14847 echo "$as_me:$LINENO: result: no" >&5
14848 echo "${ECHO_T}no" >&6
14851 if test -z "$BZIP2"; then
14852 { { echo "$as_me:$LINENO: error: the internal Python module has a .tar.bz2. You need bzip2" >&5
14853 echo "$as_me: error: the internal Python module has a .tar.bz2. You need bzip2" >&2;}
14854 { (exit 1); exit 1; }; }
14861 HOME
=`echo $HOME | sed 's:\\\\:/:g'`
14864 echo "$as_me:$LINENO: checking which db to use" >&5
14865 echo $ECHO_N "checking which db to use... $ECHO_C" >&6
14866 if test -n "$with_system_db" -o -n "$with_system_libs" && \
14867 test "$with_system_db" != "no"; then
14869 echo "$as_me:$LINENO: result: external" >&5
14870 echo "${ECHO_T}external" >&6
14871 echo "$as_me:$LINENO: checking for db.h" >&5
14872 echo $ECHO_N "checking for db.h... $ECHO_C" >&6
14873 if test "${ac_cv_header_db_h+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14887 rm -f conftest.
$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -z "$ac_c_werror_flag"
14897 || test ! -s conftest.err'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; } &&
14903 { ac_try
='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_cv_header_db_h
=yes
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.
$ac_ext >&5
14914 ac_cv_header_db_h
=no
14916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14918 echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
14919 echo "${ECHO_T}$ac_cv_header_db_h" >&6
14920 if test $ac_cv_header_db_h = yes; then
14921 DB_INCLUDES
=/usr
/include
14924 CFLAGS
=-I/usr
/include
/db4
14925 echo "$as_me:$LINENO: checking for db4/db.h" >&5
14926 echo $ECHO_N "checking for db4/db.h... $ECHO_C" >&6
14927 if test "${ac_cv_header_db4_db_h+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 cat >conftest.
$ac_ext <<_ACEOF
14933 cat confdefs.h
>>conftest.
$ac_ext
14934 cat >>conftest.
$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14938 #include <db4/db.h>
14940 rm -f conftest.
$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>conftest.er1
14944 grep -v '^ *+' conftest.er1
>conftest.err
14946 cat conftest.err
>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try
='test -z "$ac_c_werror_flag"
14950 || test ! -s conftest.err'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; } &&
14956 { ac_try
='test -s conftest.$ac_objext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 ac_cv_header_db4_db_h
=yes
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.
$ac_ext >&5
14967 ac_cv_header_db4_db_h
=no
14969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14971 echo "$as_me:$LINENO: result: $ac_cv_header_db4_db_h" >&5
14972 echo "${ECHO_T}$ac_cv_header_db4_db_h" >&6
14973 if test $ac_cv_header_db4_db_h = yes; then
14974 DB_INCLUDES
=/usr
/include
/db4
14976 { { echo "$as_me:$LINENO: error: no. install the db4 libraries" >&5
14977 echo "$as_me: error: no. install the db4 libraries" >&2;}
14978 { (exit 1); exit 1; }; }
14986 echo "$as_me:$LINENO: checking whether db is at least 4.1" >&5
14987 echo $ECHO_N "checking whether db is at least 4.1... $ECHO_C" >&6
14988 if test "$cross_compiling" = yes; then
14989 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14990 See \`config.log' for more details." >&5
14991 echo "$as_me: error: cannot run test program while cross compiling
14992 See \`config.log' for more details." >&2;}
14993 { (exit 1); exit 1; }; }
14995 cat >conftest.
$ac_ext <<_ACEOF
14998 cat confdefs.h
>>conftest.
$ac_ext
14999 cat >>conftest.
$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15004 int main(int argc, char **argv) {
15005 if(DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)) return 0;
15010 rm -f conftest
$ac_exeext
15011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15012 (eval $ac_link) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15021 echo "$as_me:$LINENO: result: yes" >&5
15022 echo "${ECHO_T}yes" >&6
15024 echo "$as_me: program exited with status $ac_status" >&5
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.
$ac_ext >&5
15028 ( exit $ac_status )
15029 { { echo "$as_me:$LINENO: error: no. you need at least db 4.1" >&5
15030 echo "$as_me: error: no. you need at least db 4.1" >&2;}
15031 { (exit 1); exit 1; }; }
15033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15036 echo "$as_me:$LINENO: checking for main in -ldb" >&5
15037 echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6
15038 if test "${ac_cv_lib_db_main+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 ac_check_lib_save_LIBS
=$LIBS
15043 cat >conftest.
$ac_ext <<_ACEOF
15046 cat confdefs.h
>>conftest.
$ac_ext
15047 cat >>conftest.
$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15059 rm -f conftest.
$ac_objext conftest
$ac_exeext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>conftest.er1
15063 grep -v '^ *+' conftest.er1
>conftest.err
15065 cat conftest.err
>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } &&
15068 { ac_try
='test -z "$ac_c_werror_flag"
15069 || test ! -s conftest.err'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; } &&
15075 { ac_try
='test -s conftest$ac_exeext'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; }; then
15081 ac_cv_lib_db_main
=yes
15083 echo "$as_me: failed program was:" >&5
15084 sed 's/^/| /' conftest.
$ac_ext >&5
15086 ac_cv_lib_db_main
=no
15088 rm -f conftest.err conftest.
$ac_objext \
15089 conftest
$ac_exeext conftest.
$ac_ext
15090 LIBS
=$ac_check_lib_save_LIBS
15092 echo "$as_me:$LINENO: result: $ac_cv_lib_db_main" >&5
15093 echo "${ECHO_T}$ac_cv_lib_db_main" >&6
15094 if test $ac_cv_lib_db_main = yes; then
15095 cat >>confdefs.h
<<_ACEOF
15096 #define HAVE_LIBDB 1
15102 { { echo "$as_me:$LINENO: error: db not installed or functional" >&5
15103 echo "$as_me: error: db not installed or functional" >&2;}
15104 { (exit 1); exit 1; }; }
15106 ac_cv_lib_db
=ac_cv_lib_db_main
15108 SCPDEFS
="$SCPDEFS -DSYSTEM_DB"
15110 echo "$as_me:$LINENO: result: internal" >&5
15111 echo "${ECHO_T}internal" >&6
15113 BUILD_TYPE
="$BUILD_TYPE BERKELEYDB"
15120 echo "$as_me:$LINENO: checking which lucene to use" >&5
15121 echo $ECHO_N "checking which lucene to use... $ECHO_C" >&6
15122 if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
15123 test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
15124 echo "$as_me:$LINENO: result: external" >&5
15125 echo "${ECHO_T}external" >&6
15127 if test -z $LUCENE_CORE_JAR; then
15128 echo "$as_me:$LINENO: checking for /usr/share/java/lucene-core-2.3.jar" >&5
15129 echo $ECHO_N "checking for /usr/share/java/lucene-core-2.3.jar... $ECHO_C" >&6
15130 if test "${ac_cv_file__usr_share_java_lucene_core_2_3_jar+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15133 test "$cross_compiling" = yes &&
15134 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15135 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15136 { (exit 1); exit 1; }; }
15137 if test -r "/usr/share/java/lucene-core-2.3.jar"; then
15138 ac_cv_file__usr_share_java_lucene_core_2_3_jar
=yes
15140 ac_cv_file__usr_share_java_lucene_core_2_3_jar
=no
15143 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&5
15144 echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_core_2_3_jar" >&6
15145 if test $ac_cv_file__usr_share_java_lucene_core_2_3_jar = yes; then
15146 LUCENE_CORE_JAR
=/usr
/share
/java
/lucene-core-2.3.jar
15149 echo "$as_me:$LINENO: checking for /usr/share/java/lucene-core.jar" >&5
15150 echo $ECHO_N "checking for /usr/share/java/lucene-core.jar... $ECHO_C" >&6
15151 if test "${ac_cv_file__usr_share_java_lucene_core_jar+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 test "$cross_compiling" = yes &&
15155 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15156 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15157 { (exit 1); exit 1; }; }
15158 if test -r "/usr/share/java/lucene-core.jar"; then
15159 ac_cv_file__usr_share_java_lucene_core_jar
=yes
15161 ac_cv_file__usr_share_java_lucene_core_jar
=no
15164 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_core_jar" >&5
15165 echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_core_jar" >&6
15166 if test $ac_cv_file__usr_share_java_lucene_core_jar = yes; then
15167 LUCENE_CORE_JAR
=/usr
/share
/java
/lucene-core.jar
15169 { { echo "$as_me:$LINENO: error: lucene-core.jar replacement not found" >&5
15170 echo "$as_me: error: lucene-core.jar replacement not found" >&2;}
15171 { (exit 1); exit 1; }; }
15180 as_ac_File
=`echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
15181 echo "$as_me:$LINENO: checking for $LUCENE_CORE_JAR" >&5
15182 echo $ECHO_N "checking for $LUCENE_CORE_JAR... $ECHO_C" >&6
15183 if eval "test \"\${$as_ac_File+set}\" = set"; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 test "$cross_compiling" = yes &&
15187 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15188 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15189 { (exit 1); exit 1; }; }
15190 if test -r "$LUCENE_CORE_JAR"; then
15191 eval "$as_ac_File=yes"
15193 eval "$as_ac_File=no"
15196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15197 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15198 if test `eval echo '${'$as_ac_File'}'` = yes; then
15201 { { echo "$as_me:$LINENO: error: lucene-core.jar not found." >&5
15202 echo "$as_me: error: lucene-core.jar not found." >&2;}
15203 { (exit 1); exit 1; }; }
15208 if test -z $LUCENE_ANALYZERS_JAR; then
15209 echo "$as_me:$LINENO: checking for /usr/share/java/lucene-analyzers-2.3.jar" >&5
15210 echo $ECHO_N "checking for /usr/share/java/lucene-analyzers-2.3.jar... $ECHO_C" >&6
15211 if test "${ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 test "$cross_compiling" = yes &&
15215 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15216 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15217 { (exit 1); exit 1; }; }
15218 if test -r "/usr/share/java/lucene-analyzers-2.3.jar"; then
15219 ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar
=yes
15221 ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar
=no
15224 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&5
15225 echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar" >&6
15226 if test $ac_cv_file__usr_share_java_lucene_analyzers_2_3_jar = yes; then
15227 LUCENE_ANALYZERS_JAR
=/usr
/share
/java
/lucene-analyzers-2.3.jar
15230 echo "$as_me:$LINENO: checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar" >&5
15231 echo $ECHO_N "checking for /usr/share/java/lucene-contrib/lucene-analyzers.jar... $ECHO_C" >&6
15232 if test "${ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 test "$cross_compiling" = yes &&
15236 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15237 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15238 { (exit 1); exit 1; }; }
15239 if test -r "/usr/share/java/lucene-contrib/lucene-analyzers.jar"; then
15240 ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar
=yes
15242 ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar
=no
15245 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&5
15246 echo "${ECHO_T}$ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar" >&6
15247 if test $ac_cv_file__usr_share_java_lucene_contrib_lucene_analyzers_jar = yes; then
15248 LUCENE_ANALYZERS_JAR
=/usr
/share
/java
/lucene-contrib
/lucene-analyzers.jar
15250 { { echo "$as_me:$LINENO: error: lucene-analyzers.jar replacement not found." >&5
15251 echo "$as_me: error: lucene-analyzers.jar replacement not found." >&2;}
15252 { (exit 1); exit 1; }; }
15261 as_ac_File
=`echo "ac_cv_file_$LUCENE_CORE_JAR" | $as_tr_sh`
15262 echo "$as_me:$LINENO: checking for $LUCENE_CORE_JAR" >&5
15263 echo $ECHO_N "checking for $LUCENE_CORE_JAR... $ECHO_C" >&6
15264 if eval "test \"\${$as_ac_File+set}\" = set"; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 test "$cross_compiling" = yes &&
15268 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15269 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15270 { (exit 1); exit 1; }; }
15271 if test -r "$LUCENE_CORE_JAR"; then
15272 eval "$as_ac_File=yes"
15274 eval "$as_ac_File=no"
15277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15278 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15279 if test `eval echo '${'$as_ac_File'}'` = yes; then
15282 { { echo "$as_me:$LINENO: error: lucene-analyzers.jar not found." >&5
15283 echo "$as_me: error: lucene-analyzers.jar not found." >&2;}
15284 { (exit 1); exit 1; }; }
15288 echo "$as_me:$LINENO: checking whether lucene is version 2.x" >&5
15289 echo $ECHO_N "checking whether lucene is version 2.x... $ECHO_C" >&6
15290 export LUCENE_CORE_JAR
15291 if $PERL -e 'use Archive::Zip;
15292 my $file = "$ENV{'LUCENE_CORE_JAR
'}";
15293 my $zip = Archive::Zip->new( $file );
15294 my $mf = $zip->contents ( "META-INF/MANIFEST.MF" );
15295 if ( $mf =~ m/Specification-Version: 2.*/ ) {
15300 echo "$as_me:$LINENO: result: yes" >&5
15301 echo "${ECHO_T}yes" >&6
15303 { { echo "$as_me:$LINENO: error: no, you need lucene 2" >&5
15304 echo "$as_me: error: no, you need lucene 2" >&2;}
15305 { (exit 1); exit 1; }; }
15309 echo "$as_me:$LINENO: result: internal" >&5
15310 echo "${ECHO_T}internal" >&6
15312 BUILD_TYPE
="$BUILD_TYPE LUCENE"
15318 echo "$as_me:$LINENO: checking whether to build the MySQL Connector extension" >&5
15319 echo $ECHO_N "checking whether to build the MySQL Connector extension... $ECHO_C" >&6
15320 if test -n "$enable_mysql_connector" -a "$enable_mysql_connector" != "no"; then
15321 echo "$as_me:$LINENO: result: yes" >&5
15322 echo "${ECHO_T}yes" >&6
15324 echo "$as_me:$LINENO: checking for mysqlc module" >&5
15325 echo $ECHO_N "checking for mysqlc module... $ECHO_C" >&6
15326 if test -d mysqlc
; then
15327 echo "$as_me:$LINENO: result: OK" >&5
15328 echo "${ECHO_T}OK" >&6
15330 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
15331 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
15332 { (exit 1); exit 1; }; }
15334 BUILD_TYPE
="$BUILD_TYPE MYSQLC"
15336 echo "$as_me:$LINENO: result: no" >&5
15337 echo "${ECHO_T}no" >&6
15342 if test "$ENABLE_MYSQLC" = "YES"; then
15343 echo "$as_me:$LINENO: checking for mysql pre-requisites" >&5
15344 echo $ECHO_N "checking for mysql pre-requisites... $ECHO_C" >&6
15345 if test -n "$with_system_mysql" -o -n "$with_system_libs" && \
15346 test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then
15347 echo "$as_me:$LINENO: result: external MySQL" >&5
15348 echo "${ECHO_T}external MySQL" >&6
15350 # Extract the first word of "mysql_config", so it can be a program name with args.
15351 set dummy mysql_config
; ac_word
=$2
15352 echo "$as_me:$LINENO: checking for $ac_word" >&5
15353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15354 if test "${ac_cv_path_MYSQLCONFIG+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 case $MYSQLCONFIG in
15359 ac_cv_path_MYSQLCONFIG
="$MYSQLCONFIG" # Let the user override the test with a path.
15362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15363 for as_dir
in $PATH
15366 test -z "$as_dir" && as_dir
=.
15367 for ac_exec_ext
in '' $ac_executable_extensions; do
15368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15369 ac_cv_path_MYSQLCONFIG
="$as_dir/$ac_word$ac_exec_ext"
15370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15379 MYSQLCONFIG
=$ac_cv_path_MYSQLCONFIG
15381 if test -n "$MYSQLCONFIG"; then
15382 echo "$as_me:$LINENO: result: $MYSQLCONFIG" >&5
15383 echo "${ECHO_T}$MYSQLCONFIG" >&6
15385 echo "$as_me:$LINENO: result: no" >&5
15386 echo "${ECHO_T}no" >&6
15389 echo "$as_me:$LINENO: checking MySQL version" >&5
15390 echo $ECHO_N "checking MySQL version... $ECHO_C" >&6
15391 MYSQL_VERSION
=`$MYSQLCONFIG --version`
15392 MYSQL_MAJOR
=`$MYSQLCONFIG --version | cut -d"." -f1`
15393 if test "$MYSQL_MAJOR" -ge "5"; then
15394 echo "$as_me:$LINENO: result: OK" >&5
15395 echo "${ECHO_T}OK" >&6
15397 { { echo "$as_me:$LINENO: error: too old, use 5.0.x or 5.1.x" >&5
15398 echo "$as_me: error: too old, use 5.0.x or 5.1.x" >&2;}
15399 { (exit 1); exit 1; }; }
15401 echo "$as_me:$LINENO: checking for MySQL Client library" >&5
15402 echo $ECHO_N "checking for MySQL Client library... $ECHO_C" >&6
15403 MYSQL_INC
=`$MYSQLCONFIG --include`
15404 MYSQL_LIB
=`$MYSQLCONFIG --libs`
15405 MYSQL_DEFINES
=`$MYSQLCONFIG --cflags | sed -e s,$MYSQL_INC,,`
15406 echo "$as_me:$LINENO: result: includes $MYSQL_INC, libraries $MYSQL_LIB" >&5
15407 echo "${ECHO_T}includes $MYSQL_INC, libraries $MYSQL_LIB" >&6
15410 if test -n "$with_libmysql_path"; then
15411 echo "$as_me:$LINENO: result: external Connector/C (libmysql)" >&5
15412 echo "${ECHO_T}external Connector/C (libmysql)" >&6
15413 LIBMYSQL
=libmysql.so
15414 if test "$_os" = "Darwin"; then
15415 LIBMYSQL
=libmysql.dylib
15416 elif test "$_os" = "WINNT"; then
15417 LIBMYSQL
=libmysql.dll
15419 echo "$as_me:$LINENO: checking for $LIBMYSQL" >&5
15420 echo $ECHO_N "checking for $LIBMYSQL... $ECHO_C" >&6
15421 if test -e "$with_libmysql_path/lib/$LIBMYSQL"; then
15422 echo "$as_me:$LINENO: result: found." >&5
15423 echo "${ECHO_T}found." >&6
15424 LIBMYSQL_PATH
=$with_libmysql_path
15426 { { echo "$as_me:$LINENO: error: not found. Please specify proper path in --with-libmysql-path." >&5
15427 echo "$as_me: error: not found. Please specify proper path in --with-libmysql-path." >&2;}
15428 { (exit 1); exit 1; }; }
15431 { { echo "$as_me:$LINENO: error: not given. Please specify either --with-system-mysql or --with-libmysql-path" >&5
15432 echo "$as_me: error: not given. Please specify either --with-system-mysql or --with-libmysql-path" >&2;}
15433 { (exit 1); exit 1; }; }
15443 ac_cpp
='$CXXCPP $CPPFLAGS'
15444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15449 # who thought this too-generic cppconn dir was a good idea?
15450 echo "$as_me:$LINENO: checking MySQL Connector/C++" >&5
15451 echo $ECHO_N "checking MySQL Connector/C++... $ECHO_C" >&6
15452 if test -n "$with_system_mysql_cppconn" -o -n "$with_system_libs" && \
15453 test "$with_system_mysql_cppconn" != "no" && test "$with_system_libs" != "no"; then
15454 echo "$as_me:$LINENO: result: external" >&5
15455 echo "${ECHO_T}external" >&6
15456 SYSTEM_MYSQL_CPPCONN
=YES
15458 ac_cpp
='$CXXCPP $CPPFLAGS'
15459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15463 if test "${ac_cv_header_mysql_driver_h+set}" = set; then
15464 echo "$as_me:$LINENO: checking for mysql_driver.h" >&5
15465 echo $ECHO_N "checking for mysql_driver.h... $ECHO_C" >&6
15466 if test "${ac_cv_header_mysql_driver_h+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 echo "$as_me:$LINENO: result: $ac_cv_header_mysql_driver_h" >&5
15470 echo "${ECHO_T}$ac_cv_header_mysql_driver_h" >&6
15472 # Is the header compilable?
15473 echo "$as_me:$LINENO: checking mysql_driver.h usability" >&5
15474 echo $ECHO_N "checking mysql_driver.h usability... $ECHO_C" >&6
15475 cat >conftest.
$ac_ext <<_ACEOF
15478 cat confdefs.h
>>conftest.
$ac_ext
15479 cat >>conftest.
$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15481 $ac_includes_default
15482 #include <mysql_driver.h>
15484 rm -f conftest.
$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15488 grep -v '^ *+' conftest.er1
>conftest.err
15490 cat conftest.err
>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try
='test -z "$ac_cxx_werror_flag"
15494 || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_header_compiler
=yes
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.
$ac_ext >&5
15511 ac_header_compiler
=no
15513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15515 echo "${ECHO_T}$ac_header_compiler" >&6
15517 # Is the header present?
15518 echo "$as_me:$LINENO: checking mysql_driver.h presence" >&5
15519 echo $ECHO_N "checking mysql_driver.h presence... $ECHO_C" >&6
15520 cat >conftest.
$ac_ext <<_ACEOF
15523 cat confdefs.h
>>conftest.
$ac_ext
15524 cat >>conftest.
$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15526 #include <mysql_driver.h>
15528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15531 grep -v '^ *+' conftest.er1
>conftest.err
15533 cat conftest.err
>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } >/dev
/null
; then
15536 if test -s conftest.err
; then
15537 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15538 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15545 if test -z "$ac_cpp_err"; then
15546 ac_header_preproc
=yes
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.
$ac_ext >&5
15551 ac_header_preproc
=no
15553 rm -f conftest.err conftest.
$ac_ext
15554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15555 echo "${ECHO_T}$ac_header_preproc" >&6
15557 # So? What about this header?
15558 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15560 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: accepted by the compiler, rejected by the preprocessor!" >&5
15561 echo "$as_me: WARNING: mysql_driver.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15562 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: proceeding with the compiler's result" >&5
15563 echo "$as_me: WARNING: mysql_driver.h: proceeding with the compiler's result" >&2;}
15564 ac_header_preproc
=yes
15567 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: present but cannot be compiled" >&5
15568 echo "$as_me: WARNING: mysql_driver.h: present but cannot be compiled" >&2;}
15569 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: check for missing prerequisite headers?" >&5
15570 echo "$as_me: WARNING: mysql_driver.h: check for missing prerequisite headers?" >&2;}
15571 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: see the Autoconf documentation" >&5
15572 echo "$as_me: WARNING: mysql_driver.h: see the Autoconf documentation" >&2;}
15573 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: section \"Present But Cannot Be Compiled\"" >&5
15574 echo "$as_me: WARNING: mysql_driver.h: section \"Present But Cannot Be Compiled\"" >&2;}
15575 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: proceeding with the preprocessor's result" >&5
15576 echo "$as_me: WARNING: mysql_driver.h: proceeding with the preprocessor's result" >&2;}
15577 { echo "$as_me:$LINENO: WARNING: mysql_driver.h: in the future, the compiler will take precedence" >&5
15578 echo "$as_me: WARNING: mysql_driver.h: in the future, the compiler will take precedence" >&2;}
15581 ## ------------------------------------------ ##
15582 ## Report this to the AC_PACKAGE_NAME lists. ##
15583 ## ------------------------------------------ ##
15586 sed "s/^/$as_me: WARNING: /" >&2
15589 echo "$as_me:$LINENO: checking for mysql_driver.h" >&5
15590 echo $ECHO_N "checking for mysql_driver.h... $ECHO_C" >&6
15591 if test "${ac_cv_header_mysql_driver_h+set}" = set; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 ac_cv_header_mysql_driver_h
=$ac_header_preproc
15596 echo "$as_me:$LINENO: result: $ac_cv_header_mysql_driver_h" >&5
15597 echo "${ECHO_T}$ac_cv_header_mysql_driver_h" >&6
15600 if test $ac_cv_header_mysql_driver_h = yes; then
15603 { { echo "$as_me:$LINENO: error: mysql_driver.h not found. install MySQL C++ Connectivity" >&5
15604 echo "$as_me: error: mysql_driver.h not found. install MySQL C++ Connectivity" >&2;}
15605 { (exit 1); exit 1; }; }
15610 echo "$as_me:$LINENO: checking for main in -lmysqlcppconn" >&5
15611 echo $ECHO_N "checking for main in -lmysqlcppconn... $ECHO_C" >&6
15612 if test "${ac_cv_lib_mysqlcppconn_main+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 ac_check_lib_save_LIBS
=$LIBS
15616 LIBS
="-lmysqlcppconn $LIBS"
15617 cat >conftest.
$ac_ext <<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15633 rm -f conftest.
$ac_objext conftest
$ac_exeext
15634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15635 (eval $ac_link) 2>conftest.er1
15637 grep -v '^ *+' conftest.er1
>conftest.err
15639 cat conftest.err
>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); } &&
15642 { ac_try
='test -z "$ac_cxx_werror_flag"
15643 || test ! -s conftest.err'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; } &&
15649 { ac_try
='test -s conftest$ac_exeext'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; }; then
15655 ac_cv_lib_mysqlcppconn_main
=yes
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.
$ac_ext >&5
15660 ac_cv_lib_mysqlcppconn_main
=no
15662 rm -f conftest.err conftest.
$ac_objext \
15663 conftest
$ac_exeext conftest.
$ac_ext
15664 LIBS
=$ac_check_lib_save_LIBS
15666 echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlcppconn_main" >&5
15667 echo "${ECHO_T}$ac_cv_lib_mysqlcppconn_main" >&6
15668 if test $ac_cv_lib_mysqlcppconn_main = yes; then
15669 cat >>confdefs.h
<<_ACEOF
15670 #define HAVE_LIBMYSQLCPPCONN 1
15673 LIBS
="-lmysqlcppconn $LIBS"
15676 { { echo "$as_me:$LINENO: error: MySQL C++ Connectivity lib not found or functional" >&5
15677 echo "$as_me: error: MySQL C++ Connectivity lib not found or functional" >&2;}
15678 { (exit 1); exit 1; }; }
15681 echo "$as_me:$LINENO: checking version" >&5
15682 echo $ECHO_N "checking version... $ECHO_C" >&6
15683 if test "$cross_compiling" = yes; then
15684 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15685 See \`config.log' for more details." >&5
15686 echo "$as_me: error: cannot run test program while cross compiling
15687 See \`config.log' for more details." >&2;}
15688 { (exit 1); exit 1; }; }
15690 cat >conftest.
$ac_ext <<_ACEOF
15693 cat confdefs.h
>>conftest.
$ac_ext
15694 cat >>conftest.
$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15697 #include <mysql_driver.h>
15699 int main(int argc, char **argv) {
15700 sql::Driver *driver;
15701 driver = get_driver_instance();
15702 if (driver->getMajorVersion() > 1 || \
15703 (driver->getMajorVersion() == 1 && driver->getMinorVersion() > 0) || \
15704 (driver->getMajorVersion() == 1 && driver->getMinorVersion() == 0 && driver->getPatchVersion() >= 6))
15711 rm -f conftest
$ac_exeext
15712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15713 (eval $ac_link) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 echo "$as_me:$LINENO: result: OK" >&5
15723 echo "${ECHO_T}OK" >&6
15725 echo "$as_me: program exited with status $ac_status" >&5
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.
$ac_ext >&5
15729 ( exit $ac_status )
15730 { { echo "$as_me:$LINENO: error: not suitable, we need >= 1.0.6" >&5
15731 echo "$as_me: error: not suitable, we need >= 1.0.6" >&2;}
15732 { (exit 1); exit 1; }; }
15734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15737 ac_cpp
='$CXXCPP $CPPFLAGS'
15738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15744 echo "$as_me:$LINENO: result: internal" >&5
15745 echo "${ECHO_T}internal" >&6
15746 echo "$as_me:$LINENO: checking for mysqlcppconn module" >&5
15747 echo $ECHO_N "checking for mysqlcppconn module... $ECHO_C" >&6
15748 if test -d mysqlcppconn
; then
15749 echo "$as_me:$LINENO: result: OK" >&5
15750 echo "${ECHO_T}OK" >&6
15752 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
15753 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
15754 { (exit 1); exit 1; }; }
15756 BUILD_TYPE
="$BUILD_TYPE MYSQLCPPCONN"
15757 SYSTEM_MYSQL_CPPCONN
=NO
15760 ac_cpp
='$CPP $CPPFLAGS'
15761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15768 echo "$as_me:$LINENO: checking which hsqldb to use" >&5
15769 echo $ECHO_N "checking which hsqldb to use... $ECHO_C" >&6
15770 if test -n "$with_system_hsqldb" -o -n "$with_system_libs" && \
15771 test "$with_system_hsqldb" != "no" && test "$with_system_jars" != "no"; then
15772 echo "$as_me:$LINENO: result: external" >&5
15773 echo "${ECHO_T}external" >&6
15775 if test -z $HSQLDB_JAR; then
15776 HSQLDB_JAR
=/usr
/share
/java
/hsqldb.jar
15778 as_ac_File
=`echo "ac_cv_file_$HSQLDB_JAR" | $as_tr_sh`
15779 echo "$as_me:$LINENO: checking for $HSQLDB_JAR" >&5
15780 echo $ECHO_N "checking for $HSQLDB_JAR... $ECHO_C" >&6
15781 if eval "test \"\${$as_ac_File+set}\" = set"; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 test "$cross_compiling" = yes &&
15785 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15786 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15787 { (exit 1); exit 1; }; }
15788 if test -r "$HSQLDB_JAR"; then
15789 eval "$as_ac_File=yes"
15791 eval "$as_ac_File=no"
15794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15795 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15796 if test `eval echo '${'$as_ac_File'}'` = yes; then
15799 { { echo "$as_me:$LINENO: error: hsqldb.jar not found." >&5
15800 echo "$as_me: error: hsqldb.jar not found." >&2;}
15801 { (exit 1); exit 1; }; }
15804 echo "$as_me:$LINENO: checking whether hsqldb is 1.8.0.x" >&5
15805 echo $ECHO_N "checking whether hsqldb is 1.8.0.x... $ECHO_C" >&6
15807 if $PERL -e 'use Archive::Zip;
15808 my $file = "$ENV{'HSQLDB_JAR
'}";
15809 my $zip = Archive::Zip->new( $file );
15810 my $mf = $zip->contents ( "META-INF/MANIFEST.MF" );
15811 if ( $mf =~ m/Specification-Version: 1.8.*/ ) {
15812 push @l, split(/\n/, $mf);
15813 foreach my $line (@l) {
15814 if ($line =~ m/Specification-Version:/) {
15815 ($t, $version) = split (/:/,$line);
15816 $version =~ s/^\s//;
15817 ($a, $b, $c, $d) = split (/\./,$version);
15818 if ($c == "0" && $d > "8") {
15828 echo "$as_me:$LINENO: result: yes" >&5
15829 echo "${ECHO_T}yes" >&6
15831 { { echo "$as_me:$LINENO: error: no, you need hsqldb >= 1.8.0.9 but < 1.8.1" >&5
15832 echo "$as_me: error: no, you need hsqldb >= 1.8.0.9 but < 1.8.1" >&2;}
15833 { (exit 1); exit 1; }; }
15836 echo "$as_me:$LINENO: result: internal" >&5
15837 echo "${ECHO_T}internal" >&6
15839 BUILD_TYPE
="$BUILD_TYPE HSQLDB"
15844 echo "$as_me:$LINENO: checking which beanshell to use" >&5
15845 echo $ECHO_N "checking which beanshell to use... $ECHO_C" >&6
15846 if test -n "$with_system_beanshell" -o -n "$with_system_libs" && \
15847 test "$with_system_beanshell" != "no" && test "$with_system_jars" != "no"; then
15848 echo "$as_me:$LINENO: result: external" >&5
15849 echo "${ECHO_T}external" >&6
15851 if test -z $BSH_JAR; then
15852 BSH_JAR
=/usr
/share
/java
/bsh.jar
15854 as_ac_File
=`echo "ac_cv_file_$BSH_JAR" | $as_tr_sh`
15855 echo "$as_me:$LINENO: checking for $BSH_JAR" >&5
15856 echo $ECHO_N "checking for $BSH_JAR... $ECHO_C" >&6
15857 if eval "test \"\${$as_ac_File+set}\" = set"; then
15858 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 test "$cross_compiling" = yes &&
15861 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15862 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15863 { (exit 1); exit 1; }; }
15864 if test -r "$BSH_JAR"; then
15865 eval "$as_ac_File=yes"
15867 eval "$as_ac_File=no"
15870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15871 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15872 if test `eval echo '${'$as_ac_File'}'` = yes; then
15875 { { echo "$as_me:$LINENO: error: bsh.jar not found." >&5
15876 echo "$as_me: error: bsh.jar not found." >&2;}
15877 { (exit 1); exit 1; }; }
15881 echo "$as_me:$LINENO: result: internal" >&5
15882 echo "${ECHO_T}internal" >&6
15884 BUILD_TYPE
="$BUILD_TYPE BSH"
15890 echo "$as_me:$LINENO: checking which saxon to use" >&5
15891 echo $ECHO_N "checking which saxon to use... $ECHO_C" >&6
15892 if test -n "$with_system_saxon" -o -n "$with_system_libs" && \
15893 test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then
15894 echo "$as_me:$LINENO: result: external" >&5
15895 echo "${ECHO_T}external" >&6
15897 if test -z $SAXON_JAR; then
15898 echo "$as_me:$LINENO: checking for /usr/share/java/saxon9.jar" >&5
15899 echo $ECHO_N "checking for /usr/share/java/saxon9.jar... $ECHO_C" >&6
15900 if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 test "$cross_compiling" = yes &&
15904 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15905 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15906 { (exit 1); exit 1; }; }
15907 if test -r "/usr/share/java/saxon9.jar"; then
15908 ac_cv_file__usr_share_java_saxon9_jar
=yes
15910 ac_cv_file__usr_share_java_saxon9_jar
=no
15913 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
15914 echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon9_jar" >&6
15915 if test $ac_cv_file__usr_share_java_saxon9_jar = yes; then
15916 SAXON_JAR
=/usr
/share
/java
/saxon9.jar
15919 echo "$as_me:$LINENO: checking for /usr/share/java/saxon.jar" >&5
15920 echo $ECHO_N "checking for /usr/share/java/saxon.jar... $ECHO_C" >&6
15921 if test "${ac_cv_file__usr_share_java_saxon_jar+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 test "$cross_compiling" = yes &&
15925 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15926 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15927 { (exit 1); exit 1; }; }
15928 if test -r "/usr/share/java/saxon.jar"; then
15929 ac_cv_file__usr_share_java_saxon_jar
=yes
15931 ac_cv_file__usr_share_java_saxon_jar
=no
15934 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon_jar" >&5
15935 echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon_jar" >&6
15936 if test $ac_cv_file__usr_share_java_saxon_jar = yes; then
15937 SAXON_JAR
=/usr
/share
/java
/saxon.jar
15939 echo "$as_me:$LINENO: checking for /usr/share/java/saxon9.jar" >&5
15940 echo $ECHO_N "checking for /usr/share/java/saxon9.jar... $ECHO_C" >&6
15941 if test "${ac_cv_file__usr_share_java_saxon9_jar+set}" = set; then
15942 echo $ECHO_N "(cached) $ECHO_C" >&6
15944 test "$cross_compiling" = yes &&
15945 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15946 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15947 { (exit 1); exit 1; }; }
15948 if test -r "/usr/share/java/saxon9.jar"; then
15949 ac_cv_file__usr_share_java_saxon9_jar
=yes
15951 ac_cv_file__usr_share_java_saxon9_jar
=no
15954 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_saxon9_jar" >&5
15955 echo "${ECHO_T}$ac_cv_file__usr_share_java_saxon9_jar" >&6
15956 if test $ac_cv_file__usr_share_java_saxon9_jar = yes; then
15957 SAXON_JAR
=/usr
/share
/java
/saxon9.jar
15959 { { echo "$as_me:$LINENO: error: saxon.jar replacement not found" >&5
15960 echo "$as_me: error: saxon.jar replacement not found" >&2;}
15961 { (exit 1); exit 1; }; }
15974 as_ac_File
=`echo "ac_cv_file_$SAXON_JAR" | $as_tr_sh`
15975 echo "$as_me:$LINENO: checking for $SAXON_JAR" >&5
15976 echo $ECHO_N "checking for $SAXON_JAR... $ECHO_C" >&6
15977 if eval "test \"\${$as_ac_File+set}\" = set"; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 test "$cross_compiling" = yes &&
15981 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15982 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15983 { (exit 1); exit 1; }; }
15984 if test -r "$SAXON_JAR"; then
15985 eval "$as_ac_File=yes"
15987 eval "$as_ac_File=no"
15990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
15991 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
15992 if test `eval echo '${'$as_ac_File'}'` = yes; then
15995 { { echo "$as_me:$LINENO: error: saxon.jar replacement not found." >&5
15996 echo "$as_me: error: saxon.jar replacement not found." >&2;}
15997 { (exit 1); exit 1; }; }
16001 if test -n "$SERIALIZER_JAR"; then
16002 as_ac_File
=`echo "ac_cv_file_$SERIALIZER_JAR" | $as_tr_sh`
16003 echo "$as_me:$LINENO: checking for $SERIALIZER_JAR" >&5
16004 echo $ECHO_N "checking for $SERIALIZER_JAR... $ECHO_C" >&6
16005 if eval "test \"\${$as_ac_File+set}\" = set"; then
16006 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 test "$cross_compiling" = yes &&
16009 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16010 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16011 { (exit 1); exit 1; }; }
16012 if test -r "$SERIALIZER_JAR"; then
16013 eval "$as_ac_File=yes"
16015 eval "$as_ac_File=no"
16018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
16019 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
16020 if test `eval echo '${'$as_ac_File'}'` = yes; then
16023 { { echo "$as_me:$LINENO: error: serializer.jar not found." >&5
16024 echo "$as_me: error: serializer.jar not found." >&2;}
16025 { (exit 1); exit 1; }; }
16032 echo "$as_me:$LINENO: checking if saxon works" >&5
16033 echo $ECHO_N "checking if saxon works... $ECHO_C" >&6
16034 cat > saxontest.java
<<_ACEOF
16035 import javax.xml.transform.TransformerFactory;
16036 import javax.xml.transform.Transformer;
16037 import javax.xml.transform.stream.StreamSource;
16040 import net.sf.saxon.FeatureKeys;
16043 public static void main(String[] args) {
16044 System.setProperty("javax.xml.transform.TransformerFactory",
16045 "net.sf.saxon.TransformerFactoryImpl");
16047 TransformerFactory tfactory = TransformerFactory.newInstance();
16048 // some external saxons (Debian, Ubuntu, ...) have this disabled
16050 tfactory.setAttribute(FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS, new Boolean(true));
16051 System.out.println("TransformerFactory is" +
16052 tfactory.getClass().getName());
16053 Transformer transformer = tfactory.newTransformer(
16054 new StreamSource(new File(args[0])));
16055 } catch(Exception e){
16056 e.printStackTrace(System.err);
16064 cat > saxontest.xsl
<<_ACEOF
16065 <?xml version="1.0" encoding="UTF-8"?>
16066 <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
16067 <xsl:template match="/">
16068 <xsl:value-of select="math:sqrt(1)" xmlns:math="java:java.lang.Math"/>
16073 javac_cmd
="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
16074 { (eval echo "$as_me:$LINENO: \"$javac_cmd\"") >&5
16075 (eval $javac_cmd) 2>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }
16079 if test $?
= 0 && test -f .
/saxontest.class
; then
16080 java_cmd
="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
16081 { (eval echo "$as_me:$LINENO: \"$java_cmd\"") >&5
16082 (eval $java_cmd) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }
16086 if test $?
= 0; then
16087 echo "$as_me:$LINENO: result: yes" >&5
16088 echo "${ECHO_T}yes" >&6
16090 cat saxontest.java
>&5
16091 echo "$as_me:$LINENO: result: no" >&5
16092 echo "${ECHO_T}no" >&6
16093 { { echo "$as_me:$LINENO: error: Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb" >&5
16094 echo "$as_me: error: Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb" >&2;}
16095 { (exit 1); exit 1; }; }
16098 echo "$as_me:$LINENO: result: no" >&5
16099 echo "${ECHO_T}no" >&6
16100 cat saxontest.java
>&5
16101 { { echo "$as_me:$LINENO: error: saxontest could not be compiled, non-functional saxon jar" >&5
16102 echo "$as_me: error: saxontest could not be compiled, non-functional saxon jar" >&2;}
16103 { (exit 1); exit 1; }; }
16106 echo "$as_me:$LINENO: result: internal" >&5
16107 echo "${ECHO_T}internal" >&6
16114 if test -n "$NEED_SAXON"; then
16115 BUILD_TYPE
="$BUILD_TYPE SAXON"
16118 if test "$_os" = "Darwin" && test "$with_system_curl" != "no"; then
16119 with_system_curl
=yes
16121 echo "$as_me:$LINENO: checking which curl to use" >&5
16122 echo $ECHO_N "checking which curl to use... $ECHO_C" >&6
16123 if test -n "$with_system_curl" -o -n "$with_system_libs" && \
16124 test "$with_system_curl" != "no"; then
16125 echo "$as_me:$LINENO: result: external" >&5
16126 echo "${ECHO_T}external" >&6
16129 # Extract the first word of "curl-config", so it can be a program name with args.
16130 set dummy curl-config
; ac_word
=$2
16131 echo "$as_me:$LINENO: checking for $ac_word" >&5
16132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16133 if test "${ac_cv_path_CURLCONFIG+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 case $CURLCONFIG in
16138 ac_cv_path_CURLCONFIG
="$CURLCONFIG" # Let the user override the test with a path.
16141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16142 for as_dir
in $PATH
16145 test -z "$as_dir" && as_dir
=.
16146 for ac_exec_ext
in '' $ac_executable_extensions; do
16147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16148 ac_cv_path_CURLCONFIG
="$as_dir/$ac_word$ac_exec_ext"
16149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16158 CURLCONFIG
=$ac_cv_path_CURLCONFIG
16160 if test -n "$CURLCONFIG"; then
16161 echo "$as_me:$LINENO: result: $CURLCONFIG" >&5
16162 echo "${ECHO_T}$CURLCONFIG" >&6
16164 echo "$as_me:$LINENO: result: no" >&5
16165 echo "${ECHO_T}no" >&6
16168 if test -z "$CURLCONFIG"; then
16169 { { echo "$as_me:$LINENO: error: install curl to run this script" >&5
16170 echo "$as_me: error: install curl to run this script" >&2;}
16171 { (exit 1); exit 1; }; }
16174 # check curl version
16175 echo "$as_me:$LINENO: checking whether curl is >= 7.13.1" >&5
16176 echo $ECHO_N "checking whether curl is >= 7.13.1... $ECHO_C" >&6
16177 if test "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $1 }'`" -gt "7" -a \
16178 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $2 }'`" -gt "13" -a \
16179 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $3 }'`" -gt "1"; then
16180 { { echo "$as_me:$LINENO: error: no, you need at least curl 7.13,1" >&5
16181 echo "$as_me: error: no, you need at least curl 7.13,1" >&2;}
16182 { (exit 1); exit 1; }; }
16184 echo "$as_me:$LINENO: result: yes" >&5
16185 echo "${ECHO_T}yes" >&6
16187 CURL_LIBS
=`$CURLCONFIG --libs`
16188 CURL_CFLAGS
=`$CURLCONFIG --cflags`
16190 echo "$as_me:$LINENO: result: internal" >&5
16191 echo "${ECHO_T}internal" >&6
16193 BUILD_TYPE
="$BUILD_TYPE CURL"
16199 echo "$as_me:$LINENO: checking which mdds to use" >&5
16200 echo $ECHO_N "checking which mdds to use... $ECHO_C" >&6
16201 if test -n "$with_system_mdds" -o -n "$with_system_headers" && \
16202 test "$with_system_mdds" != "no"; then
16203 echo "$as_me:$LINENO: result: external" >&5
16204 echo "${ECHO_T}external" >&6
16207 ac_cpp
='$CXXCPP $CPPFLAGS'
16208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16212 if test "${ac_cv_header_mdds_flat_segment_tree_hpp+set}" = set; then
16213 echo "$as_me:$LINENO: checking for mdds/flat_segment_tree.hpp" >&5
16214 echo $ECHO_N "checking for mdds/flat_segment_tree.hpp... $ECHO_C" >&6
16215 if test "${ac_cv_header_mdds_flat_segment_tree_hpp+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 echo "$as_me:$LINENO: result: $ac_cv_header_mdds_flat_segment_tree_hpp" >&5
16219 echo "${ECHO_T}$ac_cv_header_mdds_flat_segment_tree_hpp" >&6
16221 # Is the header compilable?
16222 echo "$as_me:$LINENO: checking mdds/flat_segment_tree.hpp usability" >&5
16223 echo $ECHO_N "checking mdds/flat_segment_tree.hpp usability... $ECHO_C" >&6
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16231 #include <mdds/flat_segment_tree.hpp>
16233 rm -f conftest.
$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_cxx_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try
='test -s conftest.$ac_objext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 ac_header_compiler
=yes
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.
$ac_ext >&5
16260 ac_header_compiler
=no
16262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16264 echo "${ECHO_T}$ac_header_compiler" >&6
16266 # Is the header present?
16267 echo "$as_me:$LINENO: checking mdds/flat_segment_tree.hpp presence" >&5
16268 echo $ECHO_N "checking mdds/flat_segment_tree.hpp presence... $ECHO_C" >&6
16269 cat >conftest.
$ac_ext <<_ACEOF
16272 cat confdefs.h
>>conftest.
$ac_ext
16273 cat >>conftest.
$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 #include <mdds/flat_segment_tree.hpp>
16277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16280 grep -v '^ *+' conftest.er1
>conftest.err
16282 cat conftest.err
>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } >/dev
/null
; then
16285 if test -s conftest.err
; then
16286 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16287 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16294 if test -z "$ac_cpp_err"; then
16295 ac_header_preproc
=yes
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 ac_header_preproc
=no
16302 rm -f conftest.err conftest.
$ac_ext
16303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16304 echo "${ECHO_T}$ac_header_preproc" >&6
16306 # So? What about this header?
16307 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16309 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16310 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16311 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: proceeding with the compiler's result" >&5
16312 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: proceeding with the compiler's result" >&2;}
16313 ac_header_preproc
=yes
16316 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: present but cannot be compiled" >&5
16317 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: present but cannot be compiled" >&2;}
16318 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: check for missing prerequisite headers?" >&5
16319 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: check for missing prerequisite headers?" >&2;}
16320 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: see the Autoconf documentation" >&5
16321 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: see the Autoconf documentation" >&2;}
16322 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: section \"Present But Cannot Be Compiled\"" >&5
16323 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
16324 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: proceeding with the preprocessor's result" >&5
16325 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: proceeding with the preprocessor's result" >&2;}
16326 { echo "$as_me:$LINENO: WARNING: mdds/flat_segment_tree.hpp: in the future, the compiler will take precedence" >&5
16327 echo "$as_me: WARNING: mdds/flat_segment_tree.hpp: in the future, the compiler will take precedence" >&2;}
16330 ## ------------------------------------------ ##
16331 ## Report this to the AC_PACKAGE_NAME lists. ##
16332 ## ------------------------------------------ ##
16335 sed "s/^/$as_me: WARNING: /" >&2
16338 echo "$as_me:$LINENO: checking for mdds/flat_segment_tree.hpp" >&5
16339 echo $ECHO_N "checking for mdds/flat_segment_tree.hpp... $ECHO_C" >&6
16340 if test "${ac_cv_header_mdds_flat_segment_tree_hpp+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 ac_cv_header_mdds_flat_segment_tree_hpp
=$ac_header_preproc
16345 echo "$as_me:$LINENO: result: $ac_cv_header_mdds_flat_segment_tree_hpp" >&5
16346 echo "${ECHO_T}$ac_cv_header_mdds_flat_segment_tree_hpp" >&6
16349 if test $ac_cv_header_mdds_flat_segment_tree_hpp = yes; then
16352 { { echo "$as_me:$LINENO: error: mdds/flat_segment_tree.hpp not found. install mdds" >&5
16353 echo "$as_me: error: mdds/flat_segment_tree.hpp not found. install mdds" >&2;}
16354 { (exit 1); exit 1; }; }
16359 ac_cpp
='$CPP $CPPFLAGS'
16360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16365 echo "$as_me:$LINENO: result: internal" >&5
16366 echo "${ECHO_T}internal" >&6
16367 BUILD_TYPE
="$BUILD_TYPE MDDS"
16372 echo "$as_me:$LINENO: checking which boost to use" >&5
16373 echo $ECHO_N "checking which boost to use... $ECHO_C" >&6
16374 if test -n "$with_system_boost" -o -n "$with_system_headers" && \
16375 test "$with_system_boost" != "no"; then
16376 echo "$as_me:$LINENO: result: external" >&5
16377 echo "${ECHO_T}external" >&6
16380 ac_cpp
='$CXXCPP $CPPFLAGS'
16381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16385 if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16386 echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
16387 echo $ECHO_N "checking for boost/shared_ptr.hpp... $ECHO_C" >&6
16388 if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
16392 echo "${ECHO_T}$ac_cv_header_boost_shared_ptr_hpp" >&6
16394 # Is the header compilable?
16395 echo "$as_me:$LINENO: checking boost/shared_ptr.hpp usability" >&5
16396 echo $ECHO_N "checking boost/shared_ptr.hpp usability... $ECHO_C" >&6
16397 cat >conftest.
$ac_ext <<_ACEOF
16400 cat confdefs.h
>>conftest.
$ac_ext
16401 cat >>conftest.
$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16404 #include <boost/shared_ptr.hpp>
16406 rm -f conftest.
$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>conftest.er1
16410 grep -v '^ *+' conftest.er1
>conftest.err
16412 cat conftest.err
>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try
='test -z "$ac_cxx_werror_flag"
16416 || test ! -s conftest.err'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; } &&
16422 { ac_try
='test -s conftest.$ac_objext'
16423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424 (eval $ac_try) 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; }; then
16428 ac_header_compiler
=yes
16430 echo "$as_me: failed program was:" >&5
16431 sed 's/^/| /' conftest.
$ac_ext >&5
16433 ac_header_compiler
=no
16435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16437 echo "${ECHO_T}$ac_header_compiler" >&6
16439 # Is the header present?
16440 echo "$as_me:$LINENO: checking boost/shared_ptr.hpp presence" >&5
16441 echo $ECHO_N "checking boost/shared_ptr.hpp presence... $ECHO_C" >&6
16442 cat >conftest.
$ac_ext <<_ACEOF
16445 cat confdefs.h
>>conftest.
$ac_ext
16446 cat >>conftest.
$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <boost/shared_ptr.hpp>
16450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } >/dev
/null
; then
16458 if test -s conftest.err
; then
16459 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16460 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16467 if test -z "$ac_cpp_err"; then
16468 ac_header_preproc
=yes
16470 echo "$as_me: failed program was:" >&5
16471 sed 's/^/| /' conftest.
$ac_ext >&5
16473 ac_header_preproc
=no
16475 rm -f conftest.err conftest.
$ac_ext
16476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16477 echo "${ECHO_T}$ac_header_preproc" >&6
16479 # So? What about this header?
16480 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16482 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16483 echo "$as_me: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16484 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&5
16485 echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result" >&2;}
16486 ac_header_preproc
=yes
16489 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&5
16490 echo "$as_me: WARNING: boost/shared_ptr.hpp: present but cannot be compiled" >&2;}
16491 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: check for missing prerequisite headers?" >&5
16492 echo "$as_me: WARNING: boost/shared_ptr.hpp: check for missing prerequisite headers?" >&2;}
16493 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&5
16494 echo "$as_me: WARNING: boost/shared_ptr.hpp: see the Autoconf documentation" >&2;}
16495 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: section \"Present But Cannot Be Compiled\"" >&5
16496 echo "$as_me: WARNING: boost/shared_ptr.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
16497 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&5
16498 echo "$as_me: WARNING: boost/shared_ptr.hpp: proceeding with the preprocessor's result" >&2;}
16499 { echo "$as_me:$LINENO: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&5
16500 echo "$as_me: WARNING: boost/shared_ptr.hpp: in the future, the compiler will take precedence" >&2;}
16503 ## ------------------------------------------ ##
16504 ## Report this to the AC_PACKAGE_NAME lists. ##
16505 ## ------------------------------------------ ##
16508 sed "s/^/$as_me: WARNING: /" >&2
16511 echo "$as_me:$LINENO: checking for boost/shared_ptr.hpp" >&5
16512 echo $ECHO_N "checking for boost/shared_ptr.hpp... $ECHO_C" >&6
16513 if test "${ac_cv_header_boost_shared_ptr_hpp+set}" = set; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 ac_cv_header_boost_shared_ptr_hpp
=$ac_header_preproc
16518 echo "$as_me:$LINENO: result: $ac_cv_header_boost_shared_ptr_hpp" >&5
16519 echo "${ECHO_T}$ac_cv_header_boost_shared_ptr_hpp" >&6
16522 if test $ac_cv_header_boost_shared_ptr_hpp = yes; then
16525 { { echo "$as_me:$LINENO: error: boost/shared_ptr.hpp not found. install boost" >&5
16526 echo "$as_me: error: boost/shared_ptr.hpp not found. install boost" >&2;}
16527 { (exit 1); exit 1; }; }
16531 if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16532 echo "$as_me:$LINENO: checking for boost/spirit/include/classic_core.hpp" >&5
16533 echo $ECHO_N "checking for boost/spirit/include/classic_core.hpp... $ECHO_C" >&6
16534 if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 echo "$as_me:$LINENO: result: $ac_cv_header_boost_spirit_include_classic_core_hpp" >&5
16538 echo "${ECHO_T}$ac_cv_header_boost_spirit_include_classic_core_hpp" >&6
16540 # Is the header compilable?
16541 echo "$as_me:$LINENO: checking boost/spirit/include/classic_core.hpp usability" >&5
16542 echo $ECHO_N "checking boost/spirit/include/classic_core.hpp usability... $ECHO_C" >&6
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16550 #include <boost/spirit/include/classic_core.hpp>
16552 rm -f conftest.
$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16556 grep -v '^ *+' conftest.er1
>conftest.err
16558 cat conftest.err
>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try
='test -z "$ac_cxx_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_header_compiler
=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_header_compiler
=no
16581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16583 echo "${ECHO_T}$ac_header_compiler" >&6
16585 # Is the header present?
16586 echo "$as_me:$LINENO: checking boost/spirit/include/classic_core.hpp presence" >&5
16587 echo $ECHO_N "checking boost/spirit/include/classic_core.hpp presence... $ECHO_C" >&6
16588 cat >conftest.
$ac_ext <<_ACEOF
16591 cat confdefs.h
>>conftest.
$ac_ext
16592 cat >>conftest.
$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 #include <boost/spirit/include/classic_core.hpp>
16596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16597 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16599 grep -v '^ *+' conftest.er1
>conftest.err
16601 cat conftest.err
>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } >/dev
/null
; then
16604 if test -s conftest.err
; then
16605 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16606 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16613 if test -z "$ac_cpp_err"; then
16614 ac_header_preproc
=yes
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 ac_header_preproc
=no
16621 rm -f conftest.err conftest.
$ac_ext
16622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16623 echo "${ECHO_T}$ac_header_preproc" >&6
16625 # So? What about this header?
16626 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16628 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16629 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16630 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the compiler's result" >&5
16631 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the compiler's result" >&2;}
16632 ac_header_preproc
=yes
16635 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: present but cannot be compiled" >&5
16636 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: present but cannot be compiled" >&2;}
16637 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: check for missing prerequisite headers?" >&5
16638 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: check for missing prerequisite headers?" >&2;}
16639 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: see the Autoconf documentation" >&5
16640 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: see the Autoconf documentation" >&2;}
16641 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: section \"Present But Cannot Be Compiled\"" >&5
16642 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
16643 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the preprocessor's result" >&5
16644 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: proceeding with the preprocessor's result" >&2;}
16645 { echo "$as_me:$LINENO: WARNING: boost/spirit/include/classic_core.hpp: in the future, the compiler will take precedence" >&5
16646 echo "$as_me: WARNING: boost/spirit/include/classic_core.hpp: in the future, the compiler will take precedence" >&2;}
16649 ## ------------------------------------------ ##
16650 ## Report this to the AC_PACKAGE_NAME lists. ##
16651 ## ------------------------------------------ ##
16654 sed "s/^/$as_me: WARNING: /" >&2
16657 echo "$as_me:$LINENO: checking for boost/spirit/include/classic_core.hpp" >&5
16658 echo $ECHO_N "checking for boost/spirit/include/classic_core.hpp... $ECHO_C" >&6
16659 if test "${ac_cv_header_boost_spirit_include_classic_core_hpp+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 ac_cv_header_boost_spirit_include_classic_core_hpp
=$ac_header_preproc
16664 echo "$as_me:$LINENO: result: $ac_cv_header_boost_spirit_include_classic_core_hpp" >&5
16665 echo "${ECHO_T}$ac_cv_header_boost_spirit_include_classic_core_hpp" >&6
16668 if test $ac_cv_header_boost_spirit_include_classic_core_hpp = yes; then
16671 { { echo "$as_me:$LINENO: error: boost/spirit/include/classic_core.hpp not found. install boost >= 1.36" >&5
16672 echo "$as_me: error: boost/spirit/include/classic_core.hpp not found. install boost >= 1.36" >&2;}
16673 { (exit 1); exit 1; }; }
16677 if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16678 echo "$as_me:$LINENO: checking for boost/function.hpp" >&5
16679 echo $ECHO_N "checking for boost/function.hpp... $ECHO_C" >&6
16680 if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 echo "$as_me:$LINENO: result: $ac_cv_header_boost_function_hpp" >&5
16684 echo "${ECHO_T}$ac_cv_header_boost_function_hpp" >&6
16686 # Is the header compilable?
16687 echo "$as_me:$LINENO: checking boost/function.hpp usability" >&5
16688 echo $ECHO_N "checking boost/function.hpp usability... $ECHO_C" >&6
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 #include <boost/function.hpp>
16698 rm -f conftest.
$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_cxx_werror_flag"
16708 || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_header_compiler
=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_header_compiler
=no
16727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16729 echo "${ECHO_T}$ac_header_compiler" >&6
16731 # Is the header present?
16732 echo "$as_me:$LINENO: checking boost/function.hpp presence" >&5
16733 echo $ECHO_N "checking boost/function.hpp presence... $ECHO_C" >&6
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 #include <boost/function.hpp>
16742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16745 grep -v '^ *+' conftest.er1
>conftest.err
16747 cat conftest.err
>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } >/dev
/null
; then
16750 if test -s conftest.err
; then
16751 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16752 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16759 if test -z "$ac_cpp_err"; then
16760 ac_header_preproc
=yes
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.
$ac_ext >&5
16765 ac_header_preproc
=no
16767 rm -f conftest.err conftest.
$ac_ext
16768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16769 echo "${ECHO_T}$ac_header_preproc" >&6
16771 # So? What about this header?
16772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16774 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
16775 echo "$as_me: WARNING: boost/function.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
16776 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: proceeding with the compiler's result" >&5
16777 echo "$as_me: WARNING: boost/function.hpp: proceeding with the compiler's result" >&2;}
16778 ac_header_preproc
=yes
16781 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: present but cannot be compiled" >&5
16782 echo "$as_me: WARNING: boost/function.hpp: present but cannot be compiled" >&2;}
16783 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: check for missing prerequisite headers?" >&5
16784 echo "$as_me: WARNING: boost/function.hpp: check for missing prerequisite headers?" >&2;}
16785 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: see the Autoconf documentation" >&5
16786 echo "$as_me: WARNING: boost/function.hpp: see the Autoconf documentation" >&2;}
16787 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: section \"Present But Cannot Be Compiled\"" >&5
16788 echo "$as_me: WARNING: boost/function.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
16789 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: proceeding with the preprocessor's result" >&5
16790 echo "$as_me: WARNING: boost/function.hpp: proceeding with the preprocessor's result" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: boost/function.hpp: in the future, the compiler will take precedence" >&5
16792 echo "$as_me: WARNING: boost/function.hpp: in the future, the compiler will take precedence" >&2;}
16795 ## ------------------------------------------ ##
16796 ## Report this to the AC_PACKAGE_NAME lists. ##
16797 ## ------------------------------------------ ##
16800 sed "s/^/$as_me: WARNING: /" >&2
16803 echo "$as_me:$LINENO: checking for boost/function.hpp" >&5
16804 echo $ECHO_N "checking for boost/function.hpp... $ECHO_C" >&6
16805 if test "${ac_cv_header_boost_function_hpp+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 ac_cv_header_boost_function_hpp
=$ac_header_preproc
16810 echo "$as_me:$LINENO: result: $ac_cv_header_boost_function_hpp" >&5
16811 echo "${ECHO_T}$ac_cv_header_boost_function_hpp" >&6
16814 if test $ac_cv_header_boost_function_hpp = yes; then
16817 { { echo "$as_me:$LINENO: error: boost/function.hpp not found. install boost" >&5
16818 echo "$as_me: error: boost/function.hpp not found. install boost" >&2;}
16819 { (exit 1); exit 1; }; }
16824 save_CXXFLAGS
=$CXXFLAGS
16825 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
16826 echo "$as_me:$LINENO: checking whether boost/function.hpp compiles with -fno-exceptions" >&5
16827 echo $ECHO_N "checking whether boost/function.hpp compiles with -fno-exceptions... $ECHO_C" >&6
16828 cat >conftest.
$ac_ext <<_ACEOF
16831 cat confdefs.h
>>conftest.
$ac_ext
16832 cat >>conftest.
$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 #include <boost/function.hpp>
16844 rm -f conftest.
$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>conftest.er1
16848 grep -v '^ *+' conftest.er1
>conftest.err
16850 cat conftest.err
>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } &&
16853 { ac_try
='test -z "$ac_cxx_werror_flag"
16854 || test ! -s conftest.err'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; } &&
16860 { ac_try
='test -s conftest.$ac_objext'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16866 ac_cv_cxx_boost_no_exceptons_broken
=no
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 ac_cv_cxx_boost_no_exceptons_broken
=yes
16873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 if test "$ac_cv_cxx_boost_no_exceptons_broken" = "yes"; then
16876 { { echo "$as_me:$LINENO: error: no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131" >&5
16877 echo "$as_me: error: no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131" >&2;}
16878 { (exit 1); exit 1; }; }
16880 echo "$as_me:$LINENO: result: yes" >&5
16881 echo "${ECHO_T}yes" >&6
16883 CXXFLAGS
=$save_CXXFLAGS
16885 ac_cpp
='$CPP $CPPFLAGS'
16886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16891 echo "$as_me:$LINENO: result: internal" >&5
16892 echo "${ECHO_T}internal" >&6
16893 BUILD_TYPE
="$BUILD_TYPE BOOST"
16898 echo "$as_me:$LINENO: checking which vigra to use" >&5
16899 echo $ECHO_N "checking which vigra to use... $ECHO_C" >&6
16900 if test -n "$with_system_vigra" -o -n "$with_system_headers" && \
16901 test "$with_system_vigra" != "no"; then
16902 echo "$as_me:$LINENO: result: external" >&5
16903 echo "${ECHO_T}external" >&6
16906 ac_cpp
='$CXXCPP $CPPFLAGS'
16907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16911 if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
16912 echo "$as_me:$LINENO: checking for vigra/copyimage.hxx" >&5
16913 echo $ECHO_N "checking for vigra/copyimage.hxx... $ECHO_C" >&6
16914 if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 echo "$as_me:$LINENO: result: $ac_cv_header_vigra_copyimage_hxx" >&5
16918 echo "${ECHO_T}$ac_cv_header_vigra_copyimage_hxx" >&6
16920 # Is the header compilable?
16921 echo "$as_me:$LINENO: checking vigra/copyimage.hxx usability" >&5
16922 echo $ECHO_N "checking vigra/copyimage.hxx usability... $ECHO_C" >&6
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 #include <vigra/copyimage.hxx>
16932 rm -f conftest.
$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16936 grep -v '^ *+' conftest.er1
>conftest.err
16938 cat conftest.err
>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try
='test -z "$ac_cxx_werror_flag"
16942 || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_header_compiler
=yes
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ac_header_compiler
=no
16961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16963 echo "${ECHO_T}$ac_header_compiler" >&6
16965 # Is the header present?
16966 echo "$as_me:$LINENO: checking vigra/copyimage.hxx presence" >&5
16967 echo $ECHO_N "checking vigra/copyimage.hxx presence... $ECHO_C" >&6
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16974 #include <vigra/copyimage.hxx>
16976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev
/null
; then
16984 if test -s conftest.err
; then
16985 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16986 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16993 if test -z "$ac_cpp_err"; then
16994 ac_header_preproc
=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_header_preproc
=no
17001 rm -f conftest.err conftest.
$ac_ext
17002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17003 echo "${ECHO_T}$ac_header_preproc" >&6
17005 # So? What about this header?
17006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17008 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
17009 echo "$as_me: WARNING: vigra/copyimage.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
17010 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: proceeding with the compiler's result" >&5
17011 echo "$as_me: WARNING: vigra/copyimage.hxx: proceeding with the compiler's result" >&2;}
17012 ac_header_preproc
=yes
17015 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: present but cannot be compiled" >&5
17016 echo "$as_me: WARNING: vigra/copyimage.hxx: present but cannot be compiled" >&2;}
17017 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: check for missing prerequisite headers?" >&5
17018 echo "$as_me: WARNING: vigra/copyimage.hxx: check for missing prerequisite headers?" >&2;}
17019 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: see the Autoconf documentation" >&5
17020 echo "$as_me: WARNING: vigra/copyimage.hxx: see the Autoconf documentation" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: section \"Present But Cannot Be Compiled\"" >&5
17022 echo "$as_me: WARNING: vigra/copyimage.hxx: section \"Present But Cannot Be Compiled\"" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: proceeding with the preprocessor's result" >&5
17024 echo "$as_me: WARNING: vigra/copyimage.hxx: proceeding with the preprocessor's result" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: vigra/copyimage.hxx: in the future, the compiler will take precedence" >&5
17026 echo "$as_me: WARNING: vigra/copyimage.hxx: in the future, the compiler will take precedence" >&2;}
17029 ## ------------------------------------------ ##
17030 ## Report this to the AC_PACKAGE_NAME lists. ##
17031 ## ------------------------------------------ ##
17034 sed "s/^/$as_me: WARNING: /" >&2
17037 echo "$as_me:$LINENO: checking for vigra/copyimage.hxx" >&5
17038 echo $ECHO_N "checking for vigra/copyimage.hxx... $ECHO_C" >&6
17039 if test "${ac_cv_header_vigra_copyimage_hxx+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 ac_cv_header_vigra_copyimage_hxx
=$ac_header_preproc
17044 echo "$as_me:$LINENO: result: $ac_cv_header_vigra_copyimage_hxx" >&5
17045 echo "${ECHO_T}$ac_cv_header_vigra_copyimage_hxx" >&6
17048 if test $ac_cv_header_vigra_copyimage_hxx = yes; then
17051 { { echo "$as_me:$LINENO: error: vigra/copyimage.hxx not found. install vigra" >&5
17052 echo "$as_me: error: vigra/copyimage.hxx not found. install vigra" >&2;}
17053 { (exit 1); exit 1; }; }
17058 ac_cpp
='$CPP $CPPFLAGS'
17059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17064 echo "$as_me:$LINENO: result: internal" >&5
17065 echo "${ECHO_T}internal" >&6
17066 BUILD_TYPE
="$BUILD_TYPE VIGRA"
17071 echo "$as_me:$LINENO: checking which odbc headers to use" >&5
17072 echo $ECHO_N "checking which odbc headers to use... $ECHO_C" >&6
17073 if test -n "$with_system_odbc_headers" -o -n "$with_system_headers" && \
17074 test "$with_system_odbc_headers" != "no"; then
17075 echo "$as_me:$LINENO: result: external" >&5
17076 echo "${ECHO_T}external" >&6
17077 SYSTEM_ODBC_HEADERS
=YES
17079 if test "${ac_cv_header_sqlext_h+set}" = set; then
17080 echo "$as_me:$LINENO: checking for sqlext.h" >&5
17081 echo $ECHO_N "checking for sqlext.h... $ECHO_C" >&6
17082 if test "${ac_cv_header_sqlext_h+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 echo "$as_me:$LINENO: result: $ac_cv_header_sqlext_h" >&5
17086 echo "${ECHO_T}$ac_cv_header_sqlext_h" >&6
17088 # Is the header compilable?
17089 echo "$as_me:$LINENO: checking sqlext.h usability" >&5
17090 echo $ECHO_N "checking sqlext.h usability... $ECHO_C" >&6
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17098 #include <sqlext.h>
17100 rm -f conftest.
$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17104 grep -v '^ *+' conftest.er1
>conftest.err
17106 cat conftest.err
>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try
='test -z "$ac_c_werror_flag"
17110 || test ! -s conftest.err'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; } &&
17116 { ac_try
='test -s conftest.$ac_objext'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 ac_header_compiler
=yes
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.
$ac_ext >&5
17127 ac_header_compiler
=no
17129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17131 echo "${ECHO_T}$ac_header_compiler" >&6
17133 # Is the header present?
17134 echo "$as_me:$LINENO: checking sqlext.h presence" >&5
17135 echo $ECHO_N "checking sqlext.h presence... $ECHO_C" >&6
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 #include <sqlext.h>
17144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17147 grep -v '^ *+' conftest.er1
>conftest.err
17149 cat conftest.err
>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } >/dev
/null
; then
17152 if test -s conftest.err
; then
17153 ac_cpp_err
=$ac_c_preproc_warn_flag
17154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17161 if test -z "$ac_cpp_err"; then
17162 ac_header_preproc
=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.
$ac_ext >&5
17167 ac_header_preproc
=no
17169 rm -f conftest.err conftest.
$ac_ext
17170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17171 echo "${ECHO_T}$ac_header_preproc" >&6
17173 # So? What about this header?
17174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17176 { echo "$as_me:$LINENO: WARNING: sqlext.h: accepted by the compiler, rejected by the preprocessor!" >&5
17177 echo "$as_me: WARNING: sqlext.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17178 { echo "$as_me:$LINENO: WARNING: sqlext.h: proceeding with the compiler's result" >&5
17179 echo "$as_me: WARNING: sqlext.h: proceeding with the compiler's result" >&2;}
17180 ac_header_preproc
=yes
17183 { echo "$as_me:$LINENO: WARNING: sqlext.h: present but cannot be compiled" >&5
17184 echo "$as_me: WARNING: sqlext.h: present but cannot be compiled" >&2;}
17185 { echo "$as_me:$LINENO: WARNING: sqlext.h: check for missing prerequisite headers?" >&5
17186 echo "$as_me: WARNING: sqlext.h: check for missing prerequisite headers?" >&2;}
17187 { echo "$as_me:$LINENO: WARNING: sqlext.h: see the Autoconf documentation" >&5
17188 echo "$as_me: WARNING: sqlext.h: see the Autoconf documentation" >&2;}
17189 { echo "$as_me:$LINENO: WARNING: sqlext.h: section \"Present But Cannot Be Compiled\"" >&5
17190 echo "$as_me: WARNING: sqlext.h: section \"Present But Cannot Be Compiled\"" >&2;}
17191 { echo "$as_me:$LINENO: WARNING: sqlext.h: proceeding with the preprocessor's result" >&5
17192 echo "$as_me: WARNING: sqlext.h: proceeding with the preprocessor's result" >&2;}
17193 { echo "$as_me:$LINENO: WARNING: sqlext.h: in the future, the compiler will take precedence" >&5
17194 echo "$as_me: WARNING: sqlext.h: in the future, the compiler will take precedence" >&2;}
17197 ## ------------------------------------------ ##
17198 ## Report this to the AC_PACKAGE_NAME lists. ##
17199 ## ------------------------------------------ ##
17202 sed "s/^/$as_me: WARNING: /" >&2
17205 echo "$as_me:$LINENO: checking for sqlext.h" >&5
17206 echo $ECHO_N "checking for sqlext.h... $ECHO_C" >&6
17207 if test "${ac_cv_header_sqlext_h+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 ac_cv_header_sqlext_h
=$ac_header_preproc
17212 echo "$as_me:$LINENO: result: $ac_cv_header_sqlext_h" >&5
17213 echo "${ECHO_T}$ac_cv_header_sqlext_h" >&6
17216 if test $ac_cv_header_sqlext_h = yes; then
17219 { { echo "$as_me:$LINENO: error: odbc not found. install odbc" >&5
17220 echo "$as_me: error: odbc not found. install odbc" >&2;}
17221 { (exit 1); exit 1; }; }
17226 echo "$as_me:$LINENO: result: internal" >&5
17227 echo "${ECHO_T}internal" >&6
17228 SYSTEM_ODBC_HEADERS
=NO
17229 BUILD_TYPE
="$BUILD_TYPE UNIXODBC"
17233 echo "$as_me:$LINENO: checking whether to enable build of Mozilla/Mozilla NSS-using components" >&5
17234 echo $ECHO_N "checking whether to enable build of Mozilla/Mozilla NSS-using components... $ECHO_C" >&6
17235 if test "$enable_mozilla" = "no"; then
17236 echo "$as_me:$LINENO: result: no" >&5
17237 echo "${ECHO_T}no" >&6
17239 ENABLE_NSS_MODULE
=NO
17241 echo "$as_me:$LINENO: result: yes" >&5
17242 echo "${ECHO_T}yes" >&6
17247 echo "$as_me:$LINENO: checking whether to build Mozilla addressbook connectivity" >&5
17248 echo $ECHO_N "checking whether to build Mozilla addressbook connectivity... $ECHO_C" >&6
17249 if test "$enable_mozilla" = "no"; then
17250 echo "$as_me:$LINENO: result: no" >&5
17251 echo "${ECHO_T}no" >&6
17252 elif test "$with_system_mozilla" = "yes"; then
17253 echo "$as_me:$LINENO: result: no, not possible with system-mozilla" >&5
17254 echo "${ECHO_T}no, not possible with system-mozilla" >&6
17256 echo "$as_me:$LINENO: result: yes" >&5
17257 echo "${ECHO_T}yes" >&6
17260 echo "$as_me:$LINENO: checking whether to build XML Security support" >&5
17261 echo $ECHO_N "checking whether to build XML Security support... $ECHO_C" >&6
17262 if test "$enable_mozilla" = "no"; then
17263 echo "$as_me:$LINENO: result: no, since Mozilla (NSS) disabled but needed" >&5
17264 echo "${ECHO_T}no, since Mozilla (NSS) disabled but needed" >&6
17266 echo "$as_me:$LINENO: result: yes" >&5
17267 echo "${ECHO_T}yes" >&6
17270 echo "$as_me:$LINENO: checking whether to build LDAP configuration backend" >&5
17271 echo $ECHO_N "checking whether to build LDAP configuration backend... $ECHO_C" >&6
17272 if test -z "$enable_ldap" ||
test "$enable_ldap" = "yes"; then
17273 if test "$enable_mozilla" = "yes" ||
test "$with_openldap" = "yes"; then
17274 echo "$as_me:$LINENO: result: yes" >&5
17275 echo "${ECHO_T}yes" >&6
17278 echo "$as_me:$LINENO: result: no. Either Mozilla or OpenLDAP needed" >&5
17279 echo "${ECHO_T}no. Either Mozilla or OpenLDAP needed" >&6
17283 echo "$as_me:$LINENO: result: no" >&5
17284 echo "${ECHO_T}no" >&6
17288 if test "$WITH_LDAP" = "YES"; then
17289 echo "$as_me:$LINENO: checking which LDAP SDK to use" >&5
17290 echo $ECHO_N "checking which LDAP SDK to use... $ECHO_C" >&6
17291 if test -n "$with_openldap" && test "$with_openldap" != "no"; then
17292 echo "$as_me:$LINENO: result: OpenLDAP" >&5
17293 echo "${ECHO_T}OpenLDAP" >&6
17296 for ac_header
in ldap.h
17298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17300 echo "$as_me:$LINENO: checking for $ac_header" >&5
17301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17308 # Is the header compilable?
17309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17318 #include <$ac_header>
17320 rm -f conftest.
$ac_objext
17321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17322 (eval $ac_compile) 2>conftest.er1
17324 grep -v '^ *+' conftest.er1
>conftest.err
17326 cat conftest.err
>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); } &&
17329 { ac_try
='test -z "$ac_c_werror_flag"
17330 || test ! -s conftest.err'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; } &&
17336 { ac_try
='test -s conftest.$ac_objext'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; }; then
17342 ac_header_compiler
=yes
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.
$ac_ext >&5
17347 ac_header_compiler
=no
17349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17351 echo "${ECHO_T}$ac_header_compiler" >&6
17353 # Is the header present?
17354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17356 cat >conftest.
$ac_ext <<_ACEOF
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 #include <$ac_header>
17364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } >/dev
/null
; then
17372 if test -s conftest.err
; then
17373 ac_cpp_err
=$ac_c_preproc_warn_flag
17374 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17381 if test -z "$ac_cpp_err"; then
17382 ac_header_preproc
=yes
17384 echo "$as_me: failed program was:" >&5
17385 sed 's/^/| /' conftest.
$ac_ext >&5
17387 ac_header_preproc
=no
17389 rm -f conftest.err conftest.
$ac_ext
17390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17391 echo "${ECHO_T}$ac_header_preproc" >&6
17393 # So? What about this header?
17394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17400 ac_header_preproc
=yes
17403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17417 ## ------------------------------------------ ##
17418 ## Report this to the AC_PACKAGE_NAME lists. ##
17419 ## ------------------------------------------ ##
17422 sed "s/^/$as_me: WARNING: /" >&2
17425 echo "$as_me:$LINENO: checking for $ac_header" >&5
17426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 eval "$as_ac_Header=\$ac_header_preproc"
17432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17437 cat >>confdefs.h
<<_ACEOF
17438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17442 { { echo "$as_me:$LINENO: error: ldap.h not found. install openldap libs" >&5
17443 echo "$as_me: error: ldap.h not found. install openldap libs" >&2;}
17444 { (exit 1); exit 1; }; }
17450 echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
17451 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6
17452 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 ac_check_lib_save_LIBS
=$LIBS
17456 LIBS
="-lldap $LIBS"
17457 cat >conftest.
$ac_ext <<_ACEOF
17460 cat confdefs.h
>>conftest.
$ac_ext
17461 cat >>conftest.
$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17464 /* Override any gcc2 internal prototype to avoid an error. */
17468 /* We use char because int might match the return type of a gcc2
17469 builtin and then its argument prototype would still apply. */
17470 char ldap_simple_bind_s ();
17474 ldap_simple_bind_s ();
17479 rm -f conftest.
$ac_objext conftest
$ac_exeext
17480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17481 (eval $ac_link) 2>conftest.er1
17483 grep -v '^ *+' conftest.er1
>conftest.err
17485 cat conftest.err
>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try
='test -z "$ac_c_werror_flag"
17489 || test ! -s conftest.err'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; } &&
17495 { ac_try
='test -s conftest$ac_exeext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17501 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17506 ac_cv_lib_ldap_ldap_simple_bind_s
=no
17508 rm -f conftest.err conftest.
$ac_objext \
17509 conftest
$ac_exeext conftest.
$ac_ext
17510 LIBS
=$ac_check_lib_save_LIBS
17512 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
17513 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6
17514 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
17515 cat >>confdefs.h
<<_ACEOF
17516 #define HAVE_LIBLDAP 1
17519 LIBS
="-lldap $LIBS"
17522 { { echo "$as_me:$LINENO: error: openldap lib not found or functional" >&5
17523 echo "$as_me: error: openldap lib not found or functional" >&2;}
17524 { (exit 1); exit 1; }; }
17527 # rumours say that OpenLDAP doesn't have that function. I looked and
17528 # it has it. Test for it to be sure
17530 echo "$as_me:$LINENO: checking for ldap_set_option in -lldap" >&5
17531 echo $ECHO_N "checking for ldap_set_option in -lldap... $ECHO_C" >&6
17532 if test "${ac_cv_lib_ldap_ldap_set_option+set}" = set; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 ac_check_lib_save_LIBS
=$LIBS
17536 LIBS
="-lldap $LIBS"
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17544 /* Override any gcc2 internal prototype to avoid an error. */
17548 /* We use char because int might match the return type of a gcc2
17549 builtin and then its argument prototype would still apply. */
17550 char ldap_set_option ();
17554 ldap_set_option ();
17559 rm -f conftest.
$ac_objext conftest
$ac_exeext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17561 (eval $ac_link) 2>conftest.er1
17563 grep -v '^ *+' conftest.er1
>conftest.err
17565 cat conftest.err
>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try
='test -z "$ac_c_werror_flag"
17569 || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try
='test -s conftest$ac_exeext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_cv_lib_ldap_ldap_set_option
=yes
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 ac_cv_lib_ldap_ldap_set_option
=no
17588 rm -f conftest.err conftest.
$ac_objext \
17589 conftest
$ac_exeext conftest.
$ac_ext
17590 LIBS
=$ac_check_lib_save_LIBS
17592 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_set_option" >&5
17593 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_set_option" >&6
17594 if test $ac_cv_lib_ldap_ldap_set_option = yes; then
17595 cat >>confdefs.h
<<_ACEOF
17596 #define HAVE_LIBLDAP 1
17599 LIBS
="-lldap $LIBS"
17602 { { echo "$as_me:$LINENO: error: openldap lib not found or functional" >&5
17603 echo "$as_me: error: openldap lib not found or functional" >&2;}
17604 { (exit 1); exit 1; }; }
17608 echo "$as_me:$LINENO: result: Netscape/Mozilla" >&5
17609 echo "${ECHO_T}Netscape/Mozilla" >&6
17610 # TODO. Actually do a sanity check and check for
17611 # LDAP_OPT_SIZELIMIT and LDAP_X_OPT_CONNECT_TIMEOUT
17618 echo "$as_me:$LINENO: checking which mozilla to use" >&5
17619 echo $ECHO_N "checking which mozilla to use... $ECHO_C" >&6
17620 if test -n "$with_system_mozilla" && test "$with_system_mozilla" != "no"; then
17621 echo "$as_me:$LINENO: result: external" >&5
17622 echo "${ECHO_T}external" >&6
17624 ENABLE_NSS_MODULE
=NO
17625 enable_nss_module
=no
17626 echo "$as_me:$LINENO: checking which Mozilla flavour to use" >&5
17627 echo $ECHO_N "checking which Mozilla flavour to use... $ECHO_C" >&6
17628 if test -n "$with_system_mozilla" && test "$with_system_mozilla" = "libxul"; then
17630 elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "xulrunner"; then
17631 MOZ_FLAVOUR
=xulrunner
17632 elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "seamonkey"; then
17633 MOZ_FLAVOUR
=seamonkey
17634 elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "firefox"; then
17635 MOZ_FLAVOUR
=firefox
17636 elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "mozilla"; then
17637 MOZ_FLAVOUR
=mozilla
17641 tmp
=`echo $MOZ_FLAVOUR | $PERL -e 'print ucfirst(<STDIN>);'`
17642 echo "$as_me:$LINENO: result: $tmp" >&5
17643 echo "${ECHO_T}$tmp" >&6
17648 if test -z "$PKG_CONFIG"; then
17649 # Extract the first word of "pkg-config", so it can be a program name with args.
17650 set dummy pkg-config
; ac_word
=$2
17651 echo "$as_me:$LINENO: checking for $ac_word" >&5
17652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17653 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 case $PKG_CONFIG in
17658 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17662 for as_dir
in $PATH
17665 test -z "$as_dir" && as_dir
=.
17666 for ac_exec_ext
in '' $ac_executable_extensions; do
17667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17668 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17675 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
17679 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17681 if test -n "$PKG_CONFIG"; then
17682 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17683 echo "${ECHO_T}$PKG_CONFIG" >&6
17685 echo "$as_me:$LINENO: result: no" >&5
17686 echo "${ECHO_T}no" >&6
17691 if test "$PKG_CONFIG" = "no" ; then
17692 echo "*** The pkg-config script could not be found. Make sure it is"
17693 echo "*** in your path, or set the PKG_CONFIG environment variable"
17694 echo "*** to the full path to pkg-config."
17695 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
17697 PKG_CONFIG_MIN_VERSION
=0.9.0
17698 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17699 echo "$as_me:$LINENO: checking for nss" >&5
17700 echo $ECHO_N "checking for nss... $ECHO_C" >&6
17702 if $PKG_CONFIG --exists "nss" ; then
17703 echo "$as_me:$LINENO: result: yes" >&5
17704 echo "${ECHO_T}yes" >&6
17707 echo "$as_me:$LINENO: checking MOZ_NSS_CFLAGS" >&5
17708 echo $ECHO_N "checking MOZ_NSS_CFLAGS... $ECHO_C" >&6
17709 MOZ_NSS_CFLAGS
=`$PKG_CONFIG --cflags "nss"`
17710 echo "$as_me:$LINENO: result: $MOZ_NSS_CFLAGS" >&5
17711 echo "${ECHO_T}$MOZ_NSS_CFLAGS" >&6
17713 echo "$as_me:$LINENO: checking MOZ_NSS_LIBS" >&5
17714 echo $ECHO_N "checking MOZ_NSS_LIBS... $ECHO_C" >&6
17715 MOZ_NSS_LIBS
=`$PKG_CONFIG --libs "nss"`
17716 echo "$as_me:$LINENO: result: $MOZ_NSS_LIBS" >&5
17717 echo "${ECHO_T}$MOZ_NSS_LIBS" >&6
17721 ## If we have a custom action on failure, don't print errors, but
17722 ## do set a variable so people can do so.
17723 MOZ_NSS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "nss"`
17730 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
17731 echo "*** See http://www.freedesktop.org/software/pkgconfig"
17735 if test $succeeded = yes; then
17736 STANDALONENSS
="TRUE"
17741 if test -z "$STANDALONENSS"; then
17745 if test -z "$PKG_CONFIG"; then
17746 # Extract the first word of "pkg-config", so it can be a program name with args.
17747 set dummy pkg-config
; ac_word
=$2
17748 echo "$as_me:$LINENO: checking for $ac_word" >&5
17749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17750 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 case $PKG_CONFIG in
17755 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17759 for as_dir
in $PATH
17762 test -z "$as_dir" && as_dir
=.
17763 for ac_exec_ext
in '' $ac_executable_extensions; do
17764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17765 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17772 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
17776 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17778 if test -n "$PKG_CONFIG"; then
17779 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17780 echo "${ECHO_T}$PKG_CONFIG" >&6
17782 echo "$as_me:$LINENO: result: no" >&5
17783 echo "${ECHO_T}no" >&6
17788 if test "$PKG_CONFIG" = "no" ; then
17789 echo "*** The pkg-config script could not be found. Make sure it is"
17790 echo "*** in your path, or set the PKG_CONFIG environment variable"
17791 echo "*** to the full path to pkg-config."
17792 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
17794 PKG_CONFIG_MIN_VERSION
=0.9.0
17795 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17796 echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-nss " >&5
17797 echo $ECHO_N "checking for $MOZ_FLAVOUR-nss ... $ECHO_C" >&6
17799 if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nss " ; then
17800 echo "$as_me:$LINENO: result: yes" >&5
17801 echo "${ECHO_T}yes" >&6
17804 echo "$as_me:$LINENO: checking MOZ_NSS_CFLAGS" >&5
17805 echo $ECHO_N "checking MOZ_NSS_CFLAGS... $ECHO_C" >&6
17806 MOZ_NSS_CFLAGS
=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nss "`
17807 echo "$as_me:$LINENO: result: $MOZ_NSS_CFLAGS" >&5
17808 echo "${ECHO_T}$MOZ_NSS_CFLAGS" >&6
17810 echo "$as_me:$LINENO: checking MOZ_NSS_LIBS" >&5
17811 echo $ECHO_N "checking MOZ_NSS_LIBS... $ECHO_C" >&6
17812 MOZ_NSS_LIBS
=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nss "`
17813 echo "$as_me:$LINENO: result: $MOZ_NSS_LIBS" >&5
17814 echo "${ECHO_T}$MOZ_NSS_LIBS" >&6
17818 ## If we have a custom action on failure, don't print errors, but
17819 ## do set a variable so people can do so.
17820 MOZ_NSS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$MOZ_FLAVOUR-nss "`
17821 echo $MOZ_NSS_PKG_ERRORS
17827 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
17828 echo "*** See http://www.freedesktop.org/software/pkgconfig"
17832 if test $succeeded = yes; then
17835 { { echo "$as_me:$LINENO: error: Library requirements ($MOZ_FLAVOUR-nss ) 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
17836 echo "$as_me: error: Library requirements ($MOZ_FLAVOUR-nss ) 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;}
17837 { (exit 1); exit 1; }; }
17841 NSS_LIB
="-L`$PKG_CONFIG --variable=libdir nss`"
17845 if $PKG_CONFIG --exists nspr
; then
17849 if test -z "$PKG_CONFIG"; then
17850 # Extract the first word of "pkg-config", so it can be a program name with args.
17851 set dummy pkg-config
; ac_word
=$2
17852 echo "$as_me:$LINENO: checking for $ac_word" >&5
17853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 case $PKG_CONFIG in
17859 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17863 for as_dir
in $PATH
17866 test -z "$as_dir" && as_dir
=.
17867 for ac_exec_ext
in '' $ac_executable_extensions; do
17868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17869 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
17880 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17882 if test -n "$PKG_CONFIG"; then
17883 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17884 echo "${ECHO_T}$PKG_CONFIG" >&6
17886 echo "$as_me:$LINENO: result: no" >&5
17887 echo "${ECHO_T}no" >&6
17892 if test "$PKG_CONFIG" = "no" ; then
17893 echo "*** The pkg-config script could not be found. Make sure it is"
17894 echo "*** in your path, or set the PKG_CONFIG environment variable"
17895 echo "*** to the full path to pkg-config."
17896 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
17898 PKG_CONFIG_MIN_VERSION
=0.9.0
17899 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
17900 echo "$as_me:$LINENO: checking for nspr " >&5
17901 echo $ECHO_N "checking for nspr ... $ECHO_C" >&6
17903 if $PKG_CONFIG --exists "nspr " ; then
17904 echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6
17908 echo "$as_me:$LINENO: checking MOZ_NSPR_CFLAGS" >&5
17909 echo $ECHO_N "checking MOZ_NSPR_CFLAGS... $ECHO_C" >&6
17910 MOZ_NSPR_CFLAGS
=`$PKG_CONFIG --cflags "nspr "`
17911 echo "$as_me:$LINENO: result: $MOZ_NSPR_CFLAGS" >&5
17912 echo "${ECHO_T}$MOZ_NSPR_CFLAGS" >&6
17914 echo "$as_me:$LINENO: checking MOZ_NSPR_LIBS" >&5
17915 echo $ECHO_N "checking MOZ_NSPR_LIBS... $ECHO_C" >&6
17916 MOZ_NSPR_LIBS
=`$PKG_CONFIG --libs "nspr "`
17917 echo "$as_me:$LINENO: result: $MOZ_NSPR_LIBS" >&5
17918 echo "${ECHO_T}$MOZ_NSPR_LIBS" >&6
17922 ## If we have a custom action on failure, don't print errors, but
17923 ## do set a variable so people can do so.
17924 MOZ_NSPR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "nspr "`
17925 echo $MOZ_NSPR_PKG_ERRORS
17931 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
17932 echo "*** See http://www.freedesktop.org/software/pkgconfig"
17936 if test $succeeded = yes; then
17939 { { echo "$as_me:$LINENO: error: Library requirements (nspr ) 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
17940 echo "$as_me: error: Library requirements (nspr ) 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;}
17941 { (exit 1); exit 1; }; }
17944 NSPR_LIB
="-L`$PKG_CONFIG --variable=libdir nspr`"
17950 if test -z "$PKG_CONFIG"; then
17951 # Extract the first word of "pkg-config", so it can be a program name with args.
17952 set dummy pkg-config
; ac_word
=$2
17953 echo "$as_me:$LINENO: checking for $ac_word" >&5
17954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17955 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 case $PKG_CONFIG in
17960 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17964 for as_dir
in $PATH
17967 test -z "$as_dir" && as_dir
=.
17968 for ac_exec_ext
in '' $ac_executable_extensions; do
17969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17970 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17977 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
17981 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17983 if test -n "$PKG_CONFIG"; then
17984 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17985 echo "${ECHO_T}$PKG_CONFIG" >&6
17987 echo "$as_me:$LINENO: result: no" >&5
17988 echo "${ECHO_T}no" >&6
17993 if test "$PKG_CONFIG" = "no" ; then
17994 echo "*** The pkg-config script could not be found. Make sure it is"
17995 echo "*** in your path, or set the PKG_CONFIG environment variable"
17996 echo "*** to the full path to pkg-config."
17997 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
17999 PKG_CONFIG_MIN_VERSION
=0.9.0
18000 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18001 echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-nspr " >&5
18002 echo $ECHO_N "checking for $MOZ_FLAVOUR-nspr ... $ECHO_C" >&6
18004 if $PKG_CONFIG --exists "$MOZ_FLAVOUR-nspr " ; then
18005 echo "$as_me:$LINENO: result: yes" >&5
18006 echo "${ECHO_T}yes" >&6
18009 echo "$as_me:$LINENO: checking MOZ_NSPR_CFLAGS" >&5
18010 echo $ECHO_N "checking MOZ_NSPR_CFLAGS... $ECHO_C" >&6
18011 MOZ_NSPR_CFLAGS
=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nspr "`
18012 echo "$as_me:$LINENO: result: $MOZ_NSPR_CFLAGS" >&5
18013 echo "${ECHO_T}$MOZ_NSPR_CFLAGS" >&6
18015 echo "$as_me:$LINENO: checking MOZ_NSPR_LIBS" >&5
18016 echo $ECHO_N "checking MOZ_NSPR_LIBS... $ECHO_C" >&6
18017 MOZ_NSPR_LIBS
=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nspr "`
18018 echo "$as_me:$LINENO: result: $MOZ_NSPR_LIBS" >&5
18019 echo "${ECHO_T}$MOZ_NSPR_LIBS" >&6
18023 ## If we have a custom action on failure, don't print errors, but
18024 ## do set a variable so people can do so.
18025 MOZ_NSPR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$MOZ_FLAVOUR-nspr "`
18026 echo $MOZ_NSPR_PKG_ERRORS
18032 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18033 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18037 if test $succeeded = yes; then
18040 { { echo "$as_me:$LINENO: error: Library requirements ($MOZ_FLAVOUR-nspr ) 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
18041 echo "$as_me: error: Library requirements ($MOZ_FLAVOUR-nspr ) 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;}
18042 { (exit 1); exit 1; }; }
18047 if test "$MOZ_FLAVOUR" != "libxul"; then
18051 if test -z "$PKG_CONFIG"; then
18052 # Extract the first word of "pkg-config", so it can be a program name with args.
18053 set dummy pkg-config
; ac_word
=$2
18054 echo "$as_me:$LINENO: checking for $ac_word" >&5
18055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18056 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 case $PKG_CONFIG in
18061 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18065 for as_dir
in $PATH
18068 test -z "$as_dir" && as_dir
=.
18069 for ac_exec_ext
in '' $ac_executable_extensions; do
18070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18071 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18078 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18082 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18084 if test -n "$PKG_CONFIG"; then
18085 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18086 echo "${ECHO_T}$PKG_CONFIG" >&6
18088 echo "$as_me:$LINENO: result: no" >&5
18089 echo "${ECHO_T}no" >&6
18094 if test "$PKG_CONFIG" = "no" ; then
18095 echo "*** The pkg-config script could not be found. Make sure it is"
18096 echo "*** in your path, or set the PKG_CONFIG environment variable"
18097 echo "*** to the full path to pkg-config."
18098 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18100 PKG_CONFIG_MIN_VERSION
=0.9.0
18101 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18102 echo "$as_me:$LINENO: checking for $MOZ_FLAVOUR-xpcom" >&5
18103 echo $ECHO_N "checking for $MOZ_FLAVOUR-xpcom... $ECHO_C" >&6
18105 if $PKG_CONFIG --exists "$MOZ_FLAVOUR-xpcom" ; then
18106 echo "$as_me:$LINENO: result: yes" >&5
18107 echo "${ECHO_T}yes" >&6
18110 echo "$as_me:$LINENO: checking MOZILLAXPCOM_CFLAGS" >&5
18111 echo $ECHO_N "checking MOZILLAXPCOM_CFLAGS... $ECHO_C" >&6
18112 MOZILLAXPCOM_CFLAGS
=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-xpcom"`
18113 echo "$as_me:$LINENO: result: $MOZILLAXPCOM_CFLAGS" >&5
18114 echo "${ECHO_T}$MOZILLAXPCOM_CFLAGS" >&6
18116 echo "$as_me:$LINENO: checking MOZILLAXPCOM_LIBS" >&5
18117 echo $ECHO_N "checking MOZILLAXPCOM_LIBS... $ECHO_C" >&6
18118 MOZILLAXPCOM_LIBS
=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-xpcom"`
18119 echo "$as_me:$LINENO: result: $MOZILLAXPCOM_LIBS" >&5
18120 echo "${ECHO_T}$MOZILLAXPCOM_LIBS" >&6
18122 MOZILLAXPCOM_CFLAGS
=""
18123 MOZILLAXPCOM_LIBS
=""
18124 ## If we have a custom action on failure, don't print errors, but
18125 ## do set a variable so people can do so.
18126 MOZILLAXPCOM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$MOZ_FLAVOUR-xpcom"`
18133 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18134 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18138 if test $succeeded = yes; then
18144 MOZ_INC
=`$PKG_CONFIG --variable=includedir $MOZ_FLAVOUR-xpcom`
18145 MOZ_LIB
=`$PKG_CONFIG --variable=libdir $MOZ_FLAVOUR-xpcom`
18148 if test -z "$HASXPCOM"; then
18152 if test -z "$PKG_CONFIG"; then
18153 # Extract the first word of "pkg-config", so it can be a program name with args.
18154 set dummy pkg-config
; ac_word
=$2
18155 echo "$as_me:$LINENO: checking for $ac_word" >&5
18156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 case $PKG_CONFIG in
18162 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18166 for as_dir
in $PATH
18169 test -z "$as_dir" && as_dir
=.
18170 for ac_exec_ext
in '' $ac_executable_extensions; do
18171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18172 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18179 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18183 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18185 if test -n "$PKG_CONFIG"; then
18186 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18187 echo "${ECHO_T}$PKG_CONFIG" >&6
18189 echo "$as_me:$LINENO: result: no" >&5
18190 echo "${ECHO_T}no" >&6
18195 if test "$PKG_CONFIG" = "no" ; then
18196 echo "*** The pkg-config script could not be found. Make sure it is"
18197 echo "*** in your path, or set the PKG_CONFIG environment variable"
18198 echo "*** to the full path to pkg-config."
18199 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18201 PKG_CONFIG_MIN_VERSION
=0.9.0
18202 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18203 echo "$as_me:$LINENO: checking for libxul " >&5
18204 echo $ECHO_N "checking for libxul ... $ECHO_C" >&6
18206 if $PKG_CONFIG --exists "libxul " ; then
18207 echo "$as_me:$LINENO: result: yes" >&5
18208 echo "${ECHO_T}yes" >&6
18211 echo "$as_me:$LINENO: checking MOZILLAXPCOM_CFLAGS" >&5
18212 echo $ECHO_N "checking MOZILLAXPCOM_CFLAGS... $ECHO_C" >&6
18213 MOZILLAXPCOM_CFLAGS
=`$PKG_CONFIG --cflags "libxul "`
18214 echo "$as_me:$LINENO: result: $MOZILLAXPCOM_CFLAGS" >&5
18215 echo "${ECHO_T}$MOZILLAXPCOM_CFLAGS" >&6
18217 echo "$as_me:$LINENO: checking MOZILLAXPCOM_LIBS" >&5
18218 echo $ECHO_N "checking MOZILLAXPCOM_LIBS... $ECHO_C" >&6
18219 MOZILLAXPCOM_LIBS
=`$PKG_CONFIG --libs "libxul "`
18220 echo "$as_me:$LINENO: result: $MOZILLAXPCOM_LIBS" >&5
18221 echo "${ECHO_T}$MOZILLAXPCOM_LIBS" >&6
18223 MOZILLAXPCOM_CFLAGS
=""
18224 MOZILLAXPCOM_LIBS
=""
18225 ## If we have a custom action on failure, don't print errors, but
18226 ## do set a variable so people can do so.
18227 MOZILLAXPCOM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxul "`
18228 echo $MOZILLAXPCOM_PKG_ERRORS
18234 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18235 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18239 if test $succeeded = yes; then
18242 { { echo "$as_me:$LINENO: error: Library requirements (libxul ) 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
18243 echo "$as_me: error: Library requirements (libxul ) 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;}
18244 { (exit 1); exit 1; }; }
18247 MOZ_INC
=`$PKG_CONFIG --variable=includedir libxul`
18248 MOZ_LIB
=`$PKG_CONFIG --variable=libdir libxul`
18249 if ! test -e "$MOZ_LIB/libxul.so"; then
18250 MOZ_LIB
=`$PKG_CONFIG --variable=sdkdir libxul`
18251 if test -e "$MOZ_LIB/sdk/lib/libxul.so"; then
18252 MOZ_LIB
="$MOZ_LIB/sdk/lib"
18257 save_CPPFLAGS
="$CPPFLAGS"
18258 save_LDFLAGS
="$LDFLAGS"
18260 CPPFLAGS
="$CPPFLAGS $MOZ_NSS_CFLAGS"
18261 LDFLAGS
="$LDFLAGS $MOZ_NSS_LIBS"
18263 echo "$as_me:$LINENO: checking for PK11_GetCertFromPrivateKey in -lnss3" >&5
18264 echo $ECHO_N "checking for PK11_GetCertFromPrivateKey in -lnss3... $ECHO_C" >&6
18265 if test "${ac_cv_lib_nss3_PK11_GetCertFromPrivateKey+set}" = set; then
18266 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 ac_check_lib_save_LIBS
=$LIBS
18269 LIBS
="-lnss3 $LIBS"
18270 cat >conftest.
$ac_ext <<_ACEOF
18273 cat confdefs.h
>>conftest.
$ac_ext
18274 cat >>conftest.
$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18277 /* Override any gcc2 internal prototype to avoid an error. */
18281 /* We use char because int might match the return type of a gcc2
18282 builtin and then its argument prototype would still apply. */
18283 char PK11_GetCertFromPrivateKey ();
18287 PK11_GetCertFromPrivateKey ();
18292 rm -f conftest.
$ac_objext conftest
$ac_exeext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18294 (eval $ac_link) 2>conftest.er1
18296 grep -v '^ *+' conftest.er1
>conftest.err
18298 cat conftest.err
>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try
='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try
='test -s conftest$ac_exeext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18314 ac_cv_lib_nss3_PK11_GetCertFromPrivateKey
=yes
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.
$ac_ext >&5
18319 ac_cv_lib_nss3_PK11_GetCertFromPrivateKey
=no
18321 rm -f conftest.err conftest.
$ac_objext \
18322 conftest
$ac_exeext conftest.
$ac_ext
18323 LIBS
=$ac_check_lib_save_LIBS
18325 echo "$as_me:$LINENO: result: $ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&5
18326 echo "${ECHO_T}$ac_cv_lib_nss3_PK11_GetCertFromPrivateKey" >&6
18327 if test $ac_cv_lib_nss3_PK11_GetCertFromPrivateKey = yes; then
18328 cat >>confdefs.h
<<_ACEOF
18329 #define HAVE_LIBNSS3 1
18332 LIBS
="-lnss3 $LIBS"
18335 { { echo "$as_me:$LINENO: error: PK11_GetCertFromPrivateKey missing but needed.
18336 See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
18337 Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5)" >&5
18338 echo "$as_me: error: PK11_GetCertFromPrivateKey missing but needed.
18339 See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
18340 Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5)" >&2;}
18341 { (exit 1); exit 1; }; }
18344 LDFLAGS
="$save_LDFLAGS"
18345 CPPFLAGS
="$save_CPPFLAGS"
18348 MOZ_LIB_XPCOM
=$MOZILLAXPCOM_LIBS
18349 if test "$WITH_LDAP" != "NO" && test "$WITH_OPENLDAP" != "YES"; then
18350 echo "$as_me:$LINENO: checking whether $tmp was compiled with --enable-ldap" >&5
18351 echo $ECHO_N "checking whether $tmp was compiled with --enable-ldap... $ECHO_C" >&6
18352 if test -d "$MOZ_INC/ldap"; then
18353 echo "$as_me:$LINENO: result: yes" >&5
18354 echo "${ECHO_T}yes" >&6
18355 MOZ_LDAP_CFLAGS
="-I$MOZ_INC"
18357 { { echo "$as_me:$LINENO: error: no.
18358 Could not find LDAP header include files in $MOZ_INC/ldap.
18359 Please recompile $tmp with --enable-ldap or use --with-openldap." >&5
18360 echo "$as_me: error: no.
18361 Could not find LDAP header include files in $MOZ_INC/ldap.
18362 Please recompile $tmp with --enable-ldap or use --with-openldap." >&2;}
18363 { (exit 1); exit 1; }; }
18367 #e.g. http://fedoraproject.org/wiki/Releases/FeatureXULRunnerAPIChanges
18368 #the plugin pkg-config etc. reverts to "mozilla-plugin" with libxul
18369 if test "$MOZ_FLAVOUR" = "libxul"; then
18370 MOZ_FLAVOUR
="mozilla"
18373 elif test "$enable_mozilla" = "no"; then
18374 echo "$as_me:$LINENO: result: none" >&5
18375 echo "${ECHO_T}none" >&6
18377 ENABLE_NSS_MODULE
=NO
18378 enable_nss_module
=no
18380 echo "$as_me:$LINENO: result: internal" >&5
18381 echo "${ECHO_T}internal" >&6
18383 BUILD_TYPE
="$BUILD_TYPE MOZ"
18384 if test -z "$with_mozilla_version"; then
18387 echo "$as_me:$LINENO: checking which mozilla version to build" >&5
18388 echo $ECHO_N "checking which mozilla version to build... $ECHO_C" >&6
18389 MOZILLA_VERSION
=$with_mozilla_version
18390 enable_build_mozilla
=1
18391 echo "$as_me:$LINENO: result: $MOZILLA_VERSION" >&5
18392 echo "${ECHO_T}$MOZILLA_VERSION" >&6
18397 echo "$as_me:$LINENO: checking for toolkit mozilla should use" >&5
18398 echo $ECHO_N "checking for toolkit mozilla should use... $ECHO_C" >&6
18399 if test -z "$with_mozilla_toolkit"; then
18400 if test "$_os" != "WINNT" ; then
18401 if test "$_os" = "Darwin" ; then
18402 MOZILLA_TOOLKIT
=mac
18403 echo "$as_me:$LINENO: result: mac" >&5
18404 echo "${ECHO_T}mac" >&6
18406 MOZILLA_TOOLKIT
=gtk2
18407 echo "$as_me:$LINENO: result: gtk2" >&5
18408 echo "${ECHO_T}gtk2" >&6
18412 MOZILLA_TOOLKIT
=$with_mozilla_toolkit
18413 enable_build_mozilla
=1
18414 echo "$as_me:$LINENO: result: $MOZILLA_TOOLKIT" >&5
18415 echo "${ECHO_T}$MOZILLA_TOOLKIT" >&6
18417 #if test "$_os" = "Darwin" && test "$MOZILLA_TOOLKIT" != "gtk2"; then
18418 # #only gtk2 toolkit supported - xlib or cocoa nees glib1 and libIDL1 - the latter is not
18419 # #available using fink, mac (carbon) doesn't work because xcode installs conflicting headers
18420 # AC_MSG_ERROR([Only gtk2 toolkit supported on Mac, sorry.])
18425 # default to enabling build mozilla
18426 if test "$enable_build_mozilla" != "no"; then
18427 enable_build_mozilla
=yes
18429 enable_build_mozilla
=
18432 echo "$as_me:$LINENO: checking whether to build Mozilla/SeaMonkey" >&5
18433 echo $ECHO_N "checking whether to build Mozilla/SeaMonkey... $ECHO_C" >&6
18434 if test -n "$enable_build_mozilla"; then
18436 echo "$as_me:$LINENO: result: yes" >&5
18437 echo "${ECHO_T}yes" >&6
18440 echo "$as_me:$LINENO: result: no" >&5
18441 echo "${ECHO_T}no" >&6
18444 echo "$as_me:$LINENO: checking whether to build provided NSS module" >&5
18445 echo $ECHO_N "checking whether to build provided NSS module... $ECHO_C" >&6
18446 if test "$enable_nss_module" != "no"; then
18447 ENABLE_NSS_MODULE
="YES"
18448 BUILD_TYPE
="$BUILD_TYPE NSS"
18449 echo "$as_me:$LINENO: result: yes" >&5
18450 echo "${ECHO_T}yes" >&6
18451 if test "$_os" = "WINNT"; then
18452 echo "$as_me:$LINENO: checking for Mozilla build tooling" >&5
18453 echo $ECHO_N "checking for Mozilla build tooling... $ECHO_C" >&6
18454 if test -z "$MOZILLABUILD" ; then
18455 { { echo "$as_me:$LINENO: error: Mozilla build tooling not found.
18456 Use the --with-mozilla-build option after installling the tools obtained
18457 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32" >&5
18458 echo "$as_me: error: Mozilla build tooling not found.
18459 Use the --with-mozilla-build option after installling the tools obtained
18460 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32" >&2;}
18461 { (exit 1); exit 1; }; }
18463 if test \
( "$WITH_MINGWIN" = "yes" \
) ; then
18464 if test ! -d "$MOZILLABUILD" ; then
18465 { { echo "$as_me:$LINENO: error: Mozilla build tooling incomplete!" >&5
18466 echo "$as_me: error: Mozilla build tooling incomplete!" >&2;}
18467 { (exit 1); exit 1; }; }
18469 echo "$as_me:$LINENO: result: ok" >&5
18470 echo "${ECHO_T}ok" >&6
18473 if test ! -d "$MOZILLABUILD/moztools" \
18474 -o ! -d "$MOZILLABUILD/msys" ; then
18475 { { echo "$as_me:$LINENO: error: Mozilla build tooling incomplete!" >&5
18476 echo "$as_me: error: Mozilla build tooling incomplete!" >&2;}
18477 { (exit 1); exit 1; }; }
18479 echo "$as_me:$LINENO: result: ok" >&5
18480 echo "${ECHO_T}ok" >&6
18486 ENABLE_NSS_MODULE
="NO"
18487 echo "$as_me:$LINENO: result: no" >&5
18488 echo "${ECHO_T}no" >&6
18491 if test "$BUILD_MOZAB" = "TRUE"; then
18492 if test "$_os" = "WINNT"; then
18493 if test "$WITH_MINGWIN" != "yes"; then
18494 # compiling with MSVC. Only supported platform here is MSVS2005 at the moment.
18495 if test "$MSVSVER" != "2005"; then
18496 { { echo "$as_me:$LINENO: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only." >&5
18497 echo "$as_me: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only." >&2;}
18498 { (exit 1); exit 1; }; }
18501 { echo "$as_me:$LINENO: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&5
18502 echo "$as_me: WARNING: Building SeaMonkey with mingwin is not tested, and likely to break." >&2;}
18503 echo "Building SeaMonkey with mingwin is not tested, and likely to break." >> warn
18507 if test -z "$MOZILLA_VERSION"; then
18508 MOZILLA_VERSION
=1.1.14
18510 MOZILLA_SOURCE_VERSION
="seamonkey-${MOZILLA_VERSION}.source"
18511 MOZILLA_FETCH_FILE
=`grep $MOZILLA_SOURCE_VERSION ooo.lst`
18512 echo "$as_me:$LINENO: checking for mozilla sources" >&5
18513 echo $ECHO_N "checking for mozilla sources... $ECHO_C" >&6
18514 if test -z "$MOZILLA_FETCH_FILE"; then
18515 echo "$as_me:$LINENO: result: not found" >&5
18516 echo "${ECHO_T}not found" >&6
18517 HAVE_MOZILLA_TARBALL
=n
18519 echo "$as_me:$LINENO: checking for $MOZILLA_FETCH_FILE" >&5
18520 echo $ECHO_N "checking for $MOZILLA_FETCH_FILE... $ECHO_C" >&6
18521 if test ! -e "$TARFILE_LOCATION/$MOZILLA_FETCH_FILE"; then
18522 if test -z "$DO_FETCH"; then
18523 echo "$as_me:$LINENO: result: will be fetched" >&5
18524 echo "${ECHO_T}will be fetched" >&6
18525 HAVE_MOZILLA_TARBALL
=y
18527 echo "$as_me:$LINENO: result: not found" >&5
18528 echo "${ECHO_T}not found" >&6
18529 HAVE_MOZILLA_TARBALL
=n
18532 echo "$as_me:$LINENO: result: found" >&5
18533 echo "${ECHO_T}found" >&6
18534 HAVE_MOZILLA_TARBALL
=y
18537 if test "$HAVE_MOZILLA_TARBALL" != "y"; then
18538 { { echo "$as_me:$LINENO: error: Mozilla/SeaMonkey source archive not found.
18539 Use \"./fetch_tarballs.sh ooo.lst\" to download." >&5
18540 echo "$as_me: error: Mozilla/SeaMonkey source archive not found.
18541 Use \"./fetch_tarballs.sh ooo.lst\" to download." >&2;}
18542 { (exit 1); exit 1; }; }
18544 if test "$_os" = "WINNT"; then
18545 echo "$as_me:$LINENO: checking for moztools binaries" >&5
18546 echo $ECHO_N "checking for moztools binaries... $ECHO_C" >&6
18547 if test ! -e "$TARFILE_LOCATION/vc8-moztools.zip" ; then
18548 { { echo "$as_me:$LINENO: error: The following file is missing in $TARFILE_LOCATION: vc8-moztools.zip
18549 (from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)" >&5
18550 echo "$as_me: error: The following file is missing in $TARFILE_LOCATION: vc8-moztools.zip
18551 (from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)" >&2;}
18552 { (exit 1); exit 1; }; }
18554 echo "$as_me:$LINENO: result: ok" >&5
18555 echo "${ECHO_T}ok" >&6
18557 elif test "$_os" = "Darwin"; then
18558 if test "$MOZILLA_TOOLKIT" = "gtk2"; then
18559 { echo "$as_me:$LINENO: checking whether mozilla can be built..." >&5
18560 echo "$as_me: checking whether mozilla can be built..." >&6;}
18564 if test -z "$PKG_CONFIG"; then
18565 # Extract the first word of "pkg-config", so it can be a program name with args.
18566 set dummy pkg-config
; ac_word
=$2
18567 echo "$as_me:$LINENO: checking for $ac_word" >&5
18568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 case $PKG_CONFIG in
18574 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18578 for as_dir
in $PATH
18581 test -z "$as_dir" && as_dir
=.
18582 for ac_exec_ext
in '' $ac_executable_extensions; do
18583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18584 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18591 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18595 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18597 if test -n "$PKG_CONFIG"; then
18598 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18599 echo "${ECHO_T}$PKG_CONFIG" >&6
18601 echo "$as_me:$LINENO: result: no" >&5
18602 echo "${ECHO_T}no" >&6
18607 if test "$PKG_CONFIG" = "no" ; then
18608 echo "*** The pkg-config script could not be found. Make sure it is"
18609 echo "*** in your path, or set the PKG_CONFIG environment variable"
18610 echo "*** to the full path to pkg-config."
18611 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18613 PKG_CONFIG_MIN_VERSION
=0.9.0
18614 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18615 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" >&5
18616 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8... $ECHO_C" >&6
18618 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8" ; then
18619 echo "$as_me:$LINENO: result: yes" >&5
18620 echo "${ECHO_T}yes" >&6
18623 echo "$as_me:$LINENO: checking MOZGTK2_CFLAGS" >&5
18624 echo $ECHO_N "checking MOZGTK2_CFLAGS... $ECHO_C" >&6
18625 MOZGTK2_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
18626 echo "$as_me:$LINENO: result: $MOZGTK2_CFLAGS" >&5
18627 echo "${ECHO_T}$MOZGTK2_CFLAGS" >&6
18629 echo "$as_me:$LINENO: checking MOZGTK2_LIBS" >&5
18630 echo $ECHO_N "checking MOZGTK2_LIBS... $ECHO_C" >&6
18631 MOZGTK2_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
18632 echo "$as_me:$LINENO: result: $MOZGTK2_LIBS" >&5
18633 echo "${ECHO_T}$MOZGTK2_LIBS" >&6
18637 ## If we have a custom action on failure, don't print errors, but
18638 ## do set a variable so people can do so.
18639 MOZGTK2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8"`
18646 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18647 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18651 if test $succeeded = yes; then
18652 { echo "$as_me:$LINENO: OK - can build mozilla" >&5
18653 echo "$as_me: OK - can build mozilla" >&6;}
18655 { { echo "$as_me:$LINENO: error: Prerequisites to build mozilla not met. Either use the precompiled mozilla binaries or install the missing packages" >&5
18656 echo "$as_me: error: Prerequisites to build mozilla not met. Either use the precompiled mozilla binaries or install the missing packages" >&2;}
18657 { (exit 1); exit 1; }; }
18664 if test -z "$PKG_CONFIG"; then
18665 # Extract the first word of "pkg-config", so it can be a program name with args.
18666 set dummy pkg-config
; ac_word
=$2
18667 echo "$as_me:$LINENO: checking for $ac_word" >&5
18668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 case $PKG_CONFIG in
18674 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18678 for as_dir
in $PATH
18681 test -z "$as_dir" && as_dir
=.
18682 for ac_exec_ext
in '' $ac_executable_extensions; do
18683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18684 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18695 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18697 if test -n "$PKG_CONFIG"; then
18698 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18699 echo "${ECHO_T}$PKG_CONFIG" >&6
18701 echo "$as_me:$LINENO: result: no" >&5
18702 echo "${ECHO_T}no" >&6
18707 if test "$PKG_CONFIG" = "no" ; then
18708 echo "*** The pkg-config script could not be found. Make sure it is"
18709 echo "*** in your path, or set the PKG_CONFIG environment variable"
18710 echo "*** to the full path to pkg-config."
18711 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18713 PKG_CONFIG_MIN_VERSION
=0.9.0
18714 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18715 echo "$as_me:$LINENO: checking for libIDL-2.0 >= 0.6.3" >&5
18716 echo $ECHO_N "checking for libIDL-2.0 >= 0.6.3... $ECHO_C" >&6
18718 if $PKG_CONFIG --exists "libIDL-2.0 >= 0.6.3" ; then
18719 echo "$as_me:$LINENO: result: yes" >&5
18720 echo "${ECHO_T}yes" >&6
18723 echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
18724 echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
18725 MOZLIBREQ_CFLAGS
=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.6.3"`
18726 echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
18727 echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
18729 echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
18730 echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
18731 MOZLIBREQ_LIBS
=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.6.3"`
18732 echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
18733 echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
18735 MOZLIBREQ_CFLAGS
=""
18737 ## If we have a custom action on failure, don't print errors, but
18738 ## do set a variable so people can do so.
18739 MOZLIBREQ_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libIDL-2.0 >= 0.6.3"`
18746 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18747 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18751 if test $succeeded = yes; then
18757 if test -z "$MOZIDL"; then
18758 { { echo "$as_me:$LINENO: error: libIDL 0.6.3 or newer is needed to build mozilla with mac toolkit." >&5
18759 echo "$as_me: error: libIDL 0.6.3 or newer is needed to build mozilla with mac toolkit." >&2;}
18760 { (exit 1); exit 1; }; }
18764 # Generic Unix/Linux section
18765 if test "$MOZILLA_TOOLKIT" = "gtk2"; then
18769 if test -z "$PKG_CONFIG"; then
18770 # Extract the first word of "pkg-config", so it can be a program name with args.
18771 set dummy pkg-config
; ac_word
=$2
18772 echo "$as_me:$LINENO: checking for $ac_word" >&5
18773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18774 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18777 case $PKG_CONFIG in
18779 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18783 for as_dir
in $PATH
18786 test -z "$as_dir" && as_dir
=.
18787 for ac_exec_ext
in '' $ac_executable_extensions; do
18788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18789 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18796 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18800 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18802 if test -n "$PKG_CONFIG"; then
18803 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18804 echo "${ECHO_T}$PKG_CONFIG" >&6
18806 echo "$as_me:$LINENO: result: no" >&5
18807 echo "${ECHO_T}no" >&6
18812 if test "$PKG_CONFIG" = "no" ; then
18813 echo "*** The pkg-config script could not be found. Make sure it is"
18814 echo "*** in your path, or set the PKG_CONFIG environment variable"
18815 echo "*** to the full path to pkg-config."
18816 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18818 PKG_CONFIG_MIN_VERSION
=0.9.0
18819 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18820 echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
18821 echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
18823 if $PKG_CONFIG --exists "gtk+-2.0" ; then
18824 echo "$as_me:$LINENO: result: yes" >&5
18825 echo "${ECHO_T}yes" >&6
18828 echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
18829 echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
18830 MOZLIBREQ_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0"`
18831 echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
18832 echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
18834 echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
18835 echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
18836 MOZLIBREQ_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0"`
18837 echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
18838 echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
18840 MOZLIBREQ_CFLAGS
=""
18842 ## If we have a custom action on failure, don't print errors, but
18843 ## do set a variable so people can do so.
18844 MOZLIBREQ_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
18851 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18852 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18856 if test $succeeded = yes; then
18862 if test -z "$MOZGTK"; then
18863 { { echo "$as_me:$LINENO: error: GTK2 is needed to build mozilla." >&5
18864 echo "$as_me: error: GTK2 is needed to build mozilla." >&2;}
18865 { (exit 1); exit 1; }; }
18870 if test -z "$PKG_CONFIG"; then
18871 # Extract the first word of "pkg-config", so it can be a program name with args.
18872 set dummy pkg-config
; ac_word
=$2
18873 echo "$as_me:$LINENO: checking for $ac_word" >&5
18874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18875 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 case $PKG_CONFIG in
18880 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18884 for as_dir
in $PATH
18887 test -z "$as_dir" && as_dir
=.
18888 for ac_exec_ext
in '' $ac_executable_extensions; do
18889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18890 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18897 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18901 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18903 if test -n "$PKG_CONFIG"; then
18904 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18905 echo "${ECHO_T}$PKG_CONFIG" >&6
18907 echo "$as_me:$LINENO: result: no" >&5
18908 echo "${ECHO_T}no" >&6
18913 if test "$PKG_CONFIG" = "no" ; then
18914 echo "*** The pkg-config script could not be found. Make sure it is"
18915 echo "*** in your path, or set the PKG_CONFIG environment variable"
18916 echo "*** to the full path to pkg-config."
18917 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18919 PKG_CONFIG_MIN_VERSION
=0.9.0
18920 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18921 echo "$as_me:$LINENO: checking for libIDL-2.0 >= 0.8.0" >&5
18922 echo $ECHO_N "checking for libIDL-2.0 >= 0.8.0... $ECHO_C" >&6
18924 if $PKG_CONFIG --exists "libIDL-2.0 >= 0.8.0" ; then
18925 echo "$as_me:$LINENO: result: yes" >&5
18926 echo "${ECHO_T}yes" >&6
18929 echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
18930 echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
18931 MOZLIBREQ_CFLAGS
=`$PKG_CONFIG --cflags "libIDL-2.0 >= 0.8.0"`
18932 echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
18933 echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
18935 echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
18936 echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
18937 MOZLIBREQ_LIBS
=`$PKG_CONFIG --libs "libIDL-2.0 >= 0.8.0"`
18938 echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
18939 echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
18941 MOZLIBREQ_CFLAGS
=""
18943 ## If we have a custom action on failure, don't print errors, but
18944 ## do set a variable so people can do so.
18945 MOZLIBREQ_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libIDL-2.0 >= 0.8.0"`
18952 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18953 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18957 if test $succeeded = yes; then
18963 if test -z "$MOZIDL"; then
18964 { { echo "$as_me:$LINENO: error: libIDL >= 0.8.0 is needed when using GTK2 to build mozilla." >&5
18965 echo "$as_me: error: libIDL >= 0.8.0 is needed when using GTK2 to build mozilla." >&2;}
18966 { (exit 1); exit 1; }; }
18972 if test -z "$PKG_CONFIG"; then
18973 # Extract the first word of "pkg-config", so it can be a program name with args.
18974 set dummy pkg-config
; ac_word
=$2
18975 echo "$as_me:$LINENO: checking for $ac_word" >&5
18976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18977 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 case $PKG_CONFIG in
18982 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18986 for as_dir
in $PATH
18989 test -z "$as_dir" && as_dir
=.
18990 for ac_exec_ext
in '' $ac_executable_extensions; do
18991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18992 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18999 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19003 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19005 if test -n "$PKG_CONFIG"; then
19006 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19007 echo "${ECHO_T}$PKG_CONFIG" >&6
19009 echo "$as_me:$LINENO: result: no" >&5
19010 echo "${ECHO_T}no" >&6
19015 if test "$PKG_CONFIG" = "no" ; then
19016 echo "*** The pkg-config script could not be found. Make sure it is"
19017 echo "*** in your path, or set the PKG_CONFIG environment variable"
19018 echo "*** to the full path to pkg-config."
19019 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19021 PKG_CONFIG_MIN_VERSION
=0.9.0
19022 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19023 echo "$as_me:$LINENO: checking for gtk+ >= 1.2.3" >&5
19024 echo $ECHO_N "checking for gtk+ >= 1.2.3... $ECHO_C" >&6
19026 if $PKG_CONFIG --exists "gtk+ >= 1.2.3" ; then
19027 echo "$as_me:$LINENO: result: yes" >&5
19028 echo "${ECHO_T}yes" >&6
19031 echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
19032 echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
19033 MOZLIBREQ_CFLAGS
=`$PKG_CONFIG --cflags "gtk+ >= 1.2.3"`
19034 echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
19035 echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
19037 echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
19038 echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
19039 MOZLIBREQ_LIBS
=`$PKG_CONFIG --libs "gtk+ >= 1.2.3"`
19040 echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
19041 echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
19043 MOZLIBREQ_CFLAGS
=""
19045 ## If we have a custom action on failure, don't print errors, but
19046 ## do set a variable so people can do so.
19047 MOZLIBREQ_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+ >= 1.2.3"`
19054 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19055 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19059 if test $succeeded = yes; then
19065 if test -z "$MOZGTK"; then
19066 { { echo "$as_me:$LINENO: error: gtk 1.2 is needed when not using GTK2 to build mozilla." >&5
19067 echo "$as_me: error: gtk 1.2 is needed when not using GTK2 to build mozilla." >&2;}
19068 { (exit 1); exit 1; }; }
19073 if test -z "$PKG_CONFIG"; then
19074 # Extract the first word of "pkg-config", so it can be a program name with args.
19075 set dummy pkg-config
; ac_word
=$2
19076 echo "$as_me:$LINENO: checking for $ac_word" >&5
19077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19078 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 case $PKG_CONFIG in
19083 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19087 for as_dir
in $PATH
19090 test -z "$as_dir" && as_dir
=.
19091 for ac_exec_ext
in '' $ac_executable_extensions; do
19092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19093 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19100 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19104 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19106 if test -n "$PKG_CONFIG"; then
19107 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19108 echo "${ECHO_T}$PKG_CONFIG" >&6
19110 echo "$as_me:$LINENO: result: no" >&5
19111 echo "${ECHO_T}no" >&6
19116 if test "$PKG_CONFIG" = "no" ; then
19117 echo "*** The pkg-config script could not be found. Make sure it is"
19118 echo "*** in your path, or set the PKG_CONFIG environment variable"
19119 echo "*** to the full path to pkg-config."
19120 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19122 PKG_CONFIG_MIN_VERSION
=0.9.0
19123 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19124 echo "$as_me:$LINENO: checking for libidl >= 0.6.3 libidl <= 0.6.8" >&5
19125 echo $ECHO_N "checking for libidl >= 0.6.3 libidl <= 0.6.8... $ECHO_C" >&6
19127 if $PKG_CONFIG --exists "libidl >= 0.6.3 libidl <= 0.6.8" ; then
19128 echo "$as_me:$LINENO: result: yes" >&5
19129 echo "${ECHO_T}yes" >&6
19132 echo "$as_me:$LINENO: checking MOZLIBREQ_CFLAGS" >&5
19133 echo $ECHO_N "checking MOZLIBREQ_CFLAGS... $ECHO_C" >&6
19134 MOZLIBREQ_CFLAGS
=`$PKG_CONFIG --cflags "libidl >= 0.6.3 libidl <= 0.6.8"`
19135 echo "$as_me:$LINENO: result: $MOZLIBREQ_CFLAGS" >&5
19136 echo "${ECHO_T}$MOZLIBREQ_CFLAGS" >&6
19138 echo "$as_me:$LINENO: checking MOZLIBREQ_LIBS" >&5
19139 echo $ECHO_N "checking MOZLIBREQ_LIBS... $ECHO_C" >&6
19140 MOZLIBREQ_LIBS
=`$PKG_CONFIG --libs "libidl >= 0.6.3 libidl <= 0.6.8"`
19141 echo "$as_me:$LINENO: result: $MOZLIBREQ_LIBS" >&5
19142 echo "${ECHO_T}$MOZLIBREQ_LIBS" >&6
19144 MOZLIBREQ_CFLAGS
=""
19146 ## If we have a custom action on failure, don't print errors, but
19147 ## do set a variable so people can do so.
19148 MOZLIBREQ_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libidl >= 0.6.3 libidl <= 0.6.8"`
19155 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19156 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19160 if test $succeeded = yes; then
19166 if test -z "$MOZIDL"; then
19167 { { echo "$as_me:$LINENO: error: libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build mozilla." >&5
19168 echo "$as_me: error: libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build mozilla." >&2;}
19169 { (exit 1); exit 1; }; }
19189 echo "$as_me:$LINENO: checking which sane header to use" >&5
19190 echo $ECHO_N "checking which sane header to use... $ECHO_C" >&6
19191 if test -n "$with_system_sane_header" -o -n "$with_system_headers" && \
19192 test "$with_system_sane_header" != "no"; then
19193 echo "$as_me:$LINENO: result: external" >&5
19194 echo "${ECHO_T}external" >&6
19195 SYSTEM_SANE_HEADER
=YES
19196 if test "${ac_cv_header_sane_sane_h+set}" = set; then
19197 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
19198 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
19199 if test "${ac_cv_header_sane_sane_h+set}" = set; then
19200 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
19203 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
19205 # Is the header compilable?
19206 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
19207 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
19208 cat >conftest.
$ac_ext <<_ACEOF
19211 cat confdefs.h
>>conftest.
$ac_ext
19212 cat >>conftest.
$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 $ac_includes_default
19215 #include <sane/sane.h>
19217 rm -f conftest.
$ac_objext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19219 (eval $ac_compile) 2>conftest.er1
19221 grep -v '^ *+' conftest.er1
>conftest.err
19223 cat conftest.err
>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try
='test -z "$ac_c_werror_flag"
19227 || test ! -s conftest.err'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; } &&
19233 { ac_try
='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 ac_header_compiler
=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19244 ac_header_compiler
=no
19246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19248 echo "${ECHO_T}$ac_header_compiler" >&6
19250 # Is the header present?
19251 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
19252 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
19253 cat >conftest.
$ac_ext <<_ACEOF
19256 cat confdefs.h
>>conftest.
$ac_ext
19257 cat >>conftest.
$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <sane/sane.h>
19261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } >/dev
/null
; then
19269 if test -s conftest.err
; then
19270 ac_cpp_err
=$ac_c_preproc_warn_flag
19271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19278 if test -z "$ac_cpp_err"; then
19279 ac_header_preproc
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_header_preproc
=no
19286 rm -f conftest.err conftest.
$ac_ext
19287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19288 echo "${ECHO_T}$ac_header_preproc" >&6
19290 # So? What about this header?
19291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19293 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
19294 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19295 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
19296 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
19297 ac_header_preproc
=yes
19300 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
19301 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
19302 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
19303 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
19304 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
19305 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
19306 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
19307 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
19308 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
19309 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
19310 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
19311 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
19314 ## ------------------------------------------ ##
19315 ## Report this to the AC_PACKAGE_NAME lists. ##
19316 ## ------------------------------------------ ##
19319 sed "s/^/$as_me: WARNING: /" >&2
19322 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
19323 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
19324 if test "${ac_cv_header_sane_sane_h+set}" = set; then
19325 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 ac_cv_header_sane_sane_h
=$ac_header_preproc
19329 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
19330 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
19333 if test $ac_cv_header_sane_sane_h = yes; then
19336 { { echo "$as_me:$LINENO: error: sane not found. install sane" >&5
19337 echo "$as_me: error: sane not found. install sane" >&2;}
19338 { (exit 1); exit 1; }; }
19343 echo "$as_me:$LINENO: result: internal" >&5
19344 echo "${ECHO_T}internal" >&6
19345 SYSTEM_SANE_HEADER
=NO
19346 BUILD_TYPE
="$BUILD_TYPE SANE"
19350 echo "$as_me:$LINENO: checking which icu to use" >&5
19351 echo $ECHO_N "checking which icu to use... $ECHO_C" >&6
19352 if test -n "$with_system_icu" -o -n "$with_system_libs" && \
19353 test "$with_system_icu" != "no"; then
19354 echo "$as_me:$LINENO: result: external" >&5
19355 echo "${ECHO_T}external" >&6
19358 ac_cpp
='$CXXCPP $CPPFLAGS'
19359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19363 echo "$as_me:$LINENO: checking for unicode/rbbi.h" >&5
19364 echo $ECHO_N "checking for unicode/rbbi.h... $ECHO_C" >&6
19365 cat >conftest.
$ac_ext <<_ACEOF
19368 cat confdefs.h
>>conftest.
$ac_ext
19369 cat >>conftest.
$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19376 grep -v '^ *+' conftest.er1
>conftest.err
19378 cat conftest.err
>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } >/dev
/null
; then
19381 if test -s conftest.err
; then
19382 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19383 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19390 if test -z "$ac_cpp_err"; then
19391 echo "$as_me:$LINENO: result: checked." >&5
19392 echo "${ECHO_T}checked." >&6
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.
$ac_ext >&5
19397 { { echo "$as_me:$LINENO: error: icu headers not found." >&5
19398 echo "$as_me: error: icu headers not found." >&2;}
19399 { (exit 1); exit 1; }; }
19401 rm -f conftest.err conftest.
$ac_ext
19402 # Extract the first word of "genbrk", so it can be a program name with args.
19403 set dummy genbrk
; ac_word
=$2
19404 echo "$as_me:$LINENO: checking for $ac_word" >&5
19405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19406 if test "${ac_cv_path_SYSTEM_GENBRK+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 case $SYSTEM_GENBRK in
19411 ac_cv_path_SYSTEM_GENBRK
="$SYSTEM_GENBRK" # Let the user override the test with a path.
19414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19415 as_dummy
="$PATH:/usr/sbin:/sbin"
19416 for as_dir
in $as_dummy
19419 test -z "$as_dir" && as_dir
=.
19420 for ac_exec_ext
in '' $ac_executable_extensions; do
19421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19422 ac_cv_path_SYSTEM_GENBRK
="$as_dir/$ac_word$ac_exec_ext"
19423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19432 SYSTEM_GENBRK
=$ac_cv_path_SYSTEM_GENBRK
19434 if test -n "$SYSTEM_GENBRK"; then
19435 echo "$as_me:$LINENO: result: $SYSTEM_GENBRK" >&5
19436 echo "${ECHO_T}$SYSTEM_GENBRK" >&6
19438 echo "$as_me:$LINENO: result: no" >&5
19439 echo "${ECHO_T}no" >&6
19442 if test -z "$SYSTEM_GENBRK"; then
19443 { { echo "$as_me:$LINENO: error: \\"genbrk
\\" not found in \$PATH, install the icu development tool \\"genbrk
\"\" >&5
19444 echo "$as_me: error: \\"genbrk
\\" not found in \$PATH, install the icu development tool \\"genbrk
\"\" >&2;}
19445 { (exit 1); exit 1; }; }
19447 # Extract the first word of "genccode", so it can be a program name with args.
19448 set dummy genccode
; ac_word
=$2
19449 echo "$as_me:$LINENO: checking for $ac_word" >&5
19450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19451 if test "${ac_cv_path_SYSTEM_GENCCODE+set}" = set; then
19452 echo $ECHO_N "(cached) $ECHO_C" >&6
19454 case $SYSTEM_GENCCODE in
19456 ac_cv_path_SYSTEM_GENCCODE
="$SYSTEM_GENCCODE" # Let the user override the test with a path.
19459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19460 as_dummy
="$PATH:/usr/sbin:/sbin"
19461 for as_dir
in $as_dummy
19464 test -z "$as_dir" && as_dir
=.
19465 for ac_exec_ext
in '' $ac_executable_extensions; do
19466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19467 ac_cv_path_SYSTEM_GENCCODE
="$as_dir/$ac_word$ac_exec_ext"
19468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19477 SYSTEM_GENCCODE
=$ac_cv_path_SYSTEM_GENCCODE
19479 if test -n "$SYSTEM_GENCCODE"; then
19480 echo "$as_me:$LINENO: result: $SYSTEM_GENCCODE" >&5
19481 echo "${ECHO_T}$SYSTEM_GENCCODE" >&6
19483 echo "$as_me:$LINENO: result: no" >&5
19484 echo "${ECHO_T}no" >&6
19487 if test -z "$SYSTEM_GENCCODE"; then
19488 { { echo "$as_me:$LINENO: error: \\"genccode
\\" not found in \$PATH, install the icu development tool \\"genccode
\"\" >&5
19489 echo "$as_me: error: \\"genccode
\\" not found in \$PATH, install the icu development tool \\"genccode
\"\" >&2;}
19490 { (exit 1); exit 1; }; }
19492 # Extract the first word of "gencmn", so it can be a program name with args.
19493 set dummy gencmn
; ac_word
=$2
19494 echo "$as_me:$LINENO: checking for $ac_word" >&5
19495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19496 if test "${ac_cv_path_SYSTEM_GENCMN+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 case $SYSTEM_GENCMN in
19501 ac_cv_path_SYSTEM_GENCMN
="$SYSTEM_GENCMN" # Let the user override the test with a path.
19504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19505 as_dummy
="$PATH:/usr/sbin:/sbin"
19506 for as_dir
in $as_dummy
19509 test -z "$as_dir" && as_dir
=.
19510 for ac_exec_ext
in '' $ac_executable_extensions; do
19511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19512 ac_cv_path_SYSTEM_GENCMN
="$as_dir/$ac_word$ac_exec_ext"
19513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19522 SYSTEM_GENCMN
=$ac_cv_path_SYSTEM_GENCMN
19524 if test -n "$SYSTEM_GENCMN"; then
19525 echo "$as_me:$LINENO: result: $SYSTEM_GENCMN" >&5
19526 echo "${ECHO_T}$SYSTEM_GENCMN" >&6
19528 echo "$as_me:$LINENO: result: no" >&5
19529 echo "${ECHO_T}no" >&6
19532 if test -z "$SYSTEM_GENCMN"; then
19533 { { echo "$as_me:$LINENO: error: \\"gencmn
\\" not found in \$PATH, install the icu development tool \\"gencmn
\"\" >&5
19534 echo "$as_me: error: \\"gencmn
\\" not found in \$PATH, install the icu development tool \\"gencmn
\"\" >&2;}
19535 { (exit 1); exit 1; }; }
19537 echo "$as_me:$LINENO: checking ICU version" >&5
19538 echo $ECHO_N "checking ICU version... $ECHO_C" >&6
19539 if test "$cross_compiling" = yes; then
19540 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19541 See \`config.log' for more details." >&5
19542 echo "$as_me: error: cannot run test program while cross compiling
19543 See \`config.log' for more details." >&2;}
19544 { (exit 1); exit 1; }; }
19546 cat >conftest.
$ac_ext <<_ACEOF
19549 cat confdefs.h
>>conftest.
$ac_ext
19550 cat >>conftest.
$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19553 #include <unicode/uversion.h>
19555 int main(int argc, char **argv) {
19556 if(U_ICU_VERSION_MAJOR_NUM < 4)
19563 rm -f conftest
$ac_exeext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19565 (eval $ac_link) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 echo "$as_me:$LINENO: result: OK" >&5
19575 echo "${ECHO_T}OK" >&6
19577 echo "$as_me: program exited with status $ac_status" >&5
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.
$ac_ext >&5
19581 ( exit $ac_status )
19582 { { echo "$as_me:$LINENO: error: not suitable, only >= 4.0 supported currently" >&5
19583 echo "$as_me: error: not suitable, only >= 4.0 supported currently" >&2;}
19584 { (exit 1); exit 1; }; }
19586 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19589 ac_cpp
='$CPP $CPPFLAGS'
19590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19595 echo "$as_me:$LINENO: result: internal" >&5
19596 echo "${ECHO_T}internal" >&6
19598 BUILD_TYPE
="$BUILD_TYPE ICU"
19606 echo "$as_me:$LINENO: checking whether to enable graphite support" >&5
19607 echo $ECHO_N "checking whether to enable graphite support... $ECHO_C" >&6
19608 if test "$_os" = "WINNT" -o "$_os" = "Linux" && test "z$enable_graphite" = "z" -o "$enable_graphite" != "no" ; then
19609 echo "$as_me:$LINENO: result: yes" >&5
19610 echo "${ECHO_T}yes" >&6
19611 ENABLE_GRAPHITE
="TRUE"
19612 echo "$as_me:$LINENO: checking which graphite to use" >&5
19613 echo $ECHO_N "checking which graphite to use... $ECHO_C" >&6
19614 if test -n "$with_system_graphite" -o -n "$with_system_libs" && \
19615 test "$with_system_graphite" != "no"; then
19616 echo "$as_me:$LINENO: result: external" >&5
19617 echo "${ECHO_T}external" >&6
19618 SYSTEM_GRAPHITE
=YES
19622 if test -z "$PKG_CONFIG"; then
19623 # Extract the first word of "pkg-config", so it can be a program name with args.
19624 set dummy pkg-config
; ac_word
=$2
19625 echo "$as_me:$LINENO: checking for $ac_word" >&5
19626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19627 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19630 case $PKG_CONFIG in
19632 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19636 for as_dir
in $PATH
19639 test -z "$as_dir" && as_dir
=.
19640 for ac_exec_ext
in '' $ac_executable_extensions; do
19641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19642 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19653 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19655 if test -n "$PKG_CONFIG"; then
19656 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19657 echo "${ECHO_T}$PKG_CONFIG" >&6
19659 echo "$as_me:$LINENO: result: no" >&5
19660 echo "${ECHO_T}no" >&6
19665 if test "$PKG_CONFIG" = "no" ; then
19666 echo "*** The pkg-config script could not be found. Make sure it is"
19667 echo "*** in your path, or set the PKG_CONFIG environment variable"
19668 echo "*** to the full path to pkg-config."
19669 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19671 PKG_CONFIG_MIN_VERSION
=0.9.0
19672 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19673 echo "$as_me:$LINENO: checking for silgraphite " >&5
19674 echo $ECHO_N "checking for silgraphite ... $ECHO_C" >&6
19676 if $PKG_CONFIG --exists "silgraphite " ; then
19677 echo "$as_me:$LINENO: result: yes" >&5
19678 echo "${ECHO_T}yes" >&6
19681 echo "$as_me:$LINENO: checking GRAPHITE_CFLAGS" >&5
19682 echo $ECHO_N "checking GRAPHITE_CFLAGS... $ECHO_C" >&6
19683 GRAPHITE_CFLAGS
=`$PKG_CONFIG --cflags "silgraphite "`
19684 echo "$as_me:$LINENO: result: $GRAPHITE_CFLAGS" >&5
19685 echo "${ECHO_T}$GRAPHITE_CFLAGS" >&6
19687 echo "$as_me:$LINENO: checking GRAPHITE_LIBS" >&5
19688 echo $ECHO_N "checking GRAPHITE_LIBS... $ECHO_C" >&6
19689 GRAPHITE_LIBS
=`$PKG_CONFIG --libs "silgraphite "`
19690 echo "$as_me:$LINENO: result: $GRAPHITE_LIBS" >&5
19691 echo "${ECHO_T}$GRAPHITE_LIBS" >&6
19695 ## If we have a custom action on failure, don't print errors, but
19696 ## do set a variable so people can do so.
19697 GRAPHITE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "silgraphite "`
19698 echo $GRAPHITE_PKG_ERRORS
19704 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19705 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19709 if test $succeeded = yes; then
19712 { { echo "$as_me:$LINENO: error: Library requirements (silgraphite ) 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
19713 echo "$as_me: error: Library requirements (silgraphite ) 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;}
19714 { (exit 1); exit 1; }; }
19718 echo "$as_me:$LINENO: result: internal" >&5
19719 echo "${ECHO_T}internal" >&6
19721 BUILD_TYPE
="$BUILD_TYPE GRAPHITE"
19724 echo "$as_me:$LINENO: result: no" >&5
19725 echo "${ECHO_T}no" >&6
19733 if test "$_os" = "Darwin"; then
19734 if test "x$with_x" = "xyes"; then
19735 { { echo "$as_me:$LINENO: error: X11 build is no longer supported on MacOSX, please use the native aqua build" >&5
19736 echo "$as_me: error: X11 build is no longer supported on MacOSX, please use the native aqua build" >&2;}
19737 { (exit 1); exit 1; }; }
19739 echo "$as_me:$LINENO: checking for /System/Library/Frameworks/AppKit.framework" >&5
19740 echo $ECHO_N "checking for /System/Library/Frameworks/AppKit.framework... $ECHO_C" >&6
19741 if test -d "/System/Library/Frameworks/AppKit.framework/"; then
19742 echo "$as_me:$LINENO: result: yes" >&5
19743 echo "${ECHO_T}yes" >&6
19744 x_includes
="no_x_includes"
19745 x_libraries
="no_x_libraries"
19751 { { echo "$as_me:$LINENO: error: No AppKit.framewrok found" >&5
19752 echo "$as_me: error: No AppKit.framewrok found" >&2;}
19753 { (exit 1); exit 1; }; }
19758 if test "$_os" = "Darwin" -a "x$x_includes" = "xno_x_includes"; then
19759 echo "Do Nothing for _os = Darwin"
19761 elif test "$_os" = "OS2" ; then
19762 echo "Do Nothing for _os = OS2. Don't check for X11."
19764 elif test "$_os" != "WINNT" ; then
19765 echo "$as_me:$LINENO: checking for X" >&5
19766 echo $ECHO_N "checking for X... $ECHO_C" >&6
19769 # Check whether --with-x or --without-x was given.
19770 if test "${with_x+set}" = set; then
19774 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19775 if test "x$with_x" = xno
; then
19776 # The user explicitly disabled X.
19779 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19780 # Both variables are already set.
19783 if test "${ac_cv_have_x+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 # One or both of the vars are not set, and there is no cached value.
19787 ac_x_includes
=no ac_x_libraries
=no
19788 rm -fr conftest.dir
19789 if mkdir conftest.dir
; then
19791 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19792 cat >Imakefile
<<'_ACEOF'
19794 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19796 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19798 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19799 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19800 for ac_extension
in a so sl
; do
19801 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19802 test -f $ac_im_libdir/libX11.
$ac_extension; then
19803 ac_im_usrlibdir
=$ac_im_libdir; break
19806 # Screen out bogus values from the imake configuration. They are
19807 # bogus both because they are the default anyway, and because
19808 # using them would break gcc on systems where it needs fixed includes.
19809 case $ac_im_incroot in
19811 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19813 case $ac_im_usrlibdir in
19814 /usr
/lib |
/lib
) ;;
19815 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19819 rm -fr conftest.dir
19822 # Standard set of common directories for X headers.
19823 # Check X11 before X11Rn because it is often a symlink to the current release.
19835 /usr/local/X11/include
19836 /usr/local/X11R6/include
19837 /usr/local/X11R5/include
19838 /usr/local/X11R4/include
19840 /usr/local/include/X11
19841 /usr/local/include/X11R6
19842 /usr/local/include/X11R5
19843 /usr/local/include/X11R4
19847 /usr/XFree86/include/X11
19851 /usr/unsupported/include
19852 /usr/athena/include
19853 /usr/local/x11r5/include
19854 /usr/lpp/Xamples/include
19856 /usr/openwin/include
19857 /usr/openwin/share/include'
19859 if test "$ac_x_includes" = no
; then
19860 # Guess where to find include files, by looking for Intrinsic.h.
19861 # First, try using that file with no special directory specified.
19862 cat >conftest.
$ac_ext <<_ACEOF
19865 cat confdefs.h
>>conftest.
$ac_ext
19866 cat >>conftest.
$ac_ext <<_ACEOF
19867 /* end confdefs.h. */
19868 #include <X11/Intrinsic.h>
19870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19873 grep -v '^ *+' conftest.er1
>conftest.err
19875 cat conftest.err
>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } >/dev
/null
; then
19878 if test -s conftest.err
; then
19879 ac_cpp_err
=$ac_c_preproc_warn_flag
19880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19887 if test -z "$ac_cpp_err"; then
19888 # We can compile using X headers with no special include directory.
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.
$ac_ext >&5
19894 for ac_dir
in $ac_x_header_dirs; do
19895 if test -r "$ac_dir/X11/Intrinsic.h"; then
19896 ac_x_includes
=$ac_dir
19901 rm -f conftest.err conftest.
$ac_ext
19902 fi # $ac_x_includes = no
19904 if test "$ac_x_libraries" = no
; then
19905 # Check for the libraries.
19906 # See if we find them without any special options.
19907 # Don't add to $LIBS permanently.
19910 cat >conftest.
$ac_ext <<_ACEOF
19913 cat confdefs.h
>>conftest.
$ac_ext
19914 cat >>conftest.
$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916 #include <X11/Intrinsic.h>
19925 rm -f conftest.
$ac_objext conftest
$ac_exeext
19926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19927 (eval $ac_link) 2>conftest.er1
19929 grep -v '^ *+' conftest.er1
>conftest.err
19931 cat conftest.err
>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); } &&
19934 { ac_try
='test -z "$ac_c_werror_flag"
19935 || test ! -s conftest.err'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; } &&
19941 { ac_try
='test -s conftest$ac_exeext'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; }; then
19948 # We can link X programs with no special library path.
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.
$ac_ext >&5
19955 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19957 # Don't even attempt the hair of trying to link an X program!
19958 for ac_extension
in a so sl
; do
19959 if test -r $ac_dir/libXt.
$ac_extension; then
19960 ac_x_libraries
=$ac_dir
19966 rm -f conftest.err conftest.
$ac_objext \
19967 conftest
$ac_exeext conftest.
$ac_ext
19968 fi # $ac_x_libraries = no
19970 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19971 # Didn't find X anywhere. Cache the known absence of X.
19972 ac_cv_have_x
="have_x=no"
19974 # Record where we found X for the cache.
19975 ac_cv_have_x
="have_x=yes \
19976 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19981 eval "$ac_cv_have_x"
19984 if test "$have_x" != yes; then
19985 echo "$as_me:$LINENO: result: $have_x" >&5
19986 echo "${ECHO_T}$have_x" >&6
19989 # If each of the values was on the command line, it overrides each guess.
19990 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19991 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19992 # Update the cache value to reflect the command line values.
19993 ac_cv_have_x
="have_x=yes \
19994 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19995 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19996 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19999 if test "$no_x" = yes; then
20000 # Not all programs may use this symbol, but it does not hurt to define it.
20002 cat >>confdefs.h
<<\_ACEOF
20003 #define X_DISPLAY_MISSING 1
20006 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20008 if test -n "$x_includes"; then
20009 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20012 # It would also be nice to do this for all -L options, not just this one.
20013 if test -n "$x_libraries"; then
20014 X_LIBS
="$X_LIBS -L$x_libraries"
20015 # For Solaris; some versions of Sun CC require a space after -R and
20016 # others require no space. Words are not sufficient . . . .
20017 case `(uname -sr) 2>/dev/null` in
20019 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20020 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20021 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20037 rm -f conftest.
$ac_objext conftest
$ac_exeext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039 (eval $ac_link) 2>conftest.er1
20041 grep -v '^ *+' conftest.er1
>conftest.err
20043 cat conftest.err
>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try
='test -z "$ac_c_werror_flag"
20047 || test ! -s conftest.err'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; } &&
20053 { ac_try
='test -s conftest$ac_exeext'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20066 rm -f conftest.err conftest.
$ac_objext \
20067 conftest
$ac_exeext conftest.
$ac_ext
20068 if test $ac_R_nospace = yes; then
20069 echo "$as_me:$LINENO: result: no" >&5
20070 echo "${ECHO_T}no" >&6
20071 X_LIBS
="$X_LIBS -R$x_libraries"
20073 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20074 cat >conftest.
$ac_ext <<_ACEOF
20077 cat confdefs.h
>>conftest.
$ac_ext
20078 cat >>conftest.
$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20089 rm -f conftest.
$ac_objext conftest
$ac_exeext
20090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20091 (eval $ac_link) 2>conftest.er1
20093 grep -v '^ *+' conftest.er1
>conftest.err
20095 cat conftest.err
>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try
='test -z "$ac_c_werror_flag"
20099 || test ! -s conftest.err'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; } &&
20105 { ac_try
='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.
$ac_ext >&5
20118 rm -f conftest.err conftest.
$ac_objext \
20119 conftest
$ac_exeext conftest.
$ac_ext
20120 if test $ac_R_space = yes; then
20121 echo "$as_me:$LINENO: result: yes" >&5
20122 echo "${ECHO_T}yes" >&6
20123 X_LIBS
="$X_LIBS -R $x_libraries"
20125 echo "$as_me:$LINENO: result: neither works" >&5
20126 echo "${ECHO_T}neither works" >&6
20129 LIBS
=$ac_xsave_LIBS
20133 # Check for system-dependent libraries X programs must link with.
20134 # Do this before checking for the system-independent R6 libraries
20135 # (-lICE), since we may need -lsocket or whatever for X linking.
20137 if test "$ISC" = yes; then
20138 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20140 # Martyn Johnson says this is needed for Ultrix, if the X
20141 # libraries were built with DECnet support. And Karl Berry says
20142 # the Alpha needs dnet_stub (dnet does not exist).
20143 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20144 cat >conftest.
$ac_ext <<_ACEOF
20147 cat confdefs.h
>>conftest.
$ac_ext
20148 cat >>conftest.
$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20151 /* Override any gcc2 internal prototype to avoid an error. */
20155 /* We use char because int might match the return type of a gcc2
20156 builtin and then its argument prototype would still apply. */
20157 char XOpenDisplay ();
20166 rm -f conftest.
$ac_objext conftest
$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>conftest.er1
20170 grep -v '^ *+' conftest.er1
>conftest.err
20172 cat conftest.err
>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try
='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20194 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20195 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_check_lib_save_LIBS
=$LIBS
20199 LIBS
="-ldnet $LIBS"
20200 cat >conftest.
$ac_ext <<_ACEOF
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20207 /* Override any gcc2 internal prototype to avoid an error. */
20211 /* We use char because int might match the return type of a gcc2
20212 builtin and then its argument prototype would still apply. */
20222 rm -f conftest.
$ac_objext conftest
$ac_exeext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20224 (eval $ac_link) 2>conftest.er1
20226 grep -v '^ *+' conftest.er1
>conftest.err
20228 cat conftest.err
>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try
='test -z "$ac_c_werror_flag"
20232 || test ! -s conftest.err'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; } &&
20238 { ac_try
='test -s conftest$ac_exeext'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; }; then
20244 ac_cv_lib_dnet_dnet_ntoa
=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.
$ac_ext >&5
20249 ac_cv_lib_dnet_dnet_ntoa
=no
20251 rm -f conftest.err conftest.
$ac_objext \
20252 conftest
$ac_exeext conftest.
$ac_ext
20253 LIBS
=$ac_check_lib_save_LIBS
20255 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20256 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20257 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20258 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20261 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20262 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20263 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20264 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 ac_check_lib_save_LIBS
=$LIBS
20268 LIBS
="-ldnet_stub $LIBS"
20269 cat >conftest.
$ac_ext <<_ACEOF
20272 cat confdefs.h
>>conftest.
$ac_ext
20273 cat >>conftest.
$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20276 /* Override any gcc2 internal prototype to avoid an error. */
20280 /* We use char because int might match the return type of a gcc2
20281 builtin and then its argument prototype would still apply. */
20291 rm -f conftest.
$ac_objext conftest
$ac_exeext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20293 (eval $ac_link) 2>conftest.er1
20295 grep -v '^ *+' conftest.er1
>conftest.err
20297 cat conftest.err
>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try
='test -z "$ac_c_werror_flag"
20301 || test ! -s conftest.err'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; } &&
20307 { ac_try
='test -s conftest$ac_exeext'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20318 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20320 rm -f conftest.err conftest.
$ac_objext \
20321 conftest
$ac_exeext conftest.
$ac_ext
20322 LIBS
=$ac_check_lib_save_LIBS
20324 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20332 rm -f conftest.err conftest.
$ac_objext \
20333 conftest
$ac_exeext conftest.
$ac_ext
20334 LIBS
="$ac_xsave_LIBS"
20336 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20337 # to get the SysV transport functions.
20338 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20340 # The nsl library prevents programs from opening the X display
20341 # on Irix 5.2, according to T.E. Dickey.
20342 # The functions gethostbyname, getservbyname, and inet_addr are
20343 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20344 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20345 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20346 if test "${ac_cv_func_gethostbyname+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 cat >conftest.
$ac_ext <<_ACEOF
20352 cat confdefs.h
>>conftest.
$ac_ext
20353 cat >>conftest.
$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20357 #define gethostbyname innocuous_gethostbyname
20359 /* System header to define __stub macros and hopefully few prototypes,
20360 which can conflict with char gethostbyname (); below.
20361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20362 <limits.h> exists even on freestanding compilers. */
20365 # include <limits.h>
20367 # include <assert.h>
20370 #undef gethostbyname
20372 /* Override any gcc2 internal prototype to avoid an error. */
20377 /* We use char because int might match the return type of a gcc2
20378 builtin and then its argument prototype would still apply. */
20379 char gethostbyname ();
20380 /* The GNU C library defines this for functions which it implements
20381 to always fail with ENOSYS. Some functions are actually named
20382 something starting with __ and the normal name is an alias. */
20383 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20386 char (*f) () = gethostbyname;
20395 return f != gethostbyname;
20400 rm -f conftest.
$ac_objext conftest
$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>conftest.er1
20404 grep -v '^ *+' conftest.er1
>conftest.err
20406 cat conftest.err
>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try
='test -z "$ac_c_werror_flag"
20410 || test ! -s conftest.err'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; } &&
20416 { ac_try
='test -s conftest$ac_exeext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_func_gethostbyname
=yes
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 ac_cv_func_gethostbyname
=no
20429 rm -f conftest.err conftest.
$ac_objext \
20430 conftest
$ac_exeext conftest.
$ac_ext
20432 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20433 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20435 if test $ac_cv_func_gethostbyname = no
; then
20436 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20437 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20438 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20441 ac_check_lib_save_LIBS
=$LIBS
20443 cat >conftest.
$ac_ext <<_ACEOF
20446 cat confdefs.h
>>conftest.
$ac_ext
20447 cat >>conftest.
$ac_ext <<_ACEOF
20448 /* end confdefs.h. */
20450 /* Override any gcc2 internal prototype to avoid an error. */
20454 /* We use char because int might match the return type of a gcc2
20455 builtin and then its argument prototype would still apply. */
20456 char gethostbyname ();
20465 rm -f conftest.
$ac_objext conftest
$ac_exeext
20466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20467 (eval $ac_link) 2>conftest.er1
20469 grep -v '^ *+' conftest.er1
>conftest.err
20471 cat conftest.err
>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } &&
20474 { ac_try
='test -z "$ac_c_werror_flag"
20475 || test ! -s conftest.err'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; } &&
20481 { ac_try
='test -s conftest$ac_exeext'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; }; then
20487 ac_cv_lib_nsl_gethostbyname
=yes
20489 echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.
$ac_ext >&5
20492 ac_cv_lib_nsl_gethostbyname
=no
20494 rm -f conftest.err conftest.
$ac_objext \
20495 conftest
$ac_exeext conftest.
$ac_ext
20496 LIBS
=$ac_check_lib_save_LIBS
20498 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20499 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20500 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20504 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20505 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20506 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20507 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20510 ac_check_lib_save_LIBS
=$LIBS
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20519 /* Override any gcc2 internal prototype to avoid an error. */
20523 /* We use char because int might match the return type of a gcc2
20524 builtin and then its argument prototype would still apply. */
20525 char gethostbyname ();
20534 rm -f conftest.
$ac_objext conftest
$ac_exeext
20535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20536 (eval $ac_link) 2>conftest.er1
20538 grep -v '^ *+' conftest.er1
>conftest.err
20540 cat conftest.err
>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } &&
20543 { ac_try
='test -z "$ac_c_werror_flag"
20544 || test ! -s conftest.err'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; } &&
20550 { ac_try
='test -s conftest$ac_exeext'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 ac_cv_lib_bsd_gethostbyname
=yes
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.
$ac_ext >&5
20561 ac_cv_lib_bsd_gethostbyname
=no
20563 rm -f conftest.err conftest.
$ac_objext \
20564 conftest
$ac_exeext conftest.
$ac_ext
20565 LIBS
=$ac_check_lib_save_LIBS
20567 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20568 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20569 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20576 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20577 # socket/setsockopt and other routines are undefined under SCO ODT
20578 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20579 # on later versions), says Simon Leinen: it contains gethostby*
20580 # variants that don't use the name server (or something). -lsocket
20581 # must be given before -lnsl if both are needed. We assume that
20582 # if connect needs -lnsl, so does gethostbyname.
20583 echo "$as_me:$LINENO: checking for connect" >&5
20584 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20585 if test "${ac_cv_func_connect+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 cat >conftest.
$ac_ext <<_ACEOF
20591 cat confdefs.h
>>conftest.
$ac_ext
20592 cat >>conftest.
$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20596 #define connect innocuous_connect
20598 /* System header to define __stub macros and hopefully few prototypes,
20599 which can conflict with char connect (); below.
20600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20601 <limits.h> exists even on freestanding compilers. */
20604 # include <limits.h>
20606 # include <assert.h>
20611 /* Override any gcc2 internal prototype to avoid an error. */
20616 /* We use char because int might match the return type of a gcc2
20617 builtin and then its argument prototype would still apply. */
20619 /* The GNU C library defines this for functions which it implements
20620 to always fail with ENOSYS. Some functions are actually named
20621 something starting with __ and the normal name is an alias. */
20622 #if defined (__stub_connect) || defined (__stub___connect)
20625 char (*f) () = connect;
20634 return f != connect;
20639 rm -f conftest.
$ac_objext conftest
$ac_exeext
20640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20641 (eval $ac_link) 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try
='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try
='test -s conftest$ac_exeext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_func_connect
=yes
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 ac_cv_func_connect
=no
20668 rm -f conftest.err conftest.
$ac_objext \
20669 conftest
$ac_exeext conftest.
$ac_ext
20671 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20672 echo "${ECHO_T}$ac_cv_func_connect" >&6
20674 if test $ac_cv_func_connect = no
; then
20675 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20676 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20677 if test "${ac_cv_lib_socket_connect+set}" = set; then
20678 echo $ECHO_N "(cached) $ECHO_C" >&6
20680 ac_check_lib_save_LIBS
=$LIBS
20681 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20682 cat >conftest.
$ac_ext <<_ACEOF
20685 cat confdefs.h
>>conftest.
$ac_ext
20686 cat >>conftest.
$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20689 /* Override any gcc2 internal prototype to avoid an error. */
20693 /* We use char because int might match the return type of a gcc2
20694 builtin and then its argument prototype would still apply. */
20704 rm -f conftest.
$ac_objext conftest
$ac_exeext
20705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20706 (eval $ac_link) 2>conftest.er1
20708 grep -v '^ *+' conftest.er1
>conftest.err
20710 cat conftest.err
>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try
='test -z "$ac_c_werror_flag"
20714 || test ! -s conftest.err'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; } &&
20720 { ac_try
='test -s conftest$ac_exeext'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; }; then
20726 ac_cv_lib_socket_connect
=yes
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.
$ac_ext >&5
20731 ac_cv_lib_socket_connect
=no
20733 rm -f conftest.err conftest.
$ac_objext \
20734 conftest
$ac_exeext conftest.
$ac_ext
20735 LIBS
=$ac_check_lib_save_LIBS
20737 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20738 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20739 if test $ac_cv_lib_socket_connect = yes; then
20740 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20745 # Guillermo Gomez says -lposix is necessary on A/UX.
20746 echo "$as_me:$LINENO: checking for remove" >&5
20747 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20748 if test "${ac_cv_func_remove+set}" = set; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 cat >conftest.
$ac_ext <<_ACEOF
20754 cat confdefs.h
>>conftest.
$ac_ext
20755 cat >>conftest.
$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20759 #define remove innocuous_remove
20761 /* System header to define __stub macros and hopefully few prototypes,
20762 which can conflict with char remove (); below.
20763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20764 <limits.h> exists even on freestanding compilers. */
20767 # include <limits.h>
20769 # include <assert.h>
20774 /* Override any gcc2 internal prototype to avoid an error. */
20779 /* We use char because int might match the return type of a gcc2
20780 builtin and then its argument prototype would still apply. */
20782 /* The GNU C library defines this for functions which it implements
20783 to always fail with ENOSYS. Some functions are actually named
20784 something starting with __ and the normal name is an alias. */
20785 #if defined (__stub_remove) || defined (__stub___remove)
20788 char (*f) () = remove;
20797 return f != remove;
20802 rm -f conftest.
$ac_objext conftest
$ac_exeext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20804 (eval $ac_link) 2>conftest.er1
20806 grep -v '^ *+' conftest.er1
>conftest.err
20808 cat conftest.err
>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try
='test -z "$ac_c_werror_flag"
20812 || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest$ac_exeext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_cv_func_remove
=yes
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 ac_cv_func_remove
=no
20831 rm -f conftest.err conftest.
$ac_objext \
20832 conftest
$ac_exeext conftest.
$ac_ext
20834 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20835 echo "${ECHO_T}$ac_cv_func_remove" >&6
20837 if test $ac_cv_func_remove = no
; then
20838 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20839 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20840 if test "${ac_cv_lib_posix_remove+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 ac_check_lib_save_LIBS
=$LIBS
20844 LIBS
="-lposix $LIBS"
20845 cat >conftest.
$ac_ext <<_ACEOF
20848 cat confdefs.h
>>conftest.
$ac_ext
20849 cat >>conftest.
$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20852 /* Override any gcc2 internal prototype to avoid an error. */
20856 /* We use char because int might match the return type of a gcc2
20857 builtin and then its argument prototype would still apply. */
20867 rm -f conftest.
$ac_objext conftest
$ac_exeext
20868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20869 (eval $ac_link) 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } &&
20876 { ac_try
='test -z "$ac_c_werror_flag"
20877 || test ! -s conftest.err'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; } &&
20883 { ac_try
='test -s conftest$ac_exeext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 ac_cv_lib_posix_remove
=yes
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 ac_cv_lib_posix_remove
=no
20896 rm -f conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20898 LIBS
=$ac_check_lib_save_LIBS
20900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20901 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20902 if test $ac_cv_lib_posix_remove = yes; then
20903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20908 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20909 echo "$as_me:$LINENO: checking for shmat" >&5
20910 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20911 if test "${ac_cv_func_shmat+set}" = set; then
20912 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 cat >conftest.
$ac_ext <<_ACEOF
20917 cat confdefs.h
>>conftest.
$ac_ext
20918 cat >>conftest.
$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20922 #define shmat innocuous_shmat
20924 /* System header to define __stub macros and hopefully few prototypes,
20925 which can conflict with char shmat (); below.
20926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20927 <limits.h> exists even on freestanding compilers. */
20930 # include <limits.h>
20932 # include <assert.h>
20937 /* Override any gcc2 internal prototype to avoid an error. */
20942 /* We use char because int might match the return type of a gcc2
20943 builtin and then its argument prototype would still apply. */
20945 /* The GNU C library defines this for functions which it implements
20946 to always fail with ENOSYS. Some functions are actually named
20947 something starting with __ and the normal name is an alias. */
20948 #if defined (__stub_shmat) || defined (__stub___shmat)
20951 char (*f) () = shmat;
20965 rm -f conftest.
$ac_objext conftest
$ac_exeext
20966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20967 (eval $ac_link) 2>conftest.er1
20969 grep -v '^ *+' conftest.er1
>conftest.err
20971 cat conftest.err
>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try
='test -z "$ac_c_werror_flag"
20975 || test ! -s conftest.err'
20976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977 (eval $ac_try) 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; } &&
20981 { ac_try
='test -s conftest$ac_exeext'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; }; then
20987 ac_cv_func_shmat
=yes
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20992 ac_cv_func_shmat
=no
20994 rm -f conftest.err conftest.
$ac_objext \
20995 conftest
$ac_exeext conftest.
$ac_ext
20997 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20998 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21000 if test $ac_cv_func_shmat = no
; then
21001 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21002 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21003 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 ac_check_lib_save_LIBS
=$LIBS
21008 cat >conftest.
$ac_ext <<_ACEOF
21011 cat confdefs.h
>>conftest.
$ac_ext
21012 cat >>conftest.
$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21015 /* Override any gcc2 internal prototype to avoid an error. */
21019 /* We use char because int might match the return type of a gcc2
21020 builtin and then its argument prototype would still apply. */
21030 rm -f conftest.
$ac_objext conftest
$ac_exeext
21031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21032 (eval $ac_link) 2>conftest.er1
21034 grep -v '^ *+' conftest.er1
>conftest.err
21036 cat conftest.err
>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } &&
21039 { ac_try
='test -z "$ac_c_werror_flag"
21040 || test ! -s conftest.err'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; } &&
21046 { ac_try
='test -s conftest$ac_exeext'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052 ac_cv_lib_ipc_shmat
=yes
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.
$ac_ext >&5
21057 ac_cv_lib_ipc_shmat
=no
21059 rm -f conftest.err conftest.
$ac_objext \
21060 conftest
$ac_exeext conftest.
$ac_ext
21061 LIBS
=$ac_check_lib_save_LIBS
21063 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21064 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21065 if test $ac_cv_lib_ipc_shmat = yes; then
21066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21072 # Check for libraries that X11R6 Xt/Xaw programs need.
21073 ac_save_LDFLAGS
=$LDFLAGS
21074 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21075 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21076 # check for ICE first), but we must link in the order -lSM -lICE or
21077 # we get undefined symbols. So assume we have SM if we have ICE.
21078 # These have to be linked with before -lX11, unlike the other
21079 # libraries we check for below, so use a different variable.
21080 # John Interrante, Karl Berry
21081 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21082 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21083 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_check_lib_save_LIBS
=$LIBS
21087 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21088 cat >conftest.
$ac_ext <<_ACEOF
21091 cat confdefs.h
>>conftest.
$ac_ext
21092 cat >>conftest.
$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21095 /* Override any gcc2 internal prototype to avoid an error. */
21099 /* We use char because int might match the return type of a gcc2
21100 builtin and then its argument prototype would still apply. */
21101 char IceConnectionNumber ();
21105 IceConnectionNumber ();
21110 rm -f conftest.
$ac_objext conftest
$ac_exeext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21112 (eval $ac_link) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try
='test -z "$ac_c_werror_flag"
21120 || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try
='test -s conftest$ac_exeext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 ac_cv_lib_ICE_IceConnectionNumber
=yes
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21137 ac_cv_lib_ICE_IceConnectionNumber
=no
21139 rm -f conftest.err conftest.
$ac_objext \
21140 conftest
$ac_exeext conftest.
$ac_ext
21141 LIBS
=$ac_check_lib_save_LIBS
21143 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21144 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21145 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21146 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21149 LDFLAGS
=$ac_save_LDFLAGS
21153 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
21155 if test "x$x_includes" = "x"; then
21156 x_includes
="default_x_includes"
21158 if test "x$x_libraries" = "x"; then
21159 x_libraries
="default_x_libraries"
21161 if test -z "$x_libraries"; then
21162 { { echo "$as_me:$LINENO: error: No X libraries found" >&5
21163 echo "$as_me: error: No X libraries found" >&2;}
21164 { (exit 1); exit 1; }; } # Exit
21166 if test -z "$x_includes"; then
21167 { { echo "$as_me:$LINENO: error: No X includes found" >&5
21168 echo "$as_me: error: No X includes found" >&2;}
21169 { (exit 1); exit 1; }; } # Exit
21172 LDFLAGS
="$X_LDFLAGS $X_LIBS"
21173 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
21174 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
21175 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
21176 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 ac_check_lib_save_LIBS
=$LIBS
21180 cat >conftest.
$ac_ext <<_ACEOF
21183 cat confdefs.h
>>conftest.
$ac_ext
21184 cat >>conftest.
$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21187 /* Override any gcc2 internal prototype to avoid an error. */
21191 /* We use char because int might match the return type of a gcc2
21192 builtin and then its argument prototype would still apply. */
21193 char XOpenDisplay ();
21202 rm -f conftest.
$ac_objext conftest
$ac_exeext
21203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21204 (eval $ac_link) 2>conftest.er1
21206 grep -v '^ *+' conftest.er1
>conftest.err
21208 cat conftest.err
>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); } &&
21211 { ac_try
='test -z "$ac_c_werror_flag"
21212 || test ! -s conftest.err'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; } &&
21218 { ac_try
='test -s conftest$ac_exeext'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21224 ac_cv_lib_X11_XOpenDisplay
=yes
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.
$ac_ext >&5
21229 ac_cv_lib_X11_XOpenDisplay
=no
21231 rm -f conftest.err conftest.
$ac_objext \
21232 conftest
$ac_exeext conftest.
$ac_ext
21233 LIBS
=$ac_check_lib_save_LIBS
21235 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
21236 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
21237 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
21238 x_libs
="-lX11 $X_EXTRA_LIBS"
21240 { { echo "$as_me:$LINENO: error: X Development libraries not found" >&5
21241 echo "$as_me: error: X Development libraries not found" >&2;}
21242 { (exit 1); exit 1; }; }
21245 echo "$as_me:$LINENO: checking for XauDisposeAuth in -lXau" >&5
21246 echo $ECHO_N "checking for XauDisposeAuth in -lXau... $ECHO_C" >&6
21247 if test "${ac_cv_lib_Xau_XauDisposeAuth+set}" = set; then
21248 echo $ECHO_N "(cached) $ECHO_C" >&6
21250 ac_check_lib_save_LIBS
=$LIBS
21252 cat >conftest.
$ac_ext <<_ACEOF
21255 cat confdefs.h
>>conftest.
$ac_ext
21256 cat >>conftest.
$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21259 /* Override any gcc2 internal prototype to avoid an error. */
21263 /* We use char because int might match the return type of a gcc2
21264 builtin and then its argument prototype would still apply. */
21265 char XauDisposeAuth ();
21274 rm -f conftest.
$ac_objext conftest
$ac_exeext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21276 (eval $ac_link) 2>conftest.er1
21278 grep -v '^ *+' conftest.er1
>conftest.err
21280 cat conftest.err
>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try
='test -z "$ac_c_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try
='test -s conftest$ac_exeext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_lib_Xau_XauDisposeAuth
=yes
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 ac_cv_lib_Xau_XauDisposeAuth
=no
21303 rm -f conftest.err conftest.
$ac_objext \
21304 conftest
$ac_exeext conftest.
$ac_ext
21305 LIBS
=$ac_check_lib_save_LIBS
21307 echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauDisposeAuth" >&5
21308 echo "${ECHO_T}$ac_cv_lib_Xau_XauDisposeAuth" >&6
21309 if test $ac_cv_lib_Xau_XauDisposeAuth = yes; then
21314 x_includes
="no_x_includes"
21315 x_libraries
="no_x_libraries"
21317 if test -z "$x_includes"; then
21318 x_includes
="no_x_includes"
21320 if test -z "$x_libraries"; then
21321 x_libraries
="no_x_libraries"
21323 if test "$x_includes" = "default_x_includes"; then
21324 XINC
="/usr/include"
21329 if test "$x_libraries" = "default_x_libraries"; then
21330 XLIB
=`$PKG_CONFIG --variable=libdir x11`
21331 if test "x$XLIB" = x
; then
21335 XLIB
="$x_libraries"
21340 if test "$_os" != "WINNT" -a "$_os" != "OS2" -a "$_os" != "Darwin"; then
21341 echo "$as_me:$LINENO: checking whether to use Xaw" >&5
21342 echo $ECHO_N "checking whether to use Xaw... $ECHO_C" >&6
21343 if test "$enable_Xaw" = "no"; then
21345 echo "$as_me:$LINENO: result: no" >&5
21346 echo "${ECHO_T}no" >&6
21348 for ac_header
in X11
/Composite.h
21350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21351 echo "$as_me:$LINENO: checking for $ac_header" >&5
21352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21354 echo $ECHO_N "(cached) $ECHO_C" >&6
21356 cat >conftest.
$ac_ext <<_ACEOF
21359 cat confdefs.h
>>conftest.
$ac_ext
21360 cat >>conftest.
$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #include <X11/Intrinsic.h>
21364 #include <$ac_header>
21366 rm -f conftest.
$ac_objext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21368 (eval $ac_compile) 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try
='test -z "$ac_c_werror_flag"
21376 || test ! -s conftest.err'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try
='test -s conftest.$ac_objext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 eval "$as_ac_Header=yes"
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.
$ac_ext >&5
21393 eval "$as_ac_Header=no"
21395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21400 cat >>confdefs.h
<<_ACEOF
21401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21405 { { echo "$as_me:$LINENO: error: Xt include headers not found" >&5
21406 echo "$as_me: error: Xt include headers not found" >&2;}
21407 { (exit 1); exit 1; }; }
21413 echo "$as_me:$LINENO: result: yes" >&5
21414 echo "${ECHO_T}yes" >&6
21416 for ac_header
in X11
/Xaw
/Label.h
21418 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21419 echo "$as_me:$LINENO: checking for $ac_header" >&5
21420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 cat >conftest.
$ac_ext <<_ACEOF
21427 cat confdefs.h
>>conftest.
$ac_ext
21428 cat >>conftest.
$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 #include <X11/Intrinsic.h>
21432 #include <$ac_header>
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_c_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try
='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 eval "$as_ac_Header=yes"
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 eval "$as_ac_Header=no"
21463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21468 cat >>confdefs.h
<<_ACEOF
21469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21473 { { echo "$as_me:$LINENO: error: Xaw include headers not found" >&5
21474 echo "$as_me: error: Xaw include headers not found" >&2;}
21475 { (exit 1); exit 1; }; }
21481 echo "$as_me:$LINENO: checking for main in -lXaw" >&5
21482 echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6
21483 if test "${ac_cv_lib_Xaw_main+set}" = set; then
21484 echo $ECHO_N "(cached) $ECHO_C" >&6
21486 ac_check_lib_save_LIBS
=$LIBS
21488 cat >conftest.
$ac_ext <<_ACEOF
21491 cat confdefs.h
>>conftest.
$ac_ext
21492 cat >>conftest.
$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21504 rm -f conftest.
$ac_objext conftest
$ac_exeext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21506 (eval $ac_link) 2>conftest.er1
21508 grep -v '^ *+' conftest.er1
>conftest.err
21510 cat conftest.err
>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } &&
21513 { ac_try
='test -z "$ac_c_werror_flag"
21514 || test ! -s conftest.err'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; } &&
21520 { ac_try
='test -s conftest$ac_exeext'
21521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21522 (eval $ac_try) 2>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; }; then
21526 ac_cv_lib_Xaw_main
=yes
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.
$ac_ext >&5
21531 ac_cv_lib_Xaw_main
=no
21533 rm -f conftest.err conftest.
$ac_objext \
21534 conftest
$ac_exeext conftest.
$ac_ext
21535 LIBS
=$ac_check_lib_save_LIBS
21537 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
21538 echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6
21539 if test $ac_cv_lib_Xaw_main = yes; then
21540 cat >>confdefs.h
<<_ACEOF
21541 #define HAVE_LIBXAW 1
21547 { { echo "$as_me:$LINENO: error: Xaw library not found or functional" >&5
21548 echo "$as_me: error: Xaw library not found or functional" >&2;}
21549 { (exit 1); exit 1; }; }
21558 if test "$ENABLE_FONTCONFIG" = "TRUE" ; then
21559 if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
21560 echo "$as_me:$LINENO: checking for fontconfig/fontconfig.h" >&5
21561 echo $ECHO_N "checking for fontconfig/fontconfig.h... $ECHO_C" >&6
21562 if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 echo "$as_me:$LINENO: result: $ac_cv_header_fontconfig_fontconfig_h" >&5
21566 echo "${ECHO_T}$ac_cv_header_fontconfig_fontconfig_h" >&6
21568 # Is the header compilable?
21569 echo "$as_me:$LINENO: checking fontconfig/fontconfig.h usability" >&5
21570 echo $ECHO_N "checking fontconfig/fontconfig.h usability... $ECHO_C" >&6
21571 cat >conftest.
$ac_ext <<_ACEOF
21574 cat confdefs.h
>>conftest.
$ac_ext
21575 cat >>conftest.
$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 $ac_includes_default
21578 #include <fontconfig/fontconfig.h>
21580 rm -f conftest.
$ac_objext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21582 (eval $ac_compile) 2>conftest.er1
21584 grep -v '^ *+' conftest.er1
>conftest.err
21586 cat conftest.err
>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try
='test -z "$ac_c_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_header_compiler
=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ac_header_compiler
=no
21609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21611 echo "${ECHO_T}$ac_header_compiler" >&6
21613 # Is the header present?
21614 echo "$as_me:$LINENO: checking fontconfig/fontconfig.h presence" >&5
21615 echo $ECHO_N "checking fontconfig/fontconfig.h presence... $ECHO_C" >&6
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <fontconfig/fontconfig.h>
21624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } >/dev
/null
; then
21632 if test -s conftest.err
; then
21633 ac_cpp_err
=$ac_c_preproc_warn_flag
21634 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21641 if test -z "$ac_cpp_err"; then
21642 ac_header_preproc
=yes
21644 echo "$as_me: failed program was:" >&5
21645 sed 's/^/| /' conftest.
$ac_ext >&5
21647 ac_header_preproc
=no
21649 rm -f conftest.err conftest.
$ac_ext
21650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21651 echo "${ECHO_T}$ac_header_preproc" >&6
21653 # So? What about this header?
21654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21656 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5
21657 echo "$as_me: WARNING: fontconfig/fontconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21658 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: proceeding with the compiler's result" >&5
21659 echo "$as_me: WARNING: fontconfig/fontconfig.h: proceeding with the compiler's result" >&2;}
21660 ac_header_preproc
=yes
21663 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: present but cannot be compiled" >&5
21664 echo "$as_me: WARNING: fontconfig/fontconfig.h: present but cannot be compiled" >&2;}
21665 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: check for missing prerequisite headers?" >&5
21666 echo "$as_me: WARNING: fontconfig/fontconfig.h: check for missing prerequisite headers?" >&2;}
21667 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: see the Autoconf documentation" >&5
21668 echo "$as_me: WARNING: fontconfig/fontconfig.h: see the Autoconf documentation" >&2;}
21669 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: section \"Present But Cannot Be Compiled\"" >&5
21670 echo "$as_me: WARNING: fontconfig/fontconfig.h: section \"Present But Cannot Be Compiled\"" >&2;}
21671 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: proceeding with the preprocessor's result" >&5
21672 echo "$as_me: WARNING: fontconfig/fontconfig.h: proceeding with the preprocessor's result" >&2;}
21673 { echo "$as_me:$LINENO: WARNING: fontconfig/fontconfig.h: in the future, the compiler will take precedence" >&5
21674 echo "$as_me: WARNING: fontconfig/fontconfig.h: in the future, the compiler will take precedence" >&2;}
21677 ## ------------------------------------------ ##
21678 ## Report this to the AC_PACKAGE_NAME lists. ##
21679 ## ------------------------------------------ ##
21682 sed "s/^/$as_me: WARNING: /" >&2
21685 echo "$as_me:$LINENO: checking for fontconfig/fontconfig.h" >&5
21686 echo $ECHO_N "checking for fontconfig/fontconfig.h... $ECHO_C" >&6
21687 if test "${ac_cv_header_fontconfig_fontconfig_h+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 ac_cv_header_fontconfig_fontconfig_h
=$ac_header_preproc
21692 echo "$as_me:$LINENO: result: $ac_cv_header_fontconfig_fontconfig_h" >&5
21693 echo "${ECHO_T}$ac_cv_header_fontconfig_fontconfig_h" >&6
21696 if test $ac_cv_header_fontconfig_fontconfig_h = yes; then
21699 { { echo "$as_me:$LINENO: error: fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?" >&5
21700 echo "$as_me: error: fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?" >&2;}
21701 { (exit 1); exit 1; }; }
21705 echo "$as_me:$LINENO: checking whether fontconfig is >= 2.2.0" >&5
21706 echo $ECHO_N "checking whether fontconfig is >= 2.2.0... $ECHO_C" >&6
21707 if test "$cross_compiling" = yes; then
21708 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21709 See \`config.log' for more details." >&5
21710 echo "$as_me: error: cannot run test program while cross compiling
21711 See \`config.log' for more details." >&2;}
21712 { (exit 1); exit 1; }; }
21714 cat >conftest.
$ac_ext <<_ACEOF
21717 cat confdefs.h
>>conftest.
$ac_ext
21718 cat >>conftest.
$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21721 #include <fontconfig/fontconfig.h>
21723 int main(int argc, char **argv) {
21724 if(FC_MAJOR > 2 || (FC_MAJOR == 2 && FC_MINOR >= 2)) return 0;
21729 rm -f conftest
$ac_exeext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21731 (eval $ac_link) 2>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; }; then
21740 echo "$as_me:$LINENO: result: yes" >&5
21741 echo "${ECHO_T}yes" >&6
21743 echo "$as_me: program exited with status $ac_status" >&5
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21747 ( exit $ac_status )
21748 { { echo "$as_me:$LINENO: error: no, fontconfig >= 2.2.0 needed" >&5
21749 echo "$as_me: error: no, fontconfig >= 2.2.0 needed" >&2;}
21750 { (exit 1); exit 1; }; }
21752 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21756 echo "$as_me:$LINENO: checking whether to link to Xrender" >&5
21757 echo $ECHO_N "checking whether to link to Xrender... $ECHO_C" >&6
21758 if test -n "$enable_xrender_link" -a "$enable_xrender_link" != "no"; then
21759 echo "$as_me:$LINENO: result: yes" >&5
21760 echo "${ECHO_T}yes" >&6
21762 with_system_xrender_headers
=yes
21764 echo "$as_me:$LINENO: result: no, dynamically open it" >&5
21765 echo "${ECHO_T}no, dynamically open it" >&6
21768 echo "$as_me:$LINENO: checking which Xrender headers to use" >&5
21769 echo $ECHO_N "checking which Xrender headers to use... $ECHO_C" >&6
21770 if test -n "$with_system_xrender_headers" -o -n "$with_system_headers" && \
21771 test "$with_system_xrender_headers" != "no"; then
21772 echo "$as_me:$LINENO: result: external" >&5
21773 echo "${ECHO_T}external" >&6
21774 SYSTEM_XRENDER_HEADERS
=YES
21775 if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
21776 echo "$as_me:$LINENO: checking for X11/extensions/Xrender.h" >&5
21777 echo $ECHO_N "checking for X11/extensions/Xrender.h... $ECHO_C" >&6
21778 if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrender_h" >&5
21782 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrender_h" >&6
21784 # Is the header compilable?
21785 echo "$as_me:$LINENO: checking X11/extensions/Xrender.h usability" >&5
21786 echo $ECHO_N "checking X11/extensions/Xrender.h usability... $ECHO_C" >&6
21787 cat >conftest.
$ac_ext <<_ACEOF
21790 cat confdefs.h
>>conftest.
$ac_ext
21791 cat >>conftest.
$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 #include <X11/extensions/Xrender.h>
21796 rm -f conftest.
$ac_objext
21797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21798 (eval $ac_compile) 2>conftest.er1
21800 grep -v '^ *+' conftest.er1
>conftest.err
21802 cat conftest.err
>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } &&
21805 { ac_try
='test -z "$ac_c_werror_flag"
21806 || test ! -s conftest.err'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; } &&
21812 { ac_try
='test -s conftest.$ac_objext'
21813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21814 (eval $ac_try) 2>&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); }; }; then
21818 ac_header_compiler
=yes
21820 echo "$as_me: failed program was:" >&5
21821 sed 's/^/| /' conftest.
$ac_ext >&5
21823 ac_header_compiler
=no
21825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21827 echo "${ECHO_T}$ac_header_compiler" >&6
21829 # Is the header present?
21830 echo "$as_me:$LINENO: checking X11/extensions/Xrender.h presence" >&5
21831 echo $ECHO_N "checking X11/extensions/Xrender.h presence... $ECHO_C" >&6
21832 cat >conftest.
$ac_ext <<_ACEOF
21835 cat confdefs.h
>>conftest.
$ac_ext
21836 cat >>conftest.
$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 #include <X11/extensions/Xrender.h>
21840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21843 grep -v '^ *+' conftest.er1
>conftest.err
21845 cat conftest.err
>&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } >/dev
/null
; then
21848 if test -s conftest.err
; then
21849 ac_cpp_err
=$ac_c_preproc_warn_flag
21850 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21857 if test -z "$ac_cpp_err"; then
21858 ac_header_preproc
=yes
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.
$ac_ext >&5
21863 ac_header_preproc
=no
21865 rm -f conftest.err conftest.
$ac_ext
21866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21867 echo "${ECHO_T}$ac_header_preproc" >&6
21869 # So? What about this header?
21870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21872 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: accepted by the compiler, rejected by the preprocessor!" >&5
21873 echo "$as_me: WARNING: X11/extensions/Xrender.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21874 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: proceeding with the compiler's result" >&5
21875 echo "$as_me: WARNING: X11/extensions/Xrender.h: proceeding with the compiler's result" >&2;}
21876 ac_header_preproc
=yes
21879 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: present but cannot be compiled" >&5
21880 echo "$as_me: WARNING: X11/extensions/Xrender.h: present but cannot be compiled" >&2;}
21881 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: check for missing prerequisite headers?" >&5
21882 echo "$as_me: WARNING: X11/extensions/Xrender.h: check for missing prerequisite headers?" >&2;}
21883 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: see the Autoconf documentation" >&5
21884 echo "$as_me: WARNING: X11/extensions/Xrender.h: see the Autoconf documentation" >&2;}
21885 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: section \"Present But Cannot Be Compiled\"" >&5
21886 echo "$as_me: WARNING: X11/extensions/Xrender.h: section \"Present But Cannot Be Compiled\"" >&2;}
21887 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: proceeding with the preprocessor's result" >&5
21888 echo "$as_me: WARNING: X11/extensions/Xrender.h: proceeding with the preprocessor's result" >&2;}
21889 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrender.h: in the future, the compiler will take precedence" >&5
21890 echo "$as_me: WARNING: X11/extensions/Xrender.h: in the future, the compiler will take precedence" >&2;}
21893 ## ------------------------------------------ ##
21894 ## Report this to the AC_PACKAGE_NAME lists. ##
21895 ## ------------------------------------------ ##
21898 sed "s/^/$as_me: WARNING: /" >&2
21901 echo "$as_me:$LINENO: checking for X11/extensions/Xrender.h" >&5
21902 echo $ECHO_N "checking for X11/extensions/Xrender.h... $ECHO_C" >&6
21903 if test "${ac_cv_header_X11_extensions_Xrender_h+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 ac_cv_header_X11_extensions_Xrender_h
=$ac_header_preproc
21908 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrender_h" >&5
21909 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrender_h" >&6
21912 if test $ac_cv_header_X11_extensions_Xrender_h = yes; then
21915 { { echo "$as_me:$LINENO: error: Xrender not found. install X" >&5
21916 echo "$as_me: error: Xrender not found. install X" >&2;}
21917 { (exit 1); exit 1; }; }
21922 echo "$as_me:$LINENO: result: internal" >&5
21923 echo "${ECHO_T}internal" >&6
21924 SYSTEM_XRENDER_HEADERS
=NO
21925 BUILD_TYPE
="$BUILD_TYPE X11_EXTENSIONS"
21927 if test "$XRENDER_LINK" = "YES"; then
21929 echo "$as_me:$LINENO: checking for XRenderQueryVersion in -lXrender" >&5
21930 echo $ECHO_N "checking for XRenderQueryVersion in -lXrender... $ECHO_C" >&6
21931 if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then
21932 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 ac_check_lib_save_LIBS
=$LIBS
21935 LIBS
="-lXrender $LIBS"
21936 cat >conftest.
$ac_ext <<_ACEOF
21939 cat confdefs.h
>>conftest.
$ac_ext
21940 cat >>conftest.
$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21943 /* Override any gcc2 internal prototype to avoid an error. */
21947 /* We use char because int might match the return type of a gcc2
21948 builtin and then its argument prototype would still apply. */
21949 char XRenderQueryVersion ();
21953 XRenderQueryVersion ();
21958 rm -f conftest.
$ac_objext conftest
$ac_exeext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21960 (eval $ac_link) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try
='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try
='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_lib_Xrender_XRenderQueryVersion
=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21985 ac_cv_lib_Xrender_XRenderQueryVersion
=no
21987 rm -f conftest.err conftest.
$ac_objext \
21988 conftest
$ac_exeext conftest.
$ac_ext
21989 LIBS
=$ac_check_lib_save_LIBS
21991 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
21992 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryVersion" >&6
21993 if test $ac_cv_lib_Xrender_XRenderQueryVersion = yes; then
21994 cat >>confdefs.h
<<_ACEOF
21995 #define HAVE_LIBXRENDER 1
21998 LIBS
="-lXrender $LIBS"
22001 { { echo "$as_me:$LINENO: error: libXrender not found or functional" >&5
22002 echo "$as_me: error: libXrender not found or functional" >&2;}
22003 { (exit 1); exit 1; }; }
22010 echo "$as_me:$LINENO: checking whether to enable RandR support" >&5
22011 echo $ECHO_N "checking whether to enable RandR support... $ECHO_C" >&6
22012 if test "$test_randr" = "yes" -a \
( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \
) ; then
22013 if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
22014 XRANDR_DLOPEN
="TRUE"
22015 echo "$as_me:$LINENO: result: resorting to dlopen libXrandr at runtime" >&5
22016 echo "${ECHO_T}resorting to dlopen libXrandr at runtime" >&6
22018 XRANDR_DLOPEN
="FALSE"
22022 if test -z "$PKG_CONFIG"; then
22023 # Extract the first word of "pkg-config", so it can be a program name with args.
22024 set dummy pkg-config
; ac_word
=$2
22025 echo "$as_me:$LINENO: checking for $ac_word" >&5
22026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 case $PKG_CONFIG in
22032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22036 for as_dir
in $PATH
22039 test -z "$as_dir" && as_dir
=.
22040 for ac_exec_ext
in '' $ac_executable_extensions; do
22041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22053 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22055 if test -n "$PKG_CONFIG"; then
22056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22057 echo "${ECHO_T}$PKG_CONFIG" >&6
22059 echo "$as_me:$LINENO: result: no" >&5
22060 echo "${ECHO_T}no" >&6
22065 if test "$PKG_CONFIG" = "no" ; then
22066 echo "*** The pkg-config script could not be found. Make sure it is"
22067 echo "*** in your path, or set the PKG_CONFIG environment variable"
22068 echo "*** to the full path to pkg-config."
22069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22071 PKG_CONFIG_MIN_VERSION
=0.9.0
22072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22073 echo "$as_me:$LINENO: checking for xrandr >= 1.2" >&5
22074 echo $ECHO_N "checking for xrandr >= 1.2... $ECHO_C" >&6
22076 if $PKG_CONFIG --exists "xrandr >= 1.2" ; then
22077 echo "$as_me:$LINENO: result: yes" >&5
22078 echo "${ECHO_T}yes" >&6
22081 echo "$as_me:$LINENO: checking XRANDR_CFLAGS" >&5
22082 echo $ECHO_N "checking XRANDR_CFLAGS... $ECHO_C" >&6
22083 XRANDR_CFLAGS
=`$PKG_CONFIG --cflags "xrandr >= 1.2"`
22084 echo "$as_me:$LINENO: result: $XRANDR_CFLAGS" >&5
22085 echo "${ECHO_T}$XRANDR_CFLAGS" >&6
22087 echo "$as_me:$LINENO: checking XRANDR_LIBS" >&5
22088 echo $ECHO_N "checking XRANDR_LIBS... $ECHO_C" >&6
22089 XRANDR_LIBS
=`$PKG_CONFIG --libs "xrandr >= 1.2"`
22090 echo "$as_me:$LINENO: result: $XRANDR_LIBS" >&5
22091 echo "${ECHO_T}$XRANDR_LIBS" >&6
22095 ## If we have a custom action on failure, don't print errors, but
22096 ## do set a variable so people can do so.
22097 XRANDR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xrandr >= 1.2"`
22104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22109 if test $succeeded = yes; then
22110 ENABLE_RANDR
="TRUE"
22115 if test "$ENABLE_RANDR" != "TRUE"; then
22116 if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
22117 echo "$as_me:$LINENO: checking for X11/extensions/Xrandr.h" >&5
22118 echo $ECHO_N "checking for X11/extensions/Xrandr.h... $ECHO_C" >&6
22119 if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22122 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrandr_h" >&5
22123 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrandr_h" >&6
22125 # Is the header compilable?
22126 echo "$as_me:$LINENO: checking X11/extensions/Xrandr.h usability" >&5
22127 echo $ECHO_N "checking X11/extensions/Xrandr.h usability... $ECHO_C" >&6
22128 cat >conftest.
$ac_ext <<_ACEOF
22131 cat confdefs.h
>>conftest.
$ac_ext
22132 cat >>conftest.
$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134 $ac_includes_default
22135 #include <X11/extensions/Xrandr.h>
22137 rm -f conftest.
$ac_objext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22139 (eval $ac_compile) 2>conftest.er1
22141 grep -v '^ *+' conftest.er1
>conftest.err
22143 cat conftest.err
>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try
='test -z "$ac_c_werror_flag"
22147 || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try
='test -s conftest.$ac_objext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_header_compiler
=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 ac_header_compiler
=no
22166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22168 echo "${ECHO_T}$ac_header_compiler" >&6
22170 # Is the header present?
22171 echo "$as_me:$LINENO: checking X11/extensions/Xrandr.h presence" >&5
22172 echo $ECHO_N "checking X11/extensions/Xrandr.h presence... $ECHO_C" >&6
22173 cat >conftest.
$ac_ext <<_ACEOF
22176 cat confdefs.h
>>conftest.
$ac_ext
22177 cat >>conftest.
$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 #include <X11/extensions/Xrandr.h>
22181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22184 grep -v '^ *+' conftest.er1
>conftest.err
22186 cat conftest.err
>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); } >/dev
/null
; then
22189 if test -s conftest.err
; then
22190 ac_cpp_err
=$ac_c_preproc_warn_flag
22191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22198 if test -z "$ac_cpp_err"; then
22199 ac_header_preproc
=yes
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.
$ac_ext >&5
22204 ac_header_preproc
=no
22206 rm -f conftest.err conftest.
$ac_ext
22207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22208 echo "${ECHO_T}$ac_header_preproc" >&6
22210 # So? What about this header?
22211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22213 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: accepted by the compiler, rejected by the preprocessor!" >&5
22214 echo "$as_me: WARNING: X11/extensions/Xrandr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22215 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: proceeding with the compiler's result" >&5
22216 echo "$as_me: WARNING: X11/extensions/Xrandr.h: proceeding with the compiler's result" >&2;}
22217 ac_header_preproc
=yes
22220 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled" >&5
22221 echo "$as_me: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled" >&2;}
22222 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: check for missing prerequisite headers?" >&5
22223 echo "$as_me: WARNING: X11/extensions/Xrandr.h: check for missing prerequisite headers?" >&2;}
22224 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: see the Autoconf documentation" >&5
22225 echo "$as_me: WARNING: X11/extensions/Xrandr.h: see the Autoconf documentation" >&2;}
22226 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: section \"Present But Cannot Be Compiled\"" >&5
22227 echo "$as_me: WARNING: X11/extensions/Xrandr.h: section \"Present But Cannot Be Compiled\"" >&2;}
22228 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: proceeding with the preprocessor's result" >&5
22229 echo "$as_me: WARNING: X11/extensions/Xrandr.h: proceeding with the preprocessor's result" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xrandr.h: in the future, the compiler will take precedence" >&5
22231 echo "$as_me: WARNING: X11/extensions/Xrandr.h: in the future, the compiler will take precedence" >&2;}
22234 ## ------------------------------------------ ##
22235 ## Report this to the AC_PACKAGE_NAME lists. ##
22236 ## ------------------------------------------ ##
22239 sed "s/^/$as_me: WARNING: /" >&2
22242 echo "$as_me:$LINENO: checking for X11/extensions/Xrandr.h" >&5
22243 echo $ECHO_N "checking for X11/extensions/Xrandr.h... $ECHO_C" >&6
22244 if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 ac_cv_header_X11_extensions_Xrandr_h
=$ac_header_preproc
22249 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrandr_h" >&5
22250 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrandr_h" >&6
22253 if test $ac_cv_header_X11_extensions_Xrandr_h = yes; then
22256 { { echo "$as_me:$LINENO: error: X11/extensions/Xrandr.h could not be found. X11 dev missing?" >&5
22257 echo "$as_me: error: X11/extensions/Xrandr.h could not be found. X11 dev missing?" >&2;}
22258 { (exit 1); exit 1; }; }
22264 echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
22265 echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6
22266 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
22267 echo $ECHO_N "(cached) $ECHO_C" >&6
22269 ac_check_lib_save_LIBS
=$LIBS
22270 LIBS
="-lXrandr $LIBS"
22271 cat >conftest.
$ac_ext <<_ACEOF
22274 cat confdefs.h
>>conftest.
$ac_ext
22275 cat >>conftest.
$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22278 /* Override any gcc2 internal prototype to avoid an error. */
22282 /* We use char because int might match the return type of a gcc2
22283 builtin and then its argument prototype would still apply. */
22284 char XRRQueryExtension ();
22288 XRRQueryExtension ();
22293 rm -f conftest.
$ac_objext conftest
$ac_exeext
22294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22295 (eval $ac_link) 2>conftest.er1
22297 grep -v '^ *+' conftest.er1
>conftest.err
22299 cat conftest.err
>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } &&
22302 { ac_try
='test -z "$ac_c_werror_flag"
22303 || test ! -s conftest.err'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; } &&
22309 { ac_try
='test -s conftest$ac_exeext'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; }; then
22315 ac_cv_lib_Xrandr_XRRQueryExtension
=yes
22317 echo "$as_me: failed program was:" >&5
22318 sed 's/^/| /' conftest.
$ac_ext >&5
22320 ac_cv_lib_Xrandr_XRRQueryExtension
=no
22322 rm -f conftest.err conftest.
$ac_objext \
22323 conftest
$ac_exeext conftest.
$ac_ext
22324 LIBS
=$ac_check_lib_save_LIBS
22326 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
22327 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRQueryExtension" >&6
22328 if test $ac_cv_lib_Xrandr_XRRQueryExtension = yes; then
22329 cat >>confdefs.h
<<_ACEOF
22330 #define HAVE_LIBXRANDR 1
22333 LIBS
="-lXrandr $LIBS"
22336 { { echo "$as_me:$LINENO: error: libXrandr not found or functional" >&5
22337 echo "$as_me: error: libXrandr not found or functional" >&2;}
22338 { (exit 1); exit 1; }; }
22341 XRANDR_LIBS
="-lXrandr "
22342 ENABLE_RANDR
="TRUE"
22343 echo "$as_me:$LINENO: result: enabling RandR support" >&5
22344 echo "${ECHO_T}enabling RandR support" >&6
22349 echo "$as_me:$LINENO: result: no" >&5
22350 echo "${ECHO_T}no" >&6
22357 echo "$as_me:$LINENO: checking whether to use neon" >&5
22358 echo $ECHO_N "checking whether to use neon... $ECHO_C" >&6
22359 if test "$enable_neon" = "no"; then
22360 echo "$as_me:$LINENO: result: no" >&5
22361 echo "${ECHO_T}no" >&6
22365 echo "$as_me:$LINENO: result: yes" >&5
22366 echo "${ECHO_T}yes" >&6
22367 echo "$as_me:$LINENO: checking which neon to use" >&5
22368 echo $ECHO_N "checking which neon to use... $ECHO_C" >&6
22369 if test -n "$with_system_neon" -o -n "$with_system_libs" && \
22370 test "$with_system_neon" != "no"; then
22371 echo "$as_me:$LINENO: result: external" >&5
22372 echo "${ECHO_T}external" >&6
22376 if test -z "$PKG_CONFIG"; then
22377 # Extract the first word of "pkg-config", so it can be a program name with args.
22378 set dummy pkg-config
; ac_word
=$2
22379 echo "$as_me:$LINENO: checking for $ac_word" >&5
22380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 case $PKG_CONFIG in
22386 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22390 for as_dir
in $PATH
22393 test -z "$as_dir" && as_dir
=.
22394 for ac_exec_ext
in '' $ac_executable_extensions; do
22395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22396 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22407 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22409 if test -n "$PKG_CONFIG"; then
22410 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22411 echo "${ECHO_T}$PKG_CONFIG" >&6
22413 echo "$as_me:$LINENO: result: no" >&5
22414 echo "${ECHO_T}no" >&6
22419 if test "$PKG_CONFIG" = "no" ; then
22420 echo "*** The pkg-config script could not be found. Make sure it is"
22421 echo "*** in your path, or set the PKG_CONFIG environment variable"
22422 echo "*** to the full path to pkg-config."
22423 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22425 PKG_CONFIG_MIN_VERSION
=0.9.0
22426 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22427 echo "$as_me:$LINENO: checking for neon >= 0.24.0" >&5
22428 echo $ECHO_N "checking for neon >= 0.24.0... $ECHO_C" >&6
22430 if $PKG_CONFIG --exists "neon >= 0.24.0" ; then
22431 echo "$as_me:$LINENO: result: yes" >&5
22432 echo "${ECHO_T}yes" >&6
22435 echo "$as_me:$LINENO: checking NEON_CFLAGS" >&5
22436 echo $ECHO_N "checking NEON_CFLAGS... $ECHO_C" >&6
22437 NEON_CFLAGS
=`$PKG_CONFIG --cflags "neon >= 0.24.0"`
22438 echo "$as_me:$LINENO: result: $NEON_CFLAGS" >&5
22439 echo "${ECHO_T}$NEON_CFLAGS" >&6
22441 echo "$as_me:$LINENO: checking NEON_LIBS" >&5
22442 echo $ECHO_N "checking NEON_LIBS... $ECHO_C" >&6
22443 NEON_LIBS
=`$PKG_CONFIG --libs "neon >= 0.24.0"`
22444 echo "$as_me:$LINENO: result: $NEON_LIBS" >&5
22445 echo "${ECHO_T}$NEON_LIBS" >&6
22449 ## If we have a custom action on failure, don't print errors, but
22450 ## do set a variable so people can do so.
22451 NEON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.24.0"`
22458 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22459 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22463 if test $succeeded = yes; then
22466 { { echo "$as_me:$LINENO: error: you need neon >= 0.24.x for system-neon" >&5
22467 echo "$as_me: error: you need neon >= 0.24.x for system-neon" >&2;}
22468 { (exit 1); exit 1; }; }
22471 NEON_VERSION
="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
22472 NEON_CFLAGS
="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
22475 echo "$as_me:$LINENO: result: internal" >&5
22476 echo "${ECHO_T}internal" >&6
22480 BUILD_TYPE
="$BUILD_TYPE NEON"
22488 if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
22489 with_system_openssl
=yes
22491 echo "$as_me:$LINENO: checking which libssl to use" >&5
22492 echo $ECHO_N "checking which libssl to use... $ECHO_C" >&6
22493 if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
22494 test "$with_system_openssl" != "no"; then
22495 echo "$as_me:$LINENO: result: external" >&5
22496 echo "${ECHO_T}external" >&6
22497 # Mac OS builds should get out without extra stuff is the Mac porters'
22498 # wish. And pkg-config is although Xcode ships a .pc for openssl
22499 if test "$_os" = "Darwin"; then
22501 OPENSSL_LIBS
="-lssl -lcrypto"
22506 if test -z "$PKG_CONFIG"; then
22507 # Extract the first word of "pkg-config", so it can be a program name with args.
22508 set dummy pkg-config
; ac_word
=$2
22509 echo "$as_me:$LINENO: checking for $ac_word" >&5
22510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 case $PKG_CONFIG in
22516 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22520 for as_dir
in $PATH
22523 test -z "$as_dir" && as_dir
=.
22524 for ac_exec_ext
in '' $ac_executable_extensions; do
22525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22526 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22533 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22537 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22539 if test -n "$PKG_CONFIG"; then
22540 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22541 echo "${ECHO_T}$PKG_CONFIG" >&6
22543 echo "$as_me:$LINENO: result: no" >&5
22544 echo "${ECHO_T}no" >&6
22549 if test "$PKG_CONFIG" = "no" ; then
22550 echo "*** The pkg-config script could not be found. Make sure it is"
22551 echo "*** in your path, or set the PKG_CONFIG environment variable"
22552 echo "*** to the full path to pkg-config."
22553 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22555 PKG_CONFIG_MIN_VERSION
=0.9.0
22556 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22557 echo "$as_me:$LINENO: checking for openssl " >&5
22558 echo $ECHO_N "checking for openssl ... $ECHO_C" >&6
22560 if $PKG_CONFIG --exists "openssl " ; then
22561 echo "$as_me:$LINENO: result: yes" >&5
22562 echo "${ECHO_T}yes" >&6
22565 echo "$as_me:$LINENO: checking OPENSSL_CFLAGS" >&5
22566 echo $ECHO_N "checking OPENSSL_CFLAGS... $ECHO_C" >&6
22567 OPENSSL_CFLAGS
=`$PKG_CONFIG --cflags "openssl "`
22568 echo "$as_me:$LINENO: result: $OPENSSL_CFLAGS" >&5
22569 echo "${ECHO_T}$OPENSSL_CFLAGS" >&6
22571 echo "$as_me:$LINENO: checking OPENSSL_LIBS" >&5
22572 echo $ECHO_N "checking OPENSSL_LIBS... $ECHO_C" >&6
22573 OPENSSL_LIBS
=`$PKG_CONFIG --libs "openssl "`
22574 echo "$as_me:$LINENO: result: $OPENSSL_LIBS" >&5
22575 echo "${ECHO_T}$OPENSSL_LIBS" >&6
22579 ## If we have a custom action on failure, don't print errors, but
22580 ## do set a variable so people can do so.
22581 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl "`
22582 echo $OPENSSL_PKG_ERRORS
22588 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22589 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22593 if test $succeeded = yes; then
22596 { { echo "$as_me:$LINENO: error: Library requirements (openssl ) 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
22597 echo "$as_me: error: Library requirements (openssl ) 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;}
22598 { (exit 1); exit 1; }; }
22604 echo "$as_me:$LINENO: result: internal" >&5
22605 echo "${ECHO_T}internal" >&6
22607 BUILD_TYPE
="$BUILD_TYPE OPENSSL"
22613 echo "$as_me:$LINENO: checking whether to enable agg" >&5
22614 echo $ECHO_N "checking whether to enable agg... $ECHO_C" >&6
22615 if test "$with_agg" = "no"; then
22616 echo "$as_me:$LINENO: result: no" >&5
22617 echo "${ECHO_T}no" >&6
22619 echo "$as_me:$LINENO: result: yes" >&5
22620 echo "${ECHO_T}yes" >&6
22624 echo "$as_me:$LINENO: checking which AGG to use" >&5
22625 echo $ECHO_N "checking which AGG to use... $ECHO_C" >&6
22626 if test -n "$with_system_agg" -o -n "$with_system_libs" && \
22627 test "$with_system_agg" != "no"; then
22628 echo "$as_me:$LINENO: result: external" >&5
22629 echo "${ECHO_T}external" >&6
22633 if test -z "$PKG_CONFIG"; then
22634 # Extract the first word of "pkg-config", so it can be a program name with args.
22635 set dummy pkg-config
; ac_word
=$2
22636 echo "$as_me:$LINENO: checking for $ac_word" >&5
22637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22638 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22639 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 case $PKG_CONFIG in
22643 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22647 for as_dir
in $PATH
22650 test -z "$as_dir" && as_dir
=.
22651 for ac_exec_ext
in '' $ac_executable_extensions; do
22652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22653 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22660 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22664 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22666 if test -n "$PKG_CONFIG"; then
22667 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22668 echo "${ECHO_T}$PKG_CONFIG" >&6
22670 echo "$as_me:$LINENO: result: no" >&5
22671 echo "${ECHO_T}no" >&6
22676 if test "$PKG_CONFIG" = "no" ; then
22677 echo "*** The pkg-config script could not be found. Make sure it is"
22678 echo "*** in your path, or set the PKG_CONFIG environment variable"
22679 echo "*** to the full path to pkg-config."
22680 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22682 PKG_CONFIG_MIN_VERSION
=0.9.0
22683 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22684 echo "$as_me:$LINENO: checking for libagg >= 2.3" >&5
22685 echo $ECHO_N "checking for libagg >= 2.3... $ECHO_C" >&6
22687 if $PKG_CONFIG --exists "libagg >= 2.3" ; then
22688 echo "$as_me:$LINENO: result: yes" >&5
22689 echo "${ECHO_T}yes" >&6
22692 echo "$as_me:$LINENO: checking AGG_CFLAGS" >&5
22693 echo $ECHO_N "checking AGG_CFLAGS... $ECHO_C" >&6
22694 AGG_CFLAGS
=`$PKG_CONFIG --cflags "libagg >= 2.3"`
22695 echo "$as_me:$LINENO: result: $AGG_CFLAGS" >&5
22696 echo "${ECHO_T}$AGG_CFLAGS" >&6
22698 echo "$as_me:$LINENO: checking AGG_LIBS" >&5
22699 echo $ECHO_N "checking AGG_LIBS... $ECHO_C" >&6
22700 AGG_LIBS
=`$PKG_CONFIG --libs "libagg >= 2.3"`
22701 echo "$as_me:$LINENO: result: $AGG_LIBS" >&5
22702 echo "${ECHO_T}$AGG_LIBS" >&6
22706 ## If we have a custom action on failure, don't print errors, but
22707 ## do set a variable so people can do so.
22708 AGG_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libagg >= 2.3"`
22709 echo $AGG_PKG_ERRORS
22715 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22716 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22720 if test $succeeded = yes; then
22723 { { echo "$as_me:$LINENO: error: Library requirements (libagg >= 2.3) 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
22724 echo "$as_me: error: Library requirements (libagg >= 2.3) 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;}
22725 { (exit 1); exit 1; }; }
22728 echo "$as_me:$LINENO: checking agg version" >&5
22729 echo $ECHO_N "checking agg version... $ECHO_C" >&6
22730 # workaround; if AGG_CFLAGS is empty (broken libagg.pc in 2.3), add /usr/include/agg2 anyway
22731 # (/usr/include gets stripped from pkg-config output)
22732 if test -z "$AGG_CFLAGS" ||
test "$AGG_CFLAGS" = " "; then
22733 AGG_INCDIR
="`$PKG_CONFIG --variable includedir libagg`/agg2"
22735 AGG_INCDIR
="`echo $AGG_CFLAGS | $SED -e s/-I//`"
22737 if $PKG_CONFIG --modversion libagg |
grep -q 2.3 || \
22738 $PKG_CONFIG --modversion libagg |
grep -q 2.4; then
22739 # 2.4's libagg.pc.in still contains 2.3 :/
22740 if $EGREP -q "Version 2.4" `echo $AGG_INCDIR`/agg_basics.h
; then
22741 echo "$as_me:$LINENO: result: 2.4" >&5
22742 echo "${ECHO_T}2.4" >&6
22745 echo "$as_me:$LINENO: result: 2.3" >&5
22746 echo "${ECHO_T}2.3" >&6
22751 { { echo "$as_me:$LINENO: error: only agg 2.3 and 2.4 are supported" >&5
22752 echo "$as_me: error: only agg 2.3 and 2.4 are supported" >&2;}
22753 { (exit 1); exit 1; }; }
22756 echo "$as_me:$LINENO: result: internal" >&5
22757 echo "${ECHO_T}internal" >&6
22760 BUILD_TYPE
="$BUILD_TYPE AGG"
22766 echo "$as_me:$LINENO: checking which redland library to use" >&5
22767 echo $ECHO_N "checking which redland library to use... $ECHO_C" >&6
22768 if test -n "$with_system_redland" -o -n "$with_system_libs" && \
22769 test "$with_system_redland" != "no"; then
22770 echo "$as_me:$LINENO: result: external" >&5
22771 echo "${ECHO_T}external" >&6
22776 if test -z "$PKG_CONFIG"; then
22777 # Extract the first word of "pkg-config", so it can be a program name with args.
22778 set dummy pkg-config
; ac_word
=$2
22779 echo "$as_me:$LINENO: checking for $ac_word" >&5
22780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22782 echo $ECHO_N "(cached) $ECHO_C" >&6
22784 case $PKG_CONFIG in
22786 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22790 for as_dir
in $PATH
22793 test -z "$as_dir" && as_dir
=.
22794 for ac_exec_ext
in '' $ac_executable_extensions; do
22795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22796 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22807 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22809 if test -n "$PKG_CONFIG"; then
22810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22811 echo "${ECHO_T}$PKG_CONFIG" >&6
22813 echo "$as_me:$LINENO: result: no" >&5
22814 echo "${ECHO_T}no" >&6
22819 if test "$PKG_CONFIG" = "no" ; then
22820 echo "*** The pkg-config script could not be found. Make sure it is"
22821 echo "*** in your path, or set the PKG_CONFIG environment variable"
22822 echo "*** to the full path to pkg-config."
22823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22825 PKG_CONFIG_MIN_VERSION
=0.9.0
22826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22827 echo "$as_me:$LINENO: checking for redland >= 1.0.8" >&5
22828 echo $ECHO_N "checking for redland >= 1.0.8... $ECHO_C" >&6
22830 if $PKG_CONFIG --exists "redland >= 1.0.8" ; then
22831 echo "$as_me:$LINENO: result: yes" >&5
22832 echo "${ECHO_T}yes" >&6
22835 echo "$as_me:$LINENO: checking REDLAND_CFLAGS" >&5
22836 echo $ECHO_N "checking REDLAND_CFLAGS... $ECHO_C" >&6
22837 REDLAND_CFLAGS
=`$PKG_CONFIG --cflags "redland >= 1.0.8"`
22838 echo "$as_me:$LINENO: result: $REDLAND_CFLAGS" >&5
22839 echo "${ECHO_T}$REDLAND_CFLAGS" >&6
22841 echo "$as_me:$LINENO: checking REDLAND_LIBS" >&5
22842 echo $ECHO_N "checking REDLAND_LIBS... $ECHO_C" >&6
22843 REDLAND_LIBS
=`$PKG_CONFIG --libs "redland >= 1.0.8"`
22844 echo "$as_me:$LINENO: result: $REDLAND_LIBS" >&5
22845 echo "${ECHO_T}$REDLAND_LIBS" >&6
22849 ## If we have a custom action on failure, don't print errors, but
22850 ## do set a variable so people can do so.
22851 REDLAND_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "redland >= 1.0.8"`
22852 echo $REDLAND_PKG_ERRORS
22858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22863 if test $succeeded = yes; then
22866 { { echo "$as_me:$LINENO: error: Library requirements (redland >= 1.0.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22867 echo "$as_me: error: Library requirements (redland >= 1.0.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22868 { (exit 1); exit 1; }; }
22872 echo "$as_me:$LINENO: result: internal" >&5
22873 echo "${ECHO_T}internal" >&6
22874 BUILD_TYPE
="$BUILD_TYPE REDLAND"
22880 echo "$as_me:$LINENO: checking which libhunspell to use" >&5
22881 echo $ECHO_N "checking which libhunspell to use... $ECHO_C" >&6
22882 if test -n "$with_system_hunspell" -o -n "$with_system_libs" && \
22883 test "$with_system_hunspell" != "no"; then
22884 echo "$as_me:$LINENO: result: external" >&5
22885 echo "${ECHO_T}external" >&6
22886 SYSTEM_HUNSPELL
=YES
22888 ac_cpp
='$CXXCPP $CPPFLAGS'
22889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22896 if test -z "$PKG_CONFIG"; then
22897 # Extract the first word of "pkg-config", so it can be a program name with args.
22898 set dummy pkg-config
; ac_word
=$2
22899 echo "$as_me:$LINENO: checking for $ac_word" >&5
22900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22901 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 case $PKG_CONFIG in
22906 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22910 for as_dir
in $PATH
22913 test -z "$as_dir" && as_dir
=.
22914 for ac_exec_ext
in '' $ac_executable_extensions; do
22915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22916 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22923 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22927 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22929 if test -n "$PKG_CONFIG"; then
22930 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22931 echo "${ECHO_T}$PKG_CONFIG" >&6
22933 echo "$as_me:$LINENO: result: no" >&5
22934 echo "${ECHO_T}no" >&6
22939 if test "$PKG_CONFIG" = "no" ; then
22940 echo "*** The pkg-config script could not be found. Make sure it is"
22941 echo "*** in your path, or set the PKG_CONFIG environment variable"
22942 echo "*** to the full path to pkg-config."
22943 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22945 PKG_CONFIG_MIN_VERSION
=0.9.0
22946 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22947 echo "$as_me:$LINENO: checking for hunspell" >&5
22948 echo $ECHO_N "checking for hunspell... $ECHO_C" >&6
22950 if $PKG_CONFIG --exists "hunspell" ; then
22951 echo "$as_me:$LINENO: result: yes" >&5
22952 echo "${ECHO_T}yes" >&6
22955 echo "$as_me:$LINENO: checking HUNSPELL_CFLAGS" >&5
22956 echo $ECHO_N "checking HUNSPELL_CFLAGS... $ECHO_C" >&6
22957 HUNSPELL_CFLAGS
=`$PKG_CONFIG --cflags "hunspell"`
22958 echo "$as_me:$LINENO: result: $HUNSPELL_CFLAGS" >&5
22959 echo "${ECHO_T}$HUNSPELL_CFLAGS" >&6
22961 echo "$as_me:$LINENO: checking HUNSPELL_LIBS" >&5
22962 echo $ECHO_N "checking HUNSPELL_LIBS... $ECHO_C" >&6
22963 HUNSPELL_LIBS
=`$PKG_CONFIG --libs "hunspell"`
22964 echo "$as_me:$LINENO: result: $HUNSPELL_LIBS" >&5
22965 echo "${ECHO_T}$HUNSPELL_LIBS" >&6
22969 ## If we have a custom action on failure, don't print errors, but
22970 ## do set a variable so people can do so.
22971 HUNSPELL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hunspell"`
22978 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22979 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22983 if test $succeeded = yes; then
22989 if test "$HUNSPELL_PC" != "TRUE"; then
22990 if test "${ac_cv_header_hunspell_hxx+set}" = set; then
22991 echo "$as_me:$LINENO: checking for hunspell.hxx" >&5
22992 echo $ECHO_N "checking for hunspell.hxx... $ECHO_C" >&6
22993 if test "${ac_cv_header_hunspell_hxx+set}" = set; then
22994 echo $ECHO_N "(cached) $ECHO_C" >&6
22996 echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hxx" >&5
22997 echo "${ECHO_T}$ac_cv_header_hunspell_hxx" >&6
22999 # Is the header compilable?
23000 echo "$as_me:$LINENO: checking hunspell.hxx usability" >&5
23001 echo $ECHO_N "checking hunspell.hxx usability... $ECHO_C" >&6
23002 cat >conftest.
$ac_ext <<_ACEOF
23005 cat confdefs.h
>>conftest.
$ac_ext
23006 cat >>conftest.
$ac_ext <<_ACEOF
23007 /* end confdefs.h. */
23008 $ac_includes_default
23009 #include <hunspell.hxx>
23011 rm -f conftest.
$ac_objext
23012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23013 (eval $ac_compile) 2>conftest.er1
23015 grep -v '^ *+' conftest.er1
>conftest.err
23017 cat conftest.err
>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try
='test -z "$ac_cxx_werror_flag"
23021 || test ! -s conftest.err'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; } &&
23027 { ac_try
='test -s conftest.$ac_objext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 ac_header_compiler
=yes
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.
$ac_ext >&5
23038 ac_header_compiler
=no
23040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23042 echo "${ECHO_T}$ac_header_compiler" >&6
23044 # Is the header present?
23045 echo "$as_me:$LINENO: checking hunspell.hxx presence" >&5
23046 echo $ECHO_N "checking hunspell.hxx presence... $ECHO_C" >&6
23047 cat >conftest.
$ac_ext <<_ACEOF
23050 cat confdefs.h
>>conftest.
$ac_ext
23051 cat >>conftest.
$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053 #include <hunspell.hxx>
23055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23058 grep -v '^ *+' conftest.er1
>conftest.err
23060 cat conftest.err
>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } >/dev
/null
; then
23063 if test -s conftest.err
; then
23064 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23065 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23072 if test -z "$ac_cpp_err"; then
23073 ac_header_preproc
=yes
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.
$ac_ext >&5
23078 ac_header_preproc
=no
23080 rm -f conftest.err conftest.
$ac_ext
23081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23082 echo "${ECHO_T}$ac_header_preproc" >&6
23084 # So? What about this header?
23085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23087 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
23088 echo "$as_me: WARNING: hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
23089 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: proceeding with the compiler's result" >&5
23090 echo "$as_me: WARNING: hunspell.hxx: proceeding with the compiler's result" >&2;}
23091 ac_header_preproc
=yes
23094 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: present but cannot be compiled" >&5
23095 echo "$as_me: WARNING: hunspell.hxx: present but cannot be compiled" >&2;}
23096 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: check for missing prerequisite headers?" >&5
23097 echo "$as_me: WARNING: hunspell.hxx: check for missing prerequisite headers?" >&2;}
23098 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: see the Autoconf documentation" >&5
23099 echo "$as_me: WARNING: hunspell.hxx: see the Autoconf documentation" >&2;}
23100 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: section \"Present But Cannot Be Compiled\"" >&5
23101 echo "$as_me: WARNING: hunspell.hxx: section \"Present But Cannot Be Compiled\"" >&2;}
23102 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: proceeding with the preprocessor's result" >&5
23103 echo "$as_me: WARNING: hunspell.hxx: proceeding with the preprocessor's result" >&2;}
23104 { echo "$as_me:$LINENO: WARNING: hunspell.hxx: in the future, the compiler will take precedence" >&5
23105 echo "$as_me: WARNING: hunspell.hxx: in the future, the compiler will take precedence" >&2;}
23108 ## ------------------------------------------ ##
23109 ## Report this to the AC_PACKAGE_NAME lists. ##
23110 ## ------------------------------------------ ##
23113 sed "s/^/$as_me: WARNING: /" >&2
23116 echo "$as_me:$LINENO: checking for hunspell.hxx" >&5
23117 echo $ECHO_N "checking for hunspell.hxx... $ECHO_C" >&6
23118 if test "${ac_cv_header_hunspell_hxx+set}" = set; then
23119 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 ac_cv_header_hunspell_hxx
=$ac_header_preproc
23123 echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hxx" >&5
23124 echo "${ECHO_T}$ac_cv_header_hunspell_hxx" >&6
23127 if test $ac_cv_header_hunspell_hxx = yes; then
23131 if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
23132 echo "$as_me:$LINENO: checking for hunspell/hunspell.hxx" >&5
23133 echo $ECHO_N "checking for hunspell/hunspell.hxx... $ECHO_C" >&6
23134 if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
23135 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hunspell_hxx" >&5
23138 echo "${ECHO_T}$ac_cv_header_hunspell_hunspell_hxx" >&6
23140 # Is the header compilable?
23141 echo "$as_me:$LINENO: checking hunspell/hunspell.hxx usability" >&5
23142 echo $ECHO_N "checking hunspell/hunspell.hxx usability... $ECHO_C" >&6
23143 cat >conftest.
$ac_ext <<_ACEOF
23146 cat confdefs.h
>>conftest.
$ac_ext
23147 cat >>conftest.
$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23149 $ac_includes_default
23150 #include <hunspell/hunspell.hxx>
23152 rm -f conftest.
$ac_objext
23153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23154 (eval $ac_compile) 2>conftest.er1
23156 grep -v '^ *+' conftest.er1
>conftest.err
23158 cat conftest.err
>&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } &&
23161 { ac_try
='test -z "$ac_cxx_werror_flag"
23162 || test ! -s conftest.err'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; } &&
23168 { ac_try
='test -s conftest.$ac_objext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 ac_header_compiler
=yes
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.
$ac_ext >&5
23179 ac_header_compiler
=no
23181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23183 echo "${ECHO_T}$ac_header_compiler" >&6
23185 # Is the header present?
23186 echo "$as_me:$LINENO: checking hunspell/hunspell.hxx presence" >&5
23187 echo $ECHO_N "checking hunspell/hunspell.hxx presence... $ECHO_C" >&6
23188 cat >conftest.
$ac_ext <<_ACEOF
23191 cat confdefs.h
>>conftest.
$ac_ext
23192 cat >>conftest.
$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23194 #include <hunspell/hunspell.hxx>
23196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23199 grep -v '^ *+' conftest.er1
>conftest.err
23201 cat conftest.err
>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } >/dev
/null
; then
23204 if test -s conftest.err
; then
23205 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23206 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23213 if test -z "$ac_cpp_err"; then
23214 ac_header_preproc
=yes
23216 echo "$as_me: failed program was:" >&5
23217 sed 's/^/| /' conftest.
$ac_ext >&5
23219 ac_header_preproc
=no
23221 rm -f conftest.err conftest.
$ac_ext
23222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23223 echo "${ECHO_T}$ac_header_preproc" >&6
23225 # So? What about this header?
23226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23228 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
23229 echo "$as_me: WARNING: hunspell/hunspell.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
23230 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: proceeding with the compiler's result" >&5
23231 echo "$as_me: WARNING: hunspell/hunspell.hxx: proceeding with the compiler's result" >&2;}
23232 ac_header_preproc
=yes
23235 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: present but cannot be compiled" >&5
23236 echo "$as_me: WARNING: hunspell/hunspell.hxx: present but cannot be compiled" >&2;}
23237 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: check for missing prerequisite headers?" >&5
23238 echo "$as_me: WARNING: hunspell/hunspell.hxx: check for missing prerequisite headers?" >&2;}
23239 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: see the Autoconf documentation" >&5
23240 echo "$as_me: WARNING: hunspell/hunspell.hxx: see the Autoconf documentation" >&2;}
23241 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: section \"Present But Cannot Be Compiled\"" >&5
23242 echo "$as_me: WARNING: hunspell/hunspell.hxx: section \"Present But Cannot Be Compiled\"" >&2;}
23243 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: proceeding with the preprocessor's result" >&5
23244 echo "$as_me: WARNING: hunspell/hunspell.hxx: proceeding with the preprocessor's result" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: hunspell/hunspell.hxx: in the future, the compiler will take precedence" >&5
23246 echo "$as_me: WARNING: hunspell/hunspell.hxx: in the future, the compiler will take precedence" >&2;}
23249 ## ------------------------------------------ ##
23250 ## Report this to the AC_PACKAGE_NAME lists. ##
23251 ## ------------------------------------------ ##
23254 sed "s/^/$as_me: WARNING: /" >&2
23257 echo "$as_me:$LINENO: checking for hunspell/hunspell.hxx" >&5
23258 echo $ECHO_N "checking for hunspell/hunspell.hxx... $ECHO_C" >&6
23259 if test "${ac_cv_header_hunspell_hunspell_hxx+set}" = set; then
23260 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 ac_cv_header_hunspell_hunspell_hxx
=$ac_header_preproc
23264 echo "$as_me:$LINENO: result: $ac_cv_header_hunspell_hunspell_hxx" >&5
23265 echo "${ECHO_T}$ac_cv_header_hunspell_hunspell_hxx" >&6
23268 if test $ac_cv_header_hunspell_hunspell_hxx = yes; then
23269 HUNSPELL_CFLAGS
=-I/usr
/include
/hunspell
23271 { { echo "$as_me:$LINENO: error: hunspell headers not found." >&5
23272 echo "$as_me: error: hunspell headers not found." >&2;}
23273 { (exit 1); exit 1; }; }
23282 echo "$as_me:$LINENO: checking for main in -lhunspell" >&5
23283 echo $ECHO_N "checking for main in -lhunspell... $ECHO_C" >&6
23284 if test "${ac_cv_lib_hunspell_main+set}" = set; then
23285 echo $ECHO_N "(cached) $ECHO_C" >&6
23287 ac_check_lib_save_LIBS
=$LIBS
23288 LIBS
="-lhunspell $LIBS"
23289 cat >conftest.
$ac_ext <<_ACEOF
23292 cat confdefs.h
>>conftest.
$ac_ext
23293 cat >>conftest.
$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23305 rm -f conftest.
$ac_objext conftest
$ac_exeext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23307 (eval $ac_link) 2>conftest.er1
23309 grep -v '^ *+' conftest.er1
>conftest.err
23311 cat conftest.err
>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try
='test -z "$ac_cxx_werror_flag"
23315 || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try
='test -s conftest$ac_exeext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_lib_hunspell_main
=yes
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.
$ac_ext >&5
23332 ac_cv_lib_hunspell_main
=no
23334 rm -f conftest.err conftest.
$ac_objext \
23335 conftest
$ac_exeext conftest.
$ac_ext
23336 LIBS
=$ac_check_lib_save_LIBS
23338 echo "$as_me:$LINENO: result: $ac_cv_lib_hunspell_main" >&5
23339 echo "${ECHO_T}$ac_cv_lib_hunspell_main" >&6
23340 if test $ac_cv_lib_hunspell_main = yes; then
23341 cat >>confdefs.h
<<_ACEOF
23342 #define HAVE_LIBHUNSPELL 1
23345 LIBS
="-lhunspell $LIBS"
23348 { { echo "$as_me:$LINENO: error: hunspell library not found." >&5
23349 echo "$as_me: error: hunspell library not found." >&2;}
23350 { (exit 1); exit 1; }; }
23353 HUNSPELL_LIBS
=-lhunspell
23356 ac_cpp
='$CPP $CPPFLAGS'
23357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23362 echo "$as_me:$LINENO: result: internal" >&5
23363 echo "${ECHO_T}internal" >&6
23365 BUILD_TYPE
="$BUILD_TYPE HUNSPELL"
23371 echo "$as_me:$LINENO: checking which altlinuxhyph to use" >&5
23372 echo $ECHO_N "checking which altlinuxhyph to use... $ECHO_C" >&6
23373 if test -n "$with_system_altlinuxhyph" -o -n "$with_system_libs" && \
23374 test "$with_system_altlinuxhyph" != "no"; then
23375 echo "$as_me:$LINENO: result: external" >&5
23376 echo "${ECHO_T}external" >&6
23378 if test "${ac_cv_header_hyphen_h+set}" = set; then
23379 echo "$as_me:$LINENO: checking for hyphen.h" >&5
23380 echo $ECHO_N "checking for hyphen.h... $ECHO_C" >&6
23381 if test "${ac_cv_header_hyphen_h+set}" = set; then
23382 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 echo "$as_me:$LINENO: result: $ac_cv_header_hyphen_h" >&5
23385 echo "${ECHO_T}$ac_cv_header_hyphen_h" >&6
23387 # Is the header compilable?
23388 echo "$as_me:$LINENO: checking hyphen.h usability" >&5
23389 echo $ECHO_N "checking hyphen.h usability... $ECHO_C" >&6
23390 cat >conftest.
$ac_ext <<_ACEOF
23393 cat confdefs.h
>>conftest.
$ac_ext
23394 cat >>conftest.
$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23396 $ac_includes_default
23397 #include <hyphen.h>
23399 rm -f conftest.
$ac_objext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23401 (eval $ac_compile) 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_c_werror_flag"
23409 || test ! -s conftest.err'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; } &&
23415 { ac_try
='test -s conftest.$ac_objext'
23416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417 (eval $ac_try) 2>&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); }; }; then
23421 ac_header_compiler
=yes
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.
$ac_ext >&5
23426 ac_header_compiler
=no
23428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23430 echo "${ECHO_T}$ac_header_compiler" >&6
23432 # Is the header present?
23433 echo "$as_me:$LINENO: checking hyphen.h presence" >&5
23434 echo $ECHO_N "checking hyphen.h presence... $ECHO_C" >&6
23435 cat >conftest.
$ac_ext <<_ACEOF
23438 cat confdefs.h
>>conftest.
$ac_ext
23439 cat >>conftest.
$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 #include <hyphen.h>
23443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23446 grep -v '^ *+' conftest.er1
>conftest.err
23448 cat conftest.err
>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } >/dev
/null
; then
23451 if test -s conftest.err
; then
23452 ac_cpp_err
=$ac_c_preproc_warn_flag
23453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23460 if test -z "$ac_cpp_err"; then
23461 ac_header_preproc
=yes
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.
$ac_ext >&5
23466 ac_header_preproc
=no
23468 rm -f conftest.err conftest.
$ac_ext
23469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23470 echo "${ECHO_T}$ac_header_preproc" >&6
23472 # So? What about this header?
23473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23475 { echo "$as_me:$LINENO: WARNING: hyphen.h: accepted by the compiler, rejected by the preprocessor!" >&5
23476 echo "$as_me: WARNING: hyphen.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23477 { echo "$as_me:$LINENO: WARNING: hyphen.h: proceeding with the compiler's result" >&5
23478 echo "$as_me: WARNING: hyphen.h: proceeding with the compiler's result" >&2;}
23479 ac_header_preproc
=yes
23482 { echo "$as_me:$LINENO: WARNING: hyphen.h: present but cannot be compiled" >&5
23483 echo "$as_me: WARNING: hyphen.h: present but cannot be compiled" >&2;}
23484 { echo "$as_me:$LINENO: WARNING: hyphen.h: check for missing prerequisite headers?" >&5
23485 echo "$as_me: WARNING: hyphen.h: check for missing prerequisite headers?" >&2;}
23486 { echo "$as_me:$LINENO: WARNING: hyphen.h: see the Autoconf documentation" >&5
23487 echo "$as_me: WARNING: hyphen.h: see the Autoconf documentation" >&2;}
23488 { echo "$as_me:$LINENO: WARNING: hyphen.h: section \"Present But Cannot Be Compiled\"" >&5
23489 echo "$as_me: WARNING: hyphen.h: section \"Present But Cannot Be Compiled\"" >&2;}
23490 { echo "$as_me:$LINENO: WARNING: hyphen.h: proceeding with the preprocessor's result" >&5
23491 echo "$as_me: WARNING: hyphen.h: proceeding with the preprocessor's result" >&2;}
23492 { echo "$as_me:$LINENO: WARNING: hyphen.h: in the future, the compiler will take precedence" >&5
23493 echo "$as_me: WARNING: hyphen.h: in the future, the compiler will take precedence" >&2;}
23496 ## ------------------------------------------ ##
23497 ## Report this to the AC_PACKAGE_NAME lists. ##
23498 ## ------------------------------------------ ##
23501 sed "s/^/$as_me: WARNING: /" >&2
23504 echo "$as_me:$LINENO: checking for hyphen.h" >&5
23505 echo $ECHO_N "checking for hyphen.h... $ECHO_C" >&6
23506 if test "${ac_cv_header_hyphen_h+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 ac_cv_header_hyphen_h
=$ac_header_preproc
23511 echo "$as_me:$LINENO: result: $ac_cv_header_hyphen_h" >&5
23512 echo "${ECHO_T}$ac_cv_header_hyphen_h" >&6
23515 if test $ac_cv_header_hyphen_h = yes; then
23518 { { echo "$as_me:$LINENO: error: altlinuxhyph headers not found." >&5
23519 echo "$as_me: error: altlinuxhyph headers not found." >&2;}
23520 { (exit 1); exit 1; }; }
23524 echo "$as_me:$LINENO: checking for struct _HyphenDict.cset" >&5
23525 echo $ECHO_N "checking for struct _HyphenDict.cset... $ECHO_C" >&6
23526 if test "${ac_cv_member_struct__HyphenDict_cset+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23529 cat >conftest.
$ac_ext <<_ACEOF
23532 cat confdefs.h
>>conftest.
$ac_ext
23533 cat >>conftest.
$ac_ext <<_ACEOF
23534 /* end confdefs.h. */
23535 #include <hyphen.h>
23540 static struct _HyphenDict ac_aggr;
23547 rm -f conftest.
$ac_objext
23548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23549 (eval $ac_compile) 2>conftest.er1
23551 grep -v '^ *+' conftest.er1
>conftest.err
23553 cat conftest.err
>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try
='test -z "$ac_c_werror_flag"
23557 || test ! -s conftest.err'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; } &&
23563 { ac_try
='test -s conftest.$ac_objext'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; }; then
23569 ac_cv_member_struct__HyphenDict_cset
=yes
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.
$ac_ext >&5
23574 cat >conftest.
$ac_ext <<_ACEOF
23577 cat confdefs.h
>>conftest.
$ac_ext
23578 cat >>conftest.
$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23580 #include <hyphen.h>
23585 static struct _HyphenDict ac_aggr;
23586 if (sizeof ac_aggr.cset)
23592 rm -f conftest.
$ac_objext
23593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23594 (eval $ac_compile) 2>conftest.er1
23596 grep -v '^ *+' conftest.er1
>conftest.err
23598 cat conftest.err
>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try
='test -z "$ac_c_werror_flag"
23602 || test ! -s conftest.err'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; } &&
23608 { ac_try
='test -s conftest.$ac_objext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_member_struct__HyphenDict_cset
=yes
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.
$ac_ext >&5
23619 ac_cv_member_struct__HyphenDict_cset
=no
23621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23625 echo "$as_me:$LINENO: result: $ac_cv_member_struct__HyphenDict_cset" >&5
23626 echo "${ECHO_T}$ac_cv_member_struct__HyphenDict_cset" >&6
23627 if test $ac_cv_member_struct__HyphenDict_cset = yes; then
23630 { { echo "$as_me:$LINENO: error: no. You are sure you have altlinuyhyph headers?" >&5
23631 echo "$as_me: error: no. You are sure you have altlinuyhyph headers?" >&2;}
23632 { (exit 1); exit 1; }; }
23635 echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhyphen" >&5
23636 echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhyphen... $ECHO_C" >&6
23637 if test "${ac_cv_lib_hyphen_hnj_hyphen_hyphenate2+set}" = set; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23640 ac_check_lib_save_LIBS
=$LIBS
23641 LIBS
="-lhyphen $LIBS"
23642 cat >conftest.
$ac_ext <<_ACEOF
23645 cat confdefs.h
>>conftest.
$ac_ext
23646 cat >>conftest.
$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23649 /* Override any gcc2 internal prototype to avoid an error. */
23653 /* We use char because int might match the return type of a gcc2
23654 builtin and then its argument prototype would still apply. */
23655 char hnj_hyphen_hyphenate2 ();
23659 hnj_hyphen_hyphenate2 ();
23664 rm -f conftest.
$ac_objext conftest
$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666 (eval $ac_link) 2>conftest.er1
23668 grep -v '^ *+' conftest.er1
>conftest.err
23670 cat conftest.err
>&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } &&
23673 { ac_try
='test -z "$ac_c_werror_flag"
23674 || test ! -s conftest.err'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; } &&
23680 { ac_try
='test -s conftest$ac_exeext'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; }; then
23686 ac_cv_lib_hyphen_hnj_hyphen_hyphenate2
=yes
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.
$ac_ext >&5
23691 ac_cv_lib_hyphen_hnj_hyphen_hyphenate2
=no
23693 rm -f conftest.err conftest.
$ac_objext \
23694 conftest
$ac_exeext conftest.
$ac_ext
23695 LIBS
=$ac_check_lib_save_LIBS
23697 echo "$as_me:$LINENO: result: $ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&5
23698 echo "${ECHO_T}$ac_cv_lib_hyphen_hnj_hyphen_hyphenate2" >&6
23699 if test $ac_cv_lib_hyphen_hnj_hyphen_hyphenate2 = yes; then
23700 HYPHEN_LIB
=-lhyphen
23702 { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
23703 echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
23704 { (exit 1); exit 1; }; }
23707 if test -z "$HYPHEN_LIB"; then
23708 echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhyph" >&5
23709 echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhyph... $ECHO_C" >&6
23710 if test "${ac_cv_lib_hyph_hnj_hyphen_hyphenate2+set}" = set; then
23711 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 ac_check_lib_save_LIBS
=$LIBS
23714 LIBS
="-lhyph $LIBS"
23715 cat >conftest.
$ac_ext <<_ACEOF
23718 cat confdefs.h
>>conftest.
$ac_ext
23719 cat >>conftest.
$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23722 /* Override any gcc2 internal prototype to avoid an error. */
23726 /* We use char because int might match the return type of a gcc2
23727 builtin and then its argument prototype would still apply. */
23728 char hnj_hyphen_hyphenate2 ();
23732 hnj_hyphen_hyphenate2 ();
23737 rm -f conftest.
$ac_objext conftest
$ac_exeext
23738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23739 (eval $ac_link) 2>conftest.er1
23741 grep -v '^ *+' conftest.er1
>conftest.err
23743 cat conftest.err
>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } &&
23746 { ac_try
='test -z "$ac_c_werror_flag"
23747 || test ! -s conftest.err'
23748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23749 (eval $ac_try) 2>&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); }; } &&
23753 { ac_try
='test -s conftest$ac_exeext'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; }; then
23759 ac_cv_lib_hyph_hnj_hyphen_hyphenate2
=yes
23761 echo "$as_me: failed program was:" >&5
23762 sed 's/^/| /' conftest.
$ac_ext >&5
23764 ac_cv_lib_hyph_hnj_hyphen_hyphenate2
=no
23766 rm -f conftest.err conftest.
$ac_objext \
23767 conftest
$ac_exeext conftest.
$ac_ext
23768 LIBS
=$ac_check_lib_save_LIBS
23770 echo "$as_me:$LINENO: result: $ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&5
23771 echo "${ECHO_T}$ac_cv_lib_hyph_hnj_hyphen_hyphenate2" >&6
23772 if test $ac_cv_lib_hyph_hnj_hyphen_hyphenate2 = yes; then
23775 { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
23776 echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
23777 { (exit 1); exit 1; }; }
23781 if test -z "$HYPHEN_LIB"; then
23782 echo "$as_me:$LINENO: checking for hnj_hyphen_hyphenate2 in -lhnj" >&5
23783 echo $ECHO_N "checking for hnj_hyphen_hyphenate2 in -lhnj... $ECHO_C" >&6
23784 if test "${ac_cv_lib_hnj_hnj_hyphen_hyphenate2+set}" = set; then
23785 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 ac_check_lib_save_LIBS
=$LIBS
23789 cat >conftest.
$ac_ext <<_ACEOF
23792 cat confdefs.h
>>conftest.
$ac_ext
23793 cat >>conftest.
$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23796 /* Override any gcc2 internal prototype to avoid an error. */
23800 /* We use char because int might match the return type of a gcc2
23801 builtin and then its argument prototype would still apply. */
23802 char hnj_hyphen_hyphenate2 ();
23806 hnj_hyphen_hyphenate2 ();
23811 rm -f conftest.
$ac_objext conftest
$ac_exeext
23812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23813 (eval $ac_link) 2>conftest.er1
23815 grep -v '^ *+' conftest.er1
>conftest.err
23817 cat conftest.err
>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } &&
23820 { ac_try
='test -z "$ac_c_werror_flag"
23821 || test ! -s conftest.err'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; } &&
23827 { ac_try
='test -s conftest$ac_exeext'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; }; then
23833 ac_cv_lib_hnj_hnj_hyphen_hyphenate2
=yes
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.
$ac_ext >&5
23838 ac_cv_lib_hnj_hnj_hyphen_hyphenate2
=no
23840 rm -f conftest.err conftest.
$ac_objext \
23841 conftest
$ac_exeext conftest.
$ac_ext
23842 LIBS
=$ac_check_lib_save_LIBS
23844 echo "$as_me:$LINENO: result: $ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&5
23845 echo "${ECHO_T}$ac_cv_lib_hnj_hnj_hyphen_hyphenate2" >&6
23846 if test $ac_cv_lib_hnj_hnj_hyphen_hyphenate2 = yes; then
23849 { { echo "$as_me:$LINENO: error: altlinuxhyph library not found or too old." >&5
23850 echo "$as_me: error: altlinuxhyph library not found or too old." >&2;}
23851 { (exit 1); exit 1; }; }
23856 echo "$as_me:$LINENO: result: internal" >&5
23857 echo "${ECHO_T}internal" >&6
23859 BUILD_TYPE
="$BUILD_TYPE HYPHEN"
23864 echo "$as_me:$LINENO: checking which mythes to use" >&5
23865 echo $ECHO_N "checking which mythes to use... $ECHO_C" >&6
23866 if test -n "$with_system_mythes" && test "$with_system_mythes" != "no"; then
23867 echo "$as_me:$LINENO: result: external" >&5
23868 echo "${ECHO_T}external" >&6
23871 ac_cpp
='$CXXCPP $CPPFLAGS'
23872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23879 if test -z "$PKG_CONFIG"; then
23880 # Extract the first word of "pkg-config", so it can be a program name with args.
23881 set dummy pkg-config
; ac_word
=$2
23882 echo "$as_me:$LINENO: checking for $ac_word" >&5
23883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23884 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 case $PKG_CONFIG in
23889 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23893 for as_dir
in $PATH
23896 test -z "$as_dir" && as_dir
=.
23897 for ac_exec_ext
in '' $ac_executable_extensions; do
23898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23899 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23906 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23910 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23912 if test -n "$PKG_CONFIG"; then
23913 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23914 echo "${ECHO_T}$PKG_CONFIG" >&6
23916 echo "$as_me:$LINENO: result: no" >&5
23917 echo "${ECHO_T}no" >&6
23922 if test "$PKG_CONFIG" = "no" ; then
23923 echo "*** The pkg-config script could not be found. Make sure it is"
23924 echo "*** in your path, or set the PKG_CONFIG environment variable"
23925 echo "*** to the full path to pkg-config."
23926 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23928 PKG_CONFIG_MIN_VERSION
=0.9.0
23929 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23930 echo "$as_me:$LINENO: checking for mythes" >&5
23931 echo $ECHO_N "checking for mythes... $ECHO_C" >&6
23933 if $PKG_CONFIG --exists "mythes" ; then
23934 echo "$as_me:$LINENO: result: yes" >&5
23935 echo "${ECHO_T}yes" >&6
23938 echo "$as_me:$LINENO: checking MYTHES_CFLAGS" >&5
23939 echo $ECHO_N "checking MYTHES_CFLAGS... $ECHO_C" >&6
23940 MYTHES_CFLAGS
=`$PKG_CONFIG --cflags "mythes"`
23941 echo "$as_me:$LINENO: result: $MYTHES_CFLAGS" >&5
23942 echo "${ECHO_T}$MYTHES_CFLAGS" >&6
23944 echo "$as_me:$LINENO: checking MYTHES_LIBS" >&5
23945 echo $ECHO_N "checking MYTHES_LIBS... $ECHO_C" >&6
23946 MYTHES_LIBS
=`$PKG_CONFIG --libs "mythes"`
23947 echo "$as_me:$LINENO: result: $MYTHES_LIBS" >&5
23948 echo "${ECHO_T}$MYTHES_LIBS" >&6
23952 ## If we have a custom action on failure, don't print errors, but
23953 ## do set a variable so people can do so.
23954 MYTHES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "mythes"`
23961 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23962 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23966 if test $succeeded = yes; then
23967 MYTHES_PKGCONFIG
=yes
23969 MYTHES_PKGCONFIG
=no
23972 if test "$MYTHES_PKGCONFIG" = "no"; then
23973 if test "${ac_cv_header_mythes_hxx+set}" = set; then
23974 echo "$as_me:$LINENO: checking for mythes.hxx" >&5
23975 echo $ECHO_N "checking for mythes.hxx... $ECHO_C" >&6
23976 if test "${ac_cv_header_mythes_hxx+set}" = set; then
23977 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 echo "$as_me:$LINENO: result: $ac_cv_header_mythes_hxx" >&5
23980 echo "${ECHO_T}$ac_cv_header_mythes_hxx" >&6
23982 # Is the header compilable?
23983 echo "$as_me:$LINENO: checking mythes.hxx usability" >&5
23984 echo $ECHO_N "checking mythes.hxx usability... $ECHO_C" >&6
23985 cat >conftest.
$ac_ext <<_ACEOF
23988 cat confdefs.h
>>conftest.
$ac_ext
23989 cat >>conftest.
$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 $ac_includes_default
23992 #include <mythes.hxx>
23994 rm -f conftest.
$ac_objext
23995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23996 (eval $ac_compile) 2>conftest.er1
23998 grep -v '^ *+' conftest.er1
>conftest.err
24000 cat conftest.err
>&5
24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002 (exit $ac_status); } &&
24003 { ac_try
='test -z "$ac_cxx_werror_flag"
24004 || test ! -s conftest.err'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; } &&
24010 { ac_try
='test -s conftest.$ac_objext'
24011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012 (eval $ac_try) 2>&5
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; }; then
24016 ac_header_compiler
=yes
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.
$ac_ext >&5
24021 ac_header_compiler
=no
24023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24025 echo "${ECHO_T}$ac_header_compiler" >&6
24027 # Is the header present?
24028 echo "$as_me:$LINENO: checking mythes.hxx presence" >&5
24029 echo $ECHO_N "checking mythes.hxx presence... $ECHO_C" >&6
24030 cat >conftest.
$ac_ext <<_ACEOF
24033 cat confdefs.h
>>conftest.
$ac_ext
24034 cat >>conftest.
$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 #include <mythes.hxx>
24038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24041 grep -v '^ *+' conftest.er1
>conftest.err
24043 cat conftest.err
>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } >/dev
/null
; then
24046 if test -s conftest.err
; then
24047 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24048 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24055 if test -z "$ac_cpp_err"; then
24056 ac_header_preproc
=yes
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.
$ac_ext >&5
24061 ac_header_preproc
=no
24063 rm -f conftest.err conftest.
$ac_ext
24064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24065 echo "${ECHO_T}$ac_header_preproc" >&6
24067 # So? What about this header?
24068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24070 { echo "$as_me:$LINENO: WARNING: mythes.hxx: accepted by the compiler, rejected by the preprocessor!" >&5
24071 echo "$as_me: WARNING: mythes.hxx: accepted by the compiler, rejected by the preprocessor!" >&2;}
24072 { echo "$as_me:$LINENO: WARNING: mythes.hxx: proceeding with the compiler's result" >&5
24073 echo "$as_me: WARNING: mythes.hxx: proceeding with the compiler's result" >&2;}
24074 ac_header_preproc
=yes
24077 { echo "$as_me:$LINENO: WARNING: mythes.hxx: present but cannot be compiled" >&5
24078 echo "$as_me: WARNING: mythes.hxx: present but cannot be compiled" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: mythes.hxx: check for missing prerequisite headers?" >&5
24080 echo "$as_me: WARNING: mythes.hxx: check for missing prerequisite headers?" >&2;}
24081 { echo "$as_me:$LINENO: WARNING: mythes.hxx: see the Autoconf documentation" >&5
24082 echo "$as_me: WARNING: mythes.hxx: see the Autoconf documentation" >&2;}
24083 { echo "$as_me:$LINENO: WARNING: mythes.hxx: section \"Present But Cannot Be Compiled\"" >&5
24084 echo "$as_me: WARNING: mythes.hxx: section \"Present But Cannot Be Compiled\"" >&2;}
24085 { echo "$as_me:$LINENO: WARNING: mythes.hxx: proceeding with the preprocessor's result" >&5
24086 echo "$as_me: WARNING: mythes.hxx: proceeding with the preprocessor's result" >&2;}
24087 { echo "$as_me:$LINENO: WARNING: mythes.hxx: in the future, the compiler will take precedence" >&5
24088 echo "$as_me: WARNING: mythes.hxx: in the future, the compiler will take precedence" >&2;}
24091 ## ------------------------------------------ ##
24092 ## Report this to the AC_PACKAGE_NAME lists. ##
24093 ## ------------------------------------------ ##
24096 sed "s/^/$as_me: WARNING: /" >&2
24099 echo "$as_me:$LINENO: checking for mythes.hxx" >&5
24100 echo $ECHO_N "checking for mythes.hxx... $ECHO_C" >&6
24101 if test "${ac_cv_header_mythes_hxx+set}" = set; then
24102 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 ac_cv_header_mythes_hxx
=$ac_header_preproc
24106 echo "$as_me:$LINENO: result: $ac_cv_header_mythes_hxx" >&5
24107 echo "${ECHO_T}$ac_cv_header_mythes_hxx" >&6
24110 if test $ac_cv_header_mythes_hxx = yes; then
24113 { { echo "$as_me:$LINENO: error: mythes.hxx headers not found." >&5
24114 echo "$as_me: error: mythes.hxx headers not found." >&2;}
24115 { (exit 1); exit 1; }; }
24120 echo "$as_me:$LINENO: checking for main in -lmythes-1.2" >&5
24121 echo $ECHO_N "checking for main in -lmythes-1.2... $ECHO_C" >&6
24122 if test "${ac_cv_lib_mythes_1_2_main+set}" = set; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 ac_check_lib_save_LIBS
=$LIBS
24126 LIBS
="-lmythes-1.2 $LIBS"
24127 cat >conftest.
$ac_ext <<_ACEOF
24130 cat confdefs.h
>>conftest.
$ac_ext
24131 cat >>conftest.
$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24143 rm -f conftest.
$ac_objext conftest
$ac_exeext
24144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24145 (eval $ac_link) 2>conftest.er1
24147 grep -v '^ *+' conftest.er1
>conftest.err
24149 cat conftest.err
>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } &&
24152 { ac_try
='test -z "$ac_cxx_werror_flag"
24153 || test ! -s conftest.err'
24154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24155 (eval $ac_try) 2>&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); }; } &&
24159 { ac_try
='test -s conftest$ac_exeext'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; }; then
24165 ac_cv_lib_mythes_1_2_main
=yes
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.
$ac_ext >&5
24170 ac_cv_lib_mythes_1_2_main
=no
24172 rm -f conftest.err conftest.
$ac_objext \
24173 conftest
$ac_exeext conftest.
$ac_ext
24174 LIBS
=$ac_check_lib_save_LIBS
24176 echo "$as_me:$LINENO: result: $ac_cv_lib_mythes_1_2_main" >&5
24177 echo "${ECHO_T}$ac_cv_lib_mythes_1_2_main" >&6
24178 if test $ac_cv_lib_mythes_1_2_main = yes; then
24179 cat >>confdefs.h
<<_ACEOF
24180 #define HAVE_LIBMYTHES_1_2 1
24183 LIBS
="-lmythes-1.2 $LIBS"
24189 if test "$MYTHES_FOUND" = "no"; then
24190 echo "$as_me:$LINENO: checking for main in -lmythes" >&5
24191 echo $ECHO_N "checking for main in -lmythes... $ECHO_C" >&6
24192 if test "${ac_cv_lib_mythes_main+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_check_lib_save_LIBS
=$LIBS
24196 LIBS
="-lmythes $LIBS"
24197 cat >conftest.
$ac_ext <<_ACEOF
24200 cat confdefs.h
>>conftest.
$ac_ext
24201 cat >>conftest.
$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24213 rm -f conftest.
$ac_objext conftest
$ac_exeext
24214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24215 (eval $ac_link) 2>conftest.er1
24217 grep -v '^ *+' conftest.er1
>conftest.err
24219 cat conftest.err
>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); } &&
24222 { ac_try
='test -z "$ac_cxx_werror_flag"
24223 || test ! -s conftest.err'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; } &&
24229 { ac_try
='test -s conftest$ac_exeext'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; }; then
24235 ac_cv_lib_mythes_main
=yes
24237 echo "$as_me: failed program was:" >&5
24238 sed 's/^/| /' conftest.
$ac_ext >&5
24240 ac_cv_lib_mythes_main
=no
24242 rm -f conftest.err conftest.
$ac_objext \
24243 conftest
$ac_exeext conftest.
$ac_ext
24244 LIBS
=$ac_check_lib_save_LIBS
24246 echo "$as_me:$LINENO: result: $ac_cv_lib_mythes_main" >&5
24247 echo "${ECHO_T}$ac_cv_lib_mythes_main" >&6
24248 if test $ac_cv_lib_mythes_main = yes; then
24255 if test "$MYTHES_FOUND" = "no"; then
24256 { { echo "$as_me:$LINENO: error: mythes library not found!." >&5
24257 echo "$as_me: error: mythes library not found!." >&2;}
24258 { (exit 1); exit 1; }; }
24262 ac_cpp
='$CPP $CPPFLAGS'
24263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24268 echo "$as_me:$LINENO: result: internal" >&5
24269 echo "${ECHO_T}internal" >&6
24271 BUILD_TYPE
="$BUILD_TYPE MYTHES"
24277 echo "$as_me:$LINENO: checking which lpsolve to use" >&5
24278 echo $ECHO_N "checking which lpsolve to use... $ECHO_C" >&6
24279 if test -n "$with_system_lpsolve" -o -n "$with_system_libs" && \
24280 test "$with_system_lpsolve" != "no"; then
24281 echo "$as_me:$LINENO: result: external" >&5
24282 echo "${ECHO_T}external" >&6
24284 if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
24285 echo "$as_me:$LINENO: checking for lpsolve/lp_lib.h" >&5
24286 echo $ECHO_N "checking for lpsolve/lp_lib.h... $ECHO_C" >&6
24287 if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 echo "$as_me:$LINENO: result: $ac_cv_header_lpsolve_lp_lib_h" >&5
24291 echo "${ECHO_T}$ac_cv_header_lpsolve_lp_lib_h" >&6
24293 # Is the header compilable?
24294 echo "$as_me:$LINENO: checking lpsolve/lp_lib.h usability" >&5
24295 echo $ECHO_N "checking lpsolve/lp_lib.h usability... $ECHO_C" >&6
24296 cat >conftest.
$ac_ext <<_ACEOF
24299 cat confdefs.h
>>conftest.
$ac_ext
24300 cat >>conftest.
$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 $ac_includes_default
24303 #include <lpsolve/lp_lib.h>
24305 rm -f conftest.
$ac_objext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24307 (eval $ac_compile) 2>conftest.er1
24309 grep -v '^ *+' conftest.er1
>conftest.err
24311 cat conftest.err
>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try
='test -z "$ac_c_werror_flag"
24315 || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try
='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327 ac_header_compiler
=yes
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.
$ac_ext >&5
24332 ac_header_compiler
=no
24334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24336 echo "${ECHO_T}$ac_header_compiler" >&6
24338 # Is the header present?
24339 echo "$as_me:$LINENO: checking lpsolve/lp_lib.h presence" >&5
24340 echo $ECHO_N "checking lpsolve/lp_lib.h presence... $ECHO_C" >&6
24341 cat >conftest.
$ac_ext <<_ACEOF
24344 cat confdefs.h
>>conftest.
$ac_ext
24345 cat >>conftest.
$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347 #include <lpsolve/lp_lib.h>
24349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24352 grep -v '^ *+' conftest.er1
>conftest.err
24354 cat conftest.err
>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } >/dev
/null
; then
24357 if test -s conftest.err
; then
24358 ac_cpp_err
=$ac_c_preproc_warn_flag
24359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24366 if test -z "$ac_cpp_err"; then
24367 ac_header_preproc
=yes
24369 echo "$as_me: failed program was:" >&5
24370 sed 's/^/| /' conftest.
$ac_ext >&5
24372 ac_header_preproc
=no
24374 rm -f conftest.err conftest.
$ac_ext
24375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24376 echo "${ECHO_T}$ac_header_preproc" >&6
24378 # So? What about this header?
24379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24381 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24382 echo "$as_me: WARNING: lpsolve/lp_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24383 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: proceeding with the compiler's result" >&5
24384 echo "$as_me: WARNING: lpsolve/lp_lib.h: proceeding with the compiler's result" >&2;}
24385 ac_header_preproc
=yes
24388 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: present but cannot be compiled" >&5
24389 echo "$as_me: WARNING: lpsolve/lp_lib.h: present but cannot be compiled" >&2;}
24390 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: check for missing prerequisite headers?" >&5
24391 echo "$as_me: WARNING: lpsolve/lp_lib.h: check for missing prerequisite headers?" >&2;}
24392 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: see the Autoconf documentation" >&5
24393 echo "$as_me: WARNING: lpsolve/lp_lib.h: see the Autoconf documentation" >&2;}
24394 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: section \"Present But Cannot Be Compiled\"" >&5
24395 echo "$as_me: WARNING: lpsolve/lp_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24396 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: proceeding with the preprocessor's result" >&5
24397 echo "$as_me: WARNING: lpsolve/lp_lib.h: proceeding with the preprocessor's result" >&2;}
24398 { echo "$as_me:$LINENO: WARNING: lpsolve/lp_lib.h: in the future, the compiler will take precedence" >&5
24399 echo "$as_me: WARNING: lpsolve/lp_lib.h: in the future, the compiler will take precedence" >&2;}
24402 ## ------------------------------------------ ##
24403 ## Report this to the AC_PACKAGE_NAME lists. ##
24404 ## ------------------------------------------ ##
24407 sed "s/^/$as_me: WARNING: /" >&2
24410 echo "$as_me:$LINENO: checking for lpsolve/lp_lib.h" >&5
24411 echo $ECHO_N "checking for lpsolve/lp_lib.h... $ECHO_C" >&6
24412 if test "${ac_cv_header_lpsolve_lp_lib_h+set}" = set; then
24413 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 ac_cv_header_lpsolve_lp_lib_h
=$ac_header_preproc
24417 echo "$as_me:$LINENO: result: $ac_cv_header_lpsolve_lp_lib_h" >&5
24418 echo "${ECHO_T}$ac_cv_header_lpsolve_lp_lib_h" >&6
24421 if test $ac_cv_header_lpsolve_lp_lib_h = yes; then
24424 { { echo "$as_me:$LINENO: error: lpsolve headers not found." >&5
24425 echo "$as_me: error: lpsolve headers not found." >&2;}
24426 { (exit 1); exit 1; }; }
24430 # some systems need this. Like Ubuntu....
24432 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24433 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24434 if test "${ac_cv_lib_m_floor+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 ac_check_lib_save_LIBS
=$LIBS
24439 cat >conftest.
$ac_ext <<_ACEOF
24442 cat confdefs.h
>>conftest.
$ac_ext
24443 cat >>conftest.
$ac_ext <<_ACEOF
24444 /* end confdefs.h. */
24446 /* Override any gcc2 internal prototype to avoid an error. */
24450 /* We use char because int might match the return type of a gcc2
24451 builtin and then its argument prototype would still apply. */
24461 rm -f conftest.
$ac_objext conftest
$ac_exeext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24463 (eval $ac_link) 2>conftest.er1
24465 grep -v '^ *+' conftest.er1
>conftest.err
24467 cat conftest.err
>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } &&
24470 { ac_try
='test -z "$ac_c_werror_flag"
24471 || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try
='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 ac_cv_lib_m_floor
=yes
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.
$ac_ext >&5
24488 ac_cv_lib_m_floor
=no
24490 rm -f conftest.err conftest.
$ac_objext \
24491 conftest
$ac_exeext conftest.
$ac_ext
24492 LIBS
=$ac_check_lib_save_LIBS
24494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24495 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24496 if test $ac_cv_lib_m_floor = yes; then
24497 cat >>confdefs.h
<<_ACEOF
24498 #define HAVE_LIBM 1
24506 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24507 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24508 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 ac_check_lib_save_LIBS
=$LIBS
24513 cat >conftest.
$ac_ext <<_ACEOF
24516 cat confdefs.h
>>conftest.
$ac_ext
24517 cat >>conftest.
$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24520 /* Override any gcc2 internal prototype to avoid an error. */
24524 /* We use char because int might match the return type of a gcc2
24525 builtin and then its argument prototype would still apply. */
24535 rm -f conftest.
$ac_objext conftest
$ac_exeext
24536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24537 (eval $ac_link) 2>conftest.er1
24539 grep -v '^ *+' conftest.er1
>conftest.err
24541 cat conftest.err
>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } &&
24544 { ac_try
='test -z "$ac_c_werror_flag"
24545 || test ! -s conftest.err'
24546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547 (eval $ac_try) 2>&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; } &&
24551 { ac_try
='test -s conftest$ac_exeext'
24552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24553 (eval $ac_try) 2>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); }; }; then
24557 ac_cv_lib_dl_dlopen
=yes
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.
$ac_ext >&5
24562 ac_cv_lib_dl_dlopen
=no
24564 rm -f conftest.err conftest.
$ac_objext \
24565 conftest
$ac_exeext conftest.
$ac_ext
24566 LIBS
=$ac_check_lib_save_LIBS
24568 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24569 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24570 if test $ac_cv_lib_dl_dlopen = yes; then
24571 cat >>confdefs.h
<<_ACEOF
24572 #define HAVE_LIBDL 1
24580 echo "$as_me:$LINENO: checking for make_lp in -llpsolve55" >&5
24581 echo $ECHO_N "checking for make_lp in -llpsolve55... $ECHO_C" >&6
24582 if test "${ac_cv_lib_lpsolve55_make_lp+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 ac_check_lib_save_LIBS
=$LIBS
24586 LIBS
="-llpsolve55 $LIBS"
24587 cat >conftest.
$ac_ext <<_ACEOF
24590 cat confdefs.h
>>conftest.
$ac_ext
24591 cat >>conftest.
$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24594 /* Override any gcc2 internal prototype to avoid an error. */
24598 /* We use char because int might match the return type of a gcc2
24599 builtin and then its argument prototype would still apply. */
24609 rm -f conftest.
$ac_objext conftest
$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try
='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_cv_lib_lpsolve55_make_lp
=yes
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.
$ac_ext >&5
24636 ac_cv_lib_lpsolve55_make_lp
=no
24638 rm -f conftest.err conftest.
$ac_objext \
24639 conftest
$ac_exeext conftest.
$ac_ext
24640 LIBS
=$ac_check_lib_save_LIBS
24642 echo "$as_me:$LINENO: result: $ac_cv_lib_lpsolve55_make_lp" >&5
24643 echo "${ECHO_T}$ac_cv_lib_lpsolve55_make_lp" >&6
24644 if test $ac_cv_lib_lpsolve55_make_lp = yes; then
24645 cat >>confdefs.h
<<_ACEOF
24646 #define HAVE_LIBLPSOLVE55 1
24649 LIBS
="-llpsolve55 $LIBS"
24652 { { echo "$as_me:$LINENO: error: lpsolve library not found or too old." >&5
24653 echo "$as_me: error: lpsolve library not found or too old." >&2;}
24654 { (exit 1); exit 1; }; }
24658 echo "$as_me:$LINENO: result: internal" >&5
24659 echo "${ECHO_T}internal" >&6
24661 BUILD_TYPE
="$BUILD_TYPE LPSOLVE"
24665 if test "$_os" = "Linux"; then
24666 echo "$as_me:$LINENO: checking whether libc is >= 2.1.1" >&5
24667 echo $ECHO_N "checking whether libc is >= 2.1.1... $ECHO_C" >&6
24668 exec 6>/dev
/null
# no output
24669 echo "$as_me:$LINENO: checking for gnu_get_libc_version in -lc" >&5
24670 echo $ECHO_N "checking for gnu_get_libc_version in -lc... $ECHO_C" >&6
24671 if test "${ac_cv_lib_c_gnu_get_libc_version+set}" = set; then
24672 echo $ECHO_N "(cached) $ECHO_C" >&6
24674 ac_check_lib_save_LIBS
=$LIBS
24676 cat >conftest.
$ac_ext <<_ACEOF
24679 cat confdefs.h
>>conftest.
$ac_ext
24680 cat >>conftest.
$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24683 /* Override any gcc2 internal prototype to avoid an error. */
24687 /* We use char because int might match the return type of a gcc2
24688 builtin and then its argument prototype would still apply. */
24689 char gnu_get_libc_version ();
24693 gnu_get_libc_version ();
24698 rm -f conftest.
$ac_objext conftest
$ac_exeext
24699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24700 (eval $ac_link) 2>conftest.er1
24702 grep -v '^ *+' conftest.er1
>conftest.err
24704 cat conftest.err
>&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try
='test -z "$ac_c_werror_flag"
24708 || test ! -s conftest.err'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; } &&
24714 { ac_try
='test -s conftest$ac_exeext'
24715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24716 (eval $ac_try) 2>&5
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); }; }; then
24720 ac_cv_lib_c_gnu_get_libc_version
=yes
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.
$ac_ext >&5
24725 ac_cv_lib_c_gnu_get_libc_version
=no
24727 rm -f conftest.err conftest.
$ac_objext \
24728 conftest
$ac_exeext conftest.
$ac_ext
24729 LIBS
=$ac_check_lib_save_LIBS
24731 echo "$as_me:$LINENO: result: $ac_cv_lib_c_gnu_get_libc_version" >&5
24732 echo "${ECHO_T}$ac_cv_lib_c_gnu_get_libc_version" >&6
24733 if test $ac_cv_lib_c_gnu_get_libc_version = yes; then
24734 HAVE_LIBC
=yes; export HAVE_LIBC
24737 exec 6>&1 # output on again
24738 if test "$HAVE_LIBC"; then
24739 echo "$as_me:$LINENO: result: yes" >&5
24740 echo "${ECHO_T}yes" >&6
24742 { { echo "$as_me:$LINENO: error: no, upgrade libc" >&5
24743 echo "$as_me: error: no, upgrade libc" >&2;}
24744 { (exit 1); exit 1; }; }
24748 if test "$_os" != "WNT"; then
24750 for ac_func
in getopt
24752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24753 echo "$as_me:$LINENO: checking for $ac_func" >&5
24754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24755 if eval "test \"\${$as_ac_var+set}\" = set"; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24758 cat >conftest.
$ac_ext <<_ACEOF
24761 cat confdefs.h
>>conftest.
$ac_ext
24762 cat >>conftest.
$ac_ext <<_ACEOF
24763 /* end confdefs.h. */
24764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24766 #define $ac_func innocuous_$ac_func
24768 /* System header to define __stub macros and hopefully few prototypes,
24769 which can conflict with char $ac_func (); below.
24770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24771 <limits.h> exists even on freestanding compilers. */
24774 # include <limits.h>
24776 # include <assert.h>
24781 /* Override any gcc2 internal prototype to avoid an error. */
24786 /* We use char because int might match the return type of a gcc2
24787 builtin and then its argument prototype would still apply. */
24789 /* The GNU C library defines this for functions which it implements
24790 to always fail with ENOSYS. Some functions are actually named
24791 something starting with __ and the normal name is an alias. */
24792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24795 char (*f) () = $ac_func;
24804 return f != $ac_func;
24809 rm -f conftest.
$ac_objext conftest
$ac_exeext
24810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24811 (eval $ac_link) 2>conftest.er1
24813 grep -v '^ *+' conftest.er1
>conftest.err
24815 cat conftest.err
>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } &&
24818 { ac_try
='test -z "$ac_c_werror_flag"
24819 || test ! -s conftest.err'
24820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24821 (eval $ac_try) 2>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); }; } &&
24825 { ac_try
='test -s conftest$ac_exeext'
24826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24827 (eval $ac_try) 2>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); }; }; then
24831 eval "$as_ac_var=yes"
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.
$ac_ext >&5
24836 eval "$as_ac_var=no"
24838 rm -f conftest.err conftest.
$ac_objext \
24839 conftest
$ac_exeext conftest.
$ac_ext
24841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24843 if test `eval echo '${'$as_ac_var'}'` = yes; then
24844 cat >>confdefs.h
<<_ACEOF
24845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24854 for ac_func
in readdir_r
24856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24857 echo "$as_me:$LINENO: checking for $ac_func" >&5
24858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24859 if eval "test \"\${$as_ac_var+set}\" = set"; then
24860 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 cat >conftest.
$ac_ext <<_ACEOF
24865 cat confdefs.h
>>conftest.
$ac_ext
24866 cat >>conftest.
$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24870 #define $ac_func innocuous_$ac_func
24872 /* System header to define __stub macros and hopefully few prototypes,
24873 which can conflict with char $ac_func (); below.
24874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24875 <limits.h> exists even on freestanding compilers. */
24878 # include <limits.h>
24880 # include <assert.h>
24885 /* Override any gcc2 internal prototype to avoid an error. */
24890 /* We use char because int might match the return type of a gcc2
24891 builtin and then its argument prototype would still apply. */
24893 /* The GNU C library defines this for functions which it implements
24894 to always fail with ENOSYS. Some functions are actually named
24895 something starting with __ and the normal name is an alias. */
24896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24899 char (*f) () = $ac_func;
24908 return f != $ac_func;
24913 rm -f conftest.
$ac_objext conftest
$ac_exeext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24915 (eval $ac_link) 2>conftest.er1
24917 grep -v '^ *+' conftest.er1
>conftest.err
24919 cat conftest.err
>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try
='test -z "$ac_c_werror_flag"
24923 || test ! -s conftest.err'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; } &&
24929 { ac_try
='test -s conftest$ac_exeext'
24930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24931 (eval $ac_try) 2>&5
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); }; }; then
24935 eval "$as_ac_var=yes"
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24940 eval "$as_ac_var=no"
24942 rm -f conftest.err conftest.
$ac_objext \
24943 conftest
$ac_exeext conftest.
$ac_ext
24945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24947 if test `eval echo '${'$as_ac_var'}'` = yes; then
24948 cat >>confdefs.h
<<_ACEOF
24949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24957 if test "$HAVE_GETOPT" = "YES" -a "$HAVE_READDIR_R" = "YES"; then
24969 if test \
( "$_os" = "WINNT" \
) ; then
24970 echo "$as_me:$LINENO: checking for PSDK files" >&5
24971 echo $ECHO_N "checking for PSDK files... $ECHO_C" >&6
24972 if test -z "$with_psdk_home"; then
24973 # This first line will detect a February 2003 Microsoft Platform SDK
24974 PSDK_HOME
=`./oowintool --psdk-home`
24975 # But there might be also an April 2005 PSDK, unfortunately MS changed
24976 # the registry entry. (we prefer the old version!?)
24977 if test -z "$PSDK_HOME"; then
24978 PSDK_HOME
=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | tr '\000' '\n' | head -n 1`
24980 # normalize if found
24981 if test -n "$PSDK_HOME"; then
24982 PSDK_HOME
=`cygpath -d "$PSDK_HOME"`
24983 PSDK_HOME
=`cygpath -u "$PSDK_HOME"`
24986 PSDK_HOME
=`cygpath -u "$with_psdk_home"`
24988 # Remove a possible trailing backslash
24989 PSDK_HOME
=`echo $PSDK_HOME | $SED 's/\/$//'`
24990 # Problem with current PSDK (iz 49865)
24991 if test -f "$PSDK_HOME/Lib/libcp.lib"; then
24992 { { echo "$as_me:$LINENO: error:
24994 Some modules do not build correctly with MS Platform SDK - April 2005
24995 Edition if the library ($PSDK_HOME/Lib/libcp.lib) is found.
24996 Remove/rename/backup that file and restart configure. Details about this
24997 problem can be found in issue 49856." >&5
24998 echo "$as_me: error:
25000 Some modules do not build correctly with MS Platform SDK - April 2005
25001 Edition if the library ($PSDK_HOME/Lib/libcp.lib) is found.
25002 Remove/rename/backup that file and restart configure. Details about this
25003 problem can be found in issue 49856." >&2;}
25004 { (exit 1); exit 1; }; }
25006 # WIndows SDK has different headers
25007 if test \
( -f "$PSDK_HOME/Include/adoint.h" \
) \
25008 -a \
( -f "$PSDK_HOME/Include/SqlUcode.h" \
) \
25009 -a \
( -f "$PSDK_HOME/Include/usp10.h" \
); then
25014 if test -f "$PSDK_HOME/lib/unicows.lib"; then
25015 HAVE_PSDK_LIB
="yes"
25019 if test "$HAVE_PSDK_H" = "no" -o "$HAVE_PSDK_LIB" = "no"; then
25020 { { echo "$as_me:$LINENO: error: Some (all?) PSDK files not found, please check if all needed Platform SDKs
25021 are installed or use --with-psdk-home ." >&5
25022 echo "$as_me: error: Some (all?) PSDK files not found, please check if all needed Platform SDKs
25023 are installed or use --with-psdk-home ." >&2;}
25024 { (exit 1); exit 1; }; }
25026 if test ! -x "$PSDK_HOME/bin/msiinfo.exe" \
25027 -o ! -x "$PSDK_HOME/bin/msidb.exe" \
25028 -o ! -x "$PSDK_HOME/bin/uuidgen.exe" \
25029 -o ! -x "$PSDK_HOME/bin/msitran.exe" ; then
25030 { { echo "$as_me:$LINENO: error: Some (all) files of the Windows Installer SDK are missing, please install." >&5
25031 echo "$as_me: error: Some (all) files of the Windows Installer SDK are missing, please install." >&2;}
25032 { (exit 1); exit 1; }; }
25034 echo "$as_me:$LINENO: result: SDK files found ...)" >&5
25035 echo "${ECHO_T}SDK files found ...)" >&6
25036 if echo $PSDK_HOME |
grep "v6.1" >/dev
/null
2>/dev
/null
; then
25037 echo "$as_me:$LINENO: result: Found Windows SDK 6.1 ($PSDK_HOME)" >&5
25038 echo "${ECHO_T}Found Windows SDK 6.1 ($PSDK_HOME)" >&6
25039 WINDOWS_VISTA_PSDK
=TRUE
25040 elif echo $PSDK_HOME |
grep "v6.0" >/dev
/null
2>/dev
/null
; then
25041 echo "$as_me:$LINENO: result: Found Windows SDK 6.0 ($PSDK_HOME)" >&5
25042 echo "${ECHO_T}Found Windows SDK 6.0 ($PSDK_HOME)" >&6
25043 WINDOWS_VISTA_PSDK
=TRUE
25045 echo "$as_me:$LINENO: result: Found Legacy Windows Platform SDK ($PSDK_HOME)" >&5
25046 echo "${ECHO_T}Found Legacy Windows Platform SDK ($PSDK_HOME)" >&6
25052 if test \
( "$_os" = "WINNT" \
) ; then
25053 echo "$as_me:$LINENO: checking for DirectX SDK files" >&5
25054 echo $ECHO_N "checking for DirectX SDK files... $ECHO_C" >&6
25055 if test -z "$with_directx_home"; then
25056 if test -n "$DXSDK_DIR"; then
25057 DIRECTXSDK_HOME
=`cygpath -d "$DXSDK_DIR"`
25058 DIRECTXSDK_HOME
=`cygpath -u "$DIRECTXSDK_HOME"`
25060 # At this point $DIRECTXSDK_HOME might still be undefined. This will lead to
25061 # the "DirectX SDK files not found" error later
25063 DIRECTXSDK_HOME
=`cygpath -u "$with_directx_home"`
25065 # Remove a possible trailing backslash
25066 DIRECTXSDK_HOME
=`echo $DIRECTXSDK_HOME | $SED 's/\/$//'`
25068 if test -f "$DIRECTXSDK_HOME/Include/ddraw.h" ; then
25069 HAVE_DIRECTXSDK_H
="yes"
25071 HAVE_DIRECTXSDK_H
="no"
25073 # MS changed the location of the libraries with dec 2004 directx sdk
25074 if test -d "$DIRECTXSDK_HOME/lib/x86" ; then
25075 DIRECTXSDK_LIB
="$DIRECTXSDK_HOME/lib/x86"
25077 DIRECTXSDK_LIB
="$DIRECTXSDK_HOME/lib"
25079 if test -f "$DIRECTXSDK_LIB/ddraw.lib" ; then
25080 HAVE_DIRECTXSDK_LIB
="yes"
25082 HAVE_DIRECTXSDK_LIB
="no"
25084 if test -n "$ENABLE_DIRECTX"; then
25085 if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
25086 echo "$as_me:$LINENO: result: found" >&5
25087 echo "${ECHO_T}found" >&6
25089 { { echo "$as_me:$LINENO: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx." >&5
25090 echo "$as_me: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx." >&2;}
25091 { (exit 1); exit 1; }; }
25095 echo "$as_me:$LINENO: result: disabled" >&5
25096 echo "${ECHO_T}disabled" >&6
25103 if test "$_os" = "WINNT" ; then
25104 echo "$as_me:$LINENO: checking for NSIS" >&5
25105 echo $ECHO_N "checking for NSIS... $ECHO_C" >&6
25106 # Extract the first word of "nsis.exe", so it can be a program name with args.
25107 set dummy nsis.exe
; ac_word
=$2
25108 echo "$as_me:$LINENO: checking for $ac_word" >&5
25109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25110 if test "${ac_cv_path_NSIS_PATH+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 ac_cv_path_NSIS_PATH
="$NSIS_PATH" # Let the user override the test with a path.
25118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25119 for as_dir
in $PATH
25122 test -z "$as_dir" && as_dir
=.
25123 for ac_exec_ext
in '' $ac_executable_extensions; do
25124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25125 ac_cv_path_NSIS_PATH
="$as_dir/$ac_word$ac_exec_ext"
25126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25135 NSIS_PATH
=$ac_cv_path_NSIS_PATH
25137 if test -n "$NSIS_PATH"; then
25138 echo "$as_me:$LINENO: result: $NSIS_PATH" >&5
25139 echo "${ECHO_T}$NSIS_PATH" >&6
25141 echo "$as_me:$LINENO: result: no" >&5
25142 echo "${ECHO_T}no" >&6
25145 if test -n "$NSIS_PATH"; then
25146 NSIS_PATH
=`dirname "$NSIS_PATH"`
25148 if test -n "$with_nsis_path"; then
25149 with_nsis_path
=`cygpath -u "$with_nsis_path"`
25151 if test -e "$with_nsis_path/nsis.exe"; then
25152 NSIS_PATH
="$with_nsis_path"
25154 nsistest
=`./oowintool --nsis-dir`;
25155 if test -x "$nsistest/nsis.exe"; then
25156 NSIS_PATH
="$nsistest"
25158 if test -z "$NSIS_PATH"; then
25159 { echo "$as_me:$LINENO: WARNING: NSIS not found, no self contained installer will be build." >&5
25160 echo "$as_me: WARNING: NSIS not found, no self contained installer will be build." >&2;}
25161 echo "NSIS not found, no self contained installer will be build." >> warn
25163 NSIS_PATH
=`cygpath -d "$NSIS_PATH"`
25164 NSIS_PATH
=`cygpath -u "$NSIS_PATH"`
25165 echo "$as_me:$LINENO: result: found ($NSIS_PATH)" >&5
25166 echo "${ECHO_T}found ($NSIS_PATH)" >&6
25171 # Extract the first word of "bison", so it can be a program name with args.
25172 set dummy bison
; ac_word
=$2
25173 echo "$as_me:$LINENO: checking for $ac_word" >&5
25174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25175 if test "${ac_cv_path_BISON+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
25183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25184 for as_dir
in $PATH
25187 test -z "$as_dir" && as_dir
=.
25188 for ac_exec_ext
in '' $ac_executable_extensions; do
25189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25190 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
25191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25200 BISON
=$ac_cv_path_BISON
25202 if test -n "$BISON"; then
25203 echo "$as_me:$LINENO: result: $BISON" >&5
25204 echo "${ECHO_T}$BISON" >&6
25206 echo "$as_me:$LINENO: result: no" >&5
25207 echo "${ECHO_T}no" >&6
25210 if test -z "$BISON"; then
25211 { { echo "$as_me:$LINENO: error: no bison found in \$PATH, install bison" >&5
25212 echo "$as_me: error: no bison found in \$PATH, install bison" >&2;}
25213 { (exit 1); exit 1; }; }
25215 echo "$as_me:$LINENO: checking the bison version" >&5
25216 echo $ECHO_N "checking the bison version... $ECHO_C" >&6
25217 _bison_version
=`$BISON --version | grep GNU | $SED -e 's@^[^0-9]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
25218 _bison_longver
=`echo $_bison_version | $AWK -F. '{ print \$1*1000+\$2}'`
25219 # Accept newer than 1.875 or older(equal) than 1.75
25220 if test "$_bison_longver" -ge 1875 -o "$_bison_longver" -le 1075; then
25221 if test "$_bison_version" = "1.875" ; then
25222 { echo "$as_me:$LINENO: WARNING: suspect ($BISON $_bison_version)" >&5
25223 echo "$as_me: WARNING: suspect ($BISON $_bison_version)" >&2;}
25224 echo "Suspect ($BISON $_bison_version) suggest upgrade" >> warn
25226 echo "$as_me:$LINENO: result: checked ($BISON $_bison_version)" >&5
25227 echo "${ECHO_T}checked ($BISON $_bison_version)" >&6
25230 { { echo "$as_me:$LINENO: error: failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))" >&5
25231 echo "$as_me: error: failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))" >&2;}
25232 { (exit 1); exit 1; }; }
25235 # Extract the first word of "flex", so it can be a program name with args.
25236 set dummy flex
; ac_word
=$2
25237 echo "$as_me:$LINENO: checking for $ac_word" >&5
25238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25239 if test "${ac_cv_path_FLEX+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25244 ac_cv_path_FLEX
="$FLEX" # Let the user override the test with a path.
25247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25248 for as_dir
in $PATH
25251 test -z "$as_dir" && as_dir
=.
25252 for ac_exec_ext
in '' $ac_executable_extensions; do
25253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25254 ac_cv_path_FLEX
="$as_dir/$ac_word$ac_exec_ext"
25255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25264 FLEX
=$ac_cv_path_FLEX
25266 if test -n "$FLEX"; then
25267 echo "$as_me:$LINENO: result: $FLEX" >&5
25268 echo "${ECHO_T}$FLEX" >&6
25270 echo "$as_me:$LINENO: result: no" >&5
25271 echo "${ECHO_T}no" >&6
25274 if test -z "$FLEX"; then
25275 { { echo "$as_me:$LINENO: error: no flex found in \$PATH, install flex" >&5
25276 echo "$as_me: error: no flex found in \$PATH, install flex" >&2;}
25277 { (exit 1); exit 1; }; }
25279 # Extract the first word of "patch", so it can be a program name with args.
25280 set dummy
patch; ac_word
=$2
25281 echo "$as_me:$LINENO: checking for $ac_word" >&5
25282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25283 if test "${ac_cv_path_PATCH+set}" = set; then
25284 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 ac_cv_path_PATCH
="$PATCH" # Let the user override the test with a path.
25291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25292 for as_dir
in $PATH
25295 test -z "$as_dir" && as_dir
=.
25296 for ac_exec_ext
in '' $ac_executable_extensions; do
25297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25298 ac_cv_path_PATCH
="$as_dir/$ac_word$ac_exec_ext"
25299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25308 PATCH
=$ac_cv_path_PATCH
25310 if test -n "$PATCH"; then
25311 echo "$as_me:$LINENO: result: $PATCH" >&5
25312 echo "${ECHO_T}$PATCH" >&6
25314 echo "$as_me:$LINENO: result: no" >&5
25315 echo "${ECHO_T}no" >&6
25318 if test -z "$PATCH"; then
25319 { { echo "$as_me:$LINENO: error: \\"patch\\" not found in \$PATH, install the development tool named\\"patch\"\" >&5
25320 echo "$as_me: error: \\"patch\\" not found in \$PATH, install the development tool named\\"patch\"\" >&2;}
25321 { (exit 1); exit 1; }; }
25324 if test "$_os" = "SunOS" -o "$_os" = "FreeBSD" -o "$_os" = "Darwin"; then
25325 if test -z "$with_gnu_patch"; then
25328 if test -x "$with_gnu_patch"; then
25329 GNUPATCH
=$with_gnu_patch
25331 { { echo "$as_me:$LINENO: error: --with-gnu-patch did not point to an executable" >&5
25332 echo "$as_me: error: --with-gnu-patch did not point to an executable" >&2;}
25333 { (exit 1); exit 1; }; }
25337 echo "$as_me:$LINENO: checking whether $GNUPATCH is GNU patch" >&5
25338 echo $ECHO_N "checking whether $GNUPATCH is GNU patch... $ECHO_C" >&6
25339 if $GNUPATCH --version |
grep "Free Software Foundation" >/dev
/null
2>/dev
/null
; then
25340 echo "$as_me:$LINENO: result: yes" >&5
25341 echo "${ECHO_T}yes" >&6
25343 { { echo "$as_me:$LINENO: error: no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it" >&5
25344 echo "$as_me: error: no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it" >&2;}
25345 { (exit 1); exit 1; }; }
25349 if test -z "$with_gnu_cp"; then
25350 for ac_prog
in gnucp
cp
25352 # Extract the first word of "$ac_prog", so it can be a program name with args.
25353 set dummy
$ac_prog; ac_word
=$2
25354 echo "$as_me:$LINENO: checking for $ac_word" >&5
25355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25356 if test "${ac_cv_path_GNUCP+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 ac_cv_path_GNUCP
="$GNUCP" # Let the user override the test with a path.
25364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25365 for as_dir
in $PATH
25368 test -z "$as_dir" && as_dir
=.
25369 for ac_exec_ext
in '' $ac_executable_extensions; do
25370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25371 ac_cv_path_GNUCP
="$as_dir/$ac_word$ac_exec_ext"
25372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25381 GNUCP
=$ac_cv_path_GNUCP
25383 if test -n "$GNUCP"; then
25384 echo "$as_me:$LINENO: result: $GNUCP" >&5
25385 echo "${ECHO_T}$GNUCP" >&6
25387 echo "$as_me:$LINENO: result: no" >&5
25388 echo "${ECHO_T}no" >&6
25391 test -n "$GNUCP" && break
25394 if test -z $GNUCP; then
25395 { { echo "$as_me:$LINENO: error: Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it" >&5
25396 echo "$as_me: error: Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it" >&2;}
25397 { (exit 1); exit 1; }; }
25400 if test -x "$with_gnu_cp"; then
25403 { { echo "$as_me:$LINENO: error: --with-gnu-cp did not point to an executable" >&5
25404 echo "$as_me: error: --with-gnu-cp did not point to an executable" >&2;}
25405 { (exit 1); exit 1; }; }
25409 echo "$as_me:$LINENO: checking whether $GNUCP is GNU cp" >&5
25410 echo $ECHO_N "checking whether $GNUCP is GNU cp... $ECHO_C" >&6
25411 if $GNUCP --version 2>/dev
/null |
grep "Free Software Foundation" >/dev
/null
2>/dev
/null
; then
25412 echo "$as_me:$LINENO: result: yes" >&5
25413 echo "${ECHO_T}yes" >&6
25415 if $GNUCP --version 2>/dev
/null |
grep "GNU fileutils" >/dev
/null
2>/dev
/null
; then
25416 echo "$as_me:$LINENO: result: yes" >&5
25417 echo "${ECHO_T}yes" >&6
25419 if test "$_os" = "Darwin"; then
25421 echo "$as_me:$LINENO: result: no gnucp found - using the system's cp command" >&5
25422 echo "${ECHO_T}no gnucp found - using the system's cp command" >&6
25424 { { echo "$as_me:$LINENO: error: no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it" >&5
25425 echo "$as_me: error: no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it" >&2;}
25426 { (exit 1); exit 1; }; }
25435 if test "$_os" = "WINNT"; then
25437 # Extract the first word of "bash", so it can be a program name with args.
25438 set dummy bash
; ac_word
=$2
25439 echo "$as_me:$LINENO: checking for $ac_word" >&5
25440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25441 if test "${ac_cv_path_CYGWIN_PATH+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25444 case $CYGWIN_PATH in
25446 ac_cv_path_CYGWIN_PATH
="$CYGWIN_PATH" # Let the user override the test with a path.
25449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25450 for as_dir
in $PATH
25453 test -z "$as_dir" && as_dir
=.
25454 for ac_exec_ext
in '' $ac_executable_extensions; do
25455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25456 ac_cv_path_CYGWIN_PATH
="$as_dir/$ac_word$ac_exec_ext"
25457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25466 CYGWIN_PATH
=$ac_cv_path_CYGWIN_PATH
25468 if test -n "$CYGWIN_PATH"; then
25469 echo "$as_me:$LINENO: result: $CYGWIN_PATH" >&5
25470 echo "${ECHO_T}$CYGWIN_PATH" >&6
25472 echo "$as_me:$LINENO: result: no" >&5
25473 echo "${ECHO_T}no" >&6
25476 CYGWIN_PATH
=`dirname "$CYGWIN_PATH"`
25478 if test -z "$CYGWIN_PATH"; then
25479 CYGWIN_PATH
="NO_CYGWIN"
25483 if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
25484 echo "$as_me:$LINENO: checking ml.exe assembler path" >&5
25485 echo $ECHO_N "checking ml.exe assembler path... $ECHO_C" >&6
25486 if test -n "$with_asm_home"; then
25487 with_asm_home
=`cygpath -u "$with_asm_home"`
25489 if test ! -x "$with_asm_home/ml.exe"; then
25490 # Extract the first word of "ml.exe", so it can be a program name with args.
25491 set dummy ml.exe
; ac_word
=$2
25492 echo "$as_me:$LINENO: checking for $ac_word" >&5
25493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25494 if test "${ac_cv_path_ML_EXE+set}" = set; then
25495 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 ac_cv_path_ML_EXE
="$ML_EXE" # Let the user override the test with a path.
25502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25503 for as_dir
in $PATH
25506 test -z "$as_dir" && as_dir
=.
25507 for ac_exec_ext
in '' $ac_executable_extensions; do
25508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25509 ac_cv_path_ML_EXE
="$as_dir/$ac_word$ac_exec_ext"
25510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25519 ML_EXE
=$ac_cv_path_ML_EXE
25521 if test -n "$ML_EXE"; then
25522 echo "$as_me:$LINENO: result: $ML_EXE" >&5
25523 echo "${ECHO_T}$ML_EXE" >&6
25525 echo "$as_me:$LINENO: result: no" >&5
25526 echo "${ECHO_T}no" >&6
25529 if test -z "$ML_EXE"; then
25530 if test -x "$with_cl_home/bin/ml.exe"; then
25531 with_asm_home
=$with_cl_home/bin
25532 echo "$as_me:$LINENO: result: found ($with_asm_home)" >&5
25533 echo "${ECHO_T}found ($with_asm_home)" >&6
25535 { { echo "$as_me:$LINENO: error: Configure did not find ml.exe assembler." >&5
25536 echo "$as_me: error: Configure did not find ml.exe assembler." >&2;}
25537 { (exit 1); exit 1; }; }
25540 with_asm_home
="ASM_IN_PATH"
25543 echo "$as_me:$LINENO: result: $ASM_HOME" >&5
25544 echo "${ECHO_T}$ASM_HOME" >&6
25546 with_asm_home
="NO_ASM_HOME"
25548 ASM_HOME
="$with_asm_home"
25551 if test -z "$with_zip_home"; then
25552 with_zip_home
="$with_unzip_home"
25554 if test -n "$with_zip_home" ; then
25555 if test "$_os" = "WINNT"; then
25556 with_zip_home
=`cygpath -u "$with_zip_home"`
25558 ZIP
="$with_zip_home/zip"
25559 UNZIP
="$with_zip_home/unzip"
25560 ZIP_HOME
="$with_zip_home"
25562 # Extract the first word of "zip", so it can be a program name with args.
25563 set dummy
zip; ac_word
=$2
25564 echo "$as_me:$LINENO: checking for $ac_word" >&5
25565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25566 if test "${ac_cv_path_ZIP+set}" = set; then
25567 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
25574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25575 for as_dir
in $PATH
25578 test -z "$as_dir" && as_dir
=.
25579 for ac_exec_ext
in '' $ac_executable_extensions; do
25580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25581 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
25582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25591 ZIP
=$ac_cv_path_ZIP
25593 if test -n "$ZIP"; then
25594 echo "$as_me:$LINENO: result: $ZIP" >&5
25595 echo "${ECHO_T}$ZIP" >&6
25597 echo "$as_me:$LINENO: result: no" >&5
25598 echo "${ECHO_T}no" >&6
25601 # Extract the first word of "unzip", so it can be a program name with args.
25602 set dummy
unzip; ac_word
=$2
25603 echo "$as_me:$LINENO: checking for $ac_word" >&5
25604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25605 if test "${ac_cv_path_UNZIP+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
25613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25614 for as_dir
in $PATH
25617 test -z "$as_dir" && as_dir
=.
25618 for ac_exec_ext
in '' $ac_executable_extensions; do
25619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25620 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
25621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25630 UNZIP
=$ac_cv_path_UNZIP
25632 if test -n "$UNZIP"; then
25633 echo "$as_me:$LINENO: result: $UNZIP" >&5
25634 echo "${ECHO_T}$UNZIP" >&6
25636 echo "$as_me:$LINENO: result: no" >&5
25637 echo "${ECHO_T}no" >&6
25640 ZIP_HOME
=`dirname "$ZIP"`
25642 if test -z "$ZIP" -o -z "$UNZIP"; then
25643 { { echo "$as_me:$LINENO: error: Zip/Unzip are required to build, please install or use --with-zip-home" >&5
25644 echo "$as_me: error: Zip/Unzip are required to build, please install or use --with-zip-home" >&2;}
25645 { (exit 1); exit 1; }; }
25648 if test "$_os" = "WINNT"; then
25649 if test -n "`$ZIP -h | grep -i WinNT`" ; then
25650 { { echo "$as_me:$LINENO: error: $ZIP found in the path is not the required cygwin version of Info-ZIPs zip.exe." >&5
25651 echo "$as_me: error: $ZIP found in the path is not the required cygwin version of Info-ZIPs zip.exe." >&2;}
25652 { (exit 1); exit 1; }; }
25657 if test "$_os" = "WINNT"; then
25658 echo "$as_me:$LINENO: checking for unicows.dll" >&5
25659 echo $ECHO_N "checking for unicows.dll... $ECHO_C" >&6
25660 if test -x .
/external
/unicows
/unicows.dll
; then
25661 echo "$as_me:$LINENO: result: found" >&5
25662 echo "${ECHO_T}found" >&6
25664 { { echo "$as_me:$LINENO: error: The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/.
25665 Get it from the Microsoft site and put it into external/unicows.
25666 (Note: Microsoft seems to enjoy changing the exact location of this file. You
25667 may have to search Microsoft's website.) Last time it was seen at:
25668 <http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>." >&5
25669 echo "$as_me: error: The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/.
25670 Get it from the Microsoft site and put it into external/unicows.
25671 (Note: Microsoft seems to enjoy changing the exact location of this file. You
25672 may have to search Microsoft's website.) Last time it was seen at:
25673 <http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>." >&2;}
25674 { (exit 1); exit 1; }; }
25678 if test "$_os" = "WINNT"; then
25679 echo "$as_me:$LINENO: checking for dbghelp.dll" >&5
25680 echo $ECHO_N "checking for dbghelp.dll... $ECHO_C" >&6
25681 if test -x .
/external
/dbghelp
/dbghelp.dll
; then
25682 echo "$as_me:$LINENO: result: found" >&5
25683 echo "${ECHO_T}found" >&6
25685 { { echo "$as_me:$LINENO: error: dbghelp.dll is missing in external/dbghelp/.
25686 Get it from the Microsoft site and put it into external/dbghelp.
25687 (Note: Microsoft seems to enjoy changing the exact location of this file. You
25688 may have to search Microsoft's website.) Last time it was seen at:
25689 <http://www.microsoft.com/downloads/release.asp?releaseid=30682>." >&5
25690 echo "$as_me: error: dbghelp.dll is missing in external/dbghelp/.
25691 Get it from the Microsoft site and put it into external/dbghelp.
25692 (Note: Microsoft seems to enjoy changing the exact location of this file. You
25693 may have to search Microsoft's website.) Last time it was seen at:
25694 <http://www.microsoft.com/downloads/release.asp?releaseid=30682>." >&2;}
25695 { (exit 1); exit 1; }; }
25699 if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
25700 if .
/oowintool
--msvc-copy-dlls .
/external
/msvcp
; then
25703 { { echo "$as_me:$LINENO: error: oowintool failed to copy CRT" >&5
25704 echo "$as_me: error: oowintool failed to copy CRT" >&2;}
25705 { (exit 1); exit 1; }; }
25709 if test "$_os" = "WINNT"; then
25710 echo "$as_me:$LINENO: checking for gdiplus.dll" >&5
25711 echo $ECHO_N "checking for gdiplus.dll... $ECHO_C" >&6
25712 if test -x .
/external
/gdiplus
/gdiplus.dll
; then
25713 echo "$as_me:$LINENO: result: found" >&5
25714 echo "${ECHO_T}found" >&6
25716 { { echo "$as_me:$LINENO: error: gdiplus.dll is missing in external/gdiplus/.
25717 Get it from the Microsoft site and put it into external/gdiplus.
25718 You may have to search Microsoft's website. Last time it was seen at:
25719 <http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>." >&5
25720 echo "$as_me: error: gdiplus.dll is missing in external/gdiplus/.
25721 Get it from the Microsoft site and put it into external/gdiplus.
25722 You may have to search Microsoft's website. Last time it was seen at:
25723 <http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>." >&2;}
25724 { (exit 1); exit 1; }; }
25728 if test "$_os" = "WINNT"; then
25729 .
/oowintool
--msvc-copy-instmsi .
/external
/msi
25732 if test "$_os" = "WINNT"; then
25733 if test "$WITH_MINGWIN" = "yes" ||
test "$COMEX" -ge "10"; then
25734 echo "$as_me:$LINENO: checking for instmsia.exe/instmsiw.exe" >&5
25735 echo $ECHO_N "checking for instmsia.exe/instmsiw.exe... $ECHO_C" >&6
25736 if test -x .
/external
/msi
/instmsia.exe
-a -x .
/external
/msi
/instmsiw.exe
; then
25737 echo "$as_me:$LINENO: result: found" >&5
25738 echo "${ECHO_T}found" >&6
25740 MSIAPATH
=`/bin/find "$COMPATH/.." -iname instmsia.exe | head -n 1`
25741 MSIWPATH
=`/bin/find "$COMPATH/.." -iname instmsiw.exe | head -n 1`
25742 if test -n "$MSIAPATH" -a -n "$MSIWPATH"; then
25743 cp "$MSIAPATH" .
/external
/msi
/ && chmod +x .
/external
/msi
/instmsia.exe
&& MSIACOPY
="OK"
25744 cp "$MSIWPATH" .
/external
/msi
/ && chmod +x .
/external
/msi
/instmsiw.exe
&& MSIWCOPY
="OK"
25746 if test -z "$MSIACOPY" -o -z "$MSIWCOPY"; then
25747 { { echo "$as_me:$LINENO: error: instmsia.exe and/or instmsiw.exe are/is missing in the default location.
25748 These programs are part of the Visual Studio installation and should be found in a
25749 directory similar to:
25750 \"c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\\"
25751 As the automatic detection fails please copy the files to external/msi/." >&5
25752 echo "$as_me: error: instmsia.exe and/or instmsiw.exe are/is missing in the default location.
25753 These programs are part of the Visual Studio installation and should be found in a
25754 directory similar to:
25755 \"c:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\Deployment\\MsiRedist\\\"
25756 As the automatic detection fails please copy the files to external/msi/." >&2;}
25757 { (exit 1); exit 1; }; }
25759 echo "$as_me:$LINENO: result: found and copied" >&5
25760 echo "${ECHO_T}found and copied" >&6
25766 echo "$as_me:$LINENO: checking which VCLplugs shall be built" >&5
25767 echo $ECHO_N "checking which VCLplugs shall be built... $ECHO_C" >&6
25769 if test "x$enable_gtk" = "xyes"; then
25776 if test "x$enable_kde" = "xyes"; then
25783 if test "x$enable_kde4" = "xyes"; then
25789 if test -z "$R"; then
25790 echo "$as_me:$LINENO: result: none" >&5
25791 echo "${ECHO_T}none" >&6
25793 echo "$as_me:$LINENO: result: $R" >&5
25794 echo "${ECHO_T}$R" >&6
25799 echo "$as_me:$LINENO: checking whether to enable GConf support" >&5
25800 echo $ECHO_N "checking whether to enable GConf support... $ECHO_C" >&6
25801 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$_os" != "OS2" -a "$enable_gconf" = "yes"; then
25802 ENABLE_GCONF
="TRUE"
25803 echo "$as_me:$LINENO: result: yes" >&5
25804 echo "${ECHO_T}yes" >&6
25808 if test -z "$PKG_CONFIG"; then
25809 # Extract the first word of "pkg-config", so it can be a program name with args.
25810 set dummy pkg-config
; ac_word
=$2
25811 echo "$as_me:$LINENO: checking for $ac_word" >&5
25812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25813 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25816 case $PKG_CONFIG in
25818 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25822 for as_dir
in $PATH
25825 test -z "$as_dir" && as_dir
=.
25826 for ac_exec_ext
in '' $ac_executable_extensions; do
25827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25828 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25835 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25839 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25841 if test -n "$PKG_CONFIG"; then
25842 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25843 echo "${ECHO_T}$PKG_CONFIG" >&6
25845 echo "$as_me:$LINENO: result: no" >&5
25846 echo "${ECHO_T}no" >&6
25851 if test "$PKG_CONFIG" = "no" ; then
25852 echo "*** The pkg-config script could not be found. Make sure it is"
25853 echo "*** in your path, or set the PKG_CONFIG environment variable"
25854 echo "*** to the full path to pkg-config."
25855 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25857 PKG_CONFIG_MIN_VERSION
=0.9.0
25858 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25859 echo "$as_me:$LINENO: checking for gconf-2.0 " >&5
25860 echo $ECHO_N "checking for gconf-2.0 ... $ECHO_C" >&6
25862 if $PKG_CONFIG --exists "gconf-2.0 " ; then
25863 echo "$as_me:$LINENO: result: yes" >&5
25864 echo "${ECHO_T}yes" >&6
25867 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
25868 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
25869 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 "`
25870 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
25871 echo "${ECHO_T}$GCONF_CFLAGS" >&6
25873 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
25874 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
25875 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 "`
25876 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
25877 echo "${ECHO_T}$GCONF_LIBS" >&6
25881 ## If we have a custom action on failure, don't print errors, but
25882 ## do set a variable so people can do so.
25883 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 "`
25884 echo $GCONF_PKG_ERRORS
25890 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25891 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25895 if test $succeeded = yes; then
25898 { { echo "$as_me:$LINENO: error: Library requirements (gconf-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
25899 echo "$as_me: error: Library requirements (gconf-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;}
25900 { (exit 1); exit 1; }; }
25904 echo "$as_me:$LINENO: result: no" >&5
25905 echo "${ECHO_T}no" >&6
25911 echo "$as_me:$LINENO: checking whether to enable GNOME VFS support" >&5
25912 echo $ECHO_N "checking whether to enable GNOME VFS support... $ECHO_C" >&6
25913 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gnome_vfs" = "yes"; then
25914 ENABLE_GNOMEVFS
="TRUE"
25915 echo "$as_me:$LINENO: result: yes" >&5
25916 echo "${ECHO_T}yes" >&6
25920 if test -z "$PKG_CONFIG"; then
25921 # Extract the first word of "pkg-config", so it can be a program name with args.
25922 set dummy pkg-config
; ac_word
=$2
25923 echo "$as_me:$LINENO: checking for $ac_word" >&5
25924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25925 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25928 case $PKG_CONFIG in
25930 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25934 for as_dir
in $PATH
25937 test -z "$as_dir" && as_dir
=.
25938 for ac_exec_ext
in '' $ac_executable_extensions; do
25939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25940 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25947 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25951 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25953 if test -n "$PKG_CONFIG"; then
25954 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25955 echo "${ECHO_T}$PKG_CONFIG" >&6
25957 echo "$as_me:$LINENO: result: no" >&5
25958 echo "${ECHO_T}no" >&6
25963 if test "$PKG_CONFIG" = "no" ; then
25964 echo "*** The pkg-config script could not be found. Make sure it is"
25965 echo "*** in your path, or set the PKG_CONFIG environment variable"
25966 echo "*** to the full path to pkg-config."
25967 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25969 PKG_CONFIG_MIN_VERSION
=0.9.0
25970 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25971 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.6.0 " >&5
25972 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.6.0 ... $ECHO_C" >&6
25974 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.6.0 " ; then
25975 echo "$as_me:$LINENO: result: yes" >&5
25976 echo "${ECHO_T}yes" >&6
25979 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
25980 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
25981 GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.6.0 "`
25982 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
25983 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
25985 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
25986 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
25987 GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.6.0 "`
25988 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
25989 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
25993 ## If we have a custom action on failure, don't print errors, but
25994 ## do set a variable so people can do so.
25995 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.6.0 "`
25996 echo $GNOMEVFS_PKG_ERRORS
26002 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26003 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26007 if test $succeeded = yes; then
26010 { { echo "$as_me:$LINENO: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
26011 echo "$as_me: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
26012 { (exit 1); exit 1; }; }
26015 if test "$ENABLE_GCONF" != "TRUE"; then
26019 if test -z "$PKG_CONFIG"; then
26020 # Extract the first word of "pkg-config", so it can be a program name with args.
26021 set dummy pkg-config
; ac_word
=$2
26022 echo "$as_me:$LINENO: checking for $ac_word" >&5
26023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26024 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26025 echo $ECHO_N "(cached) $ECHO_C" >&6
26027 case $PKG_CONFIG in
26029 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26033 for as_dir
in $PATH
26036 test -z "$as_dir" && as_dir
=.
26037 for ac_exec_ext
in '' $ac_executable_extensions; do
26038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26039 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26046 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26050 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26052 if test -n "$PKG_CONFIG"; then
26053 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26054 echo "${ECHO_T}$PKG_CONFIG" >&6
26056 echo "$as_me:$LINENO: result: no" >&5
26057 echo "${ECHO_T}no" >&6
26062 if test "$PKG_CONFIG" = "no" ; then
26063 echo "*** The pkg-config script could not be found. Make sure it is"
26064 echo "*** in your path, or set the PKG_CONFIG environment variable"
26065 echo "*** to the full path to pkg-config."
26066 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26068 PKG_CONFIG_MIN_VERSION
=0.9.0
26069 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26070 echo "$as_me:$LINENO: checking for gconf-2.0 " >&5
26071 echo $ECHO_N "checking for gconf-2.0 ... $ECHO_C" >&6
26073 if $PKG_CONFIG --exists "gconf-2.0 " ; then
26074 echo "$as_me:$LINENO: result: yes" >&5
26075 echo "${ECHO_T}yes" >&6
26078 echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
26079 echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
26080 GCONF_CFLAGS
=`$PKG_CONFIG --cflags "gconf-2.0 "`
26081 echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
26082 echo "${ECHO_T}$GCONF_CFLAGS" >&6
26084 echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
26085 echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
26086 GCONF_LIBS
=`$PKG_CONFIG --libs "gconf-2.0 "`
26087 echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
26088 echo "${ECHO_T}$GCONF_LIBS" >&6
26092 ## If we have a custom action on failure, don't print errors, but
26093 ## do set a variable so people can do so.
26094 GCONF_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 "`
26095 echo $GCONF_PKG_ERRORS
26101 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26102 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26106 if test $succeeded = yes; then
26109 { { echo "$as_me:$LINENO: error: Library requirements (gconf-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
26110 echo "$as_me: error: Library requirements (gconf-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;}
26111 { (exit 1); exit 1; }; }
26116 echo "$as_me:$LINENO: result: no" >&5
26117 echo "${ECHO_T}no" >&6
26124 ENABLE_SYSTRAY_GTK
=""
26126 if test "$test_gtk" = "yes"; then
26128 if test "$ENABLE_GTK" = "TRUE" ; then
26132 if test -z "$PKG_CONFIG"; then
26133 # Extract the first word of "pkg-config", so it can be a program name with args.
26134 set dummy pkg-config
; ac_word
=$2
26135 echo "$as_me:$LINENO: checking for $ac_word" >&5
26136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 case $PKG_CONFIG in
26142 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26146 for as_dir
in $PATH
26149 test -z "$as_dir" && as_dir
=.
26150 for ac_exec_ext
in '' $ac_executable_extensions; do
26151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26152 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26163 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26165 if test -n "$PKG_CONFIG"; then
26166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26167 echo "${ECHO_T}$PKG_CONFIG" >&6
26169 echo "$as_me:$LINENO: result: no" >&5
26170 echo "${ECHO_T}no" >&6
26175 if test "$PKG_CONFIG" = "no" ; then
26176 echo "*** The pkg-config script could not be found. Make sure it is"
26177 echo "*** in your path, or set the PKG_CONFIG environment variable"
26178 echo "*** to the full path to pkg-config."
26179 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26181 PKG_CONFIG_MIN_VERSION
=0.9.0
26182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26183 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " >&5
26184 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 ... $ECHO_C" >&6
26186 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 " ; then
26187 echo "$as_me:$LINENO: result: yes" >&5
26188 echo "${ECHO_T}yes" >&6
26191 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
26192 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
26193 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
26194 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
26195 echo "${ECHO_T}$GTK_CFLAGS" >&6
26197 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
26198 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
26199 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
26200 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
26201 echo "${ECHO_T}$GTK_LIBS" >&6
26205 ## If we have a custom action on failure, don't print errors, but
26206 ## do set a variable so people can do so.
26207 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 "`
26214 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26215 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26219 if test $succeeded = yes; then
26222 { { echo "$as_me:$LINENO: error: requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages" >&5
26223 echo "$as_me: error: requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages" >&2;}
26224 { (exit 1); exit 1; }; }
26227 BUILD_TYPE
="$BUILD_TYPE GTK"
26229 if test "x$enable_systray" = "xyes"; then
26230 ENABLE_SYSTRAY_GTK
="TRUE"
26231 BUILD_TYPE
="$BUILD_TYPE SYSTRAY_GTK"
26234 echo "$as_me:$LINENO: checking whether to enable DBUS support" >&5
26235 echo $ECHO_N "checking whether to enable DBUS support... $ECHO_C" >&6
26236 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_dbus" = "yes"; then
26238 echo "$as_me:$LINENO: result: yes" >&5
26239 echo "${ECHO_T}yes" >&6
26243 if test -z "$PKG_CONFIG"; then
26244 # Extract the first word of "pkg-config", so it can be a program name with args.
26245 set dummy pkg-config
; ac_word
=$2
26246 echo "$as_me:$LINENO: checking for $ac_word" >&5
26247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26248 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26249 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 case $PKG_CONFIG in
26253 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26257 for as_dir
in $PATH
26260 test -z "$as_dir" && as_dir
=.
26261 for ac_exec_ext
in '' $ac_executable_extensions; do
26262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26263 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26270 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26274 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26276 if test -n "$PKG_CONFIG"; then
26277 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26278 echo "${ECHO_T}$PKG_CONFIG" >&6
26280 echo "$as_me:$LINENO: result: no" >&5
26281 echo "${ECHO_T}no" >&6
26286 if test "$PKG_CONFIG" = "no" ; then
26287 echo "*** The pkg-config script could not be found. Make sure it is"
26288 echo "*** in your path, or set the PKG_CONFIG environment variable"
26289 echo "*** to the full path to pkg-config."
26290 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26292 PKG_CONFIG_MIN_VERSION
=0.9.0
26293 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26294 echo "$as_me:$LINENO: checking for dbus-glib-1 >= 0.70 " >&5
26295 echo $ECHO_N "checking for dbus-glib-1 >= 0.70 ... $ECHO_C" >&6
26297 if $PKG_CONFIG --exists "dbus-glib-1 >= 0.70 " ; then
26298 echo "$as_me:$LINENO: result: yes" >&5
26299 echo "${ECHO_T}yes" >&6
26302 echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
26303 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6
26304 DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70 "`
26305 echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
26306 echo "${ECHO_T}$DBUS_CFLAGS" >&6
26308 echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
26309 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6
26310 DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70 "`
26311 echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
26312 echo "${ECHO_T}$DBUS_LIBS" >&6
26316 ## If we have a custom action on failure, don't print errors, but
26317 ## do set a variable so people can do so.
26318 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70 "`
26319 echo $DBUS_PKG_ERRORS
26325 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26326 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26330 if test $succeeded = yes; then
26333 { { echo "$as_me:$LINENO: error: Library requirements (dbus-glib-1 >= 0.70 ) 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
26334 echo "$as_me: error: Library requirements (dbus-glib-1 >= 0.70 ) 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;}
26335 { (exit 1); exit 1; }; }
26339 echo "$as_me:$LINENO: result: no" >&5
26340 echo "${ECHO_T}no" >&6
26343 echo "$as_me:$LINENO: checking whether to enable GIO support" >&5
26344 echo $ECHO_N "checking whether to enable GIO support... $ECHO_C" >&6
26345 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gio" = "yes"; then
26346 if test "$ENABLE_GNOMEVFS" = "TRUE" ; then
26347 { { echo "$as_me:$LINENO: error: please use --enable-gio only together with --disable-gnome-vfs." >&5
26348 echo "$as_me: error: please use --enable-gio only together with --disable-gnome-vfs." >&2;}
26349 { (exit 1); exit 1; }; }
26352 echo "$as_me:$LINENO: result: yes" >&5
26353 echo "${ECHO_T}yes" >&6
26357 if test -z "$PKG_CONFIG"; then
26358 # Extract the first word of "pkg-config", so it can be a program name with args.
26359 set dummy pkg-config
; ac_word
=$2
26360 echo "$as_me:$LINENO: checking for $ac_word" >&5
26361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26362 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 case $PKG_CONFIG in
26367 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26371 for as_dir
in $PATH
26374 test -z "$as_dir" && as_dir
=.
26375 for ac_exec_ext
in '' $ac_executable_extensions; do
26376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26377 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26384 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26388 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26390 if test -n "$PKG_CONFIG"; then
26391 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26392 echo "${ECHO_T}$PKG_CONFIG" >&6
26394 echo "$as_me:$LINENO: result: no" >&5
26395 echo "${ECHO_T}no" >&6
26400 if test "$PKG_CONFIG" = "no" ; then
26401 echo "*** The pkg-config script could not be found. Make sure it is"
26402 echo "*** in your path, or set the PKG_CONFIG environment variable"
26403 echo "*** to the full path to pkg-config."
26404 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26406 PKG_CONFIG_MIN_VERSION
=0.9.0
26407 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26408 echo "$as_me:$LINENO: checking for gio-2.0 " >&5
26409 echo $ECHO_N "checking for gio-2.0 ... $ECHO_C" >&6
26411 if $PKG_CONFIG --exists "gio-2.0 " ; then
26412 echo "$as_me:$LINENO: result: yes" >&5
26413 echo "${ECHO_T}yes" >&6
26416 echo "$as_me:$LINENO: checking GIO_CFLAGS" >&5
26417 echo $ECHO_N "checking GIO_CFLAGS... $ECHO_C" >&6
26418 GIO_CFLAGS
=`$PKG_CONFIG --cflags "gio-2.0 "`
26419 echo "$as_me:$LINENO: result: $GIO_CFLAGS" >&5
26420 echo "${ECHO_T}$GIO_CFLAGS" >&6
26422 echo "$as_me:$LINENO: checking GIO_LIBS" >&5
26423 echo $ECHO_N "checking GIO_LIBS... $ECHO_C" >&6
26424 GIO_LIBS
=`$PKG_CONFIG --libs "gio-2.0 "`
26425 echo "$as_me:$LINENO: result: $GIO_LIBS" >&5
26426 echo "${ECHO_T}$GIO_LIBS" >&6
26430 ## If we have a custom action on failure, don't print errors, but
26431 ## do set a variable so people can do so.
26432 GIO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 "`
26433 echo $GIO_PKG_ERRORS
26439 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26440 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26444 if test $succeeded = yes; then
26447 { { echo "$as_me:$LINENO: error: Library requirements (gio-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
26448 echo "$as_me: error: Library requirements (gio-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;}
26449 { (exit 1); exit 1; }; }
26453 echo "$as_me:$LINENO: result: no" >&5
26454 echo "${ECHO_T}no" >&6
26471 if test "$test_cairo" = "yes"; then
26473 echo "$as_me:$LINENO: checking whether to use cairo" >&5
26474 echo $ECHO_N "checking whether to use cairo... $ECHO_C" >&6
26475 if test "x$enable_cairo" != "xno" ; then
26476 ENABLE_CAIRO
="TRUE"
26477 echo "$as_me:$LINENO: result: yes" >&5
26478 echo "${ECHO_T}yes" >&6
26479 echo "$as_me:$LINENO: checking which cairo to use" >&5
26480 echo $ECHO_N "checking which cairo to use... $ECHO_C" >&6
26481 if test -n "$with_system_cairo" -o -n "$with_system_libs" && \
26482 test "$with_system_cairo" != "no"; then
26483 echo "$as_me:$LINENO: result: external" >&5
26484 echo "${ECHO_T}external" >&6
26490 if test -z "$PKG_CONFIG"; then
26491 # Extract the first word of "pkg-config", so it can be a program name with args.
26492 set dummy pkg-config
; ac_word
=$2
26493 echo "$as_me:$LINENO: checking for $ac_word" >&5
26494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26495 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 case $PKG_CONFIG in
26500 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26504 for as_dir
in $PATH
26507 test -z "$as_dir" && as_dir
=.
26508 for ac_exec_ext
in '' $ac_executable_extensions; do
26509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26510 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26517 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26521 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26523 if test -n "$PKG_CONFIG"; then
26524 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26525 echo "${ECHO_T}$PKG_CONFIG" >&6
26527 echo "$as_me:$LINENO: result: no" >&5
26528 echo "${ECHO_T}no" >&6
26533 if test "$PKG_CONFIG" = "no" ; then
26534 echo "*** The pkg-config script could not be found. Make sure it is"
26535 echo "*** in your path, or set the PKG_CONFIG environment variable"
26536 echo "*** to the full path to pkg-config."
26537 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26539 PKG_CONFIG_MIN_VERSION
=0.9.0
26540 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26541 echo "$as_me:$LINENO: checking for cairo >= 1.0.2 " >&5
26542 echo $ECHO_N "checking for cairo >= 1.0.2 ... $ECHO_C" >&6
26544 if $PKG_CONFIG --exists "cairo >= 1.0.2 " ; then
26545 echo "$as_me:$LINENO: result: yes" >&5
26546 echo "${ECHO_T}yes" >&6
26549 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
26550 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
26551 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.0.2 "`
26552 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
26553 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
26555 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
26556 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
26557 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.0.2 "`
26558 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
26559 echo "${ECHO_T}$CAIRO_LIBS" >&6
26563 ## If we have a custom action on failure, don't print errors, but
26564 ## do set a variable so people can do so.
26565 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.0.2 "`
26566 echo $CAIRO_PKG_ERRORS
26572 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26573 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26577 if test $succeeded = yes; then
26580 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 1.0.2 ) 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
26581 echo "$as_me: error: Library requirements (cairo >= 1.0.2 ) 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;}
26582 { (exit 1); exit 1; }; }
26585 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$ENABLE_FONTCONFIG" != "TRUE" ; then
26586 { { echo "$as_me:$LINENO: error: Cairo library requires fontconfig." >&5
26587 echo "$as_me: error: Cairo library requires fontconfig." >&2;}
26588 { (exit 1); exit 1; }; }
26590 if test "$with_system_xrender_headers" = "yes"; then
26591 echo "$as_me:$LINENO: checking whether Xrender.h defines PictStandardA8" >&5
26592 echo $ECHO_N "checking whether Xrender.h defines PictStandardA8... $ECHO_C" >&6
26593 if test "$cross_compiling" = yes; then
26594 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26595 See \`config.log' for more details." >&5
26596 echo "$as_me: error: cannot run test program while cross compiling
26597 See \`config.log' for more details." >&2;}
26598 { (exit 1); exit 1; }; }
26600 cat >conftest.
$ac_ext <<_ACEOF
26603 cat confdefs.h
>>conftest.
$ac_ext
26604 cat >>conftest.
$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26607 #include <X11/extensions/Xrender.h>
26609 int main(int argc, char **argv) {
26610 #ifdef PictStandardA8
26618 rm -f conftest
$ac_exeext
26619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26620 (eval $ac_link) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26629 echo "$as_me:$LINENO: result: yes" >&5
26630 echo "${ECHO_T}yes" >&6
26632 echo "$as_me: program exited with status $ac_status" >&5
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.
$ac_ext >&5
26636 ( exit $ac_status )
26637 { { echo "$as_me:$LINENO: error: no, X headers too old." >&5
26638 echo "$as_me: error: no, X headers too old." >&2;}
26639 { (exit 1); exit 1; }; }
26641 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26645 BUILD_TYPE
="$BUILD_TYPE CAIRO"
26646 if test "$build_cpu" != "x86_64"; then
26649 echo "$as_me:$LINENO: result: internal" >&5
26650 echo "${ECHO_T}internal" >&6
26653 echo "$as_me:$LINENO: result: no" >&5
26654 echo "${ECHO_T}no" >&6
26665 echo "$as_me:$LINENO: checking whether to build the OpenGL Transitions component" >&5
26666 echo $ECHO_N "checking whether to build the OpenGL Transitions component... $ECHO_C" >&6
26669 if test "x$enable_opengl" != "xno" ; then
26670 echo "$as_me:$LINENO: result: yes" >&5
26671 echo "${ECHO_T}yes" >&6
26672 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26673 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26674 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26675 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26679 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26681 # Is the header compilable?
26682 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26683 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26684 cat >conftest.
$ac_ext <<_ACEOF
26687 cat confdefs.h
>>conftest.
$ac_ext
26688 cat >>conftest.
$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690 $ac_includes_default
26693 rm -f conftest.
$ac_objext
26694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26695 (eval $ac_compile) 2>conftest.er1
26697 grep -v '^ *+' conftest.er1
>conftest.err
26699 cat conftest.err
>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); } &&
26702 { ac_try
='test -z "$ac_c_werror_flag"
26703 || test ! -s conftest.err'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; } &&
26709 { ac_try
='test -s conftest.$ac_objext'
26710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711 (eval $ac_try) 2>&5
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); }; }; then
26715 ac_header_compiler
=yes
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.
$ac_ext >&5
26720 ac_header_compiler
=no
26722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26724 echo "${ECHO_T}$ac_header_compiler" >&6
26726 # Is the header present?
26727 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26728 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26729 cat >conftest.
$ac_ext <<_ACEOF
26732 cat confdefs.h
>>conftest.
$ac_ext
26733 cat >>conftest.
$ac_ext <<_ACEOF
26734 /* end confdefs.h. */
26737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26740 grep -v '^ *+' conftest.er1
>conftest.err
26742 cat conftest.err
>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } >/dev
/null
; then
26745 if test -s conftest.err
; then
26746 ac_cpp_err
=$ac_c_preproc_warn_flag
26747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26754 if test -z "$ac_cpp_err"; then
26755 ac_header_preproc
=yes
26757 echo "$as_me: failed program was:" >&5
26758 sed 's/^/| /' conftest.
$ac_ext >&5
26760 ac_header_preproc
=no
26762 rm -f conftest.err conftest.
$ac_ext
26763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26764 echo "${ECHO_T}$ac_header_preproc" >&6
26766 # So? What about this header?
26767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26769 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26770 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26772 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26773 ac_header_preproc
=yes
26776 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26777 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26778 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26779 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26780 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26781 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26782 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26783 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26784 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26785 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26786 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26787 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26790 ## ------------------------------------------ ##
26791 ## Report this to the AC_PACKAGE_NAME lists. ##
26792 ## ------------------------------------------ ##
26795 sed "s/^/$as_me: WARNING: /" >&2
26798 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26799 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26800 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26803 ac_cv_header_GL_gl_h
=$ac_header_preproc
26805 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26806 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26809 if test $ac_cv_header_GL_gl_h = yes; then
26812 { { echo "$as_me:$LINENO: error: OpenGL headers not found" >&5
26813 echo "$as_me: error: OpenGL headers not found" >&2;}
26814 { (exit 1); exit 1; }; }
26819 echo "$as_me:$LINENO: checking for main in -lGL" >&5
26820 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
26821 if test "${ac_cv_lib_GL_main+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 ac_check_lib_save_LIBS
=$LIBS
26826 cat >conftest.
$ac_ext <<_ACEOF
26829 cat confdefs.h
>>conftest.
$ac_ext
26830 cat >>conftest.
$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26842 rm -f conftest.
$ac_objext conftest
$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844 (eval $ac_link) 2>conftest.er1
26846 grep -v '^ *+' conftest.er1
>conftest.err
26848 cat conftest.err
>&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } &&
26851 { ac_try
='test -z "$ac_c_werror_flag"
26852 || test ! -s conftest.err'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; } &&
26858 { ac_try
='test -s conftest$ac_exeext'
26859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860 (eval $ac_try) 2>&5
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); }; }; then
26864 ac_cv_lib_GL_main
=yes
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.
$ac_ext >&5
26869 ac_cv_lib_GL_main
=no
26871 rm -f conftest.err conftest.
$ac_objext \
26872 conftest
$ac_exeext conftest.
$ac_ext
26873 LIBS
=$ac_check_lib_save_LIBS
26875 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
26876 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
26877 if test $ac_cv_lib_GL_main = yes; then
26878 cat >>confdefs.h
<<_ACEOF
26879 #define HAVE_LIBGL 1
26885 { { echo "$as_me:$LINENO: error: libGL not installed or functional" >&5
26886 echo "$as_me: error: libGL not installed or functional" >&2;}
26887 { (exit 1); exit 1; }; }
26891 echo "$as_me:$LINENO: checking for main in -lGLU" >&5
26892 echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6
26893 if test "${ac_cv_lib_GLU_main+set}" = set; then
26894 echo $ECHO_N "(cached) $ECHO_C" >&6
26896 ac_check_lib_save_LIBS
=$LIBS
26898 cat >conftest.
$ac_ext <<_ACEOF
26901 cat confdefs.h
>>conftest.
$ac_ext
26902 cat >>conftest.
$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26914 rm -f conftest.
$ac_objext conftest
$ac_exeext
26915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26916 (eval $ac_link) 2>conftest.er1
26918 grep -v '^ *+' conftest.er1
>conftest.err
26920 cat conftest.err
>&5
26921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922 (exit $ac_status); } &&
26923 { ac_try
='test -z "$ac_c_werror_flag"
26924 || test ! -s conftest.err'
26925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 (eval $ac_try) 2>&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); }; } &&
26930 { ac_try
='test -s conftest$ac_exeext'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; }; then
26936 ac_cv_lib_GLU_main
=yes
26938 echo "$as_me: failed program was:" >&5
26939 sed 's/^/| /' conftest.
$ac_ext >&5
26941 ac_cv_lib_GLU_main
=no
26943 rm -f conftest.err conftest.
$ac_objext \
26944 conftest
$ac_exeext conftest.
$ac_ext
26945 LIBS
=$ac_check_lib_save_LIBS
26947 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5
26948 echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6
26949 if test $ac_cv_lib_GLU_main = yes; then
26950 cat >>confdefs.h
<<_ACEOF
26951 #define HAVE_LIBGLU 1
26957 { { echo "$as_me:$LINENO: error: libGLU not installed or functional" >&5
26958 echo "$as_me: error: libGLU not installed or functional" >&2;}
26959 { (exit 1); exit 1; }; }
26964 echo "$as_me:$LINENO: result: no" >&5
26965 echo "${ECHO_T}no" >&6
26970 echo "$as_me:$LINENO: checking whether to build extra presenter ui" >&5
26971 echo $ECHO_N "checking whether to build extra presenter ui... $ECHO_C" >&6
26972 if test -n "$enable_presenter_extra_ui" -a "$enable_presenter_extra_ui" != "no"; then
26973 echo "$as_me:$LINENO: result: yes" >&5
26974 echo "${ECHO_T}yes" >&6
26975 ENABLE_PRESENTER_EXTRA_UI
=YES
26977 echo "$as_me:$LINENO: result: no" >&5
26978 echo "${ECHO_T}no" >&6
26979 ENABLE_PRESENTER_EXTRA_UI
=NO
26983 echo "$as_me:$LINENO: checking whether to build the Presentation Minimizer extension" >&5
26984 echo $ECHO_N "checking whether to build the Presentation Minimizer extension... $ECHO_C" >&6
26985 if test -n "$enable_minimizer" -a "$enable_minimizer" != "no"; then
26986 echo "$as_me:$LINENO: result: yes" >&5
26987 echo "${ECHO_T}yes" >&6
26988 ENABLE_MINIMIZER
=YES
26990 echo "$as_me:$LINENO: result: no" >&5
26991 echo "${ECHO_T}no" >&6
26992 ENABLE_MINIMIZER
=NO
26996 echo "$as_me:$LINENO: checking whether to build the Presenter Screen extension" >&5
26997 echo $ECHO_N "checking whether to build the Presenter Screen extension... $ECHO_C" >&6
26998 if test -n "$enable_presenter_console" -a "$enable_presenter_screen" != "no"; then
26999 echo "$as_me:$LINENO: result: yes" >&5
27000 echo "${ECHO_T}yes" >&6
27001 ENABLE_PRESENTER_SCREEN
=YES
27003 echo "$as_me:$LINENO: result: no" >&5
27004 echo "${ECHO_T}no" >&6
27005 ENABLE_PRESENTER_SCREEN
=NO
27009 echo "$as_me:$LINENO: checking whether to build the PDF Import extension" >&5
27010 echo $ECHO_N "checking whether to build the PDF Import extension... $ECHO_C" >&6
27011 if test -n "$enable_pdfimport" -a "$enable_pdfimport" != "no"; then
27012 echo "$as_me:$LINENO: result: yes" >&5
27013 echo "${ECHO_T}yes" >&6
27014 ENABLE_PDFIMPORT
=YES
27016 echo "$as_me:$LINENO: checking which pdf backend to use" >&5
27017 echo $ECHO_N "checking which pdf backend to use... $ECHO_C" >&6
27018 if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
27019 test "$with_system_poppler" != "no"; then
27020 echo "$as_me:$LINENO: result: external" >&5
27021 echo "${ECHO_T}external" >&6
27026 if test -z "$PKG_CONFIG"; then
27027 # Extract the first word of "pkg-config", so it can be a program name with args.
27028 set dummy pkg-config
; ac_word
=$2
27029 echo "$as_me:$LINENO: checking for $ac_word" >&5
27030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27031 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27032 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 case $PKG_CONFIG in
27036 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27040 for as_dir
in $PATH
27043 test -z "$as_dir" && as_dir
=.
27044 for ac_exec_ext
in '' $ac_executable_extensions; do
27045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27046 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27057 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27059 if test -n "$PKG_CONFIG"; then
27060 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27061 echo "${ECHO_T}$PKG_CONFIG" >&6
27063 echo "$as_me:$LINENO: result: no" >&5
27064 echo "${ECHO_T}no" >&6
27069 if test "$PKG_CONFIG" = "no" ; then
27070 echo "*** The pkg-config script could not be found. Make sure it is"
27071 echo "*** in your path, or set the PKG_CONFIG environment variable"
27072 echo "*** to the full path to pkg-config."
27073 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27075 PKG_CONFIG_MIN_VERSION
=0.9.0
27076 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27077 echo "$as_me:$LINENO: checking for poppler >= 0.8.0 " >&5
27078 echo $ECHO_N "checking for poppler >= 0.8.0 ... $ECHO_C" >&6
27080 if $PKG_CONFIG --exists "poppler >= 0.8.0 " ; then
27081 echo "$as_me:$LINENO: result: yes" >&5
27082 echo "${ECHO_T}yes" >&6
27085 echo "$as_me:$LINENO: checking POPPLER_CFLAGS" >&5
27086 echo $ECHO_N "checking POPPLER_CFLAGS... $ECHO_C" >&6
27087 POPPLER_CFLAGS
=`$PKG_CONFIG --cflags "poppler >= 0.8.0 "`
27088 echo "$as_me:$LINENO: result: $POPPLER_CFLAGS" >&5
27089 echo "${ECHO_T}$POPPLER_CFLAGS" >&6
27091 echo "$as_me:$LINENO: checking POPPLER_LIBS" >&5
27092 echo $ECHO_N "checking POPPLER_LIBS... $ECHO_C" >&6
27093 POPPLER_LIBS
=`$PKG_CONFIG --libs "poppler >= 0.8.0 "`
27094 echo "$as_me:$LINENO: result: $POPPLER_LIBS" >&5
27095 echo "${ECHO_T}$POPPLER_LIBS" >&6
27099 ## If we have a custom action on failure, don't print errors, but
27100 ## do set a variable so people can do so.
27101 POPPLER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.8.0 "`
27102 echo $POPPLER_PKG_ERRORS
27108 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27109 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27113 if test $succeeded = yes; then
27116 { { echo "$as_me:$LINENO: error: Library requirements (poppler >= 0.8.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
27117 echo "$as_me: error: Library requirements (poppler >= 0.8.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;}
27118 { (exit 1); exit 1; }; }
27122 echo "$as_me:$LINENO: result: internal" >&5
27123 echo "${ECHO_T}internal" >&6
27125 BUILD_TYPE
="$BUILD_TYPE XPDF"
27126 echo "$as_me:$LINENO: checking for xpdf module" >&5
27127 echo $ECHO_N "checking for xpdf module... $ECHO_C" >&6
27128 if test -d .
/xpdf
; then
27129 echo "$as_me:$LINENO: result: OK" >&5
27130 echo "${ECHO_T}OK" >&6
27132 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
27133 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
27134 { (exit 1); exit 1; }; }
27138 echo "$as_me:$LINENO: result: no" >&5
27139 echo "${ECHO_T}no" >&6
27140 ENABLE_PDFIMPORT
=NO
27147 if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
27148 echo "$as_me:$LINENO: checking for sdext module" >&5
27149 echo $ECHO_N "checking for sdext module... $ECHO_C" >&6
27150 if test -d .
/sdext
; then
27151 echo "$as_me:$LINENO: result: OK" >&5
27152 echo "${ECHO_T}OK" >&6
27154 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
27155 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
27156 { (exit 1); exit 1; }; }
27158 BUILD_TYPE
="$BUILD_TYPE SDEXT"
27161 echo "$as_me:$LINENO: checking whether to build the Wiki Publisher extension" >&5
27162 echo $ECHO_N "checking whether to build the Wiki Publisher extension... $ECHO_C" >&6
27163 if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test "$WITH_JAVA" != "no"; then
27164 echo "$as_me:$LINENO: result: yes" >&5
27165 echo "${ECHO_T}yes" >&6
27166 echo "$as_me:$LINENO: checking for swext module" >&5
27167 echo $ECHO_N "checking for swext module... $ECHO_C" >&6
27168 if test -d .
/swext
; then
27169 echo "$as_me:$LINENO: result: OK" >&5
27170 echo "${ECHO_T}OK" >&6
27172 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
27173 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
27174 { (exit 1); exit 1; }; }
27176 ENABLE_MEDIAWIKI
=YES
27177 BUILD_TYPE
="$BUILD_TYPE SWEXT"
27179 echo "$as_me:$LINENO: result: no" >&5
27180 echo "${ECHO_T}no" >&6
27181 ENABLE_MEDIAWIKI
=NO
27185 if test "$ENABLE_MEDIAWIKI" = "YES"; then
27186 echo "$as_me:$LINENO: checking which Servlet API Jar to use" >&5
27187 echo $ECHO_N "checking which Servlet API Jar to use... $ECHO_C" >&6
27188 if test -n "$with_system_servlet_api"; then
27189 echo "$as_me:$LINENO: result: external" >&5
27190 echo "${ECHO_T}external" >&6
27191 SYSTEM_SERVLETAPI
=YES
27192 if test -z "$SERVLETAPI_JAR"; then
27193 SERVLETAPI_JAR
=/usr
/share
/java
/servlet-api.jar
27195 as_ac_File
=`echo "ac_cv_file_$SERVLETAPI_JAR" | $as_tr_sh`
27196 echo "$as_me:$LINENO: checking for $SERVLETAPI_JAR" >&5
27197 echo $ECHO_N "checking for $SERVLETAPI_JAR... $ECHO_C" >&6
27198 if eval "test \"\${$as_ac_File+set}\" = set"; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27201 test "$cross_compiling" = yes &&
27202 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27203 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27204 { (exit 1); exit 1; }; }
27205 if test -r "$SERVLETAPI_JAR"; then
27206 eval "$as_ac_File=yes"
27208 eval "$as_ac_File=no"
27211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27212 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27213 if test `eval echo '${'$as_ac_File'}'` = yes; then
27216 { { echo "$as_me:$LINENO: error: servlet-api.jar not found." >&5
27217 echo "$as_me: error: servlet-api.jar not found." >&2;}
27218 { (exit 1); exit 1; }; }
27222 echo "$as_me:$LINENO: result: internal" >&5
27223 echo "${ECHO_T}internal" >&6
27224 SYSTEM_SERVLETAPI
=NO
27225 BUILD_TYPE
="$BUILD_TYPE TOMCAT"
27231 echo "$as_me:$LINENO: checking whether to build the Report Builder extension" >&5
27232 echo $ECHO_N "checking whether to build the Report Builder extension... $ECHO_C" >&6
27233 if test -n "$enable_report_builder" -a "$enable_report_builder" != "no" && test "$WITH_JAVA" != "no"; then
27234 echo "$as_me:$LINENO: result: yes" >&5
27235 echo "${ECHO_T}yes" >&6
27236 ENABLE_REPORTBUILDER
=YES
27237 echo "$as_me:$LINENO: checking for reportbuilder module" >&5
27238 echo $ECHO_N "checking for reportbuilder module... $ECHO_C" >&6
27239 if test -d .
/reportbuilder
; then
27240 echo "$as_me:$LINENO: result: OK" >&5
27241 echo "${ECHO_T}OK" >&6
27243 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
27244 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
27245 { (exit 1); exit 1; }; }
27247 echo "$as_me:$LINENO: checking which jfreereport libs to use" >&5
27248 echo $ECHO_N "checking which jfreereport libs to use... $ECHO_C" >&6
27249 if test "$with_system_jfreereport" = "yes"; then
27250 SYSTEM_JFREEREPORT
=YES
27251 echo "$as_me:$LINENO: result: external" >&5
27252 echo "${ECHO_T}external" >&6
27253 if test -z $SAC_JAR; then
27254 SAC_JAR
=/usr
/share
/java
/sac.jar
27256 as_ac_File
=`echo "ac_cv_file_$SAC_JAR" | $as_tr_sh`
27257 echo "$as_me:$LINENO: checking for $SAC_JAR" >&5
27258 echo $ECHO_N "checking for $SAC_JAR... $ECHO_C" >&6
27259 if eval "test \"\${$as_ac_File+set}\" = set"; then
27260 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 test "$cross_compiling" = yes &&
27263 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27264 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27265 { (exit 1); exit 1; }; }
27266 if test -r "$SAC_JAR"; then
27267 eval "$as_ac_File=yes"
27269 eval "$as_ac_File=no"
27272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27273 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27274 if test `eval echo '${'$as_ac_File'}'` = yes; then
27277 { { echo "$as_me:$LINENO: error: sac.jar not found." >&5
27278 echo "$as_me: error: sac.jar not found." >&2;}
27279 { (exit 1); exit 1; }; }
27283 if test -z $LIBXML_JAR; then
27284 echo "$as_me:$LINENO: checking for /usr/share/java/libxml-1.0.0.jar" >&5
27285 echo $ECHO_N "checking for /usr/share/java/libxml-1.0.0.jar... $ECHO_C" >&6
27286 if test "${ac_cv_file__usr_share_java_libxml_1_0_0_jar+set}" = set; then
27287 echo $ECHO_N "(cached) $ECHO_C" >&6
27289 test "$cross_compiling" = yes &&
27290 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27291 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27292 { (exit 1); exit 1; }; }
27293 if test -r "/usr/share/java/libxml-1.0.0.jar"; then
27294 ac_cv_file__usr_share_java_libxml_1_0_0_jar
=yes
27296 ac_cv_file__usr_share_java_libxml_1_0_0_jar
=no
27299 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&5
27300 echo "${ECHO_T}$ac_cv_file__usr_share_java_libxml_1_0_0_jar" >&6
27301 if test $ac_cv_file__usr_share_java_libxml_1_0_0_jar = yes; then
27302 LIBXML_JAR
=/usr
/share
/java
/libxml-1.0
.0.jar
27305 echo "$as_me:$LINENO: checking for /usr/share/java/libxml.jar" >&5
27306 echo $ECHO_N "checking for /usr/share/java/libxml.jar... $ECHO_C" >&6
27307 if test "${ac_cv_file__usr_share_java_libxml_jar+set}" = set; then
27308 echo $ECHO_N "(cached) $ECHO_C" >&6
27310 test "$cross_compiling" = yes &&
27311 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27312 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27313 { (exit 1); exit 1; }; }
27314 if test -r "/usr/share/java/libxml.jar"; then
27315 ac_cv_file__usr_share_java_libxml_jar
=yes
27317 ac_cv_file__usr_share_java_libxml_jar
=no
27320 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libxml_jar" >&5
27321 echo "${ECHO_T}$ac_cv_file__usr_share_java_libxml_jar" >&6
27322 if test $ac_cv_file__usr_share_java_libxml_jar = yes; then
27323 LIBXML_JAR
=/usr
/share
/java
/libxml.jar
27325 { { echo "$as_me:$LINENO: error: libxml.jar replacement not found." >&5
27326 echo "$as_me: error: libxml.jar replacement not found." >&2;}
27327 { (exit 1); exit 1; }; }
27336 as_ac_File
=`echo "ac_cv_file_$LIBXML_JAR" | $as_tr_sh`
27337 echo "$as_me:$LINENO: checking for $LIBXML_JAR" >&5
27338 echo $ECHO_N "checking for $LIBXML_JAR... $ECHO_C" >&6
27339 if eval "test \"\${$as_ac_File+set}\" = set"; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 test "$cross_compiling" = yes &&
27343 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27344 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27345 { (exit 1); exit 1; }; }
27346 if test -r "$LIBXML_JAR"; then
27347 eval "$as_ac_File=yes"
27349 eval "$as_ac_File=no"
27352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27353 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27354 if test `eval echo '${'$as_ac_File'}'` = yes; then
27357 { { echo "$as_me:$LINENO: error: libxml.jar not found." >&5
27358 echo "$as_me: error: libxml.jar not found." >&2;}
27359 { (exit 1); exit 1; }; }
27364 if test -z $FLUTE_JAR; then
27365 echo "$as_me:$LINENO: checking for /usr/share/java/flute-1.3.0.jar" >&5
27366 echo $ECHO_N "checking for /usr/share/java/flute-1.3.0.jar... $ECHO_C" >&6
27367 if test "${ac_cv_file__usr_share_java_flute_1_3_0_jar+set}" = set; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 test "$cross_compiling" = yes &&
27371 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27372 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27373 { (exit 1); exit 1; }; }
27374 if test -r "/usr/share/java/flute-1.3.0.jar"; then
27375 ac_cv_file__usr_share_java_flute_1_3_0_jar
=yes
27377 ac_cv_file__usr_share_java_flute_1_3_0_jar
=no
27380 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flute_1_3_0_jar" >&5
27381 echo "${ECHO_T}$ac_cv_file__usr_share_java_flute_1_3_0_jar" >&6
27382 if test $ac_cv_file__usr_share_java_flute_1_3_0_jar = yes; then
27383 FLUTE_JAR
=/usr
/share
/java
/flute-1.3
.0.jar
27386 echo "$as_me:$LINENO: checking for /usr/share/java/flute.jar" >&5
27387 echo $ECHO_N "checking for /usr/share/java/flute.jar... $ECHO_C" >&6
27388 if test "${ac_cv_file__usr_share_java_flute_jar+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 test "$cross_compiling" = yes &&
27392 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27393 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27394 { (exit 1); exit 1; }; }
27395 if test -r "/usr/share/java/flute.jar"; then
27396 ac_cv_file__usr_share_java_flute_jar
=yes
27398 ac_cv_file__usr_share_java_flute_jar
=no
27401 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flute_jar" >&5
27402 echo "${ECHO_T}$ac_cv_file__usr_share_java_flute_jar" >&6
27403 if test $ac_cv_file__usr_share_java_flute_jar = yes; then
27404 FLUTE_JAR
=/usr
/share
/java
/flute.jar
27406 { { echo "$as_me:$LINENO: error: flute-1.3.0.jar replacement not found." >&5
27407 echo "$as_me: error: flute-1.3.0.jar replacement not found." >&2;}
27408 { (exit 1); exit 1; }; }
27417 as_ac_File
=`echo "ac_cv_file_$FLUTE_JAR" | $as_tr_sh`
27418 echo "$as_me:$LINENO: checking for $FLUTE_JAR" >&5
27419 echo $ECHO_N "checking for $FLUTE_JAR... $ECHO_C" >&6
27420 if eval "test \"\${$as_ac_File+set}\" = set"; then
27421 echo $ECHO_N "(cached) $ECHO_C" >&6
27423 test "$cross_compiling" = yes &&
27424 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27425 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27426 { (exit 1); exit 1; }; }
27427 if test -r "$FLUTE_JAR"; then
27428 eval "$as_ac_File=yes"
27430 eval "$as_ac_File=no"
27433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27434 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27435 if test `eval echo '${'$as_ac_File'}'` = yes; then
27438 { { echo "$as_me:$LINENO: error: flute-1.3.0.jar not found." >&5
27439 echo "$as_me: error: flute-1.3.0.jar not found." >&2;}
27440 { (exit 1); exit 1; }; }
27445 if test -z $JFREEREPORT_JAR; then
27446 echo "$as_me:$LINENO: checking for /usr/share/java/flow-engine-0.9.2.jar" >&5
27447 echo $ECHO_N "checking for /usr/share/java/flow-engine-0.9.2.jar... $ECHO_C" >&6
27448 if test "${ac_cv_file__usr_share_java_flow_engine_0_9_2_jar+set}" = set; then
27449 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 test "$cross_compiling" = yes &&
27452 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27453 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27454 { (exit 1); exit 1; }; }
27455 if test -r "/usr/share/java/flow-engine-0.9.2.jar"; then
27456 ac_cv_file__usr_share_java_flow_engine_0_9_2_jar
=yes
27458 ac_cv_file__usr_share_java_flow_engine_0_9_2_jar
=no
27461 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&5
27462 echo "${ECHO_T}$ac_cv_file__usr_share_java_flow_engine_0_9_2_jar" >&6
27463 if test $ac_cv_file__usr_share_java_flow_engine_0_9_2_jar = yes; then
27464 JFREEREPORT_JAR
=/usr
/share
/java
/flow-engine-0.9
.2.jar
27467 echo "$as_me:$LINENO: checking for /usr/share/java/flow-engine.jar" >&5
27468 echo $ECHO_N "checking for /usr/share/java/flow-engine.jar... $ECHO_C" >&6
27469 if test "${ac_cv_file__usr_share_java_flow_engine_jar+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 test "$cross_compiling" = yes &&
27473 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27474 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27475 { (exit 1); exit 1; }; }
27476 if test -r "/usr/share/java/flow-engine.jar"; then
27477 ac_cv_file__usr_share_java_flow_engine_jar
=yes
27479 ac_cv_file__usr_share_java_flow_engine_jar
=no
27482 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_flow_engine_jar" >&5
27483 echo "${ECHO_T}$ac_cv_file__usr_share_java_flow_engine_jar" >&6
27484 if test $ac_cv_file__usr_share_java_flow_engine_jar = yes; then
27485 JFREEREPORT_JAR
=/usr
/share
/java
/flow-engine.jar
27487 { { echo "$as_me:$LINENO: error: jfreereport.jar replacement not found." >&5
27488 echo "$as_me: error: jfreereport.jar replacement not found." >&2;}
27489 { (exit 1); exit 1; }; }
27498 as_ac_File
=`echo "ac_cv_file_$JFREEREPORT_JAR" | $as_tr_sh`
27499 echo "$as_me:$LINENO: checking for $JFREEREPORT_JAR" >&5
27500 echo $ECHO_N "checking for $JFREEREPORT_JAR... $ECHO_C" >&6
27501 if eval "test \"\${$as_ac_File+set}\" = set"; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 test "$cross_compiling" = yes &&
27505 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27506 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27507 { (exit 1); exit 1; }; }
27508 if test -r "$JFREEREPORT_JAR"; then
27509 eval "$as_ac_File=yes"
27511 eval "$as_ac_File=no"
27514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27515 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27516 if test `eval echo '${'$as_ac_File'}'` = yes; then
27519 { { echo "$as_me:$LINENO: error: jfreereport.jar not found." >&5
27520 echo "$as_me: error: jfreereport.jar not found." >&2;}
27521 { (exit 1); exit 1; }; }
27526 if test -z $LIBLAYOUT_JAR; then
27527 echo "$as_me:$LINENO: checking for /usr/share/java/liblayout-0.2.9.jar" >&5
27528 echo $ECHO_N "checking for /usr/share/java/liblayout-0.2.9.jar... $ECHO_C" >&6
27529 if test "${ac_cv_file__usr_share_java_liblayout_0_2_9_jar+set}" = set; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 test "$cross_compiling" = yes &&
27533 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27534 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27535 { (exit 1); exit 1; }; }
27536 if test -r "/usr/share/java/liblayout-0.2.9.jar"; then
27537 ac_cv_file__usr_share_java_liblayout_0_2_9_jar
=yes
27539 ac_cv_file__usr_share_java_liblayout_0_2_9_jar
=no
27542 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&5
27543 echo "${ECHO_T}$ac_cv_file__usr_share_java_liblayout_0_2_9_jar" >&6
27544 if test $ac_cv_file__usr_share_java_liblayout_0_2_9_jar = yes; then
27545 LIBLAYOUT_JAR
=/usr
/share
/java
/liblayout-0.2
.9.jar
27548 echo "$as_me:$LINENO: checking for /usr/share/java/liblayout.jar" >&5
27549 echo $ECHO_N "checking for /usr/share/java/liblayout.jar... $ECHO_C" >&6
27550 if test "${ac_cv_file__usr_share_java_liblayout_jar+set}" = set; then
27551 echo $ECHO_N "(cached) $ECHO_C" >&6
27553 test "$cross_compiling" = yes &&
27554 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27555 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27556 { (exit 1); exit 1; }; }
27557 if test -r "/usr/share/java/liblayout.jar"; then
27558 ac_cv_file__usr_share_java_liblayout_jar
=yes
27560 ac_cv_file__usr_share_java_liblayout_jar
=no
27563 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_liblayout_jar" >&5
27564 echo "${ECHO_T}$ac_cv_file__usr_share_java_liblayout_jar" >&6
27565 if test $ac_cv_file__usr_share_java_liblayout_jar = yes; then
27566 LIBLAYOUT_JAR
=/usr
/share
/java
/liblayout.jar
27568 { { echo "$as_me:$LINENO: error: liblayout.jar replacement not found." >&5
27569 echo "$as_me: error: liblayout.jar replacement not found." >&2;}
27570 { (exit 1); exit 1; }; }
27579 as_ac_File
=`echo "ac_cv_file_$LIBLAYOUT_JAR" | $as_tr_sh`
27580 echo "$as_me:$LINENO: checking for $LIBLAYOUT_JAR" >&5
27581 echo $ECHO_N "checking for $LIBLAYOUT_JAR... $ECHO_C" >&6
27582 if eval "test \"\${$as_ac_File+set}\" = set"; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 test "$cross_compiling" = yes &&
27586 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27587 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27588 { (exit 1); exit 1; }; }
27589 if test -r "$LIBLAYOUT_JAR"; then
27590 eval "$as_ac_File=yes"
27592 eval "$as_ac_File=no"
27595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27596 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27597 if test `eval echo '${'$as_ac_File'}'` = yes; then
27600 { { echo "$as_me:$LINENO: error: liblayout.jar not found." >&5
27601 echo "$as_me: error: liblayout.jar not found." >&2;}
27602 { (exit 1); exit 1; }; }
27607 if test -z $LIBLOADER_JAR; then
27608 echo "$as_me:$LINENO: checking for /usr/share/java/libloader-1.0.0.jar" >&5
27609 echo $ECHO_N "checking for /usr/share/java/libloader-1.0.0.jar... $ECHO_C" >&6
27610 if test "${ac_cv_file__usr_share_java_libloader_1_0_0_jar+set}" = set; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 test "$cross_compiling" = yes &&
27614 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27615 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27616 { (exit 1); exit 1; }; }
27617 if test -r "/usr/share/java/libloader-1.0.0.jar"; then
27618 ac_cv_file__usr_share_java_libloader_1_0_0_jar
=yes
27620 ac_cv_file__usr_share_java_libloader_1_0_0_jar
=no
27623 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&5
27624 echo "${ECHO_T}$ac_cv_file__usr_share_java_libloader_1_0_0_jar" >&6
27625 if test $ac_cv_file__usr_share_java_libloader_1_0_0_jar = yes; then
27626 LIBLOADER_JAR
=/usr
/share
/java
/libloader-1.0
.0.jar
27629 echo "$as_me:$LINENO: checking for /usr/share/java/libloader.jar" >&5
27630 echo $ECHO_N "checking for /usr/share/java/libloader.jar... $ECHO_C" >&6
27631 if test "${ac_cv_file__usr_share_java_libloader_jar+set}" = set; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27634 test "$cross_compiling" = yes &&
27635 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27636 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27637 { (exit 1); exit 1; }; }
27638 if test -r "/usr/share/java/libloader.jar"; then
27639 ac_cv_file__usr_share_java_libloader_jar
=yes
27641 ac_cv_file__usr_share_java_libloader_jar
=no
27644 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libloader_jar" >&5
27645 echo "${ECHO_T}$ac_cv_file__usr_share_java_libloader_jar" >&6
27646 if test $ac_cv_file__usr_share_java_libloader_jar = yes; then
27647 LIBLOADER_JAR
=/usr
/share
/java
/libloader.jar
27649 { { echo "$as_me:$LINENO: error: libloader.jar replacement not found." >&5
27650 echo "$as_me: error: libloader.jar replacement not found." >&2;}
27651 { (exit 1); exit 1; }; }
27660 as_ac_File
=`echo "ac_cv_file_$LIBLOADER_JAR" | $as_tr_sh`
27661 echo "$as_me:$LINENO: checking for $LIBLOADER_JAR" >&5
27662 echo $ECHO_N "checking for $LIBLOADER_JAR... $ECHO_C" >&6
27663 if eval "test \"\${$as_ac_File+set}\" = set"; then
27664 echo $ECHO_N "(cached) $ECHO_C" >&6
27666 test "$cross_compiling" = yes &&
27667 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27668 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27669 { (exit 1); exit 1; }; }
27670 if test -r "$LIBLOADER_JAR"; then
27671 eval "$as_ac_File=yes"
27673 eval "$as_ac_File=no"
27676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27677 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27678 if test `eval echo '${'$as_ac_File'}'` = yes; then
27681 { { echo "$as_me:$LINENO: error: libloader.jar not found." >&5
27682 echo "$as_me: error: libloader.jar not found." >&2;}
27683 { (exit 1); exit 1; }; }
27688 if test -z $LIBFORMULA_JAR; then
27689 echo "$as_me:$LINENO: checking for /usr/share/java/libformula-0.2.0.jar" >&5
27690 echo $ECHO_N "checking for /usr/share/java/libformula-0.2.0.jar... $ECHO_C" >&6
27691 if test "${ac_cv_file__usr_share_java_libformula_0_2_0_jar+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 test "$cross_compiling" = yes &&
27695 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27696 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27697 { (exit 1); exit 1; }; }
27698 if test -r "/usr/share/java/libformula-0.2.0.jar"; then
27699 ac_cv_file__usr_share_java_libformula_0_2_0_jar
=yes
27701 ac_cv_file__usr_share_java_libformula_0_2_0_jar
=no
27704 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&5
27705 echo "${ECHO_T}$ac_cv_file__usr_share_java_libformula_0_2_0_jar" >&6
27706 if test $ac_cv_file__usr_share_java_libformula_0_2_0_jar = yes; then
27707 LIBFORMULA_JAR
=/usr
/share
/java
/libformula-0.2
.0.jar
27710 echo "$as_me:$LINENO: checking for /usr/share/java/libformula.jar" >&5
27711 echo $ECHO_N "checking for /usr/share/java/libformula.jar... $ECHO_C" >&6
27712 if test "${ac_cv_file__usr_share_java_libformula_jar+set}" = set; then
27713 echo $ECHO_N "(cached) $ECHO_C" >&6
27715 test "$cross_compiling" = yes &&
27716 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27717 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27718 { (exit 1); exit 1; }; }
27719 if test -r "/usr/share/java/libformula.jar"; then
27720 ac_cv_file__usr_share_java_libformula_jar
=yes
27722 ac_cv_file__usr_share_java_libformula_jar
=no
27725 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libformula_jar" >&5
27726 echo "${ECHO_T}$ac_cv_file__usr_share_java_libformula_jar" >&6
27727 if test $ac_cv_file__usr_share_java_libformula_jar = yes; then
27728 LIBFORMULA_JAR
=/usr
/share
/java
/libformula.jar
27730 { { echo "$as_me:$LINENO: error: libformula.jar replacement not found." >&5
27731 echo "$as_me: error: libformula.jar replacement not found." >&2;}
27732 { (exit 1); exit 1; }; }
27741 as_ac_File
=`echo "ac_cv_file_$LIBFORMULA_JAR" | $as_tr_sh`
27742 echo "$as_me:$LINENO: checking for $LIBFORMULA_JAR" >&5
27743 echo $ECHO_N "checking for $LIBFORMULA_JAR... $ECHO_C" >&6
27744 if eval "test \"\${$as_ac_File+set}\" = set"; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 test "$cross_compiling" = yes &&
27748 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27749 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27750 { (exit 1); exit 1; }; }
27751 if test -r "$LIBFORMULA_JAR"; then
27752 eval "$as_ac_File=yes"
27754 eval "$as_ac_File=no"
27757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27758 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27759 if test `eval echo '${'$as_ac_File'}'` = yes; then
27762 { { echo "$as_me:$LINENO: error: libformula.jar not found." >&5
27763 echo "$as_me: error: libformula.jar not found." >&2;}
27764 { (exit 1); exit 1; }; }
27769 if test -z $LIBREPOSITORY_JAR; then
27770 echo "$as_me:$LINENO: checking for /usr/share/java/librepository-1.0.0.jar" >&5
27771 echo $ECHO_N "checking for /usr/share/java/librepository-1.0.0.jar... $ECHO_C" >&6
27772 if test "${ac_cv_file__usr_share_java_librepository_1_0_0_jar+set}" = set; then
27773 echo $ECHO_N "(cached) $ECHO_C" >&6
27775 test "$cross_compiling" = yes &&
27776 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27777 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27778 { (exit 1); exit 1; }; }
27779 if test -r "/usr/share/java/librepository-1.0.0.jar"; then
27780 ac_cv_file__usr_share_java_librepository_1_0_0_jar
=yes
27782 ac_cv_file__usr_share_java_librepository_1_0_0_jar
=no
27785 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&5
27786 echo "${ECHO_T}$ac_cv_file__usr_share_java_librepository_1_0_0_jar" >&6
27787 if test $ac_cv_file__usr_share_java_librepository_1_0_0_jar = yes; then
27788 LIBREPOSITORY_JAR
=/usr
/share
/java
/librepository-1.0
.0.jar
27791 echo "$as_me:$LINENO: checking for /usr/share/java/librepository.jar" >&5
27792 echo $ECHO_N "checking for /usr/share/java/librepository.jar... $ECHO_C" >&6
27793 if test "${ac_cv_file__usr_share_java_librepository_jar+set}" = set; then
27794 echo $ECHO_N "(cached) $ECHO_C" >&6
27796 test "$cross_compiling" = yes &&
27797 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27798 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27799 { (exit 1); exit 1; }; }
27800 if test -r "/usr/share/java/librepository.jar"; then
27801 ac_cv_file__usr_share_java_librepository_jar
=yes
27803 ac_cv_file__usr_share_java_librepository_jar
=no
27806 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_librepository_jar" >&5
27807 echo "${ECHO_T}$ac_cv_file__usr_share_java_librepository_jar" >&6
27808 if test $ac_cv_file__usr_share_java_librepository_jar = yes; then
27809 LIBREPOSITORY_JAR
=/usr
/share
/java
/librepository.jar
27811 { { echo "$as_me:$LINENO: error: librepository.jar replacement not found." >&5
27812 echo "$as_me: error: librepository.jar replacement not found." >&2;}
27813 { (exit 1); exit 1; }; }
27822 as_ac_File
=`echo "ac_cv_file_$LIBREPOSITORY_JAR" | $as_tr_sh`
27823 echo "$as_me:$LINENO: checking for $LIBREPOSITORY_JAR" >&5
27824 echo $ECHO_N "checking for $LIBREPOSITORY_JAR... $ECHO_C" >&6
27825 if eval "test \"\${$as_ac_File+set}\" = set"; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 test "$cross_compiling" = yes &&
27829 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27830 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27831 { (exit 1); exit 1; }; }
27832 if test -r "$LIBREPOSITORY_JAR"; then
27833 eval "$as_ac_File=yes"
27835 eval "$as_ac_File=no"
27838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27839 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27840 if test `eval echo '${'$as_ac_File'}'` = yes; then
27843 { { echo "$as_me:$LINENO: error: librepository.jar not found." >&5
27844 echo "$as_me: error: librepository.jar not found." >&2;}
27845 { (exit 1); exit 1; }; }
27850 if test -z $LIBFONTS_JAR; then
27851 echo "$as_me:$LINENO: checking for /usr/share/java/libfonts-1.0.0.jar" >&5
27852 echo $ECHO_N "checking for /usr/share/java/libfonts-1.0.0.jar... $ECHO_C" >&6
27853 if test "${ac_cv_file__usr_share_java_libfonts_1_0_0_jar+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 test "$cross_compiling" = yes &&
27857 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27858 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27859 { (exit 1); exit 1; }; }
27860 if test -r "/usr/share/java/libfonts-1.0.0.jar"; then
27861 ac_cv_file__usr_share_java_libfonts_1_0_0_jar
=yes
27863 ac_cv_file__usr_share_java_libfonts_1_0_0_jar
=no
27866 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&5
27867 echo "${ECHO_T}$ac_cv_file__usr_share_java_libfonts_1_0_0_jar" >&6
27868 if test $ac_cv_file__usr_share_java_libfonts_1_0_0_jar = yes; then
27869 LIBFONTS_JAR
=/usr
/share
/java
/libfonts-1.0
.0.jar
27872 echo "$as_me:$LINENO: checking for /usr/share/java/libfonts.jar" >&5
27873 echo $ECHO_N "checking for /usr/share/java/libfonts.jar... $ECHO_C" >&6
27874 if test "${ac_cv_file__usr_share_java_libfonts_jar+set}" = set; then
27875 echo $ECHO_N "(cached) $ECHO_C" >&6
27877 test "$cross_compiling" = yes &&
27878 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27879 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27880 { (exit 1); exit 1; }; }
27881 if test -r "/usr/share/java/libfonts.jar"; then
27882 ac_cv_file__usr_share_java_libfonts_jar
=yes
27884 ac_cv_file__usr_share_java_libfonts_jar
=no
27887 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libfonts_jar" >&5
27888 echo "${ECHO_T}$ac_cv_file__usr_share_java_libfonts_jar" >&6
27889 if test $ac_cv_file__usr_share_java_libfonts_jar = yes; then
27890 LIBFONTS_JAR
=/usr
/share
/java
/libfonts.jar
27892 { { echo "$as_me:$LINENO: error: libfonts.jar replacement not found." >&5
27893 echo "$as_me: error: libfonts.jar replacement not found." >&2;}
27894 { (exit 1); exit 1; }; }
27903 as_ac_File
=`echo "ac_cv_file_$LIBFONTS_JAR" | $as_tr_sh`
27904 echo "$as_me:$LINENO: checking for $LIBFONTS_JAR" >&5
27905 echo $ECHO_N "checking for $LIBFONTS_JAR... $ECHO_C" >&6
27906 if eval "test \"\${$as_ac_File+set}\" = set"; then
27907 echo $ECHO_N "(cached) $ECHO_C" >&6
27909 test "$cross_compiling" = yes &&
27910 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27911 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27912 { (exit 1); exit 1; }; }
27913 if test -r "$LIBFONTS_JAR"; then
27914 eval "$as_ac_File=yes"
27916 eval "$as_ac_File=no"
27919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
27920 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
27921 if test `eval echo '${'$as_ac_File'}'` = yes; then
27924 { { echo "$as_me:$LINENO: error: libfonts.jar not found." >&5
27925 echo "$as_me: error: libfonts.jar not found." >&2;}
27926 { (exit 1); exit 1; }; }
27931 if test -z $LIBSERIALIZER_JAR; then
27932 echo "$as_me:$LINENO: checking for /usr/share/java/libserializer-1.0.0.jar" >&5
27933 echo $ECHO_N "checking for /usr/share/java/libserializer-1.0.0.jar... $ECHO_C" >&6
27934 if test "${ac_cv_file__usr_share_java_libserializer_1_0_0_jar+set}" = set; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 test "$cross_compiling" = yes &&
27938 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27939 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27940 { (exit 1); exit 1; }; }
27941 if test -r "/usr/share/java/libserializer-1.0.0.jar"; then
27942 ac_cv_file__usr_share_java_libserializer_1_0_0_jar
=yes
27944 ac_cv_file__usr_share_java_libserializer_1_0_0_jar
=no
27947 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&5
27948 echo "${ECHO_T}$ac_cv_file__usr_share_java_libserializer_1_0_0_jar" >&6
27949 if test $ac_cv_file__usr_share_java_libserializer_1_0_0_jar = yes; then
27950 LIBSERIALIZER_JAR
=/usr
/share
/java
/libserializer-1.0
.0.jar
27953 echo "$as_me:$LINENO: checking for /usr/share/java/libserializer.jar" >&5
27954 echo $ECHO_N "checking for /usr/share/java/libserializer.jar... $ECHO_C" >&6
27955 if test "${ac_cv_file__usr_share_java_libserializer_jar+set}" = set; then
27956 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 test "$cross_compiling" = yes &&
27959 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27960 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27961 { (exit 1); exit 1; }; }
27962 if test -r "/usr/share/java/libserializer.jar"; then
27963 ac_cv_file__usr_share_java_libserializer_jar
=yes
27965 ac_cv_file__usr_share_java_libserializer_jar
=no
27968 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libserializer_jar" >&5
27969 echo "${ECHO_T}$ac_cv_file__usr_share_java_libserializer_jar" >&6
27970 if test $ac_cv_file__usr_share_java_libserializer_jar = yes; then
27971 LIBSERIALIZER_JAR
=/usr
/share
/java
/libserializer.jar
27973 { { echo "$as_me:$LINENO: error: libserializer.jar replacement not found." >&5
27974 echo "$as_me: error: libserializer.jar replacement not found." >&2;}
27975 { (exit 1); exit 1; }; }
27984 as_ac_File
=`echo "ac_cv_file_$LIBSERIALIZER_JAR" | $as_tr_sh`
27985 echo "$as_me:$LINENO: checking for $LIBSERIALIZER_JAR" >&5
27986 echo $ECHO_N "checking for $LIBSERIALIZER_JAR... $ECHO_C" >&6
27987 if eval "test \"\${$as_ac_File+set}\" = set"; then
27988 echo $ECHO_N "(cached) $ECHO_C" >&6
27990 test "$cross_compiling" = yes &&
27991 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
27992 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
27993 { (exit 1); exit 1; }; }
27994 if test -r "$LIBSERIALIZER_JAR"; then
27995 eval "$as_ac_File=yes"
27997 eval "$as_ac_File=no"
28000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28001 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28002 if test `eval echo '${'$as_ac_File'}'` = yes; then
28005 { { echo "$as_me:$LINENO: error: libserializer.jar not found." >&5
28006 echo "$as_me: error: libserializer.jar not found." >&2;}
28007 { (exit 1); exit 1; }; }
28013 if test -z $LIBBASE_JAR; then
28014 echo "$as_me:$LINENO: checking for /usr/share/java/libbase-1.0.0.jar" >&5
28015 echo $ECHO_N "checking for /usr/share/java/libbase-1.0.0.jar... $ECHO_C" >&6
28016 if test "${ac_cv_file__usr_share_java_libbase_1_0_0_jar+set}" = set; then
28017 echo $ECHO_N "(cached) $ECHO_C" >&6
28019 test "$cross_compiling" = yes &&
28020 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28021 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28022 { (exit 1); exit 1; }; }
28023 if test -r "/usr/share/java/libbase-1.0.0.jar"; then
28024 ac_cv_file__usr_share_java_libbase_1_0_0_jar
=yes
28026 ac_cv_file__usr_share_java_libbase_1_0_0_jar
=no
28029 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&5
28030 echo "${ECHO_T}$ac_cv_file__usr_share_java_libbase_1_0_0_jar" >&6
28031 if test $ac_cv_file__usr_share_java_libbase_1_0_0_jar = yes; then
28032 LIBBASE_JAR
=/usr
/share
/java
/libbase-1.0
.0.jar
28035 echo "$as_me:$LINENO: checking for /usr/share/java/libbase.jar" >&5
28036 echo $ECHO_N "checking for /usr/share/java/libbase.jar... $ECHO_C" >&6
28037 if test "${ac_cv_file__usr_share_java_libbase_jar+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28040 test "$cross_compiling" = yes &&
28041 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28042 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28043 { (exit 1); exit 1; }; }
28044 if test -r "/usr/share/java/libbase.jar"; then
28045 ac_cv_file__usr_share_java_libbase_jar
=yes
28047 ac_cv_file__usr_share_java_libbase_jar
=no
28050 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_libbase_jar" >&5
28051 echo "${ECHO_T}$ac_cv_file__usr_share_java_libbase_jar" >&6
28052 if test $ac_cv_file__usr_share_java_libbase_jar = yes; then
28053 LIBBASE_JAR
=/usr
/share
/java
/libbase.jar
28055 { { echo "$as_me:$LINENO: error: libbase.jar replacement not found." >&5
28056 echo "$as_me: error: libbase.jar replacement not found." >&2;}
28057 { (exit 1); exit 1; }; }
28066 as_ac_File
=`echo "ac_cv_file_$LIBBASE_JAR" | $as_tr_sh`
28067 echo "$as_me:$LINENO: checking for $LIBBASE_JAR" >&5
28068 echo $ECHO_N "checking for $LIBBASE_JAR... $ECHO_C" >&6
28069 if eval "test \"\${$as_ac_File+set}\" = set"; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 test "$cross_compiling" = yes &&
28073 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28074 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28075 { (exit 1); exit 1; }; }
28076 if test -r "$LIBBASE_JAR"; then
28077 eval "$as_ac_File=yes"
28079 eval "$as_ac_File=no"
28082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28083 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28084 if test `eval echo '${'$as_ac_File'}'` = yes; then
28087 { { echo "$as_me:$LINENO: error: libbase.jar not found." >&5
28088 echo "$as_me: error: libbase.jar not found." >&2;}
28089 { (exit 1); exit 1; }; }
28095 echo "$as_me:$LINENO: result: internal" >&5
28096 echo "${ECHO_T}internal" >&6
28097 echo "$as_me:$LINENO: checking for jfreereport module" >&5
28098 echo $ECHO_N "checking for jfreereport module... $ECHO_C" >&6
28099 if test -d .
/jfreereport
; then
28100 echo "$as_me:$LINENO: result: OK" >&5
28101 echo "${ECHO_T}OK" >&6
28103 { { echo "$as_me:$LINENO: error: not existing. get it (did you get the -extensions tarball?)" >&5
28104 echo "$as_me: error: not existing. get it (did you get the -extensions tarball?)" >&2;}
28105 { (exit 1); exit 1; }; }
28107 SYSTEM_JFREEREPORT
=NO
28108 BUILD_TYPE
="$BUILD_TYPE JFREEREPORT"
28110 BUILD_TYPE
="$BUILD_TYPE REPORTBUILDER"
28112 echo "$as_me:$LINENO: result: no" >&5
28113 echo "${ECHO_T}no" >&6
28114 ENABLE_REPORTBUILDER
=NO
28115 SYSTEM_JFREEREPORT
=NO
28131 # this has to be here because both the wiki publisher and the SRB use
28133 if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
28134 echo "$as_me:$LINENO: checking which Apache commons-* libs to use" >&5
28135 echo $ECHO_N "checking which Apache commons-* libs to use... $ECHO_C" >&6
28136 if test "$with_system_apache_commons" = "yes"; then
28137 SYSTEM_APACHE_COMMONS
=YES
28138 echo "$as_me:$LINENO: result: external" >&5
28139 echo "${ECHO_T}external" >&6
28140 if test "$ENABLE_MEDIAWIKI" = "YES"; then
28141 if test -z $COMMONS_CODEC_JAR; then
28142 echo "$as_me:$LINENO: checking for /usr/share/java/commons-codec-1.3.jar" >&5
28143 echo $ECHO_N "checking for /usr/share/java/commons-codec-1.3.jar... $ECHO_C" >&6
28144 if test "${ac_cv_file__usr_share_java_commons_codec_1_3_jar+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 test "$cross_compiling" = yes &&
28148 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28149 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28150 { (exit 1); exit 1; }; }
28151 if test -r "/usr/share/java/commons-codec-1.3.jar"; then
28152 ac_cv_file__usr_share_java_commons_codec_1_3_jar
=yes
28154 ac_cv_file__usr_share_java_commons_codec_1_3_jar
=no
28157 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&5
28158 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_codec_1_3_jar" >&6
28159 if test $ac_cv_file__usr_share_java_commons_codec_1_3_jar = yes; then
28160 COMMONS_CODEC_JAR
=/usr
/share
/java
/commons-codec-1.3.jar
28163 echo "$as_me:$LINENO: checking for /usr/share/java/commons-codec.jar" >&5
28164 echo $ECHO_N "checking for /usr/share/java/commons-codec.jar... $ECHO_C" >&6
28165 if test "${ac_cv_file__usr_share_java_commons_codec_jar+set}" = set; then
28166 echo $ECHO_N "(cached) $ECHO_C" >&6
28168 test "$cross_compiling" = yes &&
28169 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28170 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28171 { (exit 1); exit 1; }; }
28172 if test -r "/usr/share/java/commons-codec.jar"; then
28173 ac_cv_file__usr_share_java_commons_codec_jar
=yes
28175 ac_cv_file__usr_share_java_commons_codec_jar
=no
28178 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_codec_jar" >&5
28179 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_codec_jar" >&6
28180 if test $ac_cv_file__usr_share_java_commons_codec_jar = yes; then
28181 COMMONS_CODEC_JAR
=/usr
/share
/java
/commons-codec.jar
28183 { { echo "$as_me:$LINENO: error: commons-codec.jar replacement not found." >&5
28184 echo "$as_me: error: commons-codec.jar replacement not found." >&2;}
28185 { (exit 1); exit 1; }; }
28194 as_ac_File
=`echo "ac_cv_file_$COMMONS_CODEC_JAR" | $as_tr_sh`
28195 echo "$as_me:$LINENO: checking for $COMMONS_CODEC_JAR" >&5
28196 echo $ECHO_N "checking for $COMMONS_CODEC_JAR... $ECHO_C" >&6
28197 if eval "test \"\${$as_ac_File+set}\" = set"; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 test "$cross_compiling" = yes &&
28201 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28202 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28203 { (exit 1); exit 1; }; }
28204 if test -r "$COMMONS_CODEC_JAR"; then
28205 eval "$as_ac_File=yes"
28207 eval "$as_ac_File=no"
28210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28211 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28212 if test `eval echo '${'$as_ac_File'}'` = yes; then
28215 { { echo "$as_me:$LINENO: error: commons-codec.jar not found." >&5
28216 echo "$as_me: error: commons-codec.jar not found." >&2;}
28217 { (exit 1); exit 1; }; }
28222 if test -z $COMMONS_LANG_JAR; then
28223 echo "$as_me:$LINENO: checking for /usr/share/java/commons-lang-2.3.jar" >&5
28224 echo $ECHO_N "checking for /usr/share/java/commons-lang-2.3.jar... $ECHO_C" >&6
28225 if test "${ac_cv_file__usr_share_java_commons_lang_2_3_jar+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 test "$cross_compiling" = yes &&
28229 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28230 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28231 { (exit 1); exit 1; }; }
28232 if test -r "/usr/share/java/commons-lang-2.3.jar"; then
28233 ac_cv_file__usr_share_java_commons_lang_2_3_jar
=yes
28235 ac_cv_file__usr_share_java_commons_lang_2_3_jar
=no
28238 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&5
28239 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_lang_2_3_jar" >&6
28240 if test $ac_cv_file__usr_share_java_commons_lang_2_3_jar = yes; then
28241 COMMONS_LANG_JAR
=/usr
/share
/java
/commons-lang-2.3.jar
28244 echo "$as_me:$LINENO: checking for /usr/share/java/commons-lang.jar" >&5
28245 echo $ECHO_N "checking for /usr/share/java/commons-lang.jar... $ECHO_C" >&6
28246 if test "${ac_cv_file__usr_share_java_commons_lang_jar+set}" = set; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 test "$cross_compiling" = yes &&
28250 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28251 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28252 { (exit 1); exit 1; }; }
28253 if test -r "/usr/share/java/commons-lang.jar"; then
28254 ac_cv_file__usr_share_java_commons_lang_jar
=yes
28256 ac_cv_file__usr_share_java_commons_lang_jar
=no
28259 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_lang_jar" >&5
28260 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_lang_jar" >&6
28261 if test $ac_cv_file__usr_share_java_commons_lang_jar = yes; then
28262 COMMONS_LANG_JAR
=/usr
/share
/java
/commons-lang.jar
28264 { { echo "$as_me:$LINENO: error: commons-lang.jar replacement not found." >&5
28265 echo "$as_me: error: commons-lang.jar replacement not found." >&2;}
28266 { (exit 1); exit 1; }; }
28275 as_ac_File
=`echo "ac_cv_file_$COMMONS_LANG_JAR" | $as_tr_sh`
28276 echo "$as_me:$LINENO: checking for $COMMONS_LANG_JAR" >&5
28277 echo $ECHO_N "checking for $COMMONS_LANG_JAR... $ECHO_C" >&6
28278 if eval "test \"\${$as_ac_File+set}\" = set"; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 test "$cross_compiling" = yes &&
28282 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28283 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28284 { (exit 1); exit 1; }; }
28285 if test -r "$COMMONS_LANG_JAR"; then
28286 eval "$as_ac_File=yes"
28288 eval "$as_ac_File=no"
28291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28292 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28293 if test `eval echo '${'$as_ac_File'}'` = yes; then
28296 { { echo "$as_me:$LINENO: error: commons-lang.jar not found." >&5
28297 echo "$as_me: error: commons-lang.jar not found." >&2;}
28298 { (exit 1); exit 1; }; }
28303 if test -z $COMMONS_HTTPCLIENT_JAR; then
28304 echo "$as_me:$LINENO: checking for /usr/share/java/commons-httpclient-3.1.jar" >&5
28305 echo $ECHO_N "checking for /usr/share/java/commons-httpclient-3.1.jar... $ECHO_C" >&6
28306 if test "${ac_cv_file__usr_share_java_commons_httpclient_3_1_jar+set}" = set; then
28307 echo $ECHO_N "(cached) $ECHO_C" >&6
28309 test "$cross_compiling" = yes &&
28310 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28311 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28312 { (exit 1); exit 1; }; }
28313 if test -r "/usr/share/java/commons-httpclient-3.1.jar"; then
28314 ac_cv_file__usr_share_java_commons_httpclient_3_1_jar
=yes
28316 ac_cv_file__usr_share_java_commons_httpclient_3_1_jar
=no
28319 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&5
28320 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_httpclient_3_1_jar" >&6
28321 if test $ac_cv_file__usr_share_java_commons_httpclient_3_1_jar = yes; then
28322 COMMONS_HTTPCLIENT_JAR
=/usr
/share
/java
/commons-httpclient-3.1.jar
28325 echo "$as_me:$LINENO: checking for /usr/share/java/commons-httpclient.jar" >&5
28326 echo $ECHO_N "checking for /usr/share/java/commons-httpclient.jar... $ECHO_C" >&6
28327 if test "${ac_cv_file__usr_share_java_commons_httpclient_jar+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 test "$cross_compiling" = yes &&
28331 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28332 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28333 { (exit 1); exit 1; }; }
28334 if test -r "/usr/share/java/commons-httpclient.jar"; then
28335 ac_cv_file__usr_share_java_commons_httpclient_jar
=yes
28337 ac_cv_file__usr_share_java_commons_httpclient_jar
=no
28340 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_httpclient_jar" >&5
28341 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_httpclient_jar" >&6
28342 if test $ac_cv_file__usr_share_java_commons_httpclient_jar = yes; then
28343 COMMONS_HTTPCLIENT_JAR
=/usr
/share
/java
/commons-httpclient.jar
28345 { { echo "$as_me:$LINENO: error: commons-httpclient.jar replacement not found." >&5
28346 echo "$as_me: error: commons-httpclient.jar replacement not found." >&2;}
28347 { (exit 1); exit 1; }; }
28356 as_ac_File
=`echo "ac_cv_file_$COMMONS_HTTPCLIENT_JAR" | $as_tr_sh`
28357 echo "$as_me:$LINENO: checking for $COMMONS_HTTPCLIENT_JAR" >&5
28358 echo $ECHO_N "checking for $COMMONS_HTTPCLIENT_JAR... $ECHO_C" >&6
28359 if eval "test \"\${$as_ac_File+set}\" = set"; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 test "$cross_compiling" = yes &&
28363 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28364 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28365 { (exit 1); exit 1; }; }
28366 if test -r "$COMMONS_HTTPCLIENT_JAR"; then
28367 eval "$as_ac_File=yes"
28369 eval "$as_ac_File=no"
28372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28373 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28374 if test `eval echo '${'$as_ac_File'}'` = yes; then
28377 { { echo "$as_me:$LINENO: error: commons-httpclient.jar not found." >&5
28378 echo "$as_me: error: commons-httpclient.jar not found." >&2;}
28379 { (exit 1); exit 1; }; }
28384 if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
28385 if test -z $COMMONS_LOGGING_JAR; then
28386 echo "$as_me:$LINENO: checking for /usr/share/java/commons-logging-1.1.1.jar" >&5
28387 echo $ECHO_N "checking for /usr/share/java/commons-logging-1.1.1.jar... $ECHO_C" >&6
28388 if test "${ac_cv_file__usr_share_java_commons_logging_1_1_1_jar+set}" = set; then
28389 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 test "$cross_compiling" = yes &&
28392 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28393 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28394 { (exit 1); exit 1; }; }
28395 if test -r "/usr/share/java/commons-logging-1.1.1.jar"; then
28396 ac_cv_file__usr_share_java_commons_logging_1_1_1_jar
=yes
28398 ac_cv_file__usr_share_java_commons_logging_1_1_1_jar
=no
28401 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&5
28402 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_logging_1_1_1_jar" >&6
28403 if test $ac_cv_file__usr_share_java_commons_logging_1_1_1_jar = yes; then
28404 COMMONS_LOGGING_JAR
=/usr
/share
/java
/commons-logging-1.1
.1.jar
28407 echo "$as_me:$LINENO: checking for /usr/share/java/commons-logging.jar" >&5
28408 echo $ECHO_N "checking for /usr/share/java/commons-logging.jar... $ECHO_C" >&6
28409 if test "${ac_cv_file__usr_share_java_commons_logging_jar+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 test "$cross_compiling" = yes &&
28413 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28414 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28415 { (exit 1); exit 1; }; }
28416 if test -r "/usr/share/java/commons-logging.jar"; then
28417 ac_cv_file__usr_share_java_commons_logging_jar
=yes
28419 ac_cv_file__usr_share_java_commons_logging_jar
=no
28422 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_java_commons_logging_jar" >&5
28423 echo "${ECHO_T}$ac_cv_file__usr_share_java_commons_logging_jar" >&6
28424 if test $ac_cv_file__usr_share_java_commons_logging_jar = yes; then
28425 COMMONS_LOGGING_JAR
=/usr
/share
/java
/commons-logging.jar
28427 { { echo "$as_me:$LINENO: error: commons-logging.jar replacement not found." >&5
28428 echo "$as_me: error: commons-logging.jar replacement not found." >&2;}
28429 { (exit 1); exit 1; }; }
28438 as_ac_File
=`echo "ac_cv_file_$COMMONS_LOGGING_JAR" | $as_tr_sh`
28439 echo "$as_me:$LINENO: checking for $COMMONS_LOGGING_JAR" >&5
28440 echo $ECHO_N "checking for $COMMONS_LOGGING_JAR... $ECHO_C" >&6
28441 if eval "test \"\${$as_ac_File+set}\" = set"; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 test "$cross_compiling" = yes &&
28445 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28446 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28447 { (exit 1); exit 1; }; }
28448 if test -r "$COMMONS_LOGGING_JAR"; then
28449 eval "$as_ac_File=yes"
28451 eval "$as_ac_File=no"
28454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
28455 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
28456 if test `eval echo '${'$as_ac_File'}'` = yes; then
28459 { { echo "$as_me:$LINENO: error: commons-logging.jar not found." >&5
28460 echo "$as_me: error: commons-logging.jar not found." >&2;}
28461 { (exit 1); exit 1; }; }
28467 echo "$as_me:$LINENO: result: internal" >&5
28468 echo "${ECHO_T}internal" >&6
28469 SYSTEM_APACHE_COMMONS
=NO
28470 BUILD_TYPE
="$BUILD_TYPE APACHE_COMMONS TOMCAT"
28483 if test "$test_kde" = "yes" -a "$ENABLE_KDE" = "TRUE" ; then
28484 if test "$build_cpu" != "x86_64" ; then
28485 qt_incdirs
="$QTINC /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/lib/qt3/include /usr/lib/qt/include /usr/share/qt3/include $x_includes"
28486 qt_libdirs
="$QTLIB /usr/local/qt/lib /usr/lib/qt /usr/lib /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt /usr/lib/qt3/lib /usr/lib/qt/lib /usr/share/qt3/lib $x_libraries"
28488 qt_incdirs
="$QTINC /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/lib64/qt3/include /usr/lib64/qt/include /usr/share/qt3/include /usr/lib/qt3/include /usr/lib/qt/include $x_includes"
28489 qt_libdirs
="$QTLIB /usr/local/qt/lib64 /usr/lib64/qt /usr/lib64 /usr/X11R6/lib64/X11/qt /usr/X11R6/lib64/qt /usr/lib64/qt3/lib64 /usr/lib64/qt/lib64 /usr/share/qt3/lib64 /usr/local/qt/lib /usr/lib/qt /usr/lib /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt /usr/lib/qt3/lib /usr/lib/qt/lib /usr/share/qt3/lib $x_libraries"
28491 if test -n "$QTDIR" ; then
28492 qt_incdirs
="$QTDIR/include $qt_incdirs"
28493 if test "$build_cpu" != "x86_64" ; then
28494 qt_libdirs
="$QTDIR/lib $qt_libdirs"
28496 qt_libdirs
="$QTDIR/lib64 $QTDIR/lib $qt_libdirs"
28499 if test "$build_cpu" != "x86_64" ; then
28500 kde_incdirs
="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /opt/kde3/include /opt/kde/include $x_includes"
28501 kde_libdirs
="/usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib /usr/lib $x_libraries"
28503 kde_incdirs
="/usr/lib64/kde/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /opt/kde3/include /opt/kde/include $x_includes"
28504 kde_libdirs
="/usr/lib64/kde/lib64 /usr/local/kde/lib64 /usr/kde/lib64 /usr/lib64/kde /usr/lib64/kde3 /usr/X11R6/lib64 /usr/local/lib64 /opt/kde3/lib64 /opt/kde/lib64 /usr/X11R6/kde/lib64 /usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/lib /usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib /usr/lib64 $x_libraries"
28506 if test -n "$KDEDIR" ; then
28507 kde_incdirs
="$KDEDIR/include $kde_incdirs"
28508 if test "$build_cpu" != "x86_64" ; then
28509 kde_libdirs
="$KDEDIR/lib $kde_libdirs"
28511 kde_libdirs
="$KDEDIR/lib64 $KDEDIR/lib $kde_libdirs"
28515 qt_test_include
="qstyle.h"
28516 qt_test_library
="libqt-mt.so"
28517 kde_test_include
="ksharedptr.h"
28518 kde_test_library
="libkdeui.so"
28520 echo "$as_me:$LINENO: checking for Qt headers" >&5
28521 echo $ECHO_N "checking for Qt headers... $ECHO_C" >&6
28523 for kde_check
in $qt_incdirs ; do
28524 if test -r "$kde_check/$qt_test_include" ; then
28525 qt_incdir
="$kde_check"
28529 echo "$as_me:$LINENO: result: $qt_incdir" >&5
28530 echo "${ECHO_T}$qt_incdir" >&6
28531 if test "x$qt_incdir" = "xno" ; then
28532 { { echo "$as_me:$LINENO: error: Qt headers not found. Please specify the root of
28533 your Qt installation by exporting QTDIR before running \"configure\"." >&5
28534 echo "$as_me: error: Qt headers not found. Please specify the root of
28535 your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
28536 { (exit 1); exit 1; }; }
28539 echo "$as_me:$LINENO: checking for Qt libraries" >&5
28540 echo $ECHO_N "checking for Qt libraries... $ECHO_C" >&6
28542 for qt_check
in $qt_libdirs ; do
28543 if test -r "$qt_check/$qt_test_library" ; then
28544 qt_libdir
="$qt_check"
28548 echo "$as_me:$LINENO: result: $qt_libdir" >&5
28549 echo "${ECHO_T}$qt_libdir" >&6
28550 if test "x$qt_libdir" = "xno" ; then
28551 { { echo "$as_me:$LINENO: error: Qt libraries not found. Please specify the root of
28552 your Qt installation by exporting QTDIR before running \"configure\"." >&5
28553 echo "$as_me: error: Qt libraries not found. Please specify the root of
28554 your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
28555 { (exit 1); exit 1; }; }
28558 # Extract the first word of "moc", so it can be a program name with args.
28559 set dummy moc
; ac_word
=$2
28560 echo "$as_me:$LINENO: checking for $ac_word" >&5
28561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28562 if test "${ac_cv_path_MOC+set}" = set; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28567 ac_cv_path_MOC
="$MOC" # Let the user override the test with a path.
28570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28571 as_dummy
="$QTDIR/bin:$PATH "
28572 for as_dir
in $as_dummy
28575 test -z "$as_dir" && as_dir
=.
28576 for ac_exec_ext
in '' $ac_executable_extensions; do
28577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28578 ac_cv_path_MOC
="$as_dir/$ac_word$ac_exec_ext"
28579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28585 test -z "$ac_cv_path_MOC" && ac_cv_path_MOC
="no"
28589 MOC
=$ac_cv_path_MOC
28591 if test -n "$MOC"; then
28592 echo "$as_me:$LINENO: result: $MOC" >&5
28593 echo "${ECHO_T}$MOC" >&6
28595 echo "$as_me:$LINENO: result: no" >&5
28596 echo "${ECHO_T}no" >&6
28599 if test "$MOC" = "no" ; then
28600 { { echo "$as_me:$LINENO: error: Qt Meta Object Compiler not found. Please specify
28601 the root of your Qt installation by exporting QTDIR before running \"configure\"." >&5
28602 echo "$as_me: error: Qt Meta Object Compiler not found. Please specify
28603 the root of your Qt installation by exporting QTDIR before running \"configure\"." >&2;}
28604 { (exit 1); exit 1; }; }
28607 echo "$as_me:$LINENO: checking for KDE headers" >&5
28608 echo $ECHO_N "checking for KDE headers... $ECHO_C" >&6
28610 for kde_check
in $kde_incdirs ; do
28611 if test -r "$kde_check/$kde_test_include" ; then
28612 kde_incdir
="$kde_check"
28616 echo "$as_me:$LINENO: result: $kde_incdir" >&5
28617 echo "${ECHO_T}$kde_incdir" >&6
28618 if test "x$kde_incdir" = "xno" ; then
28619 { { echo "$as_me:$LINENO: error: KDE headers not found. Please specify the root of
28620 your KDE installation by exporting KDEDIR before running \"configure\"." >&5
28621 echo "$as_me: error: KDE headers not found. Please specify the root of
28622 your KDE installation by exporting KDEDIR before running \"configure\"." >&2;}
28623 { (exit 1); exit 1; }; }
28626 echo "$as_me:$LINENO: checking for KDE libraries" >&5
28627 echo $ECHO_N "checking for KDE libraries... $ECHO_C" >&6
28629 for kde_check
in $kde_libdirs ; do
28630 if test -r "$kde_check/$kde_test_library" ; then
28631 kde_libdir
="$kde_check"
28635 echo "$as_me:$LINENO: result: $kde_libdir" >&5
28636 echo "${ECHO_T}$kde_libdir" >&6
28637 if test "x$kde_libdir" = "xno" ; then
28638 { { echo "$as_me:$LINENO: error: KDE libraries not found. Please specify the root of
28639 your KDE installation by exporting KDEDIR before running \"configure\"." >&5
28640 echo "$as_me: error: KDE libraries not found. Please specify the root of
28641 your KDE installation by exporting KDEDIR before running \"configure\"." >&2;}
28642 { (exit 1); exit 1; }; }
28645 KDE_CFLAGS
="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
28646 KDE_LIBS
="-L$kde_libdir -L$qt_libdir -lkdeui -lkdecore -lqt-mt"
28656 if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then
28657 qt_incdirs
="$QT4INC $QT4DIR /usr/include/qt4 /usr/include $x_includes"
28658 qt_libdirs
="$QT4LIB /usr/lib $x_libraries"
28660 kde_incdirs
="/usr/include $x_includes"
28661 kde_libdirs
="/usr/lib $x_libraries"
28663 if test "$build_cpu" = "x86_64" ; then
28664 qt_libdirs
="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64"
28665 kde_libdirs
="$kde_libdirs /usr/lib64 /usr/lib64/kde4"
28668 if test -n "$KDE4DIR" ; then
28669 kde_incdirs
="$KDE4DIR/include $kde_incdirs"
28670 if test "$build_cpu" != "x86_64" ; then
28671 kde_libdirs
="$KDE4DIR/lib $kde_libdirs"
28673 kde_libdirs
="$KDE4DIR/lib64 $KDE4DIR/lib $kde_libdirs"
28677 qt_test_include
="Qt/qobject.h"
28678 qt_test_library
="libQtCore.so"
28679 kde_test_include
="ksharedptr.h"
28680 kde_test_library
="libkdeui.so"
28682 echo "$as_me:$LINENO: checking for Qt4 headers" >&5
28683 echo $ECHO_N "checking for Qt4 headers... $ECHO_C" >&6
28685 for inc_dir
in $qt_incdirs ; do
28686 if test -r "$inc_dir/$qt_test_include" ; then
28687 qt_header_dir
="$inc_dir"
28692 echo "$as_me:$LINENO: result: $qt_header_dir" >&5
28693 echo "${ECHO_T}$qt_header_dir" >&6
28694 if test "x$qt_header_dir" = "xno" ; then
28695 { { echo "$as_me:$LINENO: error: Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&5
28696 echo "$as_me: error: Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&2;}
28697 { (exit 1); exit 1; }; }
28700 echo "$as_me:$LINENO: checking for Qt4 libraries" >&5
28701 echo $ECHO_N "checking for Qt4 libraries... $ECHO_C" >&6
28703 for lib_dir
in $qt_libdirs ; do
28704 if test -r "$lib_dir/$qt_test_library" ; then
28705 qt_lib_dir
="$lib_dir"
28710 echo "$as_me:$LINENO: result: $qt_lib_dir" >&5
28711 echo "${ECHO_T}$qt_lib_dir" >&6
28713 if test "x$qt_lib_dir" = "xno" ; then
28714 { { echo "$as_me:$LINENO: error: Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&5
28715 echo "$as_me: error: Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running \"configure\"." >&2;}
28716 { (exit 1); exit 1; }; }
28719 # Extract the first word of "moc", so it can be a program name with args.
28720 set dummy moc
; ac_word
=$2
28721 echo "$as_me:$LINENO: checking for $ac_word" >&5
28722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28723 if test "${ac_cv_path_MOC4+set}" = set; then
28724 echo $ECHO_N "(cached) $ECHO_C" >&6
28728 ac_cv_path_MOC4
="$MOC4" # Let the user override the test with a path.
28731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28732 as_dummy
="$PATH:$QT4DIR/bin "
28733 for as_dir
in $as_dummy
28736 test -z "$as_dir" && as_dir
=.
28737 for ac_exec_ext
in '' $ac_executable_extensions; do
28738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28739 ac_cv_path_MOC4
="$as_dir/$ac_word$ac_exec_ext"
28740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28746 test -z "$ac_cv_path_MOC4" && ac_cv_path_MOC4
="no"
28750 MOC4
=$ac_cv_path_MOC4
28752 if test -n "$MOC4"; then
28753 echo "$as_me:$LINENO: result: $MOC4" >&5
28754 echo "${ECHO_T}$MOC4" >&6
28756 echo "$as_me:$LINENO: result: no" >&5
28757 echo "${ECHO_T}no" >&6
28760 if test "$MOC4" = "no" ; then
28761 { { echo "$as_me:$LINENO: error: Qt Meta Object Compiler not found. Please specify
28762 the root of your Qt installation by exporting QT4DIR before running \"configure\"." >&5
28763 echo "$as_me: error: Qt Meta Object Compiler not found. Please specify
28764 the root of your Qt installation by exporting QT4DIR before running \"configure\"." >&2;}
28765 { (exit 1); exit 1; }; }
28768 echo "$as_me:$LINENO: checking for KDE4 headers" >&5
28769 echo $ECHO_N "checking for KDE4 headers... $ECHO_C" >&6
28771 for kde_check
in $kde_incdirs ; do
28772 if test -r "$kde_check/$kde_test_include" ; then
28773 kde_incdir
="$kde_check"
28777 echo "$as_me:$LINENO: result: $kde_incdir" >&5
28778 echo "${ECHO_T}$kde_incdir" >&6
28779 if test "x$kde_incdir" = "xno" ; then
28780 { { echo "$as_me:$LINENO: error: KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&5
28781 echo "$as_me: error: KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&2;}
28782 { (exit 1); exit 1; }; }
28785 echo "$as_me:$LINENO: checking for KDE4 libraries" >&5
28786 echo $ECHO_N "checking for KDE4 libraries... $ECHO_C" >&6
28788 for kde_check
in $kde_libdirs ; do
28789 if test -r "$kde_check/$kde_test_library" ; then
28790 kde_libdir
="$kde_check"
28795 echo "$as_me:$LINENO: result: $kde_libdir" >&5
28796 echo "${ECHO_T}$kde_libdir" >&6
28797 if test "x$kde_libdir" = "xno" ; then
28798 { { echo "$as_me:$LINENO: error: KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&5
28799 echo "$as_me: error: KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running \"configure\"." >&2;}
28800 { (exit 1); exit 1; }; }
28803 KDE4_CFLAGS
="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
28804 KDE4_LIBS
="-L$kde_libdir -L$qt_lib_dir -lkdeui -lkdecore -lQtCore -lQtGui"
28810 echo "$as_me:$LINENO: checking whether to enable the lockdown pieces" >&5
28811 echo $ECHO_N "checking whether to enable the lockdown pieces... $ECHO_C" >&6
28813 if test -n "$enable_lockdown" && test "$enable_lockdown" != "no"; then
28814 ENABLE_LOCKDOWN
=YES
28815 echo "$as_me:$LINENO: result: yes" >&5
28816 echo "${ECHO_T}yes" >&6
28818 echo "$as_me:$LINENO: result: no" >&5
28819 echo "${ECHO_T}no" >&6
28823 echo "$as_me:$LINENO: checking whether to enable evolution 2 support" >&5
28824 echo $ECHO_N "checking whether to enable evolution 2 support... $ECHO_C" >&6
28825 if test "$enable_evolution2" = "yes" -o "$enable_evolution2" = "TRUE"; then
28826 echo "$as_me:$LINENO: result: yes" >&5
28827 echo "${ECHO_T}yes" >&6
28831 if test -z "$PKG_CONFIG"; then
28832 # Extract the first word of "pkg-config", so it can be a program name with args.
28833 set dummy pkg-config
; ac_word
=$2
28834 echo "$as_me:$LINENO: checking for $ac_word" >&5
28835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28836 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28837 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 case $PKG_CONFIG in
28841 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28845 for as_dir
in $PATH
28848 test -z "$as_dir" && as_dir
=.
28849 for ac_exec_ext
in '' $ac_executable_extensions; do
28850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28851 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28858 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28862 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28864 if test -n "$PKG_CONFIG"; then
28865 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28866 echo "${ECHO_T}$PKG_CONFIG" >&6
28868 echo "$as_me:$LINENO: result: no" >&5
28869 echo "${ECHO_T}no" >&6
28874 if test "$PKG_CONFIG" = "no" ; then
28875 echo "*** The pkg-config script could not be found. Make sure it is"
28876 echo "*** in your path, or set the PKG_CONFIG environment variable"
28877 echo "*** to the full path to pkg-config."
28878 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28880 PKG_CONFIG_MIN_VERSION
=0.9.0
28881 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28882 echo "$as_me:$LINENO: checking for gobject-2.0" >&5
28883 echo $ECHO_N "checking for gobject-2.0... $ECHO_C" >&6
28885 if $PKG_CONFIG --exists "gobject-2.0" ; then
28886 echo "$as_me:$LINENO: result: yes" >&5
28887 echo "${ECHO_T}yes" >&6
28890 echo "$as_me:$LINENO: checking GOBJECT_CFLAGS" >&5
28891 echo $ECHO_N "checking GOBJECT_CFLAGS... $ECHO_C" >&6
28892 GOBJECT_CFLAGS
=`$PKG_CONFIG --cflags "gobject-2.0"`
28893 echo "$as_me:$LINENO: result: $GOBJECT_CFLAGS" >&5
28894 echo "${ECHO_T}$GOBJECT_CFLAGS" >&6
28896 echo "$as_me:$LINENO: checking GOBJECT_LIBS" >&5
28897 echo $ECHO_N "checking GOBJECT_LIBS... $ECHO_C" >&6
28898 GOBJECT_LIBS
=`$PKG_CONFIG --libs "gobject-2.0"`
28899 echo "$as_me:$LINENO: result: $GOBJECT_LIBS" >&5
28900 echo "${ECHO_T}$GOBJECT_LIBS" >&6
28904 ## If we have a custom action on failure, don't print errors, but
28905 ## do set a variable so people can do so.
28906 GOBJECT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0"`
28907 echo $GOBJECT_PKG_ERRORS
28913 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28914 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28918 if test $succeeded = yes; then
28921 { { echo "$as_me:$LINENO: error: Library requirements (gobject-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
28922 echo "$as_me: error: Library requirements (gobject-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;}
28923 { (exit 1); exit 1; }; }
28926 ENABLE_EVOAB2
="TRUE"
28929 echo "$as_me:$LINENO: result: no" >&5
28930 echo "${ECHO_T}no" >&6
28936 echo "$as_me:$LINENO: checking whether to enable KDE address book support" >&5
28937 echo $ECHO_N "checking whether to enable KDE address book support... $ECHO_C" >&6
28938 if test "$enable_kdeab" = "yes" && test "$enable_kde" = "yes"; then
28939 echo "$as_me:$LINENO: result: yes" >&5
28940 echo "${ECHO_T}yes" >&6
28942 ac_cpp
='$CXXCPP $CPPFLAGS'
28943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28947 save_CXXFLAGS
=$CXXFLAGS
28948 CXXFLAGS
="$CXXFLAGS $KDE_CFLAGS"
28949 echo "$as_me:$LINENO: checking whether KDE is between 3.2 and 3.6" >&5
28950 echo $ECHO_N "checking whether KDE is between 3.2 and 3.6... $ECHO_C" >&6
28951 if test "$cross_compiling" = yes; then
28952 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28953 See \`config.log' for more details." >&5
28954 echo "$as_me: error: cannot run test program while cross compiling
28955 See \`config.log' for more details." >&2;}
28956 { (exit 1); exit 1; }; }
28958 cat >conftest.
$ac_ext <<_ACEOF
28961 cat confdefs.h
>>conftest.
$ac_ext
28962 cat >>conftest.
$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28965 #include <kdeversion.h>
28967 int main(int argc, char **argv) {
28968 if (KDE_VERSION_MAJOR == 3 && 2 <= KDE_VERSION_MINOR && KDE_VERSION_MINOR <= 6) return 0;
28973 rm -f conftest
$ac_exeext
28974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28975 (eval $ac_link) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; }; then
28984 echo "$as_me:$LINENO: result: yes" >&5
28985 echo "${ECHO_T}yes" >&6
28987 echo "$as_me: program exited with status $ac_status" >&5
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.
$ac_ext >&5
28991 ( exit $ac_status )
28992 { { echo "$as_me:$LINENO: error: KDE version too old or too recent, please use another version of KDE or disable KDE address book support" >&5
28993 echo "$as_me: error: KDE version too old or too recent, please use another version of KDE or disable KDE address book support" >&2;}
28994 { (exit 1); exit 1; }; }
28996 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28998 CXXFLAGS
=$save_CXXFLAGS
29000 ac_cpp
='$CPP $CPPFLAGS'
29001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29007 echo "$as_me:$LINENO: result: no" >&5
29008 echo "${ECHO_T}no" >&6
29013 echo "$as_me:$LINENO: checking whether to include MathMLDTD" >&5
29014 echo $ECHO_N "checking whether to include MathMLDTD... $ECHO_C" >&6
29015 if test -n "$enable_mathmldtd"; then
29016 if test "$enable_mathmldtd" = "no"; then
29017 echo "$as_me:$LINENO: result: no" >&5
29018 echo "${ECHO_T}no" >&6
29019 SCPDEFS
="$SCPDEFS -DWITHOUT_MATHMLDTD"
29021 echo "$as_me:$LINENO: result: yes" >&5
29022 echo "${ECHO_T}yes" >&6
29023 BUILD_TYPE
="$BUILD_TYPE MATHMLDTD"
29026 echo "$as_me:$LINENO: result: no" >&5
29027 echo "${ECHO_T}no" >&6
29028 SCPDEFS
="$SCPDEFS -DWITHOUT_MATHMLDTD"
29031 echo "$as_me:$LINENO: checking whether to include third-party fonts" >&5
29032 echo $ECHO_N "checking whether to include third-party fonts... $ECHO_C" >&6
29033 if test "$with_fonts" != "no" ; then
29034 echo "$as_me:$LINENO: result: yes" >&5
29035 echo "${ECHO_T}yes" >&6
29037 BUILD_TYPE
="$BUILD_TYPE MORE_FONTS"
29039 echo "$as_me:$LINENO: result: no" >&5
29040 echo "${ECHO_T}no" >&6
29042 SCPDEFS
="$SCPDEFS -DWITHOUT_FONTS"
29046 echo "$as_me:$LINENO: checking whether to include PPDs" >&5
29047 echo $ECHO_N "checking whether to include PPDs... $ECHO_C" >&6
29048 if test "$with_ppds" != "no"; then
29049 echo "$as_me:$LINENO: result: yes" >&5
29050 echo "${ECHO_T}yes" >&6
29052 echo "$as_me:$LINENO: result: no" >&5
29053 echo "${ECHO_T}no" >&6
29055 SCPDEFS
="$SCPDEFS -DWITHOUT_PPDS"
29059 echo "$as_me:$LINENO: checking whether to include AFMs" >&5
29060 echo $ECHO_N "checking whether to include AFMs... $ECHO_C" >&6
29061 if test "$with_afms" != "no"; then
29062 echo "$as_me:$LINENO: result: yes" >&5
29063 echo "${ECHO_T}yes" >&6
29065 echo "$as_me:$LINENO: result: no" >&5
29066 echo "${ECHO_T}no" >&6
29068 SCPDEFS
="$SCPDEFS -DWITHOUT_AFMS"
29074 echo "$as_me:$LINENO: checking whether and how to use Xinerama" >&5
29075 echo $ECHO_N "checking whether and how to use Xinerama... $ECHO_C" >&6
29076 if test "$_os" = "Darwin"; then
29078 XINERAMA_LINK
=dynamic
29079 echo "$as_me:$LINENO: result: yes" >&5
29080 echo "${ECHO_T}yes" >&6
29081 elif test "$_os" = "Linux" -o "$_os" = "FreeBSD"; then
29082 if test -e "$XLIB/libXinerama.so" -a -e "$XLIB/libXinerama.a"; then
29083 # we have both versions, let the user decide but use the dynamic one
29086 if test -z "$with_static_xinerama" -o -n "$with_system_libs"; then
29087 XINERAMA_LINK
=dynamic
29089 XINERAMA_LINK
=static
29091 elif test -e "$XLIB/libXinerama.so" -a ! -e "$XLIB/libXinerama.a"; then
29092 # we have only the dynamic version
29094 XINERAMA_LINK
=dynamic
29095 elif test -e "$XLIB/libXinerama.a"; then
29097 if echo $build_cpu |
grep -E 'i[3456]86' 2>/dev
/null
>/dev
/null
; then
29099 XINERAMA_LINK
=static
29109 if test "$USE_XINERAMA" = "YES"; then
29110 echo "$as_me:$LINENO: result: yes, with $XINERAMA_LINK linking" >&5
29111 echo "${ECHO_T}yes, with $XINERAMA_LINK linking" >&6
29112 if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
29113 echo "$as_me:$LINENO: checking for X11/extensions/Xinerama.h" >&5
29114 echo $ECHO_N "checking for X11/extensions/Xinerama.h... $ECHO_C" >&6
29115 if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
29121 # Is the header compilable?
29122 echo "$as_me:$LINENO: checking X11/extensions/Xinerama.h usability" >&5
29123 echo $ECHO_N "checking X11/extensions/Xinerama.h usability... $ECHO_C" >&6
29124 cat >conftest.
$ac_ext <<_ACEOF
29127 cat confdefs.h
>>conftest.
$ac_ext
29128 cat >>conftest.
$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 $ac_includes_default
29131 #include <X11/extensions/Xinerama.h>
29133 rm -f conftest.
$ac_objext
29134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29135 (eval $ac_compile) 2>conftest.er1
29137 grep -v '^ *+' conftest.er1
>conftest.err
29139 cat conftest.err
>&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } &&
29142 { ac_try
='test -z "$ac_c_werror_flag"
29143 || test ! -s conftest.err'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; } &&
29149 { ac_try
='test -s conftest.$ac_objext'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; }; then
29155 ac_header_compiler
=yes
29157 echo "$as_me: failed program was:" >&5
29158 sed 's/^/| /' conftest.
$ac_ext >&5
29160 ac_header_compiler
=no
29162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29164 echo "${ECHO_T}$ac_header_compiler" >&6
29166 # Is the header present?
29167 echo "$as_me:$LINENO: checking X11/extensions/Xinerama.h presence" >&5
29168 echo $ECHO_N "checking X11/extensions/Xinerama.h presence... $ECHO_C" >&6
29169 cat >conftest.
$ac_ext <<_ACEOF
29172 cat confdefs.h
>>conftest.
$ac_ext
29173 cat >>conftest.
$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29175 #include <X11/extensions/Xinerama.h>
29177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29180 grep -v '^ *+' conftest.er1
>conftest.err
29182 cat conftest.err
>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); } >/dev
/null
; then
29185 if test -s conftest.err
; then
29186 ac_cpp_err
=$ac_c_preproc_warn_flag
29187 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29194 if test -z "$ac_cpp_err"; then
29195 ac_header_preproc
=yes
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.
$ac_ext >&5
29200 ac_header_preproc
=no
29202 rm -f conftest.err conftest.
$ac_ext
29203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29204 echo "${ECHO_T}$ac_header_preproc" >&6
29206 # So? What about this header?
29207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29209 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: accepted by the compiler, rejected by the preprocessor!" >&5
29210 echo "$as_me: WARNING: X11/extensions/Xinerama.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29211 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: proceeding with the compiler's result" >&5
29212 echo "$as_me: WARNING: X11/extensions/Xinerama.h: proceeding with the compiler's result" >&2;}
29213 ac_header_preproc
=yes
29216 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled" >&5
29217 echo "$as_me: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled" >&2;}
29218 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: check for missing prerequisite headers?" >&5
29219 echo "$as_me: WARNING: X11/extensions/Xinerama.h: check for missing prerequisite headers?" >&2;}
29220 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation" >&5
29221 echo "$as_me: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation" >&2;}
29222 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: section \"Present But Cannot Be Compiled\"" >&5
29223 echo "$as_me: WARNING: X11/extensions/Xinerama.h: section \"Present But Cannot Be Compiled\"" >&2;}
29224 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result" >&5
29225 echo "$as_me: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result" >&2;}
29226 { echo "$as_me:$LINENO: WARNING: X11/extensions/Xinerama.h: in the future, the compiler will take precedence" >&5
29227 echo "$as_me: WARNING: X11/extensions/Xinerama.h: in the future, the compiler will take precedence" >&2;}
29230 ## ------------------------------------------ ##
29231 ## Report this to the AC_PACKAGE_NAME lists. ##
29232 ## ------------------------------------------ ##
29235 sed "s/^/$as_me: WARNING: /" >&2
29238 echo "$as_me:$LINENO: checking for X11/extensions/Xinerama.h" >&5
29239 echo $ECHO_N "checking for X11/extensions/Xinerama.h... $ECHO_C" >&6
29240 if test "${ac_cv_header_X11_extensions_Xinerama_h+set}" = set; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 ac_cv_header_X11_extensions_Xinerama_h
=$ac_header_preproc
29245 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
29246 echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
29249 if test $ac_cv_header_X11_extensions_Xinerama_h = yes; then
29252 { { echo "$as_me:$LINENO: error: Xinerama header not found." >&5
29253 echo "$as_me: error: Xinerama header not found." >&2;}
29254 { (exit 1); exit 1; }; }
29258 XINERAMA_EXTRA_LIBS
="-L$XLIB -lXext"
29259 if test "$_os" = "FreeBSD"; then
29260 XINERAMA_EXTRA_LIBS
="$XINERAMA_EXTRA_LIBS -lXt"
29262 if test "$_os" = "Linux"; then
29263 XINERAMA_EXTRA_LIBS
="$XINERAMA_EXTRA_LIBS -ldl"
29266 echo "$as_me:$LINENO: checking for XineramaIsActive in -lXinerama" >&5
29267 echo $ECHO_N "checking for XineramaIsActive in -lXinerama... $ECHO_C" >&6
29268 if test "${ac_cv_lib_Xinerama_XineramaIsActive+set}" = set; then
29269 echo $ECHO_N "(cached) $ECHO_C" >&6
29271 ac_check_lib_save_LIBS
=$LIBS
29272 LIBS
="-lXinerama $XINERAMA_EXTRA_LIBS $LIBS"
29273 cat >conftest.
$ac_ext <<_ACEOF
29276 cat confdefs.h
>>conftest.
$ac_ext
29277 cat >>conftest.
$ac_ext <<_ACEOF
29278 /* end confdefs.h. */
29280 /* Override any gcc2 internal prototype to avoid an error. */
29284 /* We use char because int might match the return type of a gcc2
29285 builtin and then its argument prototype would still apply. */
29286 char XineramaIsActive ();
29290 XineramaIsActive ();
29295 rm -f conftest.
$ac_objext conftest
$ac_exeext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>conftest.er1
29299 grep -v '^ *+' conftest.er1
>conftest.err
29301 cat conftest.err
>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try
='test -z "$ac_c_werror_flag"
29305 || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try
='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 ac_cv_lib_Xinerama_XineramaIsActive
=yes
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.
$ac_ext >&5
29322 ac_cv_lib_Xinerama_XineramaIsActive
=no
29324 rm -f conftest.err conftest.
$ac_objext \
29325 conftest
$ac_exeext conftest.
$ac_ext
29326 LIBS
=$ac_check_lib_save_LIBS
29328 echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaIsActive" >&5
29329 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaIsActive" >&6
29330 if test $ac_cv_lib_Xinerama_XineramaIsActive = yes; then
29331 cat >>confdefs.h
<<_ACEOF
29332 #define HAVE_LIBXINERAMA 1
29335 LIBS
="-lXinerama $LIBS"
29338 { { echo "$as_me:$LINENO: error: Xinerama not functional?" >&5
29339 echo "$as_me: error: Xinerama not functional?" >&2;}
29340 { (exit 1); exit 1; }; }
29344 echo "$as_me:$LINENO: result: no, libXinerama not found or wrong architecture." >&5
29345 echo "${ECHO_T}no, libXinerama not found or wrong architecture." >&6
29348 echo "$as_me:$LINENO: result: no" >&5
29349 echo "${ECHO_T}no" >&6
29355 if test "$SOLAR_JAVA" != ""; then
29356 ANT_HOME
=; export ANT_HOME
29357 WITH_ANT_HOME
=; export WITH_ANT_HOME
29358 if test -z "$with_ant_home"; then
29359 for ac_prog
in jakarta-ant ant ant.sh ant.bat ant.cmd
29361 # Extract the first word of "$ac_prog", so it can be a program name with args.
29362 set dummy
$ac_prog; ac_word
=$2
29363 echo "$as_me:$LINENO: checking for $ac_word" >&5
29364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29365 if test "${ac_cv_path_ANT+set}" = set; then
29366 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 ac_cv_path_ANT
="$ANT" # Let the user override the test with a path.
29373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29374 for as_dir
in $PATH
29377 test -z "$as_dir" && as_dir
=.
29378 for ac_exec_ext
in '' $ac_executable_extensions; do
29379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29380 ac_cv_path_ANT
="$as_dir/$ac_word$ac_exec_ext"
29381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29390 ANT
=$ac_cv_path_ANT
29392 if test -n "$ANT"; then
29393 echo "$as_me:$LINENO: result: $ANT" >&5
29394 echo "${ECHO_T}$ANT" >&6
29396 echo "$as_me:$LINENO: result: no" >&5
29397 echo "${ECHO_T}no" >&6
29400 test -n "$ANT" && break
29404 if test "$_os" = "WINNT"; then
29405 with_ant_home
=`cygpath -u "$with_ant_home"`
29407 for ac_prog
in jakarta-ant ant ant.sh ant.bat ant.cmd
29409 # Extract the first word of "$ac_prog", so it can be a program name with args.
29410 set dummy
$ac_prog; ac_word
=$2
29411 echo "$as_me:$LINENO: checking for $ac_word" >&5
29412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29413 if test "${ac_cv_path_ANT+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29418 ac_cv_path_ANT
="$ANT" # Let the user override the test with a path.
29421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29422 as_dummy
="$with_ant_home/bin:$PATH"
29423 for as_dir
in $as_dummy
29426 test -z "$as_dir" && as_dir
=.
29427 for ac_exec_ext
in '' $ac_executable_extensions; do
29428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29429 ac_cv_path_ANT
="$as_dir/$ac_word$ac_exec_ext"
29430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29439 ANT
=$ac_cv_path_ANT
29441 if test -n "$ANT"; then
29442 echo "$as_me:$LINENO: result: $ANT" >&5
29443 echo "${ECHO_T}$ANT" >&6
29445 echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6
29449 test -n "$ANT" && break
29452 WITH_ANT_HOME
=$with_ant_home
29453 ANT_HOME
=$with_ant_home
29456 if test -z "$ANT"; then
29457 { { echo "$as_me:$LINENO: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&5
29458 echo "$as_me: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&2;}
29459 { (exit 1); exit 1; }; }
29461 # resolve relative or absolute symlink
29462 while test -h "$ANT"; do
29464 a_basename
=`basename "$ANT"`
29465 a_script
=`ls -l "$ANT" | sed "s/.*${a_basename} -> //g"`
29466 cd "`dirname "$ANT"`"
29467 cd "`dirname "$a_script"`"
29468 ANT
="`pwd`"/"`basename "$a_script"`"
29472 if test "$_os" = "OS2"; then
29473 ANT_HOME
=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
29477 echo "$as_me:$LINENO: checking if $ANT works" >&5
29478 echo $ECHO_N "checking if $ANT works... $ECHO_C" >&6
29479 cat > conftest.java
<< EOF
29480 public class conftest {
29481 int testmethod(int a, int b) {
29487 cat > conftest.xml
<< EOF
29488 <project name="conftest" default="conftest">
29489 <target name="conftest">
29490 <javac srcdir="." includes="conftest.java">
29495 oldJAVA_HOME
=$JAVA_HOME
29496 if test "$JAVACISGCJ" = "yes"; then
29497 JAVA_HOME
=; export JAVA_HOME
29498 ant_cmd
="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
29500 ant_cmd
="$ANT -buildfile conftest.xml 1>&2"
29502 { (eval echo "$as_me:$LINENO: \"$ant_cmd\"") >&5
29503 (eval $ant_cmd) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }
29507 if test $?
= 0 && test -f .
/conftest.class
; then
29508 echo "$as_me:$LINENO: result: Ant works" >&5
29509 echo "${ECHO_T}Ant works" >&6
29510 if test -z "$WITH_ANT_HOME"; then
29511 ANT_HOME
=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"`
29512 if test -z "$ANT_HOME"; then
29513 ANT_HOME
=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
29516 ANT_HOME
="$WITH_ANT_HOME"
29519 echo "configure: Ant test failed" >&5
29520 cat conftest.java
>&5
29521 cat conftest.xml
>&5
29522 { echo "$as_me:$LINENO: WARNING: Ant does not work - Some Java projects will not build!" >&5
29523 echo "$as_me: WARNING: Ant does not work - Some Java projects will not build!" >&2;}
29525 echo "Ant does not work - Some Java projects will not build!" >>warn
29527 JAVA_HOME
=$oldJAVA_HOME
29528 rm -f conftest
* core core.
* *.core
29530 if test -z "$ANT_HOME"; then
29531 ANT_HOME
="NO_ANT_HOME"
29535 if test "$ANT_HOME" != "NO_ANT_HOME"; then
29536 echo "$as_me:$LINENO: checking Ant lib directory" >&5
29537 echo $ECHO_N "checking Ant lib directory... $ECHO_C" >&6
29538 if test -f $ANT_HOME/lib
/ant.jar
; then
29539 ANT_LIB
="$ANT_HOME/lib"
29541 if test -f $ANT_HOME/ant.jar
; then
29542 ANT_LIB
="$ANT_HOME"
29544 if test -f /usr
/share
/java
/ant.jar
; then
29545 ANT_LIB
=/usr
/share
/java
29547 if test -f /usr
/share
/ant-core
/lib
/ant.jar
; then
29548 ANT_LIB
=/usr
/share
/ant-core
/lib
29550 if test -f $ANT_HOME/lib
/ant
/ant.jar
; then
29551 ANT_LIB
="$ANT_HOME/lib/ant"
29553 { { echo "$as_me:$LINENO: error: Ant libraries not found!" >&5
29554 echo "$as_me: error: Ant libraries not found!" >&2;}
29555 { (exit 1); exit 1; }; }
29561 echo "$as_me:$LINENO: result: Ant lib directory found." >&5
29562 echo "${ECHO_T}Ant lib directory found." >&6
29568 # update for more extensions...
29569 if test "$ENABLE_MEDIAWIKI" = "YES"; then
29572 ant_minminor1
=`echo $ant_minver | cut -d"." -f2`
29574 echo "$as_me:$LINENO: checking whether ant is >= $ant_minver" >&5
29575 echo $ECHO_N "checking whether ant is >= $ant_minver... $ECHO_C" >&6
29576 ant_version
=`$ANT -version | $AWK '{ print $4; }'`
29577 ant_version_major
=`echo $ant_version | cut -d. -f1`
29578 ant_version_minor
=`echo $ant_version | cut -d. -f2`
29579 echo "configure: ant_version $ant_version " >&5
29580 echo "configure: ant_version_major $ant_version_major " >&5
29581 echo "configure: ant_version_minor $ant_version_minor " >&5
29582 if test "$ant_version_major" -ge "2"; then
29583 echo "$as_me:$LINENO: result: yes, $ant_version" >&5
29584 echo "${ECHO_T}yes, $ant_version" >&6
29585 elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then
29586 echo "$as_me:$LINENO: result: yes, $ant_version" >&5
29587 echo "${ECHO_T}yes, $ant_version" >&6
29589 { { echo "$as_me:$LINENO: error: no, you need at least ant >= $ant_minver" >&5
29590 echo "$as_me: error: no, you need at least ant >= $ant_minver" >&2;}
29591 { (exit 1); exit 1; }; }
29594 if test "$ENABLE_MEDIAWIKI" = "YES"; then
29595 echo "$as_me:$LINENO: checking whether ant supports mapper type=\"regexp\"" >&5
29596 echo $ECHO_N "checking whether ant supports mapper type=\"regexp\"... $ECHO_C" >&6
29599 cat > conftest.java
<< EOF
29600 public class conftest {
29601 int testmethod(int a, int b) {
29607 cat > conftest.xml
<< EOF
29608 <project name="conftest" default="conftest">
29609 <target name="conftest" depends="copytest">
29610 <javac srcdir="." includes="conftest.java">
29613 <target name="copytest">
29614 <copy todir="confdir">
29615 <fileset dir="confdir" includes="**/*.abc" casesensitive="yes"/>
29617 <mapper type="regexp" from="^(.*/\\)foo(/\\.*)" to="\1baa\2"/>
29622 if test "$JAVACISGCJ" = "yes"; then
29623 JAVA_HOME
=; export JAVA_HOME
29624 ant_cmd
="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
29626 ant_cmd
="$ANT -buildfile conftest.xml 1>&2"
29628 { (eval echo "$as_me:$LINENO: \"$ant_cmd\"") >&5
29629 (eval $ant_cmd) 2>&5
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); }
29633 if test $?
= 0 && test -f .
/conftest.class
; then
29634 echo "$as_me:$LINENO: result: yes" >&5
29635 echo "${ECHO_T}yes" >&6
29638 echo "configure: Ant test failed" >&5
29639 cat conftest.java
>&5
29640 cat conftest.xml
>&5
29642 { { echo "$as_me:$LINENO: error: no. Did you install ant-apache-regexp?" >&5
29643 echo "$as_me: error: no. Did you install ant-apache-regexp?" >&2;}
29644 { (exit 1); exit 1; }; }
29647 rm -f conftest
* core core.
* *.core
29650 if test "$SOLAR_JAVA" != "" && test "$with_junit" != "no"; then
29651 echo "$as_me:$LINENO: checking for JUnit 4" >&5
29652 echo $ECHO_N "checking for JUnit 4... $ECHO_C" >&6
29653 if test "$with_junit" == "yes"; then
29654 if test -e /usr
/share
/java
/junit4.jar
; then
29655 OOO_JUNIT_JAR
=/usr
/share
/java
/junit4.jar
29657 OOO_JUNIT_JAR
=/usr
/share
/java
/junit.jar
29660 OOO_JUNIT_JAR
=$with_junit
29662 if test "$_os" = "WINNT"; then
29663 OOO_JUNIT_JAR
=`cygpath -m "$OOO_JUNIT_JAR"`
29665 "$JAVA_HOME/bin/jar" tf
"$OOO_JUNIT_JAR" 2>&5 | \
29666 grep org
/junit
/Before.class
> /dev
/null
2>&5
29667 if test $?
-eq 0; then
29668 echo "$as_me:$LINENO: result: $OOO_JUNIT_JAR" >&5
29669 echo "${ECHO_T}$OOO_JUNIT_JAR" >&6
29671 echo "$as_me:$LINENO: result: no" >&5
29672 echo "${ECHO_T}no" >&6
29673 { { echo "$as_me:$LINENO: error: cannot find JUnit 4 jar; please install one in the default
29674 location (/usr/share/java), specify its pathname via
29675 --with-junit=..., or disable it via --without-junit" >&5
29676 echo "$as_me: error: cannot find JUnit 4 jar; please install one in the default
29677 location (/usr/share/java), specify its pathname via
29678 --with-junit=..., or disable it via --without-junit" >&2;}
29679 { (exit 1); exit 1; }; }
29684 echo "$as_me:$LINENO: checking which languages to be built" >&5
29685 echo $ECHO_N "checking which languages to be built... $ECHO_C" >&6
29686 WITH_LANG
="$with_lang"
29687 if test -z "$WITH_LANG"; then
29688 echo "$as_me:$LINENO: result: en-US" >&5
29689 echo "${ECHO_T}en-US" >&6
29691 echo "$as_me:$LINENO: result: $WITH_LANG" >&5
29692 echo "${ECHO_T}$WITH_LANG" >&6
29696 echo "$as_me:$LINENO: checking which languages have poor help localizations" >&5
29697 echo $ECHO_N "checking which languages have poor help localizations... $ECHO_C" >&6
29698 WITH_POOR_HELP_LOCALIZATIONS
="$with_poor_help_localizations"
29699 if test -z "$WITH_POOR_HELP_LOCALIZATIONS"; then
29700 echo "$as_me:$LINENO: result: none" >&5
29701 echo "${ECHO_T}none" >&6
29703 echo "$as_me:$LINENO: result: $WITH_POOR_HELP_LOCALIZATIONS" >&5
29704 echo "${ECHO_T}$WITH_POOR_HELP_LOCALIZATIONS" >&6
29708 echo "$as_me:$LINENO: checking which dictionaries to include" >&5
29709 echo $ECHO_N "checking which dictionaries to include... $ECHO_C" >&6
29710 if test -z "$with_dict"; then
29712 echo "$as_me:$LINENO: result: ALL" >&5
29713 echo "${ECHO_T}ALL" >&6
29715 WITH_DICT
=","$with_dict","
29716 echo "$as_me:$LINENO: result: $with_dict" >&5
29717 echo "${ECHO_T}$with_dict" >&6
29721 echo "$as_me:$LINENO: checking for additional 'intro' bitmaps" >&5
29722 echo $ECHO_N "checking for additional 'intro' bitmaps... $ECHO_C" >&6
29724 if test -z "$with_intro_bitmaps" -o "$with_intro_bitmaps" = "no" ; then
29726 echo "$as_me:$LINENO: result: none" >&5
29727 echo "${ECHO_T}none" >&6
29729 for bitmap
in `echo $with_intro_bitmaps | tr ',' ' '` ; do
29732 *) bitmap
= ; { echo "$as_me:$LINENO: WARNING: Intro bitmaps should be .bmp files!" >&5
29733 echo "$as_me: WARNING: Intro bitmaps should be .bmp files!" >&2;} ;;
29735 if test -n "$bitmap" ; then
29736 INTRO_BITMAPS
="$INTRO_BITMAPS $bitmap"
29739 echo "$as_me:$LINENO: result: $INTRO_BITMAPS" >&5
29740 echo "${ECHO_T}$INTRO_BITMAPS" >&6
29744 echo "$as_me:$LINENO: checking for additional 'about' bitmaps" >&5
29745 echo $ECHO_N "checking for additional 'about' bitmaps... $ECHO_C" >&6
29747 if test -z "$with_about_bitmaps" -o "$with_about_bitmaps" = "no" ; then
29749 echo "$as_me:$LINENO: result: none" >&5
29750 echo "${ECHO_T}none" >&6
29752 for bitmap
in `echo $with_about_bitmaps | tr ',' ' '` ; do
29755 *) bitmap
= ; { echo "$as_me:$LINENO: WARNING: About bitmaps should be .bmp files!" >&5
29756 echo "$as_me: WARNING: About bitmaps should be .bmp files!" >&2;} ;;
29758 if test -n "$bitmap" ; then
29759 ABOUT_BITMAPS
="$ABOUT_BITMAPS $bitmap"
29762 echo "$as_me:$LINENO: result: $ABOUT_BITMAPS" >&5
29763 echo "${ECHO_T}$ABOUT_BITMAPS" >&6
29768 echo "$as_me:$LINENO: checking for vendor" >&5
29769 echo $ECHO_N "checking for vendor... $ECHO_C" >&6
29770 if test -z "$with_vendor" -o "$with_vendor" = "no" ; then
29771 echo "$as_me:$LINENO: result: not set" >&5
29772 echo "${ECHO_T}not set" >&6
29774 OOO_VENDOR
="$with_vendor"
29775 echo "$as_me:$LINENO: result: $OOO_VENDOR" >&5
29776 echo "${ECHO_T}$OOO_VENDOR" >&6
29781 echo "$as_me:$LINENO: checking for UNIX wrapper name" >&5
29782 echo $ECHO_N "checking for UNIX wrapper name... $ECHO_C" >&6
29783 if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no" -o "$with_unix_wrapper" = "yes" ; then
29784 echo "$as_me:$LINENO: result: not set" >&5
29785 echo "${ECHO_T}not set" >&6
29787 UNIXWRAPPERNAME
="$with_unix_wrapper"
29788 echo "$as_me:$LINENO: result: $UNIXWRAPPERNAME" >&5
29789 echo "${ECHO_T}$UNIXWRAPPERNAME" >&6
29793 echo "$as_me:$LINENO: checking whether to statically link to Gtk" >&5
29794 echo $ECHO_N "checking whether to statically link to Gtk... $ECHO_C" >&6
29795 if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then
29796 ENABLE_STATIC_GTK
="TRUE"
29797 echo "$as_me:$LINENO: result: yes" >&5
29798 echo "${ECHO_T}yes" >&6
29800 ENABLE_STATIC_GTK
="FALSE"
29801 echo "$as_me:$LINENO: result: no" >&5
29802 echo "${ECHO_T}no" >&6
29806 echo "$as_me:$LINENO: checking whether to use layout dialogs" >&5
29807 echo $ECHO_N "checking whether to use layout dialogs... $ECHO_C" >&6
29808 if test -n "$enable_layout" && test "$enable_layout" != "no"; then
29809 ENABLE_LAYOUT
="TRUE"
29810 echo "$as_me:$LINENO: result: yes" >&5
29811 echo "${ECHO_T}yes" >&6
29813 ENABLE_LAYOUT
="FALSE"
29814 echo "$as_me:$LINENO: result: no" >&5
29815 echo "${ECHO_T}no" >&6
29819 # ===================================================================
29820 # De- or increase default verbosity of build process
29821 # ===================================================================
29822 echo "$as_me:$LINENO: checking build verbosity" >&5
29823 echo $ECHO_N "checking build verbosity... $ECHO_C" >&6
29824 if test -n "$enable_verbose"; then
29825 if test "$enable_verbose" = "yes"; then
29827 echo "$as_me:$LINENO: result: high" >&5
29828 echo "${ECHO_T}high" >&6
29830 if test "$enable_verbose" = "no"; then
29832 echo "$as_me:$LINENO: result: low" >&5
29833 echo "${ECHO_T}low" >&6
29836 echo "$as_me:$LINENO: result: not set" >&5
29837 echo "${ECHO_T}not set" >&6
29841 echo "$as_me:$LINENO: checking whether to enable dependency tracking" >&5
29842 echo $ECHO_N "checking whether to enable dependency tracking... $ECHO_C" >&6
29843 if test "$enable_dependency_tracking" = "no"; then
29845 echo "$as_me:$LINENO: result: no" >&5
29846 echo "${ECHO_T}no" >&6
29848 echo "$as_me:$LINENO: result: yes" >&5
29849 echo "${ECHO_T}yes" >&6
29853 echo "********************************************************************"
29855 echo "* Setting up the build environment variables. *"
29857 echo "********************************************************************"
29859 if test -z "$COMPATH"; then
29860 { { echo "$as_me:$LINENO: error: No compiler found." >&5
29861 echo "$as_me: error: No compiler found." >&2;}
29862 { (exit 1); exit 1; }; }
29866 echo "$as_me:$LINENO: checking solver path" >&5
29867 echo $ECHO_N "checking solver path... $ECHO_C" >&6
29868 if test -z "$with_local_solver"; then
29869 LOCAL_SOLVER
="DEFAULT"
29870 echo "$as_me:$LINENO: result: default" >&5
29871 echo "${ECHO_T}default" >&6
29873 LOCAL_SOLVER
=$with_local_solver
29874 echo "$as_me:$LINENO: result: $with_local_solver" >&5
29875 echo "${ECHO_T}$with_local_solver" >&6
29881 # make sure config.guess is +x; we execute config.guess, so it has to be so;
29882 chmod +x .
/config.guess
29884 ac_config_files
="$ac_config_files set_soenv Makefile"
29885 cat >confcache
<<\_ACEOF
29886 # This file is a shell script that caches the results of configure
29887 # tests run on this system so they can be shared between configure
29888 # scripts and configure runs, see configure's option --config-cache.
29889 # It is not useful on other systems. If it contains results you don't
29890 # want to keep, you may remove or edit it.
29892 # config.status only pays attention to the cache file if you give it
29893 # the --recheck option to rerun configure.
29895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29897 # following values.
29901 # The following way of writing the cache mishandles newlines in values,
29902 # but we know of no workaround that is simple, portable, and efficient.
29903 # So, don't put newlines in cache variables' values.
29904 # Ultrix sh set writes to stderr and can't be redirected directly,
29905 # and sets the high bit in the cache file unless we assign to the vars.
29908 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29910 # `set' does not quote correctly, so add quotes (double-quote
29911 # substitution turns \\\\ into \\, and sed turns \\ into \).
29914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29917 # `set' quotes correctly as required by POSIX, so do not add quotes.
29919 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29926 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29928 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29930 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29931 if test -w $cache_file; then
29932 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29933 cat confcache
>$cache_file
29935 echo "not updating unwritable cache $cache_file"
29940 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29941 # Let make expand exec_prefix.
29942 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29944 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29945 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29946 # trailing colons and then remove the whole line if VPATH becomes empty
29947 # (actually we leave an empty line to preserve line numbers).
29948 if test "x$srcdir" = x.
; then
29949 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29950 s/:*\$(srcdir):*/:/;
29951 s/:*\${srcdir}:*/:/;
29953 s/^\([^=]*=[ ]*\):*/\1/;
29959 # Transform confdefs.h into DEFS.
29960 # Protect against shell expansion while executing Makefile rules.
29961 # Protect against Makefile macro expansion.
29963 # If the first sed substitution is executed (which looks for macros that
29964 # take arguments), then we branch to the quote section. Otherwise,
29965 # look for a macro that doesn't take arguments.
29966 cat >confdef2opt.
sed <<\_ACEOF
29969 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
29971 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
29975 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
29981 # We use echo to avoid assuming a particular line-breaking character.
29982 # The extra dot is to prevent the shell from consuming trailing
29983 # line-breaks from the sub-command output. A line-break within
29984 # single-quotes doesn't work because, if this script is created in a
29985 # platform that uses two characters for line-breaks (e.g., DOS), tr
29987 ac_LF_and_DOT=`echo; echo .
`
29988 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
29989 rm -f confdef2opt.sed
29994 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29995 # 1. Remove the extension, and $U if already installed.
29996 ac_i=`echo "$ac_i" |
29997 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29999 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
30000 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
30002 LIBOBJS=$ac_libobjs
30004 LTLIBOBJS=$ac_ltlibobjs
30008 : ${CONFIG_STATUS=./config.status}
30009 ac_clean_files_save=$ac_clean_files
30010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
30011 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30012 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30013 cat >$CONFIG_STATUS <<_ACEOF
30015 # Generated by $as_me.
30016 # Run this file to recreate the current configuration.
30017 # Compiler output produced by configure, useful for debugging
30018 # configure, is in config.log if it exists.
30021 ac_cs_recheck=false
30023 SHELL=\${CONFIG_SHELL-$SHELL}
30026 cat >>$CONFIG_STATUS <<\_ACEOF
30027 ## --------------------- ##
30028 ## M4sh Initialization. ##
30029 ## --------------------- ##
30031 # Be Bourne compatible
30032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
30035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30036 # is contrary to our usage. Disable this feature.
30037 alias -g '${1+"$@"}'='"$@"'
30038 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30041 DUALCASE=1; export DUALCASE # for MKS sh
30043 # Support unset when possible.
30044 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
30051 # Work around bugs in pre-3.0 UWIN ksh.
30052 $as_unset ENV MAIL MAILPATH
30059 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30060 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30061 LC_TELEPHONE LC_TIME
30063 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
30064 eval $as_var=C; export $as_var
30070 # Required to use basename.
30071 if expr a : '\(a\)' >/dev/null 2>&1; then
30077 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30078 as_basename=basename
30084 # Name of the executable.
30085 as_me=`$as_basename "$0" ||
30086 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30087 X
"$0" : 'X\(//\)$' \| \
30088 X
"$0" : 'X\(/\)$' \| \
30089 .
: '\(.\)' 2>/dev
/null ||
30091 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30092 /^X\/\(\/\/\)$/{ s//\1/; q; }
30093 /^X\/\(\/\).*/{ s//\1/; q; }
30097 # PATH needs CR, and LINENO needs CR and PATH.
30098 # Avoid depending upon Character Ranges.
30099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30102 as_cr_digits='0123456789'
30103 as_cr_alnum=$as_cr_Letters$as_cr_digits
30105 # The user is always right.
30106 if test "${PATH_SEPARATOR+set}" != set; then
30107 echo "#! /bin/sh" >conf$$.sh
30108 echo "exit 0" >>conf$$.sh
30110 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30119 as_lineno_1=$LINENO
30120 as_lineno_2=$LINENO
30121 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
30122 test "x$as_lineno_1" != "x$as_lineno_2" &&
30123 test "x$as_lineno_3" = "x$as_lineno_2" || {
30124 # Find who we are. Look in the path if we contain no path at all
30127 *[\\/]* ) as_myself=$0 ;;
30128 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30129 for as_dir in $PATH
30132 test -z "$as_dir" && as_dir=.
30133 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30138 # We did not find ourselves, most probably we were run as `sh COMMAND
'
30139 # in which case we are not to be found in the path.
30140 if test "x$as_myself" = x; then
30143 if test ! -f "$as_myself"; then
30144 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30145 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30146 { (exit 1); exit 1; }; }
30148 case $CONFIG_SHELL in
30150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30151 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30154 test -z "$as_dir" && as_dir=.
30155 for as_base in sh bash ksh sh5; do
30158 if ("$as_dir/$as_base" -c '
30159 as_lineno_1
=$LINENO
30160 as_lineno_2
=$LINENO
30161 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
30162 test "x$as_lineno_1" != "x$as_lineno_2" &&
30163 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30164 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30165 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30166 CONFIG_SHELL=$as_dir/$as_base
30167 export CONFIG_SHELL
30168 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30176 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30177 # uniformly replaced by the line number. The first 'sed' inserts a
30178 # line-number line before each line; the second 'sed' does the real
30179 # work. The second script uses 'N
' to pair each line-number line
30180 # with the numbered line, and appends trailing '-' during
30181 # substitution so that $LINENO is not a special case at line end.
30182 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30183 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
30184 sed '=' <$as_myself |
30189 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30192 s,^['$as_cr_digits']*\n,,
30193 ' >$as_me.lineno
&&
30194 chmod +x
$as_me.lineno ||
30195 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30196 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30197 { (exit 1); exit 1; }; }
30199 # Don't try to exec as it changes $[0], causing all sort of problems
30200 # (the dirname of $[0] is not the place where we might find the
30201 # original and so on. Autoconf is especially sensible to this).
30203 # Exit status is that of the last command.
30208 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30209 *c
*,-n*) ECHO_N
= ECHO_C
='
30211 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30212 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30215 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30221 rm -f conf$$ conf$$.exe conf$$.
file
30223 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30224 # We could just check for DJGPP; but this test a) works b) is more generic
30225 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30226 if test -f conf$$.exe
; then
30227 # Don't use ln at all; we don't have any links
30232 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30237 rm -f conf$$ conf$$.exe conf$$.
file
30239 if mkdir
-p .
2>/dev
/null
; then
30242 test -d .
/-p && rmdir .
/-p
30246 as_executable_p
="test -f"
30248 # Sed expression to map a string onto a valid CPP name.
30249 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30251 # Sed expression to map a string onto a valid variable name.
30252 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30256 # We need space, tab and new line, in precisely that order.
30266 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30267 # report actual input values of CONFIG_FILES etc. instead of their
30268 # values after options handling. Logging --version etc. is OK.
30272 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30273 ## Running $as_me. ##
30278 This file was extended by $as_me, which was
30279 generated by GNU Autoconf 2.59. Invocation command line was
30281 CONFIG_FILES = $CONFIG_FILES
30282 CONFIG_HEADERS = $CONFIG_HEADERS
30283 CONFIG_LINKS = $CONFIG_LINKS
30284 CONFIG_COMMANDS = $CONFIG_COMMANDS
30288 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30292 # Files that config.status was made for.
30293 if test -n "$ac_config_files"; then
30294 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30297 if test -n "$ac_config_headers"; then
30298 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30301 if test -n "$ac_config_links"; then
30302 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30305 if test -n "$ac_config_commands"; then
30306 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30309 cat >>$CONFIG_STATUS <<\_ACEOF
30312 \`$as_me' instantiates files from templates according to the
30313 current configuration.
30315 Usage: $0 [OPTIONS] [FILE]...
30317 -h, --help print this help, then exit
30318 -V, --version print version number, then exit
30319 -q, --quiet do not print progress messages
30320 -d, --debug don't remove temporary files
30321 --recheck update $as_me by reconfiguring in the same conditions
30322 --file=FILE[:TEMPLATE]
30323 instantiate the configuration file FILE
30325 Configuration files:
30328 Report bugs to <bug-autoconf@gnu.org>."
30331 cat >>$CONFIG_STATUS <<_ACEOF
30334 configured by $0, generated by GNU Autoconf 2.59,
30335 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30337 Copyright (C) 2003 Free Software Foundation, Inc.
30338 This config.status script is free software; the Free Software Foundation
30339 gives unlimited permission to copy, distribute and modify it."
30343 cat >>$CONFIG_STATUS <<\_ACEOF
30344 # If no file are specified by the user, then we need to provide default
30345 # value. By we need to know if files were specified by the user.
30351 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30352 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30360 *) # This is not an option, so the user has probably given explicit
30363 ac_need_defaults
=false
;;
30367 # Handling of the options.
30369 cat >>$CONFIG_STATUS <<\_ACEOF
30370 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
30372 --version |
--vers* |
-V )
30373 echo "$ac_cs_version"; exit 0 ;;
30375 # Conflict between --help and --header
30376 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30377 Try \`$0 --help' for more information." >&5
30378 echo "$as_me: error: ambiguous option: $1
30379 Try \`$0 --help' for more information." >&2;}
30380 { (exit 1); exit 1; }; };;
30381 --help |
--hel |
-h )
30382 echo "$ac_cs_usage"; exit 0 ;;
30383 --debug |
--d* |
-d )
30385 --file |
--fil |
--fi |
--f )
30387 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
30388 ac_need_defaults
=false
;;
30389 --header |
--heade |
--head |
--hea )
30391 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
30392 ac_need_defaults
=false
;;
30393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
30394 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
30397 # This is an error.
30398 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30399 Try \`$0 --help' for more information." >&5
30400 echo "$as_me: error: unrecognized option: $1
30401 Try \`$0 --help' for more information." >&2;}
30402 { (exit 1); exit 1; }; } ;;
30404 *) ac_config_targets
="$ac_config_targets $1" ;;
30410 ac_configure_extra_args
=
30412 if $ac_cs_silent; then
30414 ac_configure_extra_args
="$ac_configure_extra_args --silent"
30418 cat >>$CONFIG_STATUS <<_ACEOF
30419 if \$ac_cs_recheck; then
30420 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30421 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30430 cat >>$CONFIG_STATUS <<\_ACEOF
30431 for ac_config_target
in $ac_config_targets
30433 case "$ac_config_target" in
30434 # Handling of arguments.
30435 "set_soenv" ) CONFIG_FILES
="$CONFIG_FILES set_soenv" ;;
30436 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30437 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30438 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30439 { (exit 1); exit 1; }; };;
30443 # If the user did not use the arguments to specify the items to instantiate,
30444 # then the envvar interface is used. Set only those that are not.
30445 # We use the long form for the default assignment because of an extremely
30446 # bizarre bug on SunOS 4.1.3.
30447 if $ac_need_defaults; then
30448 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30451 # Have a temporary directory for convenience. Make it in the build tree
30452 # simply because there is no reason to put it here, and in addition,
30453 # creating and moving files from /tmp can sometimes cause problems.
30454 # Create a temporary directory, and hook for its removal unless debugging.
30457 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30458 trap '{ (exit 1); exit 1; }' 1 2 13 15
30461 # Create a (secure) tmp directory for tmp files.
30464 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30465 test -n "$tmp" && test -d "$tmp"
30468 tmp
=.
/confstat$$
-$RANDOM
30469 (umask 077 && mkdir
$tmp)
30472 echo "$me: cannot create a temporary directory in ." >&2
30473 { (exit 1); exit 1; }
30478 cat >>$CONFIG_STATUS <<_ACEOF
30481 # CONFIG_FILES section.
30484 # No need to generate the scripts if there are no CONFIG_FILES.
30485 # This happens for instance when ./config.status config.h
30486 if test -n "\$CONFIG_FILES"; then
30487 # Protect against being on the right side of a sed subst in config.status.
30488 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30489 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30490 s,@SHELL@,$SHELL,;t t
30491 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30492 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30493 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30494 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30495 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30496 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30497 s,@exec_prefix@,$exec_prefix,;t t
30498 s,@prefix@,$prefix,;t t
30499 s,@program_transform_name@,$program_transform_name,;t t
30500 s,@bindir@,$bindir,;t t
30501 s,@sbindir@,$sbindir,;t t
30502 s,@libexecdir@,$libexecdir,;t t
30503 s,@datadir@,$datadir,;t t
30504 s,@sysconfdir@,$sysconfdir,;t t
30505 s,@sharedstatedir@,$sharedstatedir,;t t
30506 s,@localstatedir@,$localstatedir,;t t
30507 s,@libdir@,$libdir,;t t
30508 s,@includedir@,$includedir,;t t
30509 s,@oldincludedir@,$oldincludedir,;t t
30510 s,@infodir@,$infodir,;t t
30511 s,@mandir@,$mandir,;t t
30512 s,@build_alias@,$build_alias,;t t
30513 s,@host_alias@,$host_alias,;t t
30514 s,@target_alias@,$target_alias,;t t
30515 s,@DEFS@,$DEFS,;t t
30516 s,@ECHO_C@,$ECHO_C,;t t
30517 s,@ECHO_N@,$ECHO_N,;t t
30518 s,@ECHO_T@,$ECHO_T,;t t
30519 s,@LIBS@,$LIBS,;t t
30520 s,@EGREP@,$EGREP,;t t
30523 s,@LOCAL_SOLENV@,$LOCAL_SOLENV,;t t
30524 s,@_solenv@,$_solenv,;t t
30526 s,@SOURCEVERSION@,$SOURCEVERSION,;t t
30527 s,@build@,$build,;t t
30528 s,@build_cpu@,$build_cpu,;t t
30529 s,@build_vendor@,$build_vendor,;t t
30530 s,@build_os@,$build_os,;t t
30531 s,@host@,$host,;t t
30532 s,@host_cpu@,$host_cpu,;t t
30533 s,@host_vendor@,$host_vendor,;t t
30534 s,@host_os@,$host_os,;t t
30535 s,@target@,$target,;t t
30536 s,@target_cpu@,$target_cpu,;t t
30537 s,@target_vendor@,$target_vendor,;t t
30538 s,@target_os@,$target_os,;t t
30539 s,@GNUTAR@,$GNUTAR,;t t
30540 s,@OSVERSION@,$OSVERSION,;t t
30541 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
30542 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
30543 s,@ENABLE_CRASHDUMP@,$ENABLE_CRASHDUMP,;t t
30544 s,@VC_STANDARD@,$VC_STANDARD,;t t
30545 s,@ENABLE_WERROR@,$ENABLE_WERROR,;t t
30546 s,@ENABLE_DEBUG@,$ENABLE_DEBUG,;t t
30547 s,@PRODUCT@,$PRODUCT,;t t
30548 s,@PROFULLSWITCH@,$PROFULLSWITCH,;t t
30549 s,@PROEXT@,$PROEXT,;t t
30550 s,@ENABLE_SYMBOLS@,$ENABLE_SYMBOLS,;t t
30551 s,@DISABLE_STRIP@,$DISABLE_STRIP,;t t
30552 s,@ENABLE_CUPS@,$ENABLE_CUPS,;t t
30553 s,@ENABLE_FONTCONFIG@,$ENABLE_FONTCONFIG,;t t
30554 s,@TARFILE_LOCATION@,$TARFILE_LOCATION,;t t
30555 s,@DO_FETCH_TARBALLS@,$DO_FETCH_TARBALLS,;t t
30556 s,@WITH_BINFILTER@,$WITH_BINFILTER,;t t
30557 s,@ENABLE_DIRECTX@,$ENABLE_DIRECTX,;t t
30558 s,@DISABLE_ACTIVEX@,$DISABLE_ACTIVEX,;t t
30559 s,@DISABLE_ATL@,$DISABLE_ATL,;t t
30560 s,@ENABLE_RPATH@,$ENABLE_RPATH,;t t
30561 s,@WITH_MYSPELL_DICTS@,$WITH_MYSPELL_DICTS,;t t
30562 s,@SYSTEM_DICTS@,$SYSTEM_DICTS,;t t
30563 s,@DICT_SYSTEM_DIR@,$DICT_SYSTEM_DIR,;t t
30564 s,@HYPH_SYSTEM_DIR@,$HYPH_SYSTEM_DIR,;t t
30565 s,@THES_SYSTEM_DIR@,$THES_SYSTEM_DIR,;t t
30566 s,@WITH_MINGWIN@,$WITH_MINGWIN,;t t
30567 s,@SHELLPATH@,$SHELLPATH,;t t
30568 s,@GCC_HOME@,$GCC_HOME,;t t
30570 s,@CFLAGS@,$CFLAGS,;t t
30571 s,@LDFLAGS@,$LDFLAGS,;t t
30572 s,@CPPFLAGS@,$CPPFLAGS,;t t
30573 s,@ac_ct_CC@,$ac_ct_CC,;t t
30574 s,@EXEEXT@,$EXEEXT,;t t
30575 s,@OBJEXT@,$OBJEXT,;t t
30576 s,@COMPATH@,$COMPATH,;t t
30577 s,@GCCVER@,$GCCVER,;t t
30578 s,@HAVE_LD_BSYMBOLIC_FUNCTIONS@,$HAVE_LD_BSYMBOLIC_FUNCTIONS,;t t
30579 s,@ENABLE_PCH@,$ENABLE_PCH,;t t
30580 s,@NO_HIDS@,$NO_HIDS,;t t
30581 s,@GNUMAKE@,$GNUMAKE,;t t
30583 s,@HAVE_LD_HASH_STYLE@,$HAVE_LD_HASH_STYLE,;t t
30584 s,@PERL@,$PERL,;t t
30585 s,@MSPDB_PATH@,$MSPDB_PATH,;t t
30586 s,@COMEX@,$COMEX,;t t
30587 s,@USE_MINGW@,$USE_MINGW,;t t
30588 s,@MIDL_PATH@,$MIDL_PATH,;t t
30589 s,@CSC_PATH@,$CSC_PATH,;t t
30590 s,@FRAME_HOME@,$FRAME_HOME,;t t
30593 s,@CXXFLAGS@,$CXXFLAGS,;t t
30594 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30595 s,@CXXCPP@,$CXXCPP,;t t
30596 s,@SIZEOF_LONG@,$SIZEOF_LONG,;t t
30597 s,@WORDS_BIGENDIAN@,$WORDS_BIGENDIAN,;t t
30598 s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
30599 s,@ENABLE_VBA@,$ENABLE_VBA,;t t
30600 s,@VBA_EXTENSION@,$VBA_EXTENSION,;t t
30602 s,@NEW_SHADOW_API@,$NEW_SHADOW_API,;t t
30603 s,@PAM_LINK@,$PAM_LINK,;t t
30604 s,@CRYPT_LINK@,$CRYPT_LINK,;t t
30605 s,@GXX_INCLUDE_PATH@,$GXX_INCLUDE_PATH,;t t
30606 s,@MINGW_LIB_INCLUDE_PATH@,$MINGW_LIB_INCLUDE_PATH,;t t
30607 s,@MINGW_BACKWARD_INCLUDE_PATH@,$MINGW_BACKWARD_INCLUDE_PATH,;t t
30608 s,@MINGW_CLIB_DIR@,$MINGW_CLIB_DIR,;t t
30609 s,@MINGW_SHARED_GCCLIB@,$MINGW_SHARED_GCCLIB,;t t
30610 s,@MINGW_GCCLIB_EH@,$MINGW_GCCLIB_EH,;t t
30611 s,@MINGW_SHARED_GXXLIB@,$MINGW_SHARED_GXXLIB,;t t
30612 s,@MINGW_GCCDLL@,$MINGW_GCCDLL,;t t
30613 s,@MINGW_GXXDLL@,$MINGW_GXXDLL,;t t
30614 s,@EXCEPTIONS@,$EXCEPTIONS,;t t
30615 s,@STLPORT4@,$STLPORT4,;t t
30616 s,@STLPORT_VER@,$STLPORT_VER,;t t
30617 s,@USE_SYSTEM_STL@,$USE_SYSTEM_STL,;t t
30618 s,@USE_CCACHE@,$USE_CCACHE,;t t
30619 s,@CCACHE@,$CCACHE,;t t
30620 s,@HAVE_GCC_VISIBILITY_FEATURE@,$HAVE_GCC_VISIBILITY_FEATURE,;t t
30621 s,@ALLOC@,$ALLOC,;t t
30622 s,@BUILD_VER_STRING@,$BUILD_VER_STRING,;t t
30623 s,@SOLAR_JAVA@,$SOLAR_JAVA,;t t
30624 s,@JAVAINTERPRETER@,$JAVAINTERPRETER,;t t
30625 s,@JAVACOMPILER@,$JAVACOMPILER,;t t
30626 s,@JAVACISGCJ@,$JAVACISGCJ,;t t
30627 s,@JAVADOC@,$JAVADOC,;t t
30628 s,@AWTLIB@,$AWTLIB,;t t
30629 s,@JAVAAOTCOMPILER@,$JAVAAOTCOMPILER,;t t
30630 s,@JAVA_HOME@,$JAVA_HOME,;t t
30632 s,@JAVAFLAGS@,$JAVAFLAGS,;t t
30633 s,@JAVAIFLAGS@,$JAVAIFLAGS,;t t
30634 s,@DMAKE@,$DMAKE,;t t
30635 s,@BUILD_DMAKE@,$BUILD_DMAKE,;t t
30637 s,@DPKG@,$DPKG,;t t
30638 s,@PKGMK@,$PKGMK,;t t
30639 s,@BUILD_EPM@,$BUILD_EPM,;t t
30641 s,@PKGFORMAT@,$PKGFORMAT,;t t
30642 s,@GPERF@,$GPERF,;t t
30643 s,@BUILD_STAX@,$BUILD_STAX,;t t
30644 s,@MINGWCXX@,$MINGWCXX,;t t
30645 s,@ac_ct_MINGWCXX@,$ac_ct_MINGWCXX,;t t
30646 s,@MINGWSTRIP@,$MINGWSTRIP,;t t
30647 s,@ac_ct_MINGWSTRIP@,$ac_ct_MINGWSTRIP,;t t
30648 s,@BUILD_UNOWINREG@,$BUILD_UNOWINREG,;t t
30649 s,@SYSTEM_STDLIBS@,$SYSTEM_STDLIBS,;t t
30650 s,@SYSTEM_ZLIB@,$SYSTEM_ZLIB,;t t
30651 s,@SYSTEM_JPEG@,$SYSTEM_JPEG,;t t
30652 s,@SYSTEM_EXPAT@,$SYSTEM_EXPAT,;t t
30653 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
30654 s,@LIBWPD_CFLAGS@,$LIBWPD_CFLAGS,;t t
30655 s,@LIBWPD_LIBS@,$LIBWPD_LIBS,;t t
30656 s,@SYSTEM_LIBWPD@,$SYSTEM_LIBWPD,;t t
30657 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
30658 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
30659 s,@SYSTEM_CPPUNIT@,$SYSTEM_CPPUNIT,;t t
30660 s,@FREETYPE_CFLAGS@,$FREETYPE_CFLAGS,;t t
30661 s,@FREETYPE_LIBS@,$FREETYPE_LIBS,;t t
30662 s,@USE_FT_EMBOLDEN@,$USE_FT_EMBOLDEN,;t t
30663 s,@LIBXSLT_CFLAGS@,$LIBXSLT_CFLAGS,;t t
30664 s,@LIBXSLT_LIBS@,$LIBXSLT_LIBS,;t t
30665 s,@XSLTPROC@,$XSLTPROC,;t t
30666 s,@SYSTEM_LIBXSLT@,$SYSTEM_LIBXSLT,;t t
30667 s,@LIBXML_CFLAGS@,$LIBXML_CFLAGS,;t t
30668 s,@LIBXML_LIBS@,$LIBXML_LIBS,;t t
30669 s,@SYSTEM_LIBXML@,$SYSTEM_LIBXML,;t t
30670 s,@PYTHON@,$PYTHON,;t t
30671 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
30672 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
30673 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
30674 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
30675 s,@pythondir@,$pythondir,;t t
30676 s,@pkgpythondir@,$pkgpythondir,;t t
30677 s,@pyexecdir@,$pyexecdir,;t t
30678 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
30679 s,@BZIP2@,$BZIP2,;t t
30680 s,@SYSTEM_PYTHON@,$SYSTEM_PYTHON,;t t
30681 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
30682 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
30683 s,@HOME@,$HOME,;t t
30684 s,@SYSTEM_DB@,$SYSTEM_DB,;t t
30685 s,@DB_VERSION@,$DB_VERSION,;t t
30686 s,@DB_INCLUDES@,$DB_INCLUDES,;t t
30687 s,@DB_JAR@,$DB_JAR,;t t
30688 s,@SYSTEM_LUCENE@,$SYSTEM_LUCENE,;t t
30689 s,@LUCENE_CORE_JAR@,$LUCENE_CORE_JAR,;t t
30690 s,@LUCENE_ANALYZERS_JAR@,$LUCENE_ANALYZERS_JAR,;t t
30691 s,@ENABLE_MYSQLC@,$ENABLE_MYSQLC,;t t
30692 s,@MYSQLCONFIG@,$MYSQLCONFIG,;t t
30693 s,@SYSTEM_MYSQL@,$SYSTEM_MYSQL,;t t
30694 s,@MYSQL_INC@,$MYSQL_INC,;t t
30695 s,@MYSQL_LIB@,$MYSQL_LIB,;t t
30696 s,@MYSQL_DEFINES@,$MYSQL_DEFINES,;t t
30697 s,@LIBMYSQL_PATH@,$LIBMYSQL_PATH,;t t
30698 s,@SYSTEM_MYSQL_CPPCONN@,$SYSTEM_MYSQL_CPPCONN,;t t
30699 s,@SYSTEM_HSQLDB@,$SYSTEM_HSQLDB,;t t
30700 s,@HSQLDB_JAR@,$HSQLDB_JAR,;t t
30701 s,@SYSTEM_BSH@,$SYSTEM_BSH,;t t
30702 s,@BSH_JAR@,$BSH_JAR,;t t
30703 s,@SERIALIZER_JAR@,$SERIALIZER_JAR,;t t
30704 s,@SYSTEM_SAXON@,$SYSTEM_SAXON,;t t
30705 s,@SAXON_JAR@,$SAXON_JAR,;t t
30706 s,@CURLCONFIG@,$CURLCONFIG,;t t
30707 s,@SYSTEM_CURL@,$SYSTEM_CURL,;t t
30708 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
30709 s,@CURL_LIBS@,$CURL_LIBS,;t t
30710 s,@SYSTEM_MDDS@,$SYSTEM_MDDS,;t t
30711 s,@SYSTEM_BOOST@,$SYSTEM_BOOST,;t t
30712 s,@SYSTEM_VIGRA@,$SYSTEM_VIGRA,;t t
30713 s,@SYSTEM_ODBC_HEADERS@,$SYSTEM_ODBC_HEADERS,;t t
30714 s,@WITH_MOZILLA@,$WITH_MOZILLA,;t t
30715 s,@WITH_LDAP@,$WITH_LDAP,;t t
30716 s,@WITH_OPENLDAP@,$WITH_OPENLDAP,;t t
30717 s,@MOZ_NSS_CFLAGS@,$MOZ_NSS_CFLAGS,;t t
30718 s,@MOZ_NSS_LIBS@,$MOZ_NSS_LIBS,;t t
30719 s,@NSS_LIB@,$NSS_LIB,;t t
30720 s,@MOZ_NSPR_CFLAGS@,$MOZ_NSPR_CFLAGS,;t t
30721 s,@MOZ_NSPR_LIBS@,$MOZ_NSPR_LIBS,;t t
30722 s,@NSPR_LIB@,$NSPR_LIB,;t t
30723 s,@MOZILLAXPCOM_CFLAGS@,$MOZILLAXPCOM_CFLAGS,;t t
30724 s,@MOZILLAXPCOM_LIBS@,$MOZILLAXPCOM_LIBS,;t t
30725 s,@MOZILLA_VERSION@,$MOZILLA_VERSION,;t t
30726 s,@MOZILLA_TOOLKIT@,$MOZILLA_TOOLKIT,;t t
30727 s,@MOZGTK2_CFLAGS@,$MOZGTK2_CFLAGS,;t t
30728 s,@MOZGTK2_LIBS@,$MOZGTK2_LIBS,;t t
30729 s,@MOZLIBREQ_CFLAGS@,$MOZLIBREQ_CFLAGS,;t t
30730 s,@MOZLIBREQ_LIBS@,$MOZLIBREQ_LIBS,;t t
30731 s,@BUILD_MOZAB@,$BUILD_MOZAB,;t t
30732 s,@ENABLE_NSS_MODULE@,$ENABLE_NSS_MODULE,;t t
30733 s,@MOZILLABUILD@,$MOZILLABUILD,;t t
30734 s,@SYSTEM_MOZILLA@,$SYSTEM_MOZILLA,;t t
30735 s,@MOZ_FLAVOUR@,$MOZ_FLAVOUR,;t t
30736 s,@MOZ_INC@,$MOZ_INC,;t t
30737 s,@MOZ_LIB@,$MOZ_LIB,;t t
30738 s,@MOZ_LIB_XPCOM@,$MOZ_LIB_XPCOM,;t t
30739 s,@MOZ_LDAP_CFLAGS@,$MOZ_LDAP_CFLAGS,;t t
30740 s,@SYSTEM_SANE_HEADER@,$SYSTEM_SANE_HEADER,;t t
30741 s,@SYSTEM_GENBRK@,$SYSTEM_GENBRK,;t t
30742 s,@SYSTEM_GENCCODE@,$SYSTEM_GENCCODE,;t t
30743 s,@SYSTEM_GENCMN@,$SYSTEM_GENCMN,;t t
30744 s,@SYSTEM_ICU@,$SYSTEM_ICU,;t t
30745 s,@GRAPHITE_CFLAGS@,$GRAPHITE_CFLAGS,;t t
30746 s,@GRAPHITE_LIBS@,$GRAPHITE_LIBS,;t t
30747 s,@ENABLE_GRAPHITE@,$ENABLE_GRAPHITE,;t t
30748 s,@SYSTEM_GRAPHITE@,$SYSTEM_GRAPHITE,;t t
30749 s,@X_CFLAGS@,$X_CFLAGS,;t t
30750 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
30751 s,@X_LIBS@,$X_LIBS,;t t
30752 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
30753 s,@XINC@,$XINC,;t t
30754 s,@XLIB@,$XLIB,;t t
30755 s,@XAU_LIBS@,$XAU_LIBS,;t t
30756 s,@DISABLE_XAW@,$DISABLE_XAW,;t t
30757 s,@SYSTEM_XRENDER_HEADERS@,$SYSTEM_XRENDER_HEADERS,;t t
30758 s,@XRENDER_LINK@,$XRENDER_LINK,;t t
30759 s,@XRANDR_CFLAGS@,$XRANDR_CFLAGS,;t t
30760 s,@XRANDR_LIBS@,$XRANDR_LIBS,;t t
30761 s,@XRANDR_DLOPEN@,$XRANDR_DLOPEN,;t t
30762 s,@ENABLE_RANDR@,$ENABLE_RANDR,;t t
30763 s,@DISABLE_NEON@,$DISABLE_NEON,;t t
30764 s,@NEON_CFLAGS@,$NEON_CFLAGS,;t t
30765 s,@NEON_LIBS@,$NEON_LIBS,;t t
30766 s,@SYSTEM_NEON@,$SYSTEM_NEON,;t t
30767 s,@NEON_VERSION@,$NEON_VERSION,;t t
30768 s,@OPENSSL_CFLAGS@,$OPENSSL_CFLAGS,;t t
30769 s,@OPENSSL_LIBS@,$OPENSSL_LIBS,;t t
30770 s,@SYSTEM_OPENSSL@,$SYSTEM_OPENSSL,;t t
30771 s,@ENABLE_AGG@,$ENABLE_AGG,;t t
30772 s,@AGG_CFLAGS@,$AGG_CFLAGS,;t t
30773 s,@AGG_LIBS@,$AGG_LIBS,;t t
30774 s,@SYSTEM_AGG@,$SYSTEM_AGG,;t t
30775 s,@AGG_VERSION@,$AGG_VERSION,;t t
30776 s,@REDLAND_CFLAGS@,$REDLAND_CFLAGS,;t t
30777 s,@REDLAND_LIBS@,$REDLAND_LIBS,;t t
30778 s,@SYSTEM_REDLAND@,$SYSTEM_REDLAND,;t t
30779 s,@HUNSPELL_CFLAGS@,$HUNSPELL_CFLAGS,;t t
30780 s,@HUNSPELL_LIBS@,$HUNSPELL_LIBS,;t t
30781 s,@SYSTEM_HUNSPELL@,$SYSTEM_HUNSPELL,;t t
30782 s,@SYSTEM_HYPH@,$SYSTEM_HYPH,;t t
30783 s,@HYPHEN_LIB@,$HYPHEN_LIB,;t t
30784 s,@MYTHES_CFLAGS@,$MYTHES_CFLAGS,;t t
30785 s,@MYTHES_LIBS@,$MYTHES_LIBS,;t t
30786 s,@SYSTEM_MYTHES@,$SYSTEM_MYTHES,;t t
30787 s,@SYSTEM_LPSOLVE@,$SYSTEM_LPSOLVE,;t t
30788 s,@HAVE_GETOPT@,$HAVE_GETOPT,;t t
30789 s,@HAVE_READDIR_R@,$HAVE_READDIR_R,;t t
30790 s,@SYSTEM_LIBC@,$SYSTEM_LIBC,;t t
30791 s,@PSDK_HOME@,$PSDK_HOME,;t t
30792 s,@WINDOWS_VISTA_PSDK@,$WINDOWS_VISTA_PSDK,;t t
30793 s,@DIRECTXSDK_HOME@,$DIRECTXSDK_HOME,;t t
30794 s,@DIRECTXSDK_LIB@,$DIRECTXSDK_LIB,;t t
30795 s,@NSIS_PATH@,$NSIS_PATH,;t t
30796 s,@BISON@,$BISON,;t t
30797 s,@FLEX@,$FLEX,;t t
30798 s,@PATCH@,$PATCH,;t t
30799 s,@GNUCP@,$GNUCP,;t t
30800 s,@GNUPATCH@,$GNUPATCH,;t t
30801 s,@CYGWIN_PATH@,$CYGWIN_PATH,;t t
30802 s,@ML_EXE@,$ML_EXE,;t t
30803 s,@ASM_HOME@,$ASM_HOME,;t t
30805 s,@UNZIP@,$UNZIP,;t t
30806 s,@ZIP_HOME@,$ZIP_HOME,;t t
30807 s,@ENABLE_GTK@,$ENABLE_GTK,;t t
30808 s,@ENABLE_KDE@,$ENABLE_KDE,;t t
30809 s,@ENABLE_KDE4@,$ENABLE_KDE4,;t t
30810 s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
30811 s,@GCONF_LIBS@,$GCONF_LIBS,;t t
30812 s,@ENABLE_GCONF@,$ENABLE_GCONF,;t t
30813 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
30814 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
30815 s,@ENABLE_GNOMEVFS@,$ENABLE_GNOMEVFS,;t t
30816 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
30817 s,@GTK_LIBS@,$GTK_LIBS,;t t
30818 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
30819 s,@DBUS_LIBS@,$DBUS_LIBS,;t t
30820 s,@GIO_CFLAGS@,$GIO_CFLAGS,;t t
30821 s,@GIO_LIBS@,$GIO_LIBS,;t t
30822 s,@ENABLE_GIO@,$ENABLE_GIO,;t t
30823 s,@ENABLE_DBUS@,$ENABLE_DBUS,;t t
30824 s,@ENABLE_SYSTRAY_GTK@,$ENABLE_SYSTRAY_GTK,;t t
30825 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
30826 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
30827 s,@ENABLE_CAIRO@,$ENABLE_CAIRO,;t t
30828 s,@BUILD_PIXMAN@,$BUILD_PIXMAN,;t t
30829 s,@SYSTEM_CAIRO@,$SYSTEM_CAIRO,;t t
30830 s,@ENABLE_OPENGL@,$ENABLE_OPENGL,;t t
30831 s,@ENABLE_PRESENTER_EXTRA_UI@,$ENABLE_PRESENTER_EXTRA_UI,;t t
30832 s,@ENABLE_MINIMIZER@,$ENABLE_MINIMIZER,;t t
30833 s,@ENABLE_PRESENTER_SCREEN@,$ENABLE_PRESENTER_SCREEN,;t t
30834 s,@POPPLER_CFLAGS@,$POPPLER_CFLAGS,;t t
30835 s,@POPPLER_LIBS@,$POPPLER_LIBS,;t t
30836 s,@ENABLE_PDFIMPORT@,$ENABLE_PDFIMPORT,;t t
30837 s,@SYSTEM_POPPLER@,$SYSTEM_POPPLER,;t t
30838 s,@ENABLE_MEDIAWIKI@,$ENABLE_MEDIAWIKI,;t t
30839 s,@SYSTEM_SERVLETAPI@,$SYSTEM_SERVLETAPI,;t t
30840 s,@SERVLETAPI_JAR@,$SERVLETAPI_JAR,;t t
30841 s,@ENABLE_REPORTBUILDER@,$ENABLE_REPORTBUILDER,;t t
30842 s,@SYSTEM_JFREEREPORT@,$SYSTEM_JFREEREPORT,;t t
30843 s,@SAC_JAR@,$SAC_JAR,;t t
30844 s,@LIBXML_JAR@,$LIBXML_JAR,;t t
30845 s,@FLUTE_JAR@,$FLUTE_JAR,;t t
30846 s,@JFREEREPORT_JAR@,$JFREEREPORT_JAR,;t t
30847 s,@LIBBASE_JAR@,$LIBBASE_JAR,;t t
30848 s,@LIBLAYOUT_JAR@,$LIBLAYOUT_JAR,;t t
30849 s,@LIBLOADER_JAR@,$LIBLOADER_JAR,;t t
30850 s,@LIBFORMULA_JAR@,$LIBFORMULA_JAR,;t t
30851 s,@LIBREPOSITORY_JAR@,$LIBREPOSITORY_JAR,;t t
30852 s,@LIBFONTS_JAR@,$LIBFONTS_JAR,;t t
30853 s,@LIBSERIALIZER_JAR@,$LIBSERIALIZER_JAR,;t t
30854 s,@SYSTEM_APACHE_COMMONS@,$SYSTEM_APACHE_COMMONS,;t t
30855 s,@COMMONS_CODEC_JAR@,$COMMONS_CODEC_JAR,;t t
30856 s,@COMMONS_LANG_JAR@,$COMMONS_LANG_JAR,;t t
30857 s,@COMMONS_HTTPCLIENT_JAR@,$COMMONS_HTTPCLIENT_JAR,;t t
30858 s,@COMMONS_LOGGING_JAR@,$COMMONS_LOGGING_JAR,;t t
30860 s,@KDE_CFLAGS@,$KDE_CFLAGS,;t t
30861 s,@KDE_LIBS@,$KDE_LIBS,;t t
30862 s,@MOC4@,$MOC4,;t t
30863 s,@KDE4_CFLAGS@,$KDE4_CFLAGS,;t t
30864 s,@KDE4_LIBS@,$KDE4_LIBS,;t t
30865 s,@ENABLE_LOCKDOWN@,$ENABLE_LOCKDOWN,;t t
30866 s,@GOBJECT_CFLAGS@,$GOBJECT_CFLAGS,;t t
30867 s,@GOBJECT_LIBS@,$GOBJECT_LIBS,;t t
30868 s,@ENABLE_EVOAB2@,$ENABLE_EVOAB2,;t t
30869 s,@ENABLE_KAB@,$ENABLE_KAB,;t t
30870 s,@WITH_FONTS@,$WITH_FONTS,;t t
30871 s,@WITHOUT_PPDS@,$WITHOUT_PPDS,;t t
30872 s,@WITHOUT_AFMS@,$WITHOUT_AFMS,;t t
30873 s,@SCPDEFS@,$SCPDEFS,;t t
30874 s,@USE_XINERAMA@,$USE_XINERAMA,;t t
30875 s,@XINERAMA_LINK@,$XINERAMA_LINK,;t t
30877 s,@ANT_HOME@,$ANT_HOME,;t t
30878 s,@ANT_LIB@,$ANT_LIB,;t t
30879 s,@OOO_JUNIT_JAR@,$OOO_JUNIT_JAR,;t t
30880 s,@WITH_LANG@,$WITH_LANG,;t t
30881 s,@WITH_POOR_HELP_LOCALIZATIONS@,$WITH_POOR_HELP_LOCALIZATIONS,;t t
30882 s,@WITH_DICT@,$WITH_DICT,;t t
30883 s,@INTRO_BITMAPS@,$INTRO_BITMAPS,;t t
30884 s,@ABOUT_BITMAPS@,$ABOUT_BITMAPS,;t t
30885 s,@OOO_VENDOR@,$OOO_VENDOR,;t t
30886 s,@UNIXWRAPPERNAME@,$UNIXWRAPPERNAME,;t t
30887 s,@ENABLE_STATIC_GTK@,$ENABLE_STATIC_GTK,;t t
30888 s,@ENABLE_LAYOUT@,$ENABLE_LAYOUT,;t t
30889 s,@VERBOSE@,$VERBOSE,;t t
30890 s,@nodep@,$nodep,;t t
30891 s,@LOCAL_SOLVER@,$LOCAL_SOLVER,;t t
30892 s,@BUILD_TYPE@,$BUILD_TYPE,;t t
30893 s,@LIBOBJS@,$LIBOBJS,;t t
30894 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30899 cat >>$CONFIG_STATUS <<\_ACEOF
30900 # Split the substitutions into bite-sized pieces for seds with
30901 # small command number limits, like on Digital OSF/1 and HP-UX.
30902 ac_max_sed_lines
=48
30903 ac_sed_frag
=1 # Number of current file.
30904 ac_beg
=1 # First line for current file.
30905 ac_end
=$ac_max_sed_lines # Line after last line for current file.
30908 while $ac_more_lines; do
30909 if test $ac_beg -gt 1; then
30910 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30912 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30914 if test ! -s $tmp/subs.frag
; then
30915 ac_more_lines
=false
30917 # The purpose of the label and of the branching condition is to
30918 # speed up the sed processing (if there are no `@' at all, there
30919 # is no need to browse any of the substitutions).
30920 # These are the two extra sed commands mentioned above.
30922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
30923 if test -z "$ac_sed_cmds"; then
30924 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
30926 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30928 ac_sed_frag
=`expr $ac_sed_frag + 1`
30930 ac_end
=`expr $ac_end + $ac_max_sed_lines`
30933 if test -z "$ac_sed_cmds"; then
30936 fi # test -n "$CONFIG_FILES"
30939 cat >>$CONFIG_STATUS <<\_ACEOF
30940 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
30941 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30943 - |
*:- |
*:-:* ) # input from stdin
30945 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30946 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30947 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30948 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30949 * ) ac_file_in
=$ac_file.
in ;;
30952 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30953 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30955 X"$ac_file" : 'X\(//\)[^/]' \| \
30956 X"$ac_file" : 'X\(//\)$' \| \
30957 X"$ac_file" : 'X\(/\)' \| \
30958 . : '\(.\)' 2>/dev/null ||
30960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30962 /^X\(\/\/\)$/{ s//\1/; q; }
30963 /^X\(\/\).*/{ s//\1/; q; }
30965 { if $as_mkdir_p; then
30970 while test ! -d "$as_dir"; do
30971 as_dirs
="$as_dir $as_dirs"
30972 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30974 X"$as_dir" : 'X\(//\)[^/]' \| \
30975 X"$as_dir" : 'X\(//\)$' \| \
30976 X"$as_dir" : 'X\(/\)' \| \
30977 . : '\(.\)' 2>/dev/null ||
30979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30981 /^X\(\/\/\)$/{ s//\1/; q; }
30982 /^X\(\/\).*/{ s//\1/; q; }
30985 test ! -n "$as_dirs" || mkdir
$as_dirs
30986 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30988 { (exit 1); exit 1; }; }; }
30992 if test "$ac_dir" != .
; then
30993 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30994 # A "../" for each directory in $ac_dir_suffix.
30995 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30997 ac_dir_suffix
= ac_top_builddir
=
31001 .
) # No --srcdir option. We are building in place.
31003 if test -z "$ac_top_builddir"; then
31006 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31008 [\\/]* | ?
:[\\/]* ) # Absolute path.
31009 ac_srcdir
=$srcdir$ac_dir_suffix;
31010 ac_top_srcdir
=$srcdir ;;
31011 *) # Relative path.
31012 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31013 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31016 # Do not use `cd foo && pwd` to compute absolute paths, because
31017 # the directories may not exist.
31019 .
) ac_abs_builddir
="$ac_dir";;
31022 .
) ac_abs_builddir
=`pwd`;;
31023 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31024 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31027 case $ac_abs_builddir in
31028 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31030 case ${ac_top_builddir}.
in
31031 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31032 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31033 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31036 case $ac_abs_builddir in
31037 .
) ac_abs_srcdir
=$ac_srcdir;;
31040 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31041 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31042 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31045 case $ac_abs_builddir in
31046 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31048 case $ac_top_srcdir in
31049 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31050 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31051 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31057 if test x
"$ac_file" != x-
; then
31058 { echo "$as_me:$LINENO: creating $ac_file" >&5
31059 echo "$as_me: creating $ac_file" >&6;}
31062 # Let's still pretend it is `configure' which instantiates (i.e., don't
31063 # use $as_me), people would be surprised to read:
31064 # /* config.h. Generated by config.status. */
31065 if test x
"$ac_file" = x-
; then
31068 configure_input
="$ac_file. "
31070 configure_input
=$configure_input"Generated from `echo $ac_file_in |
31071 sed 's,.*/,,'` by configure."
31073 # First look for the input files in the build tree, otherwise in the
31075 ac_file_inputs
=`IFS=:
31076 for f in $ac_file_in; do
31078 -) echo $tmp/stdin ;;
31080 # Absolute (can't be DOS-style, as IFS=:)
31081 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31082 echo "$as_me: error: cannot find input file: $f" >&2;}
31083 { (exit 1); exit 1; }; }
31086 if test -f "$f"; then
31089 elif test -f "$srcdir/$f"; then
31094 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31095 echo "$as_me: error: cannot find input file: $f" >&2;}
31096 { (exit 1); exit 1; }; }
31099 done` ||
{ (exit 1); exit 1; }
31101 cat >>$CONFIG_STATUS <<_ACEOF
31105 cat >>$CONFIG_STATUS <<\_ACEOF
31107 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31108 s
,@configure_input@
,$configure_input,;t t
31109 s
,@srcdir@
,$ac_srcdir,;t t
31110 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
31111 s
,@top_srcdir@
,$ac_top_srcdir,;t t
31112 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
31113 s
,@builddir@
,$ac_builddir,;t t
31114 s
,@abs_builddir@
,$ac_abs_builddir,;t t
31115 s
,@top_builddir@
,$ac_top_builddir,;t t
31116 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
31117 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31119 if test x"$ac_file" != x-; then
31120 mv $tmp/out $ac_file
31129 cat >>$CONFIG_STATUS <<\_ACEOF
31131 { (exit 0); exit 0; }
31133 chmod +x $CONFIG_STATUS
31134 ac_clean_files=$ac_clean_files_save
31137 # configure is writing to config.log, and then calls config.status.
31138 # config.status does its own redirection, appending to config.log.
31139 # Unfortunately, on DOS this fails, as config.log is still kept open
31140 # by configure, so config.status won't be able to write to it; its
31141 # output is simply discarded. So we exec the FD to /dev/null,
31142 # effectively closing config.log, so it can be properly (re)opened and
31143 # appended to by config.status. When coming back to configure, we
31144 # need to make the FD available again.
31145 if test "$no_create" != yes; then
31147 ac_config_status_args=
31148 test "$silent" = yes &&
31149 ac_config_status_args="$ac_config_status_args --quiet"
31151 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
31153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31154 # would make configure fail if this is the last instruction.
31155 $ac_cs_success || { (exit 1); exit 1; }
31159 chmod a+x set_soenv
31160 if test -z "$enable_check_only"; then
31165 echo No environment file will be generated
31167 num_warnings=`wc -l warn`
31168 _num=`echo $num_warnings | $AWK '{ print $1 }'`
31169 if test $_num -gt 0; then
31170 echo The following warning\(s\) were generated by configure
31171 echo ----------------------------------------------------
31176 echo There were no warnings